Skip to content

Instantly share code, notes, and snippets.

@Subv
Last active August 29, 2015 14:23
Show Gist options
  • Save Subv/ea74f1b7f011838b0e08 to your computer and use it in GitHub Desktop.
Save Subv/ea74f1b7f011838b0e08 to your computer and use it in GitHub Desktop.
ASM generated by the original nihstro::OpCode::GetInfo.
00007FF6E7440E90 mov eax,dword ptr [`nihstro::OpCode::GetInfo'::`2'::`local static guard' (07FF6E763505Ch)]
00007FF6E7440E96 test al,1
00007FF6E7440E98 jne nihstro::OpCode::GetInfo+4A6h (07FF6E7441336h)
00007FF6E7440E9E movups xmm0,xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::unknown_instruction (07FF6E75C5230h)]
00007FF6E7440EA5 or eax,1
00007FF6E7440EA8 xor edx,edx
00007FF6E7440EAA mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::`local static guard' (07FF6E763505Ch)],eax
00007FF6E7440EB0 lea rax,[string "exp" (07FF6E75C5270h)]
00007FF6E7440EB7 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+50h (07FF6E76330A0h)],1
00007FF6E7440EC1 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+40h (07FF6E7633090h)],xmm0
00007FF6E7440EC8 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+70h (07FF6E76330C0h)],xmm0
00007FF6E7440ECF movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+100h (07FF6E7633150h)],xmm0
00007FF6E7440ED6 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+58h (07FF6E76330A8h)],rax
00007FF6E7440EDD lea rax,[string "log" (07FF6E75C5274h)]
00007FF6E7440EE4 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+54h (07FF6E76330A4h)],1Bh
00007FF6E7440EEE mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+68h (07FF6E76330B8h)],rax
00007FF6E7440EF5 lea rax,[string "mul" (07FF6E75C5278h)]
00007FF6E7440EFC mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+60h (07FF6E76330B0h)],1
00007FF6E7440F06 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+110h (07FF6E7633160h)],xmm0
00007FF6E7440F0D movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+140h (07FF6E7633190h)],xmm0
00007FF6E7440F14 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+150h (07FF6E76331A0h)],xmm0
00007FF6E7440F1B mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+88h (07FF6E76330D8h)],rax
00007FF6E7440F22 lea rax,[string "sge" (07FF6E75C527Ch)]
00007FF6E7440F29 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+64h (07FF6E76330B4h)],1Bh
00007FF6E7440F33 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+160h (07FF6E76331B0h)],xmm0
00007FF6E7440F3A movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+170h (07FF6E76331C0h)],xmm0
00007FF6E7440F41 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+190h (07FF6E76331E0h)],xmm0
00007FF6E7440F48 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+98h (07FF6E76330E8h)],rax
00007FF6E7440F4F lea rax,[string "slt" (07FF6E75C5280h)]
00007FF6E7440F56 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+80h (07FF6E76330D0h)],1
00007FF6E7440F60 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+1C0h (07FF6E7633210h)],xmm0
00007FF6E7440F67 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+1D0h (07FF6E7633220h)],xmm0
00007FF6E7440F6E movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+1E0h (07FF6E7633230h)],xmm0
00007FF6E7440F75 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0A8h (07FF6E76330F8h)],rax
00007FF6E7440F7C lea rax,[string "flr" (07FF6E75C5284h)]
00007FF6E7440F83 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+84h (07FF6E76330D4h)],1Fh
00007FF6E7440F8D movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+1F0h (07FF6E7633240h)],xmm0
00007FF6E7440F94 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+200h (07FF6E7633250h)],xmm0
00007FF6E7440F9B mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0B8h (07FF6E7633108h)],rax
00007FF6E7440FA2 lea rax,[string "max" (07FF6E75C5288h)]
00007FF6E7440FA9 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+90h (07FF6E76330E0h)],1
00007FF6E7440FB3 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0C8h (07FF6E7633118h)],rax
00007FF6E7440FBA lea rax,[string "min" (07FF6E75C528Ch)]
00007FF6E7440FC1 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+94h (07FF6E76330E4h)],1Fh
00007FF6E7440FCB mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0D8h (07FF6E7633128h)],rax
00007FF6E7440FD2 lea rax,[string "rcp" (07FF6E75C5290h)]
00007FF6E7440FD9 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0A0h (07FF6E76330F0h)],1
00007FF6E7440FE3 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0E8h (07FF6E7633138h)],rax
00007FF6E7440FEA lea rax,[string "rsq" (07FF6E75C5294h)]
00007FF6E7440FF1 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0A4h (07FF6E76330F4h)],1Fh
00007FF6E7440FFB mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0F8h (07FF6E7633148h)],rax
00007FF6E7441002 lea rax,[string "mova" (07FF6E75C5298h)]
00007FF6E7441009 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0B0h (07FF6E7633100h)],1
00007FF6E7441013 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+128h (07FF6E7633178h)],rax
00007FF6E744101A lea rax,[string "mov" (07FF6E75C52A0h)]
00007FF6E7441021 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0B4h (07FF6E7633104h)],1Bh
00007FF6E744102B mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+138h (07FF6E7633188h)],rax
00007FF6E7441032 lea rax,[string "dphi" (07FF6E75C52A4h)]
00007FF6E7441039 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0C0h (07FF6E7633110h)],1
00007FF6E7441043 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+188h (07FF6E76331D8h)],rax
00007FF6E744104A lea rax,[string "sgei" (07FF6E75C52ACh)]
00007FF6E7441051 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0C4h (07FF6E7633114h)],1Fh
00007FF6E744105B mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+1A8h (07FF6E76331F8h)],rax
00007FF6E7441062 lea rax,[string "slti" (07FF6E75C52B4h)]
00007FF6E7441069 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0D0h (07FF6E7633120h)],1
00007FF6E7441073 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+1B8h (07FF6E7633208h)],rax
00007FF6E744107A lea rax,[string "nop" (07FF6E75C52BCh)]
00007FF6E7441081 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0D4h (07FF6E7633124h)],1Fh
00007FF6E744108B mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0E0h (07FF6E7633130h)],1
00007FF6E7441095 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0E4h (07FF6E7633134h)],1Bh
00007FF6E744109F mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0F0h (07FF6E7633140h)],1
00007FF6E74410A9 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+218h (07FF6E7633268h)],rax
00007FF6E74410B0 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+0F4h (07FF6E7633144h)],1Bh
00007FF6E74410BA mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+120h (07FF6E7633170h)],1
00007FF6E74410C4 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+124h (07FF6E7633174h)],8Bh
00007FF6E74410CE mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+130h (07FF6E7633180h)],1
00007FF6E74410D8 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+134h (07FF6E7633184h)],1Bh
00007FF6E74410E2 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+180h (07FF6E76331D0h)],1
00007FF6E74410EC mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+184h (07FF6E76331D4h)],3Fh
00007FF6E74410F6 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+1A0h (07FF6E76331F0h)],1
00007FF6E7441100 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+1A4h (07FF6E76331F4h)],3Fh
00007FF6E744110A mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+1B0h (07FF6E7633200h)],1
00007FF6E7441114 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+1B4h (07FF6E7633204h)],3Fh
00007FF6E744111E mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+210h (07FF6E7633260h)],rdx
00007FF6E7441125 movups xmm0,xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::dummy (07FF6E75C5248h)]
00007FF6E744112C lea rax,[string "end" (07FF6E75C52C0h)]
00007FF6E7441133 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+220h (07FF6E7633270h)],rdx
00007FF6E744113A mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+228h (07FF6E7633278h)],rax
00007FF6E7441141 lea rax,[string "breakc" (07FF6E75C52C4h)]
00007FF6E7441148 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+230h (07FF6E7633280h)],2
00007FF6E7441152 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2F0h (07FF6E7633340h)],xmm0
00007FF6E7441159 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+310h (07FF6E7633360h)],xmm0
00007FF6E7441160 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+320h (07FF6E7633370h)],xmm0
00007FF6E7441167 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+238h (07FF6E7633288h)],rax
00007FF6E744116E lea rax,[string "call" (07FF6E75C52CCh)]
00007FF6E7441175 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+234h (07FF6E7633284h)],2
00007FF6E744117F movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+330h (07FF6E7633380h)],xmm0
00007FF6E7441186 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+340h (07FF6E7633390h)],xmm0
00007FF6E744118D movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+350h (07FF6E76333A0h)],xmm0
00007FF6E7441194 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+248h (07FF6E7633298h)],rax
00007FF6E744119B lea rax,[string "callc" (07FF6E75C52D4h)]
00007FF6E74411A2 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+240h (07FF6E7633290h)],2
00007FF6E74411AC movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+360h (07FF6E76333B0h)],xmm0
00007FF6E74411B3 movups xmmword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+370h (07FF6E76333C0h)],xmm0
00007FF6E74411BA mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+258h (07FF6E76332A8h)],rax
00007FF6E74411C1 lea rax,[string "callu" (07FF6E75C52DCh)]
00007FF6E74411C8 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+244h (07FF6E7633294h)],0Ch
00007FF6E74411D2 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+268h (07FF6E76332B8h)],rax
00007FF6E74411D9 lea rax,[string "ifu" (07FF6E75C52E4h)]
00007FF6E74411E0 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+250h (07FF6E76332A0h)],2
00007FF6E74411EA mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+278h (07FF6E76332C8h)],rax
00007FF6E74411F1 lea rax,[string "ifc" (07FF6E75C52E8h)]
00007FF6E74411F8 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+254h (07FF6E76332A4h)],0Eh
00007FF6E7441202 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+288h (07FF6E76332D8h)],rax
00007FF6E7441209 lea rax,[string "loop" (07FF6E75C52ECh)]
00007FF6E7441210 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+260h (07FF6E76332B0h)],3
00007FF6E744121A mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+298h (07FF6E76332E8h)],rax
00007FF6E7441221 lea rax,[string "emit" (07FF6E75C52F4h)]
00007FF6E7441228 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+264h (07FF6E76332B4h)],0Dh
00007FF6E7441232 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2A8h (07FF6E76332F8h)],rax
00007FF6E7441239 lea rax,[string "setemit" (07FF6E75C5300h)]
00007FF6E7441240 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+270h (07FF6E76332C0h)],3
00007FF6E744124A mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2B8h (07FF6E7633308h)],rax
00007FF6E7441251 lea rax,[string "jmpc" (07FF6E75C530Ch)]
00007FF6E7441258 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+274h (07FF6E76332C4h)],1Dh
00007FF6E7441262 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2C8h (07FF6E7633318h)],rax
00007FF6E7441269 lea rax,[string "jmpu" (07FF6E75C5314h)]
00007FF6E7441270 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+280h (07FF6E76332D0h)],2
00007FF6E744127A mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2D8h (07FF6E7633328h)],rax
00007FF6E7441281 lea rax,[string "cmp" (07FF6E75C531Ch)]
00007FF6E7441288 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+284h (07FF6E76332D4h)],1Eh
00007FF6E7441292 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2E8h (07FF6E7633338h)],rax
00007FF6E7441299 lea rax,[string "madi" (07FF6E75C5320h)]
00007FF6E74412A0 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+290h (07FF6E76332E0h)],3
00007FF6E74412AA mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+308h (07FF6E7633358h)],rax
00007FF6E74412B1 lea rax,[string "mad" (07FF6E75C5328h)]
00007FF6E74412B8 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+294h (07FF6E76332E4h)],20h
00007FF6E74412C2 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2A0h (07FF6E76332F0h)],rdx
00007FF6E74412C9 mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2B0h (07FF6E7633300h)],4
00007FF6E74412D4 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2C0h (07FF6E7633310h)],2
00007FF6E74412DE mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+388h (07FF6E76333D8h)],rax
00007FF6E74412E5 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2C4h (07FF6E7633314h)],6
00007FF6E74412EF mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2D0h (07FF6E7633320h)],2
00007FF6E74412F9 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2D4h (07FF6E7633324h)],5
00007FF6E7441303 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2E0h (07FF6E7633330h)],1
00007FF6E744130D mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+2E4h (07FF6E7633334h)],4Fh
00007FF6E7441317 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+300h (07FF6E7633350h)],5
00007FF6E7441321 mov dword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+304h (07FF6E7633354h)],20h
00007FF6E744132B mov qword ptr [`nihstro::OpCode::GetInfo'::`2'::info_table+380h (07FF6E76333D0h)],5
00007FF6E7441336 mov ecx,dword ptr [rcx]
00007FF6E7441338 mov eax,ecx
00007FF6E744133A and eax,0FFFFFFF8h
00007FF6E744133D cmp eax,38h
00007FF6E7441340 jne nihstro::OpCode::GetInfo+4C5h (07FF6E7441355h)
00007FF6E7441342 mov ecx,eax
00007FF6E7441344 cdqe
00007FF6E7441346 lea rcx,[`nihstro::OpCode::GetInfo'::`2'::info_table (07FF6E7633050h)]
00007FF6E744134D shl rax,4
00007FF6E7441351 add rax,rcx
00007FF6E7441354 ret
00007FF6E7441355 cmp eax,30h
00007FF6E7441358 jne nihstro::OpCode::GetInfo+4DDh (07FF6E744136Dh)
00007FF6E744135A mov ecx,eax
00007FF6E744135C cdqe
00007FF6E744135E lea rcx,[`nihstro::OpCode::GetInfo'::`2'::info_table (07FF6E7633050h)]
00007FF6E7441365 shl rax,4
00007FF6E7441369 add rax,rcx
00007FF6E744136C ret
00007FF6E744136D mov eax,ecx
00007FF6E744136F mov edx,2Eh
00007FF6E7441374 and eax,0FFFFFFFEh
00007FF6E7441377 cmp eax,edx
00007FF6E7441379 cmove ecx,edx
00007FF6E744137C movsxd rax,ecx
00007FF6E744137F lea rcx,[`nihstro::OpCode::GetInfo'::`2'::info_table (07FF6E7633050h)]
00007FF6E7441386 shl rax,4
00007FF6E744138A add rax,rcx
00007FF6E744138D ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment