Function at 0x1000deb0
Capabilities:
Log keystrokes via polling

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 0x1003f67b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x37e0
call fcn.1003efe0
mov eax, dword [0x1005200c]
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 dword [ebp - 0x37a4], edi
mov ecx, dword [0x1006c4c0]
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x378c], esi
mov eax, dword [ecx]
push dword [edx + 0xb38]
mov dword [ebp - 0x3778], edx
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x1000f094
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [ebp - 0x3780], eax
test eax, eax
je 0x1000f094
mov ecx, eax
call fcn.1000c250
test al, al
je 0x1000f094
push dword [ebp - 0x3780]
lea eax, [ebp - 0x37f0]
push eax
call fcn.1002e470
mov ecx, edi
call fcn.1000dd80
cmp byte [0x10feba71], 0
je 0x1000df8b
push 0x54
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
mov ecx, 9
mov eax, dword [0x10feba84]
cmovne eax, ecx
jmp 0x1000df90
mov eax, dword [0x10feba84]
mov ecx, dword [ebp - 0x3780]
mov dword [0x11e394f0], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
cmp byte [0x10feba71], 0
je 0x1000dffb
push 0x46
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1000dfcb
cmp byte [0x10feba72], 0
sete al
mov byte [0x10feba72], al
jmp 0x1000dfd0
mov al, byte [0x10feba72]
test al, al
je 0x1000dffb
mov eax, dword [0x10feba80]
sub eax, 0
je 0x1000dfef
sub eax, 1
jne 0x1000e005
mov dword [0x11e394f0], 0xa
jmp 0x1000e005
mov dword [0x11e394f0], 9
jmp 0x1000e005
mov eax, dword [0x10feba84]
mov dword [0x11e394f0], eax
mov ecx, dword [ebp - 0x3780]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x1000e039
cmp eax, 0x1d
jg 0x1000e039
cmp eax, 0x11
jne 0x1000e039
cmp byte [0x10feba7a], 0
mov ecx, 9
mov eax, dword [0x10feba84]
cmovne eax, ecx
jmp 0x1000e03e
mov eax, dword [0x10feba84]
mov ecx, dword [0x10068354]
mov dword [0x11e394f0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x11e394ec]
cmp eax, dword [ecx + 4]
jle 0x1000e0ce
push 0x11e394ec
call fcn.1003e015
add esp, 4
cmp dword [0x11e394ec], 0xffffffff
jne 0x1000e0ce
movaps xmm0, xmmword [0x1004d1a0]
mov eax, dword [0x11e394f0]
movups xmmword [0x11e3938c], xmm0
push 0x11e394ec
movaps xmm0, xmmword [0x1004d160]
movups xmmword [0x11e3939c], xmm0
mov dword [0x11e39388], eax
movaps xmm0, xmmword [0x1004d190]
movups xmmword [0x11e393ac], xmm0
mov dword [0x11e393cc], 0
movaps xmm0, xmmword [0x1004d170]
movups xmmword [0x11e393bc], xmm0
call fcn.1003dfd6
add esp, 4
mov eax, dword [0x10feba90]
test eax, eax
jle 0x1000e0e7
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000f094
mov eax, dword [0x1006c4bc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x375c], eax
cmp eax, 1
jl 0x1000eff7
nop
mov ecx, dword [0x1006c4b4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [ebp - 0x375c]
cmp edx, eax
je 0x1000efe1
mov ecx, dword [0x1006c4c0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [ebp - 0x3774], esi
test esi, esi
je 0x1000efdb
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
mov edx, dword [edx + 0x20]
call edx
test al, al
jne 0x1000efdb
mov ecx, esi
call fcn.1000bf80
cmp dword [eax], 0
je 0x1000e179
mov edx, dword [ebp - 0x375c]
mov dword [edx*4 + 0x1006c5e0], 0
mov dword [edx*4 + 0x1006c6e0], 0
jmp 0x1000efe1
cmp byte [0x10feba76], 0
jne 0x1000e1aa
mov ecx, dword [ebp - 0x3778]
call fcn.1000bb40
mov ecx, dword [ebp - 0x3774]
mov esi, eax
call fcn.1000bb40
mov ecx, dword [eax]
cmp ecx, dword [esi]
je 0x1000efdb
mov esi, dword [ebp - 0x3774]
mov ecx, esi
call fcn.1000c050
mov edx, dword [ebp - 0x375c]
cmp dword [eax], 0x1f4
jg 0x1000efe1
mov eax, dword [esi + 0x58]
shr eax, 0x18
cmp al, 0xff
jb 0x1000efe1
cmp byte [edx + 0x10febfb0], 0
jne 0x1000efe1
movss xmm2, dword [esi + 0x29c]
movss xmm0, dword [esi + 0x2a0]
subss xmm0, dword [0x100b3ac8]
subss xmm2, dword [0x100b3ac4]
movss xmm1, dword [esi + 0x2a4]
subss xmm1, dword [0x100b3acc]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.1000ba40
comiss xmm0, dword [ebp - 0x37dc]
ja 0x1000efe1
cmp byte [0x10feba70], 0
je 0x1000e283
mov ecx, esi
call fcn.1000c050
mov ecx, esi
call fcn.1000c050
mov ecx, dword [0x10feba84]
xor edx, edx
cmp dword [eax], 0x5d
cmovle ecx, edx
mov dword [0x10feba84], ecx
mov ecx, esi
call fcn.1000c050
mov ecx, dword [0x10feba84]
mov edx, dword [ebp - 0x375c]
cmp dword [eax], 0x14
mov eax, 1
cmovle ecx, eax
mov dword [0x10feba84], ecx
push edx
call fcn.1003d820
mov ecx, dword [0x11e394f0]
test al, al
push esi
push dword [ebp - 0x3780]
mov eax, 0xc
push dword [ebp - 0x3778]
cmovne ecx, eax
mov dword [0x11e394f0], ecx
call fcn.1002ccb0
mov ecx, dword [ebp - 0x375c]
imul edx, ecx, 0x1ba0
mov dword [ecx*4 + 0x10f611d0], eax
shl ecx, 5
add ecx, eax
imul eax, ecx, 0x1ba0
lea ecx, [ebp - 0x1bb8]
lea edi, [edx + 0x10f7d0a8]
mov dword [ebp - 0x37a8], edi
mov dword [ebp - 0x376c], eax
lea eax, [eax + 0x10fec398]
mov dword [ebp - 0x377c], eax
lea eax, [edx + 0x11dca2d0]
push eax
call fcn.1000c6f0
mov edi, dword [ebp - 0x37a4]
mov dword [ebp - 4], 0
cmp dword [0x10febc54], 0
je 0x1000e839
mov eax, dword [ebp - 0x377c]
push eax
call fcn.1002ce70
test al, al
je 0x1000e839
push dword [ebp - 0x375c]
call fcn.1003d820
test al, al
jne 0x1000e839
mov eax, dword [esi + 0x684]
mov ecx, esi
mov dword [0x1006df88], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
call eax
push dword [ebp - 0x37a8]
push esi
movss xmm0, dword [eax]
movss dword [0x1006df8c], xmm0
movss xmm0, dword [eax + 4]
movss dword [0x1006df90], xmm0
movss xmm0, dword [eax + 8]
movss dword [0x1006df94], xmm0
movss xmm0, dword [esi + 0x168]
movss xmm1, dword [esi + 0x16c]
movss xmm2, dword [esi + 0x170]
movss dword [0x1006dfa4], xmm0
movss dword [0x1006dfa8], xmm1
movss dword [0x1006dfac], xmm2
movss xmm0, dword [esi + 0x174]
movss xmm1, dword [esi + 0x178]
movss xmm2, dword [esi + 0x17c]
movss dword [0x1006dfb0], xmm0
movss dword [0x1006dfb4], xmm1
movss dword [0x1006dfb8], xmm2
call fcn.1003c520
mov ecx, dword [ebp - 0x377c]
mov eax, dword [ebp - 0x376c]
movss xmm0, dword [ecx + 0x10]
movss dword [ebp - 0x3764], xmm0
movss xmm0, dword [ecx + 0x14]
fld dword [ebp - 0x3764]
movss dword [ebp - 0x3770], xmm0
fld dword [ebp - 0x3770]
fpatan
movss xmm0, dword [eax + 0x10fedf48]
fstp dword [ebp - 0x3764]
movss xmm1, dword [ebp - 0x3764]
movss dword [ebp - 0x3764], xmm0
movss xmm0, dword [eax + 0x10fedf4c]
fld dword [ebp - 0x3764]
movss dword [ebp - 0x3770], xmm0
fld dword [ebp - 0x3770]
fpatan
mulss xmm1, dword [0x1004d038]
fstp dword [ebp - 0x3764]
movss xmm0, dword [ebp - 0x3764]
mulss xmm0, dword [0x1004d038]
movss dword [ebp - 0x379c], xmm1
subss xmm1, xmm0
movss xmm0, dword [ecx + 0x34]
subss xmm0, dword [eax + 0x10fedf6c]
divss xmm1, xmm0
movss dword [ebp - 0x3794], xmm1
call fcn.1000ba50
mov esi, eax
push 0
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
call edx
mov eax, dword [esi]
mov ecx, esi
fstp dword [ebp - 0x3764]
push 1
mov eax, dword [eax + 0x24]
call eax
mov edx, dword [0x1006c4bc]
movss xmm1, dword [0x1004cf24]
add edx, 0x1c
mov eax, dword [ebp - 0x377c]
mov esi, dword [ebp - 0x376c]
fadd dword [ebp - 0x3764]
divss xmm1, dword [edx]
movss xmm0, dword [eax + 0x34]
subss xmm0, dword [esi + 0x10fedf6c]
fstp dword [ebp - 0x3764]
mulss xmm0, xmm1
addss xmm0, dword [0x1004cef8]
cvttss2si ecx, xmm0
mulss xmm1, dword [ebp - 0x3764]
addss xmm1, dword [0x1004cef8]
cvttss2si eax, xmm1
add ecx, eax
cmp ecx, 0xf
jle 0x1000e52b
mov ecx, 0xf
jmp 0x1000e640
call fcn.1000ba50
mov esi, eax
push 0
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
call edx
mov eax, dword [esi]
mov ecx, esi
fstp dword [ebp - 0x3764]
push 1
mov eax, dword [eax + 0x24]
call eax
mov edx, dword [0x1006c4bc]
movss xmm1, dword [0x1004cf24]
add edx, 0x1c
mov eax, dword [ebp - 0x377c]
mov esi, dword [ebp - 0x376c]
fadd dword [ebp - 0x3764]
divss xmm1, dword [edx]
movss xmm0, dword [eax + 0x34]
subss xmm0, dword [esi + 0x10fedf6c]
fstp dword [ebp - 0x3764]
mulss xmm0, xmm1
mulss xmm1, dword [ebp - 0x3764]
addss xmm0, dword [0x1004cef8]
addss xmm1, dword [0x1004cef8]
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
add ecx, eax
cmp ecx, 1
jge 0x1000e5bd
mov ecx, 1
jmp 0x1000e640
call fcn.1000ba50
mov esi, eax
push 0
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
call edx
mov eax, dword [esi]
mov ecx, esi
fstp dword [ebp - 0x3764]
push 1
mov eax, dword [eax + 0x24]
call eax
mov edx, dword [0x1006c4bc]
movss xmm1, dword [0x1004cf24]
add edx, 0x1c
mov eax, dword [ebp - 0x377c]
mov esi, dword [ebp - 0x376c]
fadd dword [ebp - 0x3764]
divss xmm1, dword [edx]
movss xmm0, dword [eax + 0x34]
subss xmm0, dword [esi + 0x10fedf6c]
fstp dword [ebp - 0x3764]
mulss xmm0, xmm1
mulss xmm1, dword [ebp - 0x3764]
addss xmm0, dword [0x1004cef8]
addss xmm1, dword [0x1004cef8]
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
add ecx, eax
cmp dword [0x10febc54], 2
mov dword [ebp - 0x3770], ecx
jne 0x1000e7fc
movss xmm2, dword [esi + 0x10fec39c]
lea eax, [esi + 0x10fec398]
subss xmm2, dword [esi + 0x10fedf3c]
movss xmm0, dword [eax + 8]
subss xmm0, dword [esi + 0x10fedf40]
movss xmm1, dword [eax + 0xc]
subss xmm1, dword [esi + 0x10fedf44]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
comiss xmm2, dword [0x1004d0cc]
jbe 0x1000e802
cmp byte [eax], 0
mov esi, dword [ebp - 0x3774]
jne 0x1000e7f4
mov dword [ebp - 0x3764], 0
test ecx, ecx
jle 0x1000e7f4
mov edi, dword [ebp - 0x3764]
lea eax, [ecx - 1]
mov dword [ebp - 0x3784], eax
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0x377c]
movss xmm2, dword [ebp - 0x3794]
mulss xmm2, dword [edx]
movss xmm1, dword [eax + 0x14]
movss xmm0, dword [eax + 0x10]
addss xmm2, dword [ebp - 0x379c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1000ba40
mulss xmm2, dword [0x1004ce58]
movss dword [ebp - 0x3764], xmm0
movaps xmm0, xmm2
movss dword [ebp - 0x376c], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
mulss xmm0, dword [ebp - 0x3764]
mov eax, dword [ebp - 0x377c]
movss dword [ebp - 0x1ba8], xmm0
movss xmm1, dword [eax + 0x14]
movss xmm0, dword [eax + 0x10]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1000ba40
movss dword [ebp - 0x3764], xmm0
movss xmm0, dword [ebp - 0x376c]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_sinf
mulss xmm0, dword [ebp - 0x3764]
mov ecx, esi
movss dword [ebp - 0x1ba4], xmm0
call fcn.1000bd10
mov al, byte [eax]
not al
and al, 1
movzx eax, al
push eax
lea eax, [ebp - 0x1bb8]
push eax
push ecx
call fcn.1003cc40
mov edx, dword [0x1006c4bc]
mov ecx, 1
movss xmm0, dword [ebp - 0x1b84]
add edx, 0x1c
cmp edi, dword [ebp - 0x3784]
movzx eax, byte [ebp - 0x1bb8]
cmove eax, ecx
inc edi
addss xmm0, dword [edx]
mov byte [ebp - 0x1bb8], al
movss dword [ebp - 0x1b84], xmm0
cmp edi, dword [ebp - 0x3770]
jl 0x1000e6e0
mov edi, dword [ebp - 0x37a4]
lea eax, [ebp - 0x1bb8]
jmp 0x1000e808
mov eax, dword [ebp - 0x377c]
mov esi, dword [ebp - 0x3774]
push eax
push esi
call fcn.1000f610
mov eax, dword [esi + 0x4a0]
mov dword [esi + 0x4ac], 0
mov dword [esi + 0x4b0], 0
mov dword [esi + 0x49c], eax
mov dword [esi + 0x4a0], 0
mov eax, dword [0x10feba7c]
xor ecx, ecx
mov dword [ebp - 0x376c], ecx
test eax, eax
jne 0x1000e8a8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
mov eax, dword [ebp - 0x3778]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
call edx
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 4]
subss xmm2, dword [esi]
movss xmm1, dword [eax + 8]
subss xmm1, dword [esi + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.1000ba40
mov eax, dword [0x10feba7c]
cvttss2si ecx, xmm0
mov dword [ebp - 0x376c], ecx
mov esi, dword [ebp - 0x3774]
cmp eax, 1
jne 0x1000e8c7
mov ecx, esi
call fcn.1000c050
mov ecx, dword [eax]
mov eax, dword [0x10feba7c]
mov dword [ebp - 0x376c], ecx
cmp eax, 2
je 0x1000e8d1
cmp eax, 3
jne 0x1000e8ed
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
xor ecx, ecx
cmp eax, dword [0x100683a0]
setle cl
mov dword [ebp - 0x376c], ecx
cmp ecx, dword [edi + 0x4a0]
jg 0x1000efc9
mov ecx, dword [ebp - 0x3780]
call fcn.1000c120
cmp eax, 0x11
jne 0x1000eaf3
push esi
push dword [0x11e394f0]
mov ecx, edi
call fcn.1000c820
push dword [ebp - 0x3778]
lea eax, [edi + 0x24]
push esi
push eax
push ecx
call fcn.1000c4f0
test al, al
je 0x1000ef69
movss xmm0, dword [edi + 0x24]
subss xmm0, dword [0x100b3ac4]
movss dword [edi], xmm0
movss xmm0, dword [edi + 0x28]
subss xmm0, dword [0x100b3ac8]
movss xmm3, dword [edi]
movss dword [edi + 4], xmm0
movaps xmm4, xmm0
movss xmm2, dword [edi + 0x2c]
movaps xmm0, xmm3
subss xmm2, dword [0x100b3acc]
mulss xmm0, xmm3
movaps xmm1, xmm4
mulss xmm1, xmm4
movss dword [edi + 8], xmm2
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
addss xmm0, dword [0x1004ce38]
call fcn.1000ba40
movss xmm1, dword [0x1004cf24]
divss xmm1, xmm0
push dword [ebp - 0x3780]
mulss xmm3, xmm1
push dword [ebp - 0x3778]
mulss xmm4, xmm1
mulss xmm1, dword [edi + 8]
movss dword [edi], xmm3
movss dword [edi + 4], xmm4
movss dword [edi + 8], xmm1
call fcn.1003bcb0
test al, al
je 0x1000ead6
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [ebp - 0x3768], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [ebp - 0x3798], xmm2
movsd qword [ebp - 0x37a0], xmm1
test ah, 0x44
jp 0x1000ea25
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000ea25
movaps xmm1, xmm0
jmp 0x1000eab0
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x1004cfd0]
xorps xmm1, xmm1
mulsd xmm0, qword [0x1004cf50]
comisd xmm1, xmm0
movsd qword [ebp - 0x3788], xmm0
jbe 0x1000ea61
addsd xmm0, qword [0x1004cfd8]
movsd qword [ebp - 0x3788], xmm0
movsd xmm1, qword [ebp - 0x3798]
movsd xmm0, qword [ebp - 0x37a0]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x3768]
xorps xmm0, xmmword [0x1004d260]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x1004cfd0]
movsd xmm1, qword [ebp - 0x3788]
mulsd xmm0, qword [0x1004cf50]
mov eax, dword [ebp - 0x378c]
cvtsd2ss xmm0, xmm0
mov dword [eax + 0x14], 0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov byte [edi + 0x4a8], 1
mov eax, dword [ebp - 0x375c]
mov ecx, dword [ebp - 0x376c]
mov dword [edi + 0x49c], eax
mov dword [edi + 0x4a0], ecx
jmp 0x1000ef6f
mov eax, dword [0x10febb94]
test eax, eax
jne 0x1000eb01
lea ecx, [eax + 2]
jmp 0x1000eb1b
cmp eax, 1
jne 0x1000eb0b
lea ecx, [eax + 3]
jmp 0x1000eb1b
cmp eax, 2
mov ecx, 0x11
mov edx, 8
cmove ecx, edx
mov dword [ebp - 0x3770], ecx
test eax, eax
mov eax, dword [0x11e394f0]
je 0x1000eb31
mov eax, dword [ecx*4 + 0x11e39388]
push esi
push eax
mov ecx, edi
mov dword [ebp - 0x3764], eax
call fcn.1000c820
mov eax, dword [0x10febb98]
cmp eax, 1
jne 0x1000eb5d
mov eax, dword [ebp - 0x3764]
cmp eax, dword [0x11e394f0]
je 0x1000eb66
jmp 0x1000ed71
cmp eax, 2
jne 0x1000ed71
mov dword [ebp - 0x3764], 8
lea esi, [edi + 0x84]
nop word [eax + eax]
movss xmm0, dword [esi]
subss xmm0, dword [0x100b3ac4]
movss dword [edi], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, dword [0x100b3ac8]
movss xmm3, dword [edi]
movss dword [edi + 4], xmm0
movaps xmm4, xmm0
movss xmm2, dword [esi + 8]
movaps xmm0, xmm3
subss xmm2, dword [0x100b3acc]
mulss xmm0, xmm3
movaps xmm1, xmm4
mulss xmm1, xmm4
movss dword [edi + 8], xmm2
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
addss xmm0, dword [0x1004ce38]
call fcn.1000ba40
movss xmm1, dword [0x1004cf24]
push dword [ebp - 0x3778]
divss xmm1, xmm0
push dword [ebp - 0x3774]
mulss xmm3, xmm1
push esi
mulss xmm4, xmm1
push ecx
mulss xmm1, dword [edi + 8]
mov ecx, edi
movss dword [edi], xmm3
movss dword [edi + 4], xmm4
movss dword [edi + 8], xmm1
call fcn.1000c5f0
test al, al
je 0x1000ed53
push dword [ebp - 0x3780]
push dword [ebp - 0x3778]
call fcn.1003bcb0
test al, al
je 0x1000ed3b
movss xmm2, dword [edi + 8]
movss xmm0, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm2, xmm2
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x37b0], xmm2
xorps xmm2, xmm2
ucomisd xmm0, xmm2
cvtps2pd xmm1, xmm1
lahf
movsd qword [ebp - 0x3798], xmm1
movsd qword [ebp - 0x37a0], xmm0
test ah, 0x44
jp 0x1000ec90
ucomisd xmm1, xmm2
lahf
test ah, 0x44
jp 0x1000ec90
movaps xmm1, xmm2
movaps xmm0, xmm2
jmp 0x1000ed15
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x1004cfd0]
xorps xmm1, xmm1
mulsd xmm0, qword [0x1004cf50]
comisd xmm1, xmm0
movsd qword [ebp - 0x3788], xmm0
jbe 0x1000ecc6
addsd xmm0, qword [0x1004cfd8]
movsd qword [ebp - 0x3788], xmm0
movsd xmm1, qword [ebp - 0x3798]
movsd xmm0, qword [ebp - 0x37a0]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x37b0]
xorps xmm0, xmmword [0x1004d260]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x1004cfd0]
movsd xmm1, qword [ebp - 0x3788]
mulsd xmm0, qword [0x1004cf50]
mov eax, dword [ebp - 0x378c]
cvtsd2ss xmm0, xmm0
mov dword [eax + 0x14], 0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov byte [edi + 0x4a8], 1
mov eax, dword [ebp - 0x375c]
mov dword [edi + 0x49c], eax
mov eax, dword [ebp - 0x376c]
mov dword [edi + 0x4a0], eax
mov eax, dword [ebp - 0x3764]
sub esi, 0xc
dec eax
mov dword [ebp - 0x3764], eax
test eax, eax
jg 0x1000eb80
mov esi, dword [ebp - 0x3774]
movss xmm0, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm0, dword [0x100b3ac4]
movss dword [edi], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [0x100b3ac8]
movss xmm3, dword [edi]
movss dword [edi + 4], xmm0
movaps xmm4, xmm0
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
subss xmm2, dword [0x100b3acc]
mulss xmm0, xmm3
movaps xmm1, xmm4
mulss xmm1, xmm4
movss dword [edi + 8], xmm2
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
addss xmm0, dword [0x1004ce38]
call fcn.1000ba40
movss xmm1, dword [0x1004cf24]
divss xmm1, xmm0
push dword [ebp - 0x3778]
mulss xmm3, xmm1
push esi
mulss xmm4, xmm1
push eax
mulss xmm1, dword [edi + 8]
push ecx
mov ecx, edi
movss dword [edi], xmm3
movss dword [edi + 4], xmm4
movss dword [edi + 8], xmm1
call fcn.1000c5f0
test al, al
je 0x1000ef48
push dword [ebp - 0x3780]
push dword [ebp - 0x3778]
call fcn.1003bcb0
test al, al
je 0x1000ef2e
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [ebp - 0x3798], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [ebp - 0x37a0], xmm2
movsd qword [ebp - 0x37b0], xmm1
test ah, 0x44
jp 0x1000ee7d
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000ee7d
movaps xmm1, xmm0
jmp 0x1000ef08
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x1004cfd0]
xorps xmm1, xmm1
mulsd xmm0, qword [0x1004cf50]
comisd xmm1, xmm0
movsd qword [ebp - 0x3788], xmm0
jbe 0x1000eeb9
addsd xmm0, qword [0x1004cfd8]
movsd qword [ebp - 0x3788], xmm0
movsd xmm1, qword [ebp - 0x37a0]
movsd xmm0, qword [ebp - 0x37b0]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x3798]
xorps xmm0, xmmword [0x1004d260]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x1004cfd0]
movsd xmm1, qword [ebp - 0x3788]
mulsd xmm0, qword [0x1004cf50]
mov eax, dword [ebp - 0x378c]
cvtsd2ss xmm0, xmm0
mov dword [eax + 0x14], 0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov byte [edi + 0x4a8], 1
mov eax, dword [ebp - 0x375c]
mov ecx, dword [ebp - 0x376c]
mov dword [edi + 0x49c], eax
mov dword [edi + 0x4a0], ecx
jmp 0x1000ef4e
mov eax, dword [ebp - 0x375c]
mov ecx, dword [ebp - 0x3770]
sub ecx, 1
mov dword [ebp - 0x3770], ecx
js 0x1000ef6f
mov eax, dword [0x10febb94]
jmp 0x1000eb21
mov eax, dword [ebp - 0x375c]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x24]
mov dword [edi + ecx*4 + 0x9c], eax
mov eax, dword [edi + 0x28]
mov dword [edi + ecx*4 + 0xa0], eax
mov eax, dword [edi + 0x2c]
mov dword [edi + ecx*4 + 0xa4], eax
cmp dword [0x10febc54], 0
je 0x1000efc9
push dword [ebp - 0x377c]
call fcn.1002ce70
test al, al
je 0x1000efc9
push dword [ebp - 0x375c]
call fcn.1003d820
test al, al
jne 0x1000efc9
push esi
call fcn.1000f570
push dword [ebp - 0x37a8]
push esi
call fcn.1003c340
lea ecx, [ebp - 0x1bb8]
mov dword [ebp - 4], 0xffffffff
call fcn.1000c390
mov edx, dword [ebp - 0x375c]
dec edx
mov dword [ebp - 0x375c], edx
cmp edx, 1
jge 0x1000e100
mov esi, dword [ebp - 0x378c]
cmp byte [edi + 0x4a8], 0
je 0x1000f050
mov eax, dword [edi + 0x49c]
cmp eax, 0xffffffff
je 0x1000f050
cmp byte [0x10feba73], 0
je 0x1000f03a
imul eax, eax, 0x1ba0
lea ecx, [ebp - 0x3758]
add eax, 0x11dca2d0
push eax
call fcn.1000c6f0
or dword [esi + 0x24], 1
lea ecx, [ebp - 0x3758]
call fcn.1000c390
cmp dword [0x10feba7c], 3
je 0x1000f06f
mov eax, dword [edi + 0x49c]
mov dword [0x100683a0], eax
jmp 0x1000f066
mov eax, dword [ebp - 0x3780]
cmp dword [eax + 0x6fc], 0
jg 0x1000f066
or dword [esi + 0x24], 0x2000
cmp dword [0x10feba7c], 3
jne 0x1000f07a
mov eax, dword [edi + 0x49c]
mov dword [0x100683a0], eax
cmp byte [0x10feba77], 0
jne 0x1000f094
mov ecx, dword [0x1006c4b4]
lea eax, [esi + 0xc]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
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.1003da32
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8