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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030540
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4e0
mov eax, dword [0x1003b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [0x10064b44]
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x43c], esi
mov eax, dword [ecx]
push dword [edx + 0xb38]
mov dword [ebp - 0x41c], edx
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je case.0x10005440.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [ebp - 0x420], eax
test eax, eax
je case.0x10005440.0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4a4]
mov ecx, eax
call edx
test eax, eax
js case.0x10005440.0
cmp eax, 0x1d
jg case.0x10005440.0
cmp eax, 0x1c
ja case.0x10005440.1
movzx eax, byte [eax + 0x100068f8]
jmp dword [eax*4 + 0x100068f0]
push dword [ebp - 0x420]
lea eax, [ebp - 0x4f0]
push eax
call fcn.10021910
mov dword [edi + 0x4a0], 0x7fffffff
mov dword [edi + 0x49c], 0xffffffff
mov dword [edi + 0x4a4], 0x4f000000
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov ecx, dword [ebp - 0x420]
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov byte [edi + 0x4a8], 0
mov dword [edi + 0x4ac], 0
mov dword [edi + 0x4b0], 0
mov dword [edi + 0x4b4], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
mov ecx, dword [ebp - 0x420]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
mov ecx, 9
test eax, eax
js 0x100055bd
cmp eax, 0x1d
jg 0x100055bd
cmp eax, 0x11
jne 0x100055bd
cmp byte [0x100756d5], 0
mov eax, dword [0x100756dc]
cmovne eax, ecx
jmp 0x100055c2
mov eax, dword [0x100756dc]
mov ecx, dword [0x10063e08]
mov dword [0x10252a30], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10252a2c]
cmp eax, dword [ecx + 4]
jle 0x10005606
push 0x10252a2c
call fcn.1002e5a0
add esp, 4
cmp dword [0x10252a2c], 0xffffffff
jne 0x10005606
push 0x10252a2c
call fcn.1002e54f
add esp, 4
mov eax, dword [0x100756f0]
test eax, eax
jle 0x1000561f
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je case.0x10005440.0
mov eax, dword [0x10064b40]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x414], eax
cmp eax, 1
jl 0x1000681f
mov eax, dword [ebp - 0x420]
mov esi, dword [ebp - 0x414]
mov dword [ebp - 0x420], eax
nop dword [eax + eax]
mov ecx, dword [0x10064b38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x10006809
mov ecx, dword [0x10064b44]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x418], eax
test eax, eax
je 0x10006809
mov edx, dword [eax + 8]
lea ecx, [eax + 8]
mov edx, dword [edx + 0x20]
call edx
test al, al
jne 0x10006809
mov ecx, dword [ebp - 0x418]
call fcn.10002b70
cmp dword [eax], 0
je 0x100056b4
mov dword [esi*4 + 0x10064b50], 0
jmp 0x10006809
cmp byte [0x100756d1], 0
jne 0x100056e3
mov ecx, dword [ebp - 0x41c]
call fcn.10002750
mov ecx, dword [ebp - 0x418]
mov esi, dword [eax]
call fcn.10002750
cmp dword [eax], esi
mov esi, dword [ebp - 0x414]
je 0x10006809
mov ecx, dword [ebp - 0x418]
call fcn.10002c60
cmp dword [eax], 0x1f4
jg 0x10006809
mov ecx, dword [ebp - 0x418]
mov eax, dword [ecx + 0x58]
shr eax, 0x18
cmp al, 0xff
jb 0x10006809
cmp byte [esi + 0x10075b30], 0
jne 0x10006809
movss xmm1, dword [ecx + 0x29c]
movss xmm2, dword [ecx + 0x2a0]
subss xmm2, dword [0x10066e04]
subss xmm1, dword [0x10066e00]
movss xmm0, dword [ecx + 0x2a4]
subss xmm0, dword [0x10066e08]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
comiss xmm0, dword [ebp - 0x4dc]
ja 0x10006809
push esi
call fcn.1002e060
test al, al
je 0x10005787
mov dword [0x10252a30], 0xc
push dword [ebp - 0x418]
mov edx, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x41c]
call fcn.10003840
mov ecx, dword [ebp - 0x414]
add esp, 4
imul edx, ecx, 0x39c
shl ecx, 5
add ecx, eax
imul eax, ecx, 0x39c
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x424], eax
lea esi, [edx + 0x10066e40]
mov dword [ebp - 0x46c], esi
lea eax, [eax + 0x10075f10]
mov dword [ebp - 0x45c], eax
lea eax, [edx + 0x102440b8]
push eax
call fcn.10006920
mov esi, dword [ebp - 0x41c]
mov dword [ebp - 4], 0
cmp dword [0x1007588c], 0
je 0x10005a01
mov ecx, dword [ebp - 0x45c]
call fcn.100036a0
test al, al
je 0x10005a01
push dword [ebp - 0x414]
call fcn.1002e060
test al, al
jne 0x10005a01
push dword [ebp - 0x46c]
push dword [ebp - 0x418]
call fcn.1002da30
mov ecx, dword [0x10064b38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov esi, eax
push 0
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x42c], ecx
mov ecx, esi
call dword [ebp - 0x42c]
mov eax, dword [esi]
mov ecx, esi
fstp dword [ebp - 0x464]
push 1
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x42c], eax
call dword [ebp - 0x42c]
mov eax, dword [0x10064b40]
movss xmm1, dword [0x100377a8]
fadd dword [ebp - 0x464]
divss xmm1, dword [eax + 0x1c]
mov eax, dword [ebp - 0x45c]
movss xmm0, dword [eax + 0x30]
mov eax, dword [ebp - 0x424]
fstp dword [ebp - 0x42c]
subss xmm0, dword [eax + 0x100762dc]
mulss xmm0, xmm1
mulss xmm1, dword [ebp - 0x42c]
addss xmm0, dword [0x10037780]
addss xmm1, dword [0x10037780]
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
add ecx, eax
cmp ecx, 0xf
jg 0x100059cb
mov ecx, dword [0x10064b38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov esi, eax
push 0
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x42c], ecx
mov ecx, esi
call dword [ebp - 0x42c]
mov eax, dword [esi]
mov ecx, esi
fstp dword [ebp - 0x464]
push 1
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x42c], eax
call dword [ebp - 0x42c]
mov eax, dword [0x10064b40]
movss xmm1, dword [0x100377a8]
fstp dword [ebp - 0x42c]
movss xmm0, dword [ebp - 0x42c]
divss xmm1, dword [eax + 0x1c]
mov eax, dword [ebp - 0x45c]
addss xmm0, dword [ebp - 0x464]
mulss xmm0, xmm1
addss xmm0, dword [0x10037780]
cvttss2si ecx, xmm0
movss xmm0, dword [eax + 0x30]
mov eax, dword [ebp - 0x424]
subss xmm0, dword [eax + 0x100762dc]
mulss xmm0, xmm1
addss xmm0, dword [0x10037780]
cvttss2si eax, xmm0
add ecx, eax
cmp ecx, 1
jl 0x100059cb
mov ecx, dword [0x10064b38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov esi, eax
push 0
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x42c], ecx
mov ecx, esi
call dword [ebp - 0x42c]
mov ecx, dword [esi]
fstp st(0)
push 1
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x42c], ecx
mov ecx, esi
call dword [ebp - 0x42c]
fstp st(0)
mov ecx, dword [ebp - 0x418]
mov esi, dword [ebp - 0x41c]
mov eax, dword [ecx + 0x4a0]
mov dword [ecx + 0x4ac], 0
mov dword [ecx + 0x4b0], 0
mov dword [ecx + 0x49c], eax
mov dword [ecx + 0x4a0], 0
mov eax, dword [0x100756d8]
xor ecx, ecx
mov dword [ebp - 0x424], ecx
test eax, eax
jne 0x10005a72
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
mov eax, dword [ebp - 0x418]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
call edx
movss xmm1, dword [esi]
movss xmm2, dword [esi + 4]
movss xmm0, dword [esi + 8]
subss xmm2, dword [eax + 4]
subss xmm1, dword [eax]
subss xmm0, dword [eax + 8]
mov eax, dword [0x100756d8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
cvttss2si ecx, xmm0
mov dword [ebp - 0x424], ecx
mov esi, dword [ebp - 0x418]
cmp eax, 1
jne 0x10005a91
mov ecx, esi
call fcn.10002c60
mov ecx, dword [eax]
mov eax, dword [0x100756d8]
mov dword [ebp - 0x424], ecx
cmp eax, 2
je 0x10005a9b
cmp eax, 3
jne 0x10005ab7
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
xor ecx, ecx
cmp eax, dword [0x10063e58]
setle cl
mov dword [ebp - 0x424], ecx
cmp ecx, dword [edi + 0x4a0]
jg 0x100067f1
mov ecx, dword [ebp - 0x420]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x10005cfe
cmp eax, 0x1d
jg 0x10005cfe
cmp eax, 0x11
jne 0x10005cfe
push esi
push dword [0x10252a30]
mov ecx, edi
call fcn.10003cf0
mov ecx, dword [0x10064b44]
mov esi, dword [ebp - 0x41c]
mov eax, dword [ecx]
push dword [esi + 0xb38]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x10006792
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
je 0x10006792
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x4ac]
mov dword [ebp - 0x474], eax
lea eax, [edi + 0x24]
push eax
push 0x10066e00
mov dword [ebp - method.Valve::TraceFilterSkipTwoEntities.virtual_0], vtable.Valve::TraceFilterSkipTwoEntities.0
mov dword [ebp - 0x470], 0
call fcn.10002d50
mov ecx, dword [0x10064b3c]
lea edx, [ebp - 0x70]
push edx
lea edx, [ebp - 0x478]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x4ac]
push 0x46004003
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [ebp - 0x44]
ucomiss xmm0, dword [0x100377a8]
lahf
test ah, 0x44
jp 0x10006792
movss xmm4, dword [edi + 0x24]
subss xmm4, dword [0x10066e00]
push dword [ebp - 0x420]
push esi
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [edi + 0x28]
subss xmm3, dword [0x10066e04]
mulss xmm0, xmm4
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [edi + 0x2c]
subss xmm2, dword [0x10066e08]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100376cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10037808]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm4, xmm1
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [edi], xmm4
movss dword [edi + 4], xmm0
movss dword [edi + 8], xmm1
call fcn.1002d0f0
test al, al
je 0x100064d7
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [ebp - 0x448], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [ebp - 0x468], xmm2
movsd qword [ebp - 0x438], xmm1
test ah, 0x44
jp 0x10005c86
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x10005c86
xorps xmm1, xmm1
jmp 0x100064b1
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037838]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x430], xmm0
jbe 0x10005cba
addsd xmm0, qword [0x10037848]
movsd qword [ebp - 0x430], xmm0
movsd xmm1, qword [ebp - 0x468]
movsd xmm0, qword [ebp - 0x438]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x448]
xorps xmm0, xmmword [0x10037a00]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
movsd xmm1, qword [ebp - 0x430]
jmp 0x100064a9
cmp byte [0x100756cf], 0
je 0x100064f4
cmp byte [0x100756d0], 0
je 0x10006131
mov eax, 0x100373c8
mov dword [ebp - 0x42c], eax
jmp 0x10005d2b
mov esi, dword [ebp - 0x418]
push esi
push dword [eax]
mov ecx, edi
call fcn.10003cf0
mov dword [ebp - 0x464], 8
lea esi, [edi + 0x84]
nop word [eax + eax]
movss xmm4, dword [esi]
subss xmm4, dword [0x10066e00]
push dword [ebp - 0x41c]
push dword [ebp - 0x418]
movss dword [edi], xmm4
movaps xmm1, xmm4
movss xmm3, dword [esi + 4]
subss xmm3, dword [0x10066e04]
mulss xmm1, xmm4
push esi
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm0, xmm3
movss xmm2, dword [esi + 8]
subss xmm2, dword [0x10066e08]
mulss xmm0, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100376cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10037808]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm4, xmm1
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [edi], xmm4
movss dword [edi + 4], xmm0
movss dword [edi + 8], xmm1
call fcn.10003a50
test al, al
je 0x10005f0c
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
call fcn.1002d0f0
test al, al
je 0x10005ef4
movss xmm2, dword [edi + 8]
movss xmm0, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm2, xmm2
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x448], xmm2
xorps xmm2, xmm2
ucomisd xmm0, xmm2
cvtps2pd xmm1, xmm1
lahf
movsd qword [ebp - 0x458], xmm1
movsd qword [ebp - 0x450], xmm0
test ah, 0x44
jp 0x10005e5c
ucomisd xmm1, xmm2
lahf
test ah, 0x44
jp 0x10005e5c
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x10005ece
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037838]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x438], xmm0
jbe 0x10005e8a
addsd xmm0, qword [0x10037848]
movsd qword [ebp - 0x438], xmm0
movsd xmm1, qword [ebp - 0x450]
movsd xmm2, qword [ebp - 0x458]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [ebp - 0x448]
xorps xmm0, xmmword [0x10037a00]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037838]
movsd xmm1, qword [ebp - 0x438]
mov eax, dword [ebp - 0x43c]
cvtsd2ss xmm0, xmm0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov dword [eax + 0x14], 0
mov byte [edi + 0x4a8], 1
mov eax, dword [ebp - 0x414]
mov dword [edi + 0x49c], eax
mov eax, dword [ebp - 0x424]
mov dword [edi + 0x4a0], eax
mov eax, dword [ebp - 0x464]
sub esi, 0xc
dec eax
mov dword [ebp - 0x464], eax
test eax, eax
jg 0x10005d50
mov eax, dword [ebp - 0x42c]
sub eax, 4
mov dword [ebp - 0x42c], eax
cmp eax, 0x10037380
jge 0x10005d25
mov esi, 0x100373c8
push dword [ebp - 0x418]
mov ecx, edi
push dword [esi]
call fcn.10003cf0
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x10066e00]
push dword [ebp - 0x41c]
push dword [ebp - 0x418]
movss dword [edi], xmm4
movaps xmm1, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x10066e04]
mulss xmm1, xmm4
push eax
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm0, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x10066e08]
mulss xmm0, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100376cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10037808]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm0, xmm4
mulss xmm2, xmm1
movss dword [edi], xmm0
movss dword [edi + 4], xmm3
movss dword [edi + 8], xmm2
call fcn.10003a50
test al, al
je 0x10006117
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
call fcn.1002d0f0
test al, al
je 0x100060fd
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [ebp - 0x458], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [ebp - 0x448], xmm2
movsd qword [ebp - 0x450], xmm1
test ah, 0x44
jp 0x1000605f
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000605f
xorps xmm1, xmm1
jmp 0x100060d7
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037838]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x438], xmm0
jbe 0x10006093
addsd xmm0, qword [0x10037848]
movsd qword [ebp - 0x438], xmm0
movsd xmm1, qword [ebp - 0x450]
movsd xmm2, qword [ebp - 0x448]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [ebp - 0x458]
xorps xmm0, xmmword [0x10037a00]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037838]
movsd xmm1, qword [ebp - 0x438]
mov eax, dword [ebp - 0x43c]
cvtsd2ss xmm0, xmm0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov dword [eax + 0x14], 0
mov byte [edi + 0x4a8], 1
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x424]
mov dword [edi + 0x49c], eax
mov dword [edi + 0x4a0], ecx
jmp 0x1000611d
mov eax, dword [ebp - 0x414]
sub esi, 4
cmp esi, 0x10037380
jge 0x10005f43
jmp 0x10006798
push esi
push 0xc
mov ecx, edi
call fcn.10003cf0
mov dword [ebp - 0x42c], 8
lea esi, [edi + 0x84]
nop dword [eax + eax]
movss xmm4, dword [esi]
subss xmm4, dword [0x10066e00]
push dword [ebp - 0x41c]
push dword [ebp - 0x418]
movss dword [edi], xmm4
movaps xmm1, xmm4
movss xmm3, dword [esi + 4]
subss xmm3, dword [0x10066e04]
mulss xmm1, xmm4
push esi
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm0, xmm3
movss xmm2, dword [esi + 8]
subss xmm2, dword [0x10066e08]
mulss xmm0, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100376cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10037808]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, xmm4
movss dword [edi], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [edi + 4], xmm0
movss dword [edi + 8], xmm1
call fcn.10003a50
test al, al
je 0x10006315
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
call fcn.1002d0f0
test al, al
je 0x100062fd
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [ebp - 0x448], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [ebp - 0x450], xmm2
movsd qword [ebp - 0x458], xmm1
test ah, 0x44
jp 0x1000625c
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000625c
xorps xmm1, xmm1
jmp 0x100062d7
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037838]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x438], xmm0
jbe 0x10006290
addsd xmm0, qword [0x10037848]
movsd qword [ebp - 0x438], xmm0
movsd xmm1, qword [ebp - 0x450]
movsd xmm0, qword [ebp - 0x458]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x448]
xorps xmm0, xmmword [0x10037a00]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037838]
movsd xmm1, qword [ebp - 0x438]
mov eax, dword [ebp - 0x43c]
cvtsd2ss xmm0, xmm0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov dword [eax + 0x14], 0
mov byte [edi + 0x4a8], 1
mov eax, dword [ebp - 0x414]
mov dword [edi + 0x49c], eax
mov eax, dword [ebp - 0x424]
mov dword [edi + 0x4a0], eax
mov eax, dword [ebp - 0x42c]
sub esi, 0xc
dec eax
mov dword [ebp - 0x42c], eax
test eax, eax
jg 0x10006150
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x10066e00]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x10066e04]
mulss xmm0, xmm4
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x10066e08]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100376cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10037808]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm0, xmm4
mulss xmm2, xmm1
movss dword [edi], xmm0
movss dword [edi + 4], xmm3
movss dword [edi + 8], xmm2
mov esi, dword [ebp - 0x41c]
push esi
push dword [ebp - 0x418]
push eax
push ecx
mov ecx, edi
call fcn.10003a50
test al, al
je 0x10006792
push dword [ebp - 0x420]
push esi
call fcn.1002d0f0
test al, al
je 0x100064d7
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [ebp - 0x448], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [ebp - 0x458], xmm1
movsd qword [ebp - 0x450], xmm2
test ah, 0x44
jp 0x10006436
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x10006436
xorps xmm1, xmm1
jmp 0x100064b1
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037838]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x438], xmm0
jbe 0x1000646a
addsd xmm0, qword [0x10037848]
movsd qword [ebp - 0x438], xmm0
movsd xmm1, qword [ebp - 0x450]
movsd xmm0, qword [ebp - 0x458]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x448]
xorps xmm0, xmmword [0x10037a00]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
movsd xmm1, qword [ebp - 0x438]
mulsd xmm0, qword [0x10037838]
mov eax, dword [ebp - 0x43c]
cvtsd2ss xmm0, xmm0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov dword [eax + 0x14], 0
mov byte [edi + 0x4a8], 1
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x424]
mov dword [edi + 0x49c], eax
mov dword [edi + 0x4a0], ecx
jmp 0x10006798
cmp byte [0x100756d0], 0
je 0x100066f4
mov esi, 0x100373c8
push dword [ebp - 0x418]
mov ecx, edi
push dword [esi]
call fcn.10003cf0
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x10066e00]
push dword [ebp - 0x41c]
push dword [ebp - 0x418]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x10066e04]
mulss xmm0, xmm4
push eax
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x10066e08]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100376cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10037808]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm0, xmm4
mulss xmm2, xmm1
movss dword [edi], xmm0
movss dword [edi + 4], xmm3
movss dword [edi + 8], xmm2
call fcn.10003a50
test al, al
je 0x100066da
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
call fcn.1002d0f0
test al, al
je 0x100066c0
movss xmm0, dword [edi + 8]
movss xmm2, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm2
movsd qword [ebp - 0x448], xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
cvtps2pd xmm1, xmm1
lahf
movsd qword [ebp - 0x458], xmm1
movsd qword [ebp - 0x450], xmm2
test ah, 0x44
jp 0x10006622
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x10006622
xorps xmm1, xmm1
jmp 0x1000669a
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037838]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x438], xmm0
jbe 0x10006653
addsd xmm0, qword [0x10037848]
movsd qword [ebp - 0x438], xmm0
movsd xmm1, qword [ebp - 0x450]
movsd xmm0, qword [ebp - 0x458]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x448]
xorps xmm0, xmmword [0x10037a00]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037838]
movsd xmm1, qword [ebp - 0x438]
mov eax, dword [ebp - 0x43c]
cvtsd2ss xmm0, xmm0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov dword [eax + 0x14], 0
mov byte [edi + 0x4a8], 1
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x424]
mov dword [edi + 0x49c], eax
mov dword [edi + 0x4a0], ecx
jmp 0x100066e0
mov eax, dword [ebp - 0x414]
sub esi, 4
cmp esi, 0x10037380
jge 0x10006506
jmp 0x10006798
push esi
push 0xc
mov ecx, edi
call fcn.10003cf0
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x10066e00]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x10066e04]
mulss xmm0, xmm4
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x10066e08]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100376cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10037808]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, xmm4
movss dword [edi], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [edi + 4], xmm0
movss dword [edi + 8], xmm1
jmp 0x100063b9
mov eax, dword [ebp - 0x414]
lea edx, [eax + eax*2]
mov eax, dword [edi + 0x24]
mov dword [edi + edx*4 + 0x9c], eax
mov eax, dword [edi + 0x28]
mov dword [edi + edx*4 + 0xa0], eax
mov eax, dword [edi + 0x2c]
mov dword [edi + edx*4 + 0xa4], eax
cmp dword [0x1007588c], 0
je 0x100067f1
mov ecx, dword [ebp - 0x45c]
call fcn.100036a0
test al, al
je 0x100067f1
push dword [ebp - 0x414]
call fcn.1002e060
test al, al
jne 0x100067f1
push dword [ebp - 0x46c]
push dword [ebp - 0x418]
call fcn.1002d850
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], 0xffffffff
call fcn.10002e90
mov esi, dword [ebp - 0x414]
dec esi
mov dword [ebp - 0x414], esi
cmp esi, 1
jge 0x10005650
mov esi, dword [ebp - 0x43c]
cmp byte [edi + 0x4a8], 0
je 0x1000686d
cmp dword [edi + 0x49c], 0xffffffff
je 0x1000686d
cmp byte [0x100756cd], 0
je 0x10006857
mov ecx, dword [ebp - 0x41c]
call fcn.100028a0
movzx ecx, byte [0x100756cd]
and ecx, dword [eax]
test cl, 1
je 0x10006857
or dword [esi + 0x24], 1
cmp dword [0x100756d8], 3
je 0x1000688c
mov eax, dword [edi + 0x49c]
mov dword [0x10063e58], eax
jmp 0x10006883
mov eax, dword [ebp - 0x420]
cmp dword [eax + 0x6fc], 0
jg 0x10006883
or dword [esi + 0x24], 0x2000
cmp dword [0x100756d8], 3
jne 0x10006897
mov eax, dword [edi + 0x49c]
mov dword [0x10063e58], eax
cmp byte [0x100756d2], 0
jne 0x100068b1
mov ecx, dword [0x10064b38]
lea eax, [esi + 0xc]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x100756dc]
test ax, ax
mov eax, 9
cmovne ecx, eax
mov dword [0x10252a30], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002e1ee
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8