Skip to content

Instantly share code, notes, and snippets.

@chris-b1
Created July 16, 2018 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris-b1/1049fdabafc56b2a25de7ad377016baa to your computer and use it in GitHub Desktop.
Save chris-b1/1049fdabafc56b2a25de7ad377016baa to your computer and use it in GitHub Desktop.
; msvc 2015 - works!
000000018005E4D7: E8 84 2B FA FF call printf
000000018005E4DC: 48 8B 85 18 01 00 mov rax,qword ptr [rbp+118h]
00
000000018005E4E3: F2 0F 10 04 03 movsd xmm0,mmword ptr [rbx+rax]
000000018005E4E8: 66 0F 2E C0 ucomisd xmm0,xmm0
000000018005E4EC: 7A 34 jp 000000018005E522
000000018005E4EE: 75 32 jne 000000018005E522
000000018005E4F0: F2 0F 5C C7 subsd xmm0,xmm7
000000018005E4F4: F2 41 0F 58 F2 addsd xmm6,xmm10
000000018005E4F9: 0F 28 C8 movaps xmm1,xmm0
000000018005E4FC: F2 0F 5E CE divsd xmm1,xmm6
000000018005E500: F2 0F 58 F9 addsd xmm7,xmm1
000000018005E504: 41 0F 28 CB movaps xmm1,xmm11
000000018005E508: E8 FF EC 00 00 call pow
000000018005E50D: 0F 28 CE movaps xmm1,xmm6
000000018005E510: F2 41 0F 5C CA subsd xmm1,xmm10
000000018005E515: F2 0F 59 C1 mulsd xmm0,xmm1
000000018005E519: F2 0F 5E C6 divsd xmm0,xmm6
000000018005E51D: F2 44 0F 58 C0 addsd xmm8,xmm0
000000018005E522: 48 8D 0D 07 13 01 lea rcx,[18006F830h]
00
000000018005E529: E8 32 2B FA FF call printf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment