Function at 0x10004e80
Capabilities:
Check for time delay via gettickcount
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 0x10037ca0
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1d38
call fcn.10036d80
mov eax, dword [0x10045008]
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 - 0x1ca4], edi
mov ecx, dword [0x100915ac]
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x1c94], esi
mov eax, dword [ecx]
push dword [edx + 0xb38]
mov dword [ebp - 0x1c74], edx
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je case.0x10004f3a.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [ebp - 0x1c7c], eax
test eax, eax
je case.0x10004f3a.0
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x4a4]
call edx
test eax, eax
js case.0x10004f3a.0
cmp eax, 0x1d
jg case.0x10004f3a.0
cmp eax, 0x1c
ja case.0x10004f3a.1
movzx eax, byte [eax + 0x10006180]
jmp dword [eax*4 + 0x10006178]
push dword [ebp - 0x1c7c]
lea eax, [ebp - 0x1d48]
push eax
call fcn.10026370
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 - 0x1c7c]
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
cmp byte [0x10fb236e], 0
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x100050cc
push 0xa4
call ecx
test al, 1
je 0x100050af
cmp byte [0x10fb236d], 0
sete cl
mov byte [0x10fb236d], cl
jmp 0x100050b5
mov cl, byte [0x10fb236d]
mov eax, dword [0x10fb2374]
test cl, cl
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, 9
cmovne eax, edx
jmp 0x100050d1
mov eax, dword [0x10fb2374]
movaps xmm0, xmmword [0x10040bf0]
movups xmmword [ebp - 0x5c], xmm0
mov dword [0x11dff620], eax
movaps xmm0, xmmword [0x10040c00]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x60], eax
movaps xmm0, xmmword [0x10040c20]
mov eax, dword [0x10fb238c]
mov dword [ebp - 0x1c], 6
movups xmmword [ebp - 0x3c], xmm0
movaps xmm0, xmmword [0x10040c10]
movups xmmword [ebp - 0x2c], xmm0
test eax, eax
jle 0x10005121
push eax
call ecx
test ax, ax
je case.0x10004f3a.0
mov eax, dword [0x1009159c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1c5c], eax
cmp eax, 1
jl 0x10006059
nop dword [eax + eax]
mov ecx, dword [0x10091590]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [ebp - 0x1c5c]
cmp edx, eax
je 0x10006043
mov ecx, dword [0x100915ac]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [ebp - 0x1c70], esi
test esi, esi
je 0x1000603d
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
mov edx, dword [edx + 0x20]
call edx
test al, al
jne 0x1000603d
mov ecx, esi
call fcn.100031d0
cmp dword [eax], 0
je 0x100051b9
mov edx, dword [ebp - 0x1c5c]
mov dword [edx*4 + 0x10091640], 0
mov dword [edx*4 + 0x10091740], 0
jmp 0x10006043
cmp byte [0x10fb2369], 0
jne 0x100051e8
mov ecx, dword [ebp - 0x1c74]
call fcn.10002db0
mov ecx, dword [ebp - 0x1c70]
mov esi, dword [eax]
call fcn.10002db0
cmp dword [eax], esi
je 0x1000603d
mov esi, dword [ebp - 0x1c70]
mov ecx, esi
call fcn.100032c0
mov edx, dword [ebp - 0x1c5c]
cmp dword [eax], 0x1f4
jg 0x10006043
mov eax, dword [esi + 0x58]
shr eax, 0x18
cmp al, 0xff
jb 0x10006043
cmp byte [edx + 0x10fb28ec], 0
jne 0x10006043
movss xmm0, dword [esi + 0x29c]
lea ecx, [ebp - 0x1cbc]
subss xmm0, dword [0x10093194]
movss dword [ebp - 0x1cbc], xmm0
movss xmm0, dword [esi + 0x2a0]
subss xmm0, dword [0x10093198]
movss dword [ebp - 0x1cb8], xmm0
movss xmm0, dword [esi + 0x2a4]
subss xmm0, dword [0x1009319c]
movss dword [ebp - 0x1cb4], xmm0
call fcn.10002c80
comiss xmm0, dword [ebp - 0x1d34]
ja 0x10006043
push edx
call fcn.10035840
mov ecx, dword [0x11dff620]
test al, al
push esi
push dword [ebp - 0x1c7c]
mov eax, 0xc
push dword [ebp - 0x1c74]
cmovne ecx, eax
mov dword [0x11dff620], ecx
call fcn.100243b0
mov ecx, dword [ebp - 0x1c5c]
imul edx, ecx, 0x1ba0
mov dword [ecx*4 + 0x10f40240], eax
shl ecx, 5
add ecx, eax
imul eax, ecx, 0x1ba0
lea ecx, [ebp - 0x1c58]
lea edi, [edx + 0x10f439b0]
mov dword [ebp - 0x1ca8], edi
mov dword [ebp - 0x1c6c], eax
lea eax, [eax + 0x10fb2cc8]
mov dword [ebp - 0x1c78], eax
lea eax, [edx + 0x11d90b78]
push eax
call fcn.100038c0
mov edi, dword [ebp - 0x1ca4]
mov dword [ebp - 4], 0
cmp dword [0x10fb254c], 0
je 0x10005820
mov eax, dword [ebp - 0x1c78]
push eax
call fcn.100245b0
test al, al
je 0x10005820
push dword [ebp - 0x1c5c]
call fcn.10035840
test al, al
jne 0x10005820
mov eax, dword [esi + 0x684]
mov ecx, esi
mov dword [0x10092eb8], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
call eax
push dword [ebp - 0x1ca8]
push esi
movss xmm0, dword [eax]
movss dword [0x10092ebc], xmm0
movss xmm0, dword [eax + 4]
movss dword [0x10092ec0], xmm0
movss xmm0, dword [eax + 8]
movss dword [0x10092ec4], xmm0
movss xmm0, dword [esi + 0x168]
movss xmm1, dword [esi + 0x16c]
movss xmm2, dword [esi + 0x170]
movss dword [0x10092ed4], xmm0
movss dword [0x10092ed8], xmm1
movss dword [0x10092edc], xmm2
movss xmm0, dword [esi + 0x174]
movss xmm1, dword [esi + 0x178]
movss xmm2, dword [esi + 0x17c]
movss dword [0x10092ee0], xmm0
movss dword [0x10092ee4], xmm1
movss dword [0x10092ee8], xmm2
call fcn.10034bf0
mov ecx, dword [ebp - 0x1c78]
mov eax, dword [ebp - 0x1c6c]
movss xmm0, dword [ecx + 0x10]
movss dword [ebp - 0x1c64], xmm0
movss xmm0, dword [ecx + 0x14]
fld dword [ebp - 0x1c64]
movss dword [ebp - 0x1c84], xmm0
fld dword [ebp - 0x1c84]
fpatan
movss xmm0, dword [eax + 0x10fb4878]
fstp dword [ebp - 0x1c64]
movss xmm1, dword [ebp - 0x1c64]
movss dword [ebp - 0x1c64], xmm0
movss xmm0, dword [eax + 0x10fb487c]
fld dword [ebp - 0x1c64]
movss dword [ebp - 0x1c84], xmm0
fld dword [ebp - 0x1c84]
fpatan
mulss xmm1, dword [0x10040ab4]
fstp dword [ebp - 0x1c64]
movss xmm0, dword [ebp - 0x1c64]
mulss xmm0, dword [0x10040ab4]
movss dword [ebp - 0x1c8c], xmm1
subss xmm1, xmm0
movss xmm0, dword [ecx + 0x34]
subss xmm0, dword [eax + 0x10fb489c]
mov ecx, dword [0x10091590]
mov eax, dword [ecx]
divss xmm1, xmm0
mov eax, dword [eax + 0x120]
movss dword [ebp - 0x1c9c], xmm1
call eax
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 - 0x1c64]
push 1
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1009159c]
movss xmm1, dword [0x100409a4]
mov eax, dword [ebp - 0x1c78]
mov edx, dword [ebp - 0x1c6c]
divss xmm1, dword [esi + 0x1c]
movss xmm0, dword [eax + 0x34]
fadd dword [ebp - 0x1c64]
subss xmm0, dword [edx + 0x10fb489c]
fstp dword [ebp - 0x1c64]
mulss xmm0, xmm1
mulss xmm1, dword [ebp - 0x1c64]
addss xmm0, dword [0x10040970]
addss xmm1, dword [0x10040970]
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
add ecx, eax
cmp ecx, 0xf
jle 0x1000552d
mov ecx, 0xf
jmp 0x10005654
mov ecx, dword [0x10091590]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
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 - 0x1c64]
push 1
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1009159c]
movss xmm1, dword [0x100409a4]
mov eax, dword [ebp - 0x1c78]
mov edx, dword [ebp - 0x1c6c]
divss xmm1, dword [esi + 0x1c]
movss xmm0, dword [eax + 0x34]
fadd dword [ebp - 0x1c64]
subss xmm0, dword [edx + 0x10fb489c]
fstp dword [ebp - 0x1c64]
mulss xmm0, xmm1
mulss xmm1, dword [ebp - 0x1c64]
addss xmm0, dword [0x10040970]
addss xmm1, dword [0x10040970]
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
add ecx, eax
cmp ecx, 1
jge 0x100055c8
mov ecx, 1
jmp 0x10005654
mov ecx, dword [0x10091590]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
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 - 0x1c64]
push 1
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1009159c]
movss xmm1, dword [0x100409a4]
mov eax, dword [ebp - 0x1c78]
mov edx, dword [ebp - 0x1c6c]
divss xmm1, dword [esi + 0x1c]
movss xmm0, dword [eax + 0x34]
fadd dword [ebp - 0x1c64]
subss xmm0, dword [edx + 0x10fb489c]
fstp dword [ebp - 0x1c64]
mulss xmm0, xmm1
mulss xmm1, dword [ebp - 0x1c64]
addss xmm0, dword [0x10040970]
addss xmm1, dword [0x10040970]
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
add ecx, eax
cmp dword [0x10fb254c], 2
mov dword [ebp - 0x1c84], ecx
jne 0x100057e3
movss xmm1, dword [edx + 0x10fb2ccc]
lea eax, [edx + 0x10fb2cc8]
movss xmm2, dword [eax + 8]
subss xmm2, dword [edx + 0x10fb4870]
subss xmm1, dword [edx + 0x10fb486c]
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [edx + 0x10fb4874]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm2, dword [0x10040b74]
jbe 0x100057e9
cmp byte [eax], 0
jne 0x100057d5
mov dword [ebp - 0x1c64], 0
test ecx, ecx
jle 0x100057d5
mov edi, dword [ebp - 0x1c64]
lea eax, [ecx - 1]
lea edx, [esi + 0x1c]
mov dword [ebp - 0x1c6c], eax
mov esi, dword [ebp - 0x1c70]
nop dword [eax + eax]
mov eax, dword [ebp - 0x1c78]
movss xmm2, dword [ebp - 0x1c9c]
mulss xmm2, dword [edx]
movss xmm1, dword [eax + 0x14]
movss xmm0, dword [eax + 0x10]
addss xmm2, dword [ebp - 0x1c8c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10002c70
mulss xmm2, dword [0x100408d4]
movss dword [ebp - 0x1c64], xmm0
movaps xmm0, xmm2
call fcn.10036d30
movaps xmm1, xmm0
mov ecx, esi
shufps xmm1, xmm0, 1
mulss xmm1, dword [ebp - 0x1c64]
mulss xmm0, dword [ebp - 0x1c64]
movss dword [ebp - 0x1c48], xmm1
movss dword [ebp - 0x1c44], xmm0
call fcn.10002f00
mov al, byte [eax]
not al
and al, 1
movzx eax, al
push eax
lea eax, [ebp - 0x1c58]
push eax
push ecx
call fcn.10035310
mov edx, dword [0x1009159c]
mov ecx, 1
movss xmm0, dword [ebp - 0x1c24]
add edx, 0x1c
cmp edi, dword [ebp - 0x1c6c]
movzx eax, byte [ebp - 0x1c58]
cmove eax, ecx
inc edi
addss xmm0, dword [edx]
mov byte [ebp - 0x1c58], al
movss dword [ebp - 0x1c24], xmm0
cmp edi, dword [ebp - 0x1c84]
jl 0x100056f0
mov edi, dword [ebp - 0x1ca4]
lea eax, [ebp - 0x1c58]
jmp 0x100057ef
mov esi, dword [ebp - 0x1c70]
lea eax, [ebp - 0x1c58]
jmp 0x100057ef
mov eax, dword [ebp - 0x1c78]
mov esi, dword [ebp - 0x1c70]
push eax
push esi
call fcn.10006370
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 [0x10fb2370]
xor ecx, ecx
mov dword [ebp - 0x1c6c], ecx
test eax, eax
jne 0x10005899
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
mov eax, dword [ebp - 0x1c74]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
call edx
lea ecx, [ebp - 0x1cc8]
movss xmm0, dword [eax]
subss xmm0, dword [esi]
movss dword [ebp - 0x1cc8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 4]
movss dword [ebp - 0x1cc4], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [esi + 8]
movss dword [ebp - 0x1cc0], xmm0
call fcn.10002c80
mov eax, dword [0x10fb2370]
cvttss2si ecx, xmm0
mov dword [ebp - 0x1c6c], ecx
mov esi, dword [ebp - 0x1c70]
cmp eax, 1
jne 0x100058b8
mov ecx, esi
call fcn.100032c0
mov ecx, dword [eax]
mov eax, dword [0x10fb2370]
mov dword [ebp - 0x1c6c], ecx
cmp eax, 2
je 0x100058c2
cmp eax, 3
jne 0x100058de
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
xor ecx, ecx
cmp eax, dword [0x10091398]
setle cl
mov dword [ebp - 0x1c6c], ecx
cmp ecx, dword [edi + 0x4a0]
jg 0x1000602b
mov ecx, dword [ebp - 0x1c7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x10005b6d
cmp eax, 0x1d
jg 0x10005b6d
cmp eax, 0x11
jne 0x10005b6d
push esi
push dword [0x11dff620]
mov ecx, edi
call fcn.100039f0
mov ecx, dword [0x100915ac]
mov edx, dword [ebp - 0x1c74]
mov eax, dword [ecx]
push dword [edx + 0xb38]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x10005fa3
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
je 0x10005fa3
lea eax, [edi + 0x24]
mov dword [ebp - method.Valve::TraceFilterSkipTwoEntities.virtual_0], vtable.Valve::TraceFilterSkipTwoEntities.0
push eax
push 0x10093194
lea ecx, [ebp - 0x1d08]
mov dword [ebp - 0x1cd0], esi
mov dword [ebp - 0x1ccc], 0
call fcn.100033b0
mov ecx, dword [0x10091598]
lea edx, [ebp - 0xb8]
push edx
lea edx, [ebp - 0x1cd4]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x1d08]
push 0x46004003
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [ebp - 0x8c]
ucomiss xmm0, dword [0x100409a4]
lahf
test ah, 0x44
jp 0x10005fa3
movss xmm4, dword [edi + 0x24]
subss xmm4, dword [0x10093194]
push dword [ebp - 0x1c7c]
push dword [ebp - 0x1c74]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [edi + 0x28]
subss xmm3, dword [0x10093198]
mulss xmm0, xmm4
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [edi + 0x2c]
subss xmm2, dword [0x1009319c]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100408ac]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10040a08]
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.10034410
test al, al
je 0x10005b50
movss xmm0, dword [edi + 8]
movss xmm2, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm2
movsd qword [ebp - 0x1c88], xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
cvtps2pd xmm1, xmm1
lahf
movsd qword [ebp - 0x1ca0], xmm1
movsd qword [ebp - 0x1c68], xmm2
test ah, 0x44
jp 0x10005ab2
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x10005ab2
xorps xmm1, xmm1
jmp 0x10005b2a
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10040a30]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x1c90], xmm0
jbe 0x10005ae3
addsd xmm0, qword [0x10040a40]
movsd qword [ebp - 0x1c90], xmm0
movsd xmm1, qword [ebp - 0x1c68]
movsd xmm0, qword [ebp - 0x1ca0]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x1c88]
xorps xmm0, xmmword [0x10040c70]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10040a30]
movsd xmm1, qword [ebp - 0x1c90]
mov eax, dword [ebp - 0x1c94]
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 - 0x1c5c]
mov ecx, dword [ebp - 0x1c6c]
mov dword [edi + 0x49c], eax
mov dword [edi + 0x4a0], ecx
jmp 0x10005fa9
mov eax, dword [0x10fb2490]
test eax, eax
jne 0x10005b7a
xor ecx, ecx
jmp 0x10005b94
cmp eax, 1
jne 0x10005b84
lea ecx, [eax + 3]
jmp 0x10005b94
cmp eax, 2
mov ecx, 0x11
mov edx, 8
cmove ecx, edx
mov dword [ebp - 0x1c84], ecx
nop word [eax + eax]
test eax, eax
je 0x10005bb2
cmp byte [0x10fb236d], 0
mov eax, dword [0x11dff620]
jne 0x10005bb6
mov eax, dword [ebp + ecx*4 - 0x60]
push esi
push eax
mov ecx, edi
mov dword [ebp - 0x1c64], eax
call fcn.100039f0
mov eax, dword [0x10fb2494]
cmp eax, 1
jne 0x10005be2
mov eax, dword [ebp - 0x1c64]
cmp eax, dword [0x11dff620]
je 0x10005beb
jmp 0x10005dc5
cmp eax, 2
jne 0x10005dc5
mov esi, 0x84
movss xmm4, dword [esi + edi]
lea eax, [esi + edi]
subss xmm4, dword [0x10093194]
push dword [ebp - 0x1c74]
push dword [ebp - 0x1c70]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x10093198]
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 [0x1009319c]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100408ac]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10040a08]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mulss xmm4, xmm0
mulss xmm3, xmm0
mulss xmm2, xmm0
movss dword [edi], xmm4
movss dword [edi + 4], xmm3
movss dword [edi + 8], xmm2
call fcn.100035e0
test al, al
je 0x10005db3
push dword [ebp - 0x1c7c]
push dword [ebp - 0x1c74]
call fcn.10034410
test al, al
je 0x10005d9b
movss xmm2, dword [edi + 8]
movss xmm0, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm2, xmm2
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x1cb0], xmm2
xorps xmm2, xmm2
ucomisd xmm0, xmm2
cvtps2pd xmm1, xmm1
lahf
movsd qword [ebp - 0x1ca0], xmm1
movsd qword [ebp - 0x1c68], xmm0
test ah, 0x44
jp 0x10005cfa
ucomisd xmm1, xmm2
lahf
test ah, 0x44
jp 0x10005cfa
xorps xmm1, xmm1
jmp 0x10005d72
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10040a30]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x1c90], xmm0
jbe 0x10005d28
addsd xmm0, qword [0x10040a40]
movsd qword [ebp - 0x1c90], xmm0
movsd xmm1, qword [ebp - 0x1c68]
movsd xmm0, qword [ebp - 0x1ca0]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x1cb0]
xorps xmm0, xmmword [0x10040c70]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
movsd xmm1, qword [ebp - 0x1c90]
movaps xmm2, xmm0
mulsd xmm2, qword [0x10040a30]
mov eax, dword [ebp - 0x1c94]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
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 - 0x1c5c]
mov dword [edi + 0x49c], eax
mov eax, dword [ebp - 0x1c6c]
mov dword [edi + 0x4a0], eax
sub esi, 0xc
cmp esi, 0x24
jg 0x10005bf0
mov esi, dword [ebp - 0x1c70]
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x10093194]
push dword [ebp - 0x1c74]
push esi
push eax
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x10093198]
mulss xmm0, xmm4
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x1009319c]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100408ac]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10040a08]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mulss xmm4, xmm0
mulss xmm3, xmm0
mulss xmm2, xmm0
movss dword [edi], xmm4
movss dword [edi + 4], xmm3
movss dword [edi + 8], xmm2
call fcn.100035e0
test al, al
je 0x10005f82
push dword [ebp - 0x1c7c]
push dword [ebp - 0x1c74]
call fcn.10034410
test al, al
je 0x10005f68
movss xmm0, dword [edi + 8]
movss xmm2, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm2
movsd qword [ebp - 0x1c68], xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
cvtps2pd xmm1, xmm1
lahf
movsd qword [ebp - 0x1cb0], xmm1
movsd qword [ebp - 0x1ca0], xmm2
test ah, 0x44
jp 0x10005eca
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x10005eca
xorps xmm1, xmm1
jmp 0x10005f42
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10040a30]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x1c90], xmm0
jbe 0x10005efb
addsd xmm0, qword [0x10040a40]
movsd qword [ebp - 0x1c90], xmm0
movsd xmm1, qword [ebp - 0x1ca0]
movsd xmm0, qword [ebp - 0x1cb0]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x1c68]
xorps xmm0, xmmword [0x10040c70]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10040a30]
movsd xmm1, qword [ebp - 0x1c90]
mov eax, dword [ebp - 0x1c94]
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 - 0x1c5c]
mov ecx, dword [ebp - 0x1c6c]
mov dword [edi + 0x49c], eax
mov dword [edi + 0x4a0], ecx
jmp 0x10005f88
mov eax, dword [ebp - 0x1c5c]
mov ecx, dword [ebp - 0x1c84]
sub ecx, 1
mov dword [ebp - 0x1c84], ecx
js 0x10005fa9
mov eax, dword [0x10fb2490]
jmp 0x10005ba0
mov eax, dword [ebp - 0x1c5c]
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 [0x10fb254c], 0
je 0x1000602b
push dword [ebp - 0x1c78]
call fcn.100245b0
test al, al
je 0x1000602b
push dword [ebp - 0x1c5c]
call fcn.10035840
test al, al
jne 0x1000602b
mov ecx, dword [esi + 0x684]
mov eax, dword [0x10092eb8]
cmp ecx, eax
je 0x1000600b
push ecx
call fcn.10006300
mov eax, dword [0x10092eb8]
mov dword [esi + 0x684], eax
mov ecx, esi
push 0x10092ebc
mov eax, 0x24045620
call eax
push dword [ebp - 0x1ca8]
push esi
call fcn.10034a10
lea ecx, [ebp - 0x1c58]
mov dword [ebp - 4], 0xffffffff
call fcn.10003490
mov edx, dword [ebp - 0x1c5c]
dec edx
mov dword [ebp - 0x1c5c], edx
cmp edx, 1
jge 0x10005140
mov esi, dword [ebp - 0x1c94]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1009134c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x11dff61c]
cmp eax, dword [ecx + 4]
jle 0x100060a4
push 0x11dff61c
call fcn.10035ec7
add esp, 4
cmp dword [0x11dff61c], 0xffffffff
jne 0x100060a4
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
call eax
push 0x11dff61c
mov dword [0x11dff614], eax
call fcn.10035e7d
add esp, 4
cmp byte [edi + 0x4a8], 0
je 0x10006114
cmp dword [edi + 0x49c], 0
jle 0x10006114
cmp byte [0x10fb235d], 0
je 0x100060fe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
imul ecx, dword [0x10fb2380], 0x64
sub eax, dword [0x11dff614]
cmp eax, ecx
jbe 0x100060fe
cmp byte [0x10fb2360], 0
je 0x100060ee
cmp dword [0x100913a8], 0
jg 0x100060fe
or dword [esi + 0x24], 1
jmp 0x100060fe
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
or dword [esi + 0x24], 1
call eax
mov dword [0x11dff614], eax
cmp dword [0x10fb2370], 3
je 0x10006133
mov eax, dword [edi + 0x49c]
mov dword [0x10091398], eax
jmp 0x1000612a
mov eax, dword [ebp - 0x1c7c]
cmp dword [eax + 0x6fc], 0
jg 0x1000612a
or dword [esi + 0x24], 0x2000
cmp dword [0x10fb2370], 3
jne 0x1000613e
mov eax, dword [edi + 0x49c]
mov dword [0x10091398], eax
cmp byte [0x10fb236a], 0
jne case.0x10004f3a.0
mov ecx, dword [0x10091590]
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.10035a5e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8