Function at 0x10004ca0
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 0x1003e310
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x3890
call fcn.1003d3f0
mov eax, dword [0x1004c040]
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 - 0x37fc], edi
mov ecx, dword [0x1004c8ec]
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x37ec], esi
mov eax, dword [ecx]
push dword [edx + 0xb38]
mov dword [ebp - 0x37cc], edx
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je case.0x10004d5a.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [ebp - 0x37d0], eax
test eax, eax
je case.0x10004d5a.0
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x4a4]
call edx
test eax, eax
js case.0x10004d5a.0
cmp eax, 0x1d
jg case.0x10004d5a.0
cmp eax, 0x1c
ja case.0x10004d5a.1
movzx eax, byte [eax + 0x10005f7c]
jmp dword [eax*4 + 0x10005f74]
push dword [ebp - 0x37d0]
lea eax, [ebp - 0x38a0]
push eax
call fcn.1002de60
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 - 0x37d0]
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 - 0x37d0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x10004ed7
cmp eax, 0x1d
jg 0x10004ed7
cmp eax, 0x11
jne 0x10004ed7
cmp byte [0x10f6d512], 0
mov ecx, 9
mov eax, dword [0x10f6d518]
cmovne eax, ecx
jmp 0x10004edc
mov eax, dword [0x10f6d518]
mov ecx, dword [0x1004c66c]
mov dword [0x11dba7bc], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x11dba7b8]
cmp eax, dword [ecx + 4]
jle 0x10004f6c
push 0x11dba7b8
call fcn.1003c5b0
add esp, 4
cmp dword [0x11dba7b8], 0xffffffff
jne 0x10004f6c
movaps xmm0, xmmword [0x10047540]
mov eax, dword [0x11dba7bc]
movups xmmword [0x11dba66c], xmm0
push 0x11dba7b8
movaps xmm0, xmmword [0x10047550]
movups xmmword [0x11dba67c], xmm0
mov dword [0x11dba668], eax
movaps xmm0, xmmword [0x10047570]
movups xmmword [0x11dba68c], xmm0
mov dword [0x11dba6ac], 6
movaps xmm0, xmmword [0x10047560]
movups xmmword [0x11dba69c], xmm0
call fcn.1003c55f
add esp, 4
mov eax, dword [0x10f6d524]
test eax, eax
jle 0x10004f85
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je case.0x10004d5a.0
mov eax, dword [0x1004c8e8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x37b4], eax
cmp eax, 1
jl 0x10005eb6
nop dword [eax]
mov ecx, dword [0x1004c8e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [ebp - 0x37b4]
cmp edx, eax
je 0x10005ea0
mov ecx, dword [0x1004c8ec]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [ebp - 0x37c8], esi
test esi, esi
je 0x10005e9a
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
mov edx, dword [edx + 0x20]
call edx
test al, al
jne 0x10005e9a
mov ecx, esi
call fcn.10002f90
cmp dword [eax], 0
je 0x10005019
mov edx, dword [ebp - 0x37b4]
mov dword [edx*4 + 0x1004c950], 0
mov dword [edx*4 + 0x1004ca50], 0
jmp 0x10005ea0
cmp byte [0x10f6d50e], 0
jne 0x10005048
mov ecx, dword [ebp - 0x37cc]
call fcn.10002b70
mov ecx, dword [ebp - 0x37c8]
mov esi, dword [eax]
call fcn.10002b70
cmp dword [eax], esi
je 0x10005e9a
mov esi, dword [ebp - 0x37c8]
mov ecx, esi
call fcn.10003080
mov edx, dword [ebp - 0x37b4]
cmp dword [eax], 0x1f4
jg 0x10005ea0
mov eax, dword [esi + 0x58]
shr eax, 0x18
cmp al, 0xff
jb 0x10005ea0
cmp byte [edx + 0x10f6da60], 0
jne 0x10005ea0
movss xmm0, dword [esi + 0x29c]
lea ecx, [ebp - 0x3814]
subss xmm0, dword [0x1004e3d0]
movss dword [ebp - 0x3814], xmm0
movss xmm0, dword [esi + 0x2a0]
subss xmm0, dword [0x1004e3d4]
movss dword [ebp - 0x3810], xmm0
movss xmm0, dword [esi + 0x2a4]
subss xmm0, dword [0x1004e3d8]
movss dword [ebp - 0x380c], xmm0
call fcn.10002a30
comiss xmm0, dword [ebp - 0x388c]
ja 0x10005ea0
push edx
call fcn.1003c070
test al, al
je 0x100050f0
mov dword [0x11dba7bc], 0xc
push esi
push dword [ebp - 0x37d0]
push dword [ebp - 0x37cc]
call fcn.1002bf90
mov ecx, dword [ebp - 0x37b4]
imul edx, ecx, 0x1ba0
mov dword [ecx*4 + 0x10efb450], eax
shl ecx, 5
add ecx, eax
imul eax, ecx, 0x1ba0
lea ecx, [ebp - 0x1c10]
lea edi, [edx + 0x10efeb60]
mov dword [ebp - 0x3800], edi
mov dword [ebp - 0x37c4], eax
lea eax, [eax + 0x10f6de40]
mov dword [ebp - 0x37d4], eax
lea eax, [edx + 0x11d4bce8]
push eax
call fcn.10003650
mov edi, dword [ebp - 0x37fc]
mov dword [ebp - 4], 0
cmp dword [0x10f6d6e4], 0
je 0x10005685
mov eax, dword [ebp - 0x37d4]
push eax
call fcn.1002c190
test al, al
je 0x10005685
push dword [ebp - 0x37b4]
call fcn.1003c070
test al, al
jne 0x10005685
mov eax, dword [esi + 0x684]
mov ecx, esi
mov dword [0x1004e1b4], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
call eax
push dword [ebp - 0x3800]
push esi
movss xmm0, dword [eax]
movss dword [0x1004e1b8], xmm0
movss xmm0, dword [eax + 4]
movss dword [0x1004e1bc], xmm0
movss xmm0, dword [eax + 8]
movss dword [0x1004e1c0], xmm0
movss xmm0, dword [esi + 0x168]
movss xmm1, dword [esi + 0x16c]
movss xmm2, dword [esi + 0x170]
movss dword [0x1004e1d0], xmm0
movss dword [0x1004e1d4], xmm1
movss dword [0x1004e1d8], xmm2
movss xmm0, dword [esi + 0x174]
movss xmm1, dword [esi + 0x178]
movss xmm2, dword [esi + 0x17c]
movss dword [0x1004e1dc], xmm0
movss dword [0x1004e1e0], xmm1
movss dword [0x1004e1e4], xmm2
call fcn.1003b420
mov ecx, dword [ebp - 0x37d4]
mov eax, dword [ebp - 0x37c4]
movss xmm0, dword [ecx + 0x10]
movss dword [ebp - 0x37bc], xmm0
movss xmm0, dword [ecx + 0x14]
fld dword [ebp - 0x37bc]
movss dword [ebp - 0x37dc], xmm0
fld dword [ebp - 0x37dc]
fpatan
movss xmm0, dword [eax + 0x10f6f9f0]
fstp dword [ebp - 0x37bc]
movss xmm1, dword [ebp - 0x37bc]
movss dword [ebp - 0x37bc], xmm0
movss xmm0, dword [eax + 0x10f6f9f4]
fld dword [ebp - 0x37bc]
movss dword [ebp - 0x37dc], xmm0
fld dword [ebp - 0x37dc]
fpatan
mulss xmm1, dword [0x10047434]
fstp dword [ebp - 0x37bc]
movss xmm0, dword [ebp - 0x37bc]
mulss xmm0, dword [0x10047434]
movss dword [ebp - 0x37e4], xmm1
subss xmm1, xmm0
movss xmm0, dword [ecx + 0x34]
subss xmm0, dword [eax + 0x10f6fa14]
mov ecx, dword [0x1004c8e0]
mov eax, dword [ecx]
divss xmm1, xmm0
mov eax, dword [eax + 0x120]
movss dword [ebp - 0x37f4], 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 - 0x37bc]
push 1
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1004c8e8]
movss xmm1, dword [0x10047348]
mov eax, dword [ebp - 0x37d4]
mov edx, dword [ebp - 0x37c4]
divss xmm1, dword [esi + 0x1c]
movss xmm0, dword [eax + 0x34]
fadd dword [ebp - 0x37bc]
subss xmm0, dword [edx + 0x10f6fa14]
fstp dword [ebp - 0x37bc]
mulss xmm0, xmm1
mulss xmm1, dword [ebp - 0x37bc]
addss xmm0, dword [0x10047318]
addss xmm1, dword [0x10047318]
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
add ecx, eax
cmp ecx, 0x15
jle 0x10005385
mov ecx, 0x15
jmp 0x100054ac
mov ecx, dword [0x1004c8e0]
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 - 0x37bc]
push 1
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1004c8e8]
movss xmm1, dword [0x10047348]
mov eax, dword [ebp - 0x37d4]
mov edx, dword [ebp - 0x37c4]
divss xmm1, dword [esi + 0x1c]
movss xmm0, dword [eax + 0x34]
fadd dword [ebp - 0x37bc]
subss xmm0, dword [edx + 0x10f6fa14]
fstp dword [ebp - 0x37bc]
mulss xmm0, xmm1
mulss xmm1, dword [ebp - 0x37bc]
addss xmm0, dword [0x10047318]
addss xmm1, dword [0x10047318]
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
add ecx, eax
cmp ecx, 1
jge 0x10005420
mov ecx, 1
jmp 0x100054ac
mov ecx, dword [0x1004c8e0]
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 - 0x37bc]
push 1
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x1004c8e8]
movss xmm1, dword [0x10047348]
mov eax, dword [ebp - 0x37d4]
mov edx, dword [ebp - 0x37c4]
divss xmm1, dword [esi + 0x1c]
movss xmm0, dword [eax + 0x34]
fadd dword [ebp - 0x37bc]
subss xmm0, dword [edx + 0x10f6fa14]
fstp dword [ebp - 0x37bc]
mulss xmm0, xmm1
mulss xmm1, dword [ebp - 0x37bc]
addss xmm0, dword [0x10047318]
addss xmm1, dword [0x10047318]
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
add ecx, eax
cmp dword [0x10f6d6e4], 2
mov dword [ebp - 0x37dc], ecx
jne 0x10005648
movss xmm1, dword [edx + 0x10f6de44]
lea eax, [edx + 0x10f6de40]
movss xmm2, dword [eax + 8]
subss xmm2, dword [edx + 0x10f6f9e8]
subss xmm1, dword [edx + 0x10f6f9e4]
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [edx + 0x10f6f9ec]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm2, dword [0x100474b8]
jbe 0x1000564e
cmp byte [eax], 0
jne 0x1000563a
mov dword [ebp - 0x37bc], 0
test ecx, ecx
jle 0x1000563a
mov edi, dword [ebp - 0x37bc]
lea eax, [ecx - 1]
lea edx, [esi + 0x1c]
mov dword [ebp - 0x37c4], eax
mov esi, dword [ebp - 0x37c8]
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x37d4]
movss xmm2, dword [ebp - 0x37f4]
mulss xmm2, dword [edx]
movss xmm0, dword [eax + 0x14]
movss xmm1, dword [eax + 0x10]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, dword [ebp - 0x37e4]
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm2, dword [0x10047280]
sqrtss xmm0, xmm1
movss dword [ebp - 0x37bc], xmm0
movaps xmm0, xmm2
call fcn.1003d3a0
movss xmm3, dword [ebp - 0x37bc]
movaps xmm2, xmm0
movaps xmm1, xmm3
shufps xmm2, xmm0, 1
mulss xmm1, xmm2
mov ecx, esi
mulss xmm3, xmm0
movss dword [ebp - 0x1c00], xmm1
movss dword [ebp - 0x1bfc], xmm3
call fcn.10002cc0
mov al, byte [eax]
not al
and al, 1
movzx eax, al
push eax
lea eax, [ebp - 0x1c10]
push eax
push ecx
call fcn.1003bb40
mov edx, dword [0x1004c8e8]
mov ecx, 1
movss xmm0, dword [ebp - 0x1bdc]
add edx, 0x1c
cmp edi, dword [ebp - 0x37c4]
movzx eax, byte [ebp - 0x1c10]
cmove eax, ecx
inc edi
addss xmm0, dword [edx]
mov byte [ebp - 0x1c10], al
movss dword [ebp - 0x1bdc], xmm0
cmp edi, dword [ebp - 0x37dc]
jl 0x10005550
mov edi, dword [ebp - 0x37fc]
lea eax, [ebp - 0x1c10]
jmp 0x10005654
mov esi, dword [ebp - 0x37c8]
lea eax, [ebp - 0x1c10]
jmp 0x10005654
mov eax, dword [ebp - 0x37d4]
mov esi, dword [ebp - 0x37c8]
push eax
push esi
call fcn.10006080
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 [0x10f6d514]
xor ecx, ecx
mov dword [ebp - 0x37c4], ecx
test eax, eax
jne 0x100056fe
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
mov eax, dword [ebp - 0x37cc]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
call edx
lea ecx, [ebp - 0x3820]
movss xmm0, dword [eax]
subss xmm0, dword [esi]
movss dword [ebp - 0x3820], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 4]
movss dword [ebp - 0x381c], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [esi + 8]
movss dword [ebp - 0x3818], xmm0
call fcn.10002a30
mov eax, dword [0x10f6d514]
cvttss2si ecx, xmm0
mov dword [ebp - 0x37c4], ecx
mov esi, dword [ebp - 0x37c8]
cmp eax, 1
jne 0x1000571d
mov ecx, esi
call fcn.10003080
mov ecx, dword [eax]
mov eax, dword [0x10f6d514]
mov dword [ebp - 0x37c4], ecx
cmp eax, 2
je 0x10005727
cmp eax, 3
jne 0x10005743
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
xor ecx, ecx
cmp eax, dword [0x1004c6b8]
setle cl
mov dword [ebp - 0x37c4], ecx
cmp ecx, dword [edi + 0x4a0]
jg 0x10005e88
mov ecx, dword [ebp - 0x37d0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x100059cc
cmp eax, 0x1d
jg 0x100059cc
cmp eax, 0x11
jne 0x100059cc
push esi
push dword [0x11dba7bc]
mov ecx, edi
call fcn.10003780
mov ecx, dword [0x1004c8ec]
mov edx, dword [ebp - 0x37cc]
mov eax, dword [ecx]
push dword [edx + 0xb38]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x10005e00
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
je 0x10005e00
lea eax, [edi + 0x24]
mov dword [ebp - method.Valve::TraceFilterSkipTwoEntities.virtual_0], vtable.Valve::TraceFilterSkipTwoEntities.0
push eax
push 0x1004e3d0
lea ecx, [ebp - 0x3860]
mov dword [ebp - 0x3828], esi
mov dword [ebp - 0x3824], 0
call fcn.10003170
mov ecx, dword [0x1004c8e4]
lea edx, [ebp - 0x70]
push edx
lea edx, [ebp - 0x382c]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x3860]
push 0x46004003
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [ebp - 0x44]
ucomiss xmm0, dword [0x10047348]
lahf
test ah, 0x44
jp 0x10005e00
movss xmm4, dword [edi + 0x24]
subss xmm4, dword [0x1004e3d0]
push dword [ebp - 0x37d0]
push dword [ebp - 0x37cc]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [edi + 0x28]
subss xmm3, dword [0x1004e3d4]
mulss xmm0, xmm4
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [edi + 0x2c]
subss xmm2, dword [0x1004e3d8]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10047254]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x100473b0]
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.1003ac40
test al, al
je 0x100059af
movss xmm0, dword [edi + 8]
movss xmm2, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm2
movsd qword [ebp - 0x37e0], xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
cvtps2pd xmm1, xmm1
lahf
movsd qword [ebp - 0x37f8], xmm1
movsd qword [ebp - 0x37c0], xmm2
test ah, 0x44
jp 0x10005911
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x10005911
xorps xmm1, xmm1
jmp 0x10005989
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x100473d0]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x37e8], xmm0
jbe 0x10005942
addsd xmm0, qword [0x100473e0]
movsd qword [ebp - 0x37e8], xmm0
movsd xmm1, qword [ebp - 0x37c0]
movsd xmm0, qword [ebp - 0x37f8]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x37e0]
xorps xmm0, xmmword [0x100475c0]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x100473d0]
movsd xmm1, qword [ebp - 0x37e8]
mov eax, dword [ebp - 0x37ec]
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 - 0x37b4]
mov ecx, dword [ebp - 0x37c4]
mov dword [edi + 0x49c], eax
mov dword [edi + 0x4a0], ecx
jmp 0x10005e06
mov eax, dword [0x10f6d628]
test eax, eax
jne 0x100059d9
xor ecx, ecx
jmp 0x100059f3
cmp eax, 1
jne 0x100059e3
lea ecx, [eax + 3]
jmp 0x100059f3
cmp eax, 2
mov ecx, 0x11
mov edx, 8
cmove ecx, edx
mov dword [ebp - 0x37dc], ecx
nop dword [eax]
test eax, eax
mov eax, dword [0x11dba7bc]
je 0x10005a10
mov eax, dword [ecx*4 + 0x11dba668]
push esi
push eax
mov ecx, edi
mov dword [ebp - 0x37bc], eax
call fcn.10003780
mov eax, dword [0x10f6d62c]
cmp eax, 1
jne 0x10005a3c
mov eax, dword [ebp - 0x37bc]
cmp eax, dword [0x11dba7bc]
je 0x10005a45
jmp 0x10005c22
cmp eax, 2
jne 0x10005c22
mov esi, 0x84
nop word [eax + eax]
movss xmm4, dword [edi + esi]
lea eax, [edi + esi]
subss xmm4, dword [0x1004e3d0]
push dword [ebp - 0x37cc]
push dword [ebp - 0x37c8]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x1004e3d4]
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 [0x1004e3d8]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10047254]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x100473b0]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mulss xmm4, xmm0
mulss xmm3, xmm0
mulss xmm0, xmm2
movss dword [edi], xmm4
movss dword [edi + 4], xmm3
movss dword [edi + 8], xmm0
call fcn.100033a0
test al, al
je 0x10005c10
push dword [ebp - 0x37d0]
push dword [ebp - 0x37cc]
call fcn.1003ac40
test al, al
je 0x10005bf8
movss xmm2, dword [edi + 8]
movss xmm0, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm2, xmm2
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x3808], xmm2
xorps xmm2, xmm2
ucomisd xmm0, xmm2
cvtps2pd xmm1, xmm1
lahf
movsd qword [ebp - 0x37f8], xmm1
movsd qword [ebp - 0x37c0], xmm0
test ah, 0x44
jp 0x10005b5d
ucomisd xmm1, xmm2
lahf
test ah, 0x44
jp 0x10005b5d
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x10005bd2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x100473d0]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x37e8], xmm0
jbe 0x10005b8b
addsd xmm0, qword [0x100473e0]
movsd qword [ebp - 0x37e8], xmm0
movsd xmm1, qword [ebp - 0x37c0]
movsd xmm0, qword [ebp - 0x37f8]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x3808]
xorps xmm0, xmmword [0x100475c0]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x100473d0]
movsd xmm1, qword [ebp - 0x37e8]
mov eax, dword [ebp - 0x37ec]
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 - 0x37b4]
mov dword [edi + 0x49c], eax
mov eax, dword [ebp - 0x37c4]
mov dword [edi + 0x4a0], eax
sub esi, 0xc
cmp esi, 0x24
jg 0x10005a50
mov esi, dword [ebp - 0x37c8]
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x1004e3d0]
push dword [ebp - 0x37cc]
push esi
push eax
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x1004e3d4]
mulss xmm0, xmm4
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x1004e3d8]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10047254]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x100473b0]
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.100033a0
test al, al
je 0x10005ddf
push dword [ebp - 0x37d0]
push dword [ebp - 0x37cc]
call fcn.1003ac40
test al, al
je 0x10005dc5
movss xmm0, dword [edi + 8]
movss xmm2, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm2
movsd qword [ebp - 0x37c0], xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
cvtps2pd xmm1, xmm1
lahf
movsd qword [ebp - 0x3808], xmm1
movsd qword [ebp - 0x37f8], xmm2
test ah, 0x44
jp 0x10005d27
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x10005d27
xorps xmm1, xmm1
jmp 0x10005d9f
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x100473d0]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x37e8], xmm0
jbe 0x10005d58
addsd xmm0, qword [0x100473e0]
movsd qword [ebp - 0x37e8], xmm0
movsd xmm1, qword [ebp - 0x37f8]
movsd xmm0, qword [ebp - 0x3808]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x37c0]
xorps xmm0, xmmword [0x100475c0]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x100473d0]
movsd xmm1, qword [ebp - 0x37e8]
mov eax, dword [ebp - 0x37ec]
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 - 0x37b4]
mov ecx, dword [ebp - 0x37c4]
mov dword [edi + 0x49c], eax
mov dword [edi + 0x4a0], ecx
jmp 0x10005de5
mov eax, dword [ebp - 0x37b4]
mov ecx, dword [ebp - 0x37dc]
sub ecx, 1
mov dword [ebp - 0x37dc], ecx
js 0x10005e06
mov eax, dword [0x10f6d628]
jmp 0x10005a00
mov eax, dword [ebp - 0x37b4]
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 [0x10f6d6e4], 0
je 0x10005e88
push dword [ebp - 0x37d4]
call fcn.1002c190
test al, al
je 0x10005e88
push dword [ebp - 0x37b4]
call fcn.1003c070
test al, al
jne 0x10005e88
mov ecx, dword [esi + 0x684]
mov eax, dword [0x1004e1b4]
cmp ecx, eax
je 0x10005e68
push ecx
call fcn.10006010
mov eax, dword [0x1004e1b4]
mov dword [esi + 0x684], eax
mov ecx, esi
push 0x1004e1b8
mov eax, 0x24045620
call eax
push dword [ebp - 0x3800]
push esi
call fcn.1003b240
lea ecx, [ebp - 0x1c10]
mov dword [ebp - 4], 0xffffffff
call fcn.10003250
mov edx, dword [ebp - 0x37b4]
dec edx
mov dword [ebp - 0x37b4], edx
cmp edx, 1
jge 0x10004fa0
mov esi, dword [ebp - 0x37ec]
cmp byte [edi + 0x4a8], 0
je 0x10005f0f
mov eax, dword [edi + 0x49c]
cmp eax, 0xffffffff
je 0x10005f0f
cmp byte [0x10f6d505], 0
je 0x10005ef9
imul eax, eax, 0x1ba0
lea ecx, [ebp - 0x37b0]
add eax, 0x11d4bce8
push eax
call fcn.10003650
or dword [esi + 0x24], 1
lea ecx, [ebp - 0x37b0]
call fcn.10003250
cmp dword [0x10f6d514], 3
je 0x10005f2e
mov eax, dword [edi + 0x49c]
mov dword [0x1004c6b8], eax
jmp 0x10005f25
mov eax, dword [ebp - 0x37d0]
cmp dword [eax + 0x6fc], 0
jg 0x10005f25
or dword [esi + 0x24], 0x2000
cmp dword [0x10f6d514], 3
jne 0x10005f39
mov eax, dword [edi + 0x49c]
mov dword [0x1004c6b8], eax
cmp byte [0x10f6d50f], 0
jne case.0x10004d5a.0
mov ecx, dword [0x1004c8e0]
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.1003c1fe
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8