Function at 0x10017930
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [0x1128fed4]
sub esp, 0x168
mov ecx, dword [eax]
push esi
mov esi, dword [ebp + 8]
push edi
test ecx, ecx
je 0x1001880d
test byte [0x11290d54], 1
je 0x10017966
mov byte [0x11290c7e], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100b5ff0
cmp eax, 9
je 0x1001880d
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.100b5ff0
cmp eax, 8
je 0x1001880d
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001ab40
movss xmm0, dword [eax + 8]
comiss xmm0, dword [0x10122b40]
jbe 0x100179ac
mov byte [0x11290c7e], 0
jmp 0x100179b9
cmp byte [0x11290c7e], 0
jne 0x1001880d
push dword [0x1128ff80]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100179d7
cmp dword [0x11290c68], 0
je 0x1001880d
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x1001880d
lea ecx, [esp + 0xc0]
call fcn.10011c40
mov ecx, dword [0x1128fed4]
mov byte [0x11290c66], 0
mov ecx, dword [ecx]
call fcn.1001ab40
movss xmm1, dword [0x11064b68]
movss xmm0, dword [eax + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10017a43
movss xmm0, dword [0x11290c8c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10017a43
xorps xmm1, xmm1
movss dword [0x112911dc], xmm1
jmp 0x10017a4b
movss xmm1, dword [0x112911dc]
movss xmm0, dword [0x11064b64]
movsd xmm2, qword [0x11064af8]
movss dword [esp + 0x4c], xmm0
cvtps2pd xmm0, xmm1
movss dword [esp + 0x10], xmm1
comisd xmm2, xmm0
jbe 0x10017d77
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov eax, dword [0x1128fed4]
lea ecx, [esp + 0x20]
cvtsd2ss xmm0, xmm0
push ecx
mov ecx, dword [eax]
movss dword [esp + 0x1c], xmm0
call fcn.100b5c70
movss xmm1, dword [esp + 0x10]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
mov eax, dword [edi]
mov ecx, edi
cvtsd2ss xmm0, xmm0
mov dword [esp + 0x1c], vtable.CTraceFilterWorldOnly.0
mov dword [esp + 0x78], 0x7f800000
mov eax, dword [eax + 8]
mov dword [esp + 0x74], 0x7f800000
mov dword [esp + 0x70], 0x7f800000
addss xmm0, dword [esp + 0x20]
mov dword [esp + 0x88], 0x7f800000
mov dword [esp + 0x84], 0x7f800000
mov dword [esp + 0x80], 0x7f800000
mov dword [esp + 0x98], 0x7f800000
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x18]
mov dword [esp + 0x94], 0x7f800000
mov dword [esp + 0x90], 0x7f800000
mov dword [esp + 0xa8], 0x7f800000
mov dword [esp + 0xa4], 0x7f800000
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x10122b40]
mov dword [esp + 0xa0], 0x7f800000
mov dword [esp + 0xb0], 0
movss dword [esp + 0x14], xmm0
call eax
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x44], eax
mov edx, dword [edx + 4]
call edx
movss xmm3, dword [esp + 0x20]
mov ecx, eax
movss xmm2, dword [esp + 0x48]
movss xmm4, dword [esp + 0x24]
subss xmm2, xmm3
movss xmm0, dword [esp + 0x18]
movss xmm5, dword [esp + 0x28]
subss xmm0, xmm4
movss xmm1, dword [esp + 0x14]
subss xmm1, xmm5
mov dword [esp + 0xb0], 0
movss dword [esp + 0x80], xmm2
mulss xmm2, xmm2
mov byte [esp + 0xb5], 1
movss dword [esp + 0x84], xmm0
mulss xmm0, xmm0
movss dword [esp + 0x88], xmm1
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
ucomiss xmm2, dword [0x10122b40]
lahf
test ah, 0x44
jp 0x10017c08
mov byte [esp + 0xb5], 0
mov eax, dword [esp + 0x44]
lea edx, [esp + 0xc0]
movss xmm6, dword [0x10122b74]
push edx
lea edx, [esp + 0x20]
movss xmm2, dword [eax]
subss xmm2, dword [ecx]
movss xmm1, dword [eax + 4]
subss xmm1, dword [ecx + 4]
movss xmm0, dword [eax + 8]
subss xmm0, dword [ecx + 8]
mulss xmm2, xmm6
push edx
mulss xmm1, xmm6
lea edx, [esp + 0x78]
push 0x201400b
movss dword [esp + 0xac], xmm2
mulss xmm0, xmm6
push edx
movss dword [esp + 0xb4], xmm1
mulss xmm1, xmm1
movss dword [esp + 0xb8], xmm0
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x11064ac0]
comisd xmm1, xmm0
seta byte [esp + 0xc4]
movss xmm0, dword [eax]
addss xmm0, dword [ecx]
movss xmm1, dword [ecx + 4]
movss xmm2, dword [ecx + 8]
addss xmm1, dword [eax + 4]
addss xmm2, dword [eax + 8]
mov ecx, dword [0x11290c18]
mulss xmm0, xmm6
mulss xmm1, xmm6
addss xmm3, xmm0
mulss xmm2, xmm6
addss xmm4, xmm1
addss xmm5, xmm2
movss dword [esp + 0x80], xmm3
movss xmm3, dword [0x10122b98]
mulss xmm0, xmm3
mulss xmm1, xmm3
mulss xmm2, xmm3
movss dword [esp + 0x84], xmm4
movss dword [esp + 0x88], xmm5
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xa4], xmm1
movss dword [esp + 0xa8], xmm2
mov eax, dword [ecx]
call dword [eax + 0x14]
movss xmm0, dword [0x10122b78]
comiss xmm0, dword [esp + 0xec]
jbe 0x10017d4e
movss xmm0, dword [esp + 0xe0]
ucomiss xmm0, dword [0x10122b40]
lahf
test ah, 0x44
jnp 0x10017e2a
movss xmm1, dword [esp + 0x10]
addss xmm1, dword [0x11064ac8]
movsd xmm2, qword [0x11064af8]
cvtps2pd xmm0, xmm1
movss dword [esp + 0x10], xmm1
comisd xmm2, xmm0
ja 0x10017a74
cmp byte [0x11290c66], 0
je 0x1001880d
push dword [0x1128ff8c]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call edi
test ax, ax
jne 0x10018440
mov eax, dword [0x11290d6c]
lea ecx, [esp + 0x30]
movss xmm0, dword [esp + 0xd8]
movss xmm1, dword [esp + 0xdc]
mulss xmm0, dword [0x10122b98]
mov eax, dword [eax + 0x1c]
mulss xmm1, dword [0x10122b98]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x20]
push eax
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm1
mov dword [esp + 0x3c], 0
call fcn.1002f1d0
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001ab40
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10017e53
sqrtsd xmm0, xmm0
jmp 0x10017e58
movss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [0x112911dc], xmm0
mov byte [0x11290c66], 1
jmp 0x10017d84
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x11064b48]
jbe 0x10017fad
test byte [esi + 0x30], 4
jne 0x10017fad
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001ab40
movss xmm1, dword [0x11064b68]
movss xmm0, dword [eax + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10017eaa
movss xmm0, dword [0x11290c8c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10017fad
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001ab40
movss xmm0, dword [eax + 4]
mov eax, dword [0x1128fed4]
movss dword [esp + 0x1c], xmm0
mov ecx, dword [eax]
call fcn.1001ab40
fld dword [esp + 0x1c]
sub esp, 8
movss xmm0, dword [eax]
fstp dword [esp + 4]
movss dword [esp + 0x4c], xmm0
fld dword [esp + 0x4c]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll__hypotf
movss xmm0, dword [0x11064b2c]
add esp, 8
fstp dword [esp + 0x1c]
divss xmm0, dword [esp + 0x1c]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
mov eax, dword [0x1128fed4]
cvtsd2ss xmm0, xmm0
mov ecx, dword [eax]
mulss xmm0, dword [0x10122b8c]
movss dword [esp + 0x14], xmm0
call fcn.1001ab40
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], 0
movq xmm0, qword [eax]
lea eax, [esp + 0x54]
push eax
movq qword [esp + 0x34], xmm0
call fcn.1002f1d0
movss xmm2, dword [esp + 0x54]
lea ecx, [esp + 0x30]
movss xmm1, dword [esp + 0x58]
movss xmm0, dword [esp + 0x5c]
subss xmm2, dword [esp + 0x20]
subss xmm1, dword [esp + 0x24]
subss xmm0, dword [esp + 0x28]
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x38], xmm0
call fcn.1000c650
movss xmm0, dword [esp + 0x34]
comiss xmm0, dword [0x10122b40]
movss xmm0, dword [esp + 0x24]
jb 0x10017fa5
addss xmm0, dword [esp + 0x14]
jmp 0x10017fb3
subss xmm0, dword [esp + 0x14]
jmp 0x10017fb3
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [esi + 0x10]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x11064ad8]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x1c], xmm0
movsd xmm0, qword [esp + 0x20]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov eax, dword [0x1128fed4]
cvtsd2ss xmm0, xmm0
mov ecx, dword [eax]
movss dword [esp + 0x10], xmm0
call fcn.1001ab40
movss xmm1, dword [0x11064b68]
movss xmm0, dword [eax + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10018031
movss xmm0, dword [0x11290c8c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10018031
movss xmm0, dword [0x11064b08]
jmp 0x10018039
movss xmm0, dword [0x11064b34]
movaps xmm1, xmm0
movss dword [esp + 0x14], xmm0
mulss xmm1, dword [esp + 0x1c]
lea ecx, [esp + 0x118]
movss dword [esp + 0x44], xmm1
movss xmm1, dword [esp + 0x10]
xorps xmm1, xmmword [0x10122c10]
mulss xmm1, xmm0
movss dword [esp + 0x10], xmm1
call fcn.10011c40
lea ecx, [esp + 0x70]
call fcn.10011d30
mov eax, dword [0x1128fed4]
lea ecx, [esp + 0x64]
mov dword [esp + 0x60], vtable.CTraceFilterWorldOnly.0
push ecx
mov ecx, dword [eax]
call fcn.100b5c70
lea ecx, [esp + 0x54]
push ecx
movss xmm0, dword [eax + 4]
mov eax, dword [0x1128fed4]
movss dword [esp + 0x20], xmm0
mov ecx, dword [eax]
call fcn.100b5c70
movss xmm1, dword [esp + 0x18]
lea ecx, [esp + 0x54]
movss xmm2, dword [esp + 0x48]
mulss xmm1, dword [0x11064b38]
push ecx
mulss xmm2, dword [0x11064b38]
lea ecx, [esp + 0x68]
push ecx
addss xmm1, dword [eax]
movss xmm0, dword [esp + 0x54]
addss xmm2, dword [esp + 0x24]
addss xmm0, dword [0x10122b40]
mov eax, dword [0x1128fed4]
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x60], xmm2
mov ecx, dword [eax]
movss dword [esp + 0x64], xmm0
call fcn.100b5c70
push eax
lea ecx, [esp + 0x78]
call fcn.1000ed40
mov ecx, dword [0x11290c18]
lea edx, [esp + 0x118]
push edx
lea edx, [esp + 0x64]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x78]
push 0x201400b
push edx
call dword [eax + 0x14]
movss xmm0, dword [esp + 0x144]
lea edi, [esi + 0x30]
comiss xmm0, dword [0x11064ab8]
ja 0x10018158
test dword [edi], 0x618
mov dword [esp + 0x18], edi
jne 0x10018172
movss xmm0, dword [esp + 0x44]
movss dword [esi + 0x24], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esi + 0x28], xmm0
mov dword [esp + 0x18], edi
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001ab40
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x100181a5
sqrtsd xmm0, xmm0
jmp 0x100181aa
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x11064b48]
jbe 0x1001826a
test byte [edi], 4
jne 0x1001826a
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001ab40
movss xmm1, dword [0x11064b68]
movss xmm0, dword [eax + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100181f7
movss xmm0, dword [0x11290c8c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001826a
movss xmm0, dword [esi + 0x24]
xorps xmm1, xmm1
comiss xmm1, xmm0
movss xmm2, dword [0x11064b54]
jbe 0x1001821b
test byte [edi], 8
je 0x1001821b
mov dword [esi + 0x24], 0x43e10000
movaps xmm0, xmm2
comiss xmm0, xmm1
jbe 0x1001822c
test byte [edi], 0x10
je 0x1001822c
mov dword [esi + 0x24], 0xc3e10000
movss xmm0, dword [esi + 0x28]
comiss xmm1, xmm0
jbe 0x10018248
test dword [edi], 0x400
je 0x10018248
mov dword [esi + 0x28], 0x43e10000
movaps xmm0, xmm2
comiss xmm0, xmm1
jbe 0x1001880d
test dword [edi], 0x200
je 0x1001880d
mov dword [esi + 0x28], 0xc3e10000
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [esp + 0x14]
ucomiss xmm0, dword [0x11064b34]
lahf
test ah, 0x44
jp 0x1001828d
mov ecx, dword [edi]
test cl, 8
je 0x1001828d
lea eax, [esi + 0x28]
mov dword [esp + 0x10], eax
jmp 0x100182a4
mov ecx, dword [edi]
lea edx, [esi + 0x28]
mov eax, edx
mov dword [esp + 0x10], eax
test ecx, 0x610
je 0x100183d0
movss xmm0, dword [esi + 0x24]
mov edx, dword [esp + 0x50]
movss dword [esp + 0x4c], xmm0
dec edx
movss xmm0, dword [eax]
mov eax, ecx
and eax, 8
movss dword [esp + 0x48], xmm0
mov dword [esp + 0x50], eax
mov eax, ecx
and eax, 0x10
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov eax, ecx
and eax, 0x200
mov dword [esp + 0x20], edx
and ecx, 0x400
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], ecx
xor edi, edi
mov eax, dword [0x111013cc]
push edx
push 0
mov eax, dword [eax]
call eax
cmp dword [esp + 0x50], 0
movd xmm1, dword [esp + 0x14]
cvtdq2ps xmm1, xmm1
je 0x10018314
movss dword [esi + 0x24], xmm1
cmp dword [esp + 0x1c], 0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
je 0x10018327
movss dword [esi + 0x24], xmm0
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x10]
je 0x10018336
movss dword [eax], xmm0
cmp dword [esp + 0x30], 0
je 0x10018341
movss dword [eax], xmm1
mov ecx, dword [0x11290cfc]
push esi
call fcn.10051da0
mov ecx, dword [0x11290cfc]
call fcn.10003b40
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001ab40
movss xmm0, dword [0x11290c90]
xorps xmm0, xmmword [0x10122c10]
movss xmm1, dword [eax + 8]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
mov eax, dword [esp + 0x10]
jp 0x1001839c
movss xmm0, dword [esi + 0x24]
movss xmm1, dword [eax]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x48], xmm1
jmp 0x100183a8
movss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x48]
add dword [esp + 0x14], 0x2d
sub edi, 0x2d
mov edx, dword [esp + 0x20]
cmp edi, 0xfffffe3e
jg 0x100182f3
mov edi, dword [esp + 0x18]
lea edx, [esi + 0x28]
movss dword [esi + 0x24], xmm0
movss dword [eax], xmm1
movss xmm0, dword [esi + 0x24]
xorps xmm1, xmm1
comiss xmm1, xmm0
movss xmm2, dword [0x11064b54]
jbe 0x100183f4
test byte [edi], 8
je 0x100183f4
mov dword [esi + 0x24], 0x43e10000
movaps xmm0, xmm2
comiss xmm0, xmm1
jbe 0x10018405
test byte [edi], 0x10
je 0x10018405
mov dword [esi + 0x24], 0xc3e10000
movss xmm0, dword [edx]
comiss xmm1, xmm0
jbe 0x1001841f
test dword [edi], 0x400
je 0x1001841f
mov dword [edx], 0x43e10000
movaps xmm0, xmm2
comiss xmm0, xmm1
jbe 0x1001843a
test dword [edi], 0x200
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x10018440
mov dword [edx], 0xc3e10000
jmp 0x10018440
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp byte [0x11290c66], 0
je 0x1001880d
push dword [0x1128ff8c]
call edi
test ax, ax
je 0x1001880d
cmp byte [0x1128ff88], 0
je 0x1001880d
mov eax, dword [0x11290d6c]
lea ecx, [esp + 0x54]
movss xmm1, dword [esp + 0xd8]
movss xmm0, dword [esp + 0xdc]
mulss xmm1, dword [0x10122b98]
mov edi, dword [eax + 0x1c]
lea eax, [esp + 0x30]
mulss xmm0, dword [0x10122b98]
push eax
movss dword [esp + 0x58], xmm1
mov dword [esp + 0x60], 0
movss dword [esp + 0x5c], xmm0
call fcn.1002f1d0
cmp byte [0x112911e0], 0
movss xmm0, dword [esi + 0x24]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esi + 0x28]
movss dword [esp + 0x60], xmm0
je 0x10018517
movss xmm0, dword [0x112911ec]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [0x112911f0]
movss dword [esi + 0x10], xmm0
movss xmm0, dword [0x112911f4]
movss dword [esi + 0x14], xmm0
movss xmm0, dword [0x112911e4]
movss dword [esi + 0x24], xmm0
movss xmm0, dword [0x112911e8]
movss dword [esi + 0x28], xmm0
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001ab40
movss xmm0, dword [0x11064b70]
comiss xmm0, dword [eax + 8]
ja 0x10018571
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001ab40
movss xmm0, dword [eax + 8]
comiss xmm0, dword [0x10122b40]
ja 0x10018571
cmp byte [0x112911e0], 0
je 0x10018578
movss xmm1, dword [0x112911ec]
movss xmm2, dword [0x112911e4]
movss xmm3, dword [0x112911e8]
jmp 0x100187e4
mov byte [0x112911e0], 0
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001ab40
movss xmm0, dword [eax + 4]
mov eax, dword [0x1128fed4]
movss dword [esp + 0x20], xmm0
mov ecx, dword [eax]
call fcn.1001ab40
fld dword [esp + 0x20]
sub esp, 8
fstp dword [esp + 4]
fld dword [eax]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll__hypotf
movss xmm0, dword [0x10122b98]
add esp, 8
fstp dword [esp + 0x20]
divss xmm0, dword [esp + 0x20]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
mov eax, dword [0x1128fed4]
cvtsd2ss xmm0, xmm0
mov ecx, dword [eax]
mulss xmm0, dword [0x10122b8c]
movss dword [esp + 0x18], xmm0
call fcn.1001ab40
lea ecx, [esp + 0x54]
mov dword [esp + 0x5c], 0
movq xmm0, qword [eax]
lea eax, [esp + 0x64]
push eax
movq qword [esp + 0x58], xmm0
call fcn.1002f1d0
movss xmm0, dword [esp + 0x64]
lea ecx, [esp + 0x20]
subss xmm0, dword [esp + 0x30]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x68]
subss xmm0, dword [esp + 0x34]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x6c]
subss xmm0, dword [esp + 0x38]
movss dword [esp + 0x28], xmm0
call fcn.1000c650
movss xmm0, dword [esp + 0x24]
comiss xmm0, dword [0x10122b40]
movss xmm0, dword [esp + 0x34]
jb 0x10018667
addss xmm0, dword [esp + 0x18]
jmp 0x1001866d
subss xmm0, dword [esp + 0x18]
subss xmm0, dword [esi + 0x10]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x11064ad8]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x11064b18]
movss dword [esp + 0x20], xmm0
movsd xmm0, qword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
dec edi
xorps xmm0, xmmword [0x10122c10]
mulss xmm0, dword [0x11064b18]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [0x10122bac]
movss dword [esp + 0x14], xmm0
mov eax, dword [0x111013cc]
push edi
push 0
mov eax, dword [eax]
call eax
movss xmm0, dword [esp + 0x20]
movss dword [esi + 0x24], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esi + 0x28], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esi + 0x10], xmm0
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001ab40
mov ecx, dword [0x11290cfc]
push esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x70], eax
call fcn.10051da0
mov ecx, dword [0x11290cfc]
push esi
call fcn.10051da0
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001ab40
movss xmm0, dword [eax + 8]
comiss xmm0, dword [esp + 0x6c]
ja 0x1001879c
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x10122b78]
movss xmm1, dword [0x10122b94]
comiss xmm1, xmm0
movss dword [esp + 0x14], xmm0
ja 0x100186d4
cmp byte [0x112911e0], 0
jne 0x10018554
movss xmm0, dword [esp + 0x50]
movss dword [esi + 0x24], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esi + 0x28], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss xmm2, dword [esi + 0x24]
movss xmm3, dword [esi + 0x28]
movss xmm1, dword [esi + 0xc]
movss dword [0x112911ec], xmm1
movss xmm0, dword [esi + 0x10]
movss dword [0x112911f0], xmm0
movss xmm0, dword [esi + 0x14]
mov byte [0x112911e0], 1
movss dword [0x112911e4], xmm2
movss dword [0x112911e8], xmm3
movss dword [0x112911f4], xmm0
movss dword [esi + 0xc], xmm1
movss xmm0, dword [0x112911f0]
movss dword [esi + 0x10], xmm0
movss xmm0, dword [0x112911f4]
movss dword [esi + 0x14], xmm0
movss dword [esi + 0x24], xmm2
movss dword [esi + 0x28], xmm3
pop edi
pop esi
mov esp, ebp
pop ebp
ret