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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10033d80
mov eax, dword fs:[0]
push eax
mov eax, 0x3878
call fcn.10032e70
mov eax, dword [0x1005c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x37e8], edi
mov ecx, dword [0x10084080]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x37d4], esi
mov eax, dword [ecx]
push dword [edx + 0xb38]
mov dword [ebp - 0x37c0], edx
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je case.0x10004d96.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [ebp - 0x37c4], eax
test eax, eax
je case.0x10004d96.0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4a4]
mov ecx, eax
call edx
test eax, eax
js case.0x10004d96.0
cmp eax, 0x1d
jg case.0x10004d96.0
cmp eax, 0x1c
ja case.0x10004d96.1
movzx eax, byte [eax + 0x10005f14]
jmp dword [eax*4 + 0x10005f0c]
push dword [ebp - 0x37c4]
lea eax, [ebp - 0x3884]
push eax
call fcn.100229a0
mov dword [edi + 0x4a0], 0x7fffffff
mov dword [edi + 0x49c], 0xffffffff
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x4a4], 0x4f000000
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 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
cmp byte [0x10082e9e], 0
je 0x10004f10
push 0x46
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x10004ef6
cmp byte [0x10082e9f], 0
sete cl
mov byte [0x10082e9f], cl
jmp 0x10004efc
mov cl, byte [0x10082e9f]
mov eax, dword [0x10082eb0]
test cl, cl
mov ecx, 9
cmovne eax, ecx
mov dword [0x11e19278], eax
mov ecx, dword [ebp - 0x37c4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
mov ecx, dword [ebp - 0x37c4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x10004f54
cmp eax, 0x1d
jg 0x10004f54
cmp eax, 0x11
jne 0x10004f54
cmp byte [0x10082ea6], 0
mov ecx, 9
mov eax, dword [0x10082eb0]
cmovne eax, ecx
jmp 0x10004f59
mov eax, dword [0x10082eb0]
mov ecx, dword [0x10083c64]
mov dword [0x11e19278], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x11e19274]
cmp eax, dword [ecx + 4]
jle 0x10004fe9
push 0x11e19274
call fcn.10031f40
add esp, 4
cmp dword [0x11e19274], 0xffffffff
jne 0x10004fe9
movaps xmm0, xmmword [0x10058410]
mov eax, dword [0x11e19278]
movups xmmword [0x11e19144], xmm0
push 0x11e19274
movaps xmm0, xmmword [0x100583d0]
movups xmmword [0x11e19154], xmm0
mov dword [0x11e19140], eax
movaps xmm0, xmmword [0x10058400]
movups xmmword [0x11e19164], xmm0
mov dword [0x11e19184], 0
movaps xmm0, xmmword [0x100583e0]
movups xmmword [0x11e19174], xmm0
call fcn.10031eef
add esp, 4
mov eax, dword [0x10082ebc]
test eax, eax
jle 0x10005002
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je case.0x10004d96.0
mov eax, dword [0x1008407c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x37a8], eax
cmp eax, 1
jl 0x10005e51
nop dword [eax]
mov ecx, dword [0x10084074]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [ebp - 0x37a8]
cmp edx, eax
je 0x10005e3b
mov ecx, dword [0x10084080]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [ebp - 0x37bc], esi
test esi, esi
je 0x10005e35
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
mov edx, dword [edx + 0x20]
call edx
test al, al
jne 0x10005e35
mov ecx, esi
call fcn.10003290
cmp dword [eax], 0
je 0x10005099
mov edx, dword [ebp - 0x37a8]
mov dword [edx*4 + 0x10f55580], 0
mov dword [edx*4 + 0x10f55680], 0
jmp 0x10005e3b
cmp byte [0x10082ea2], 0
jne 0x100050c8
mov ecx, dword [ebp - 0x37c0]
call fcn.10002e70
mov ecx, dword [ebp - 0x37bc]
mov esi, dword [eax]
call fcn.10002e70
cmp dword [eax], esi
je 0x10005e35
mov esi, dword [ebp - 0x37bc]
mov ecx, esi
call fcn.10003380
mov edx, dword [ebp - 0x37a8]
cmp dword [eax], 0x1f4
jg 0x10005e3b
mov eax, dword [esi + 0x58]
shr eax, 0x18
cmp al, 0xff
jb 0x10005e3b
cmp byte [edx + 0x100833b4], 0
jne 0x10005e3b
movss xmm0, dword [esi + 0x29c]
lea ecx, [ebp - 0x37f8]
subss xmm0, dword [0x100a83f0]
movss dword [ebp - 0x37f8], xmm0
movss xmm0, dword [esi + 0x2a0]
subss xmm0, dword [0x100a83f4]
movss dword [ebp - 0x37f4], xmm0
movss xmm0, dword [esi + 0x2a4]
subss xmm0, dword [0x100a83f8]
movss dword [ebp - 0x37f0], xmm0
call fcn.10002cc0
comiss xmm0, dword [ebp - 0x3870]
ja 0x10005e3b
push edx
call fcn.10031940
test al, al
je 0x10005170
mov dword [0x11e19278], 0xc
push esi
push dword [ebp - 0x37c4]
push dword [ebp - 0x37c0]
call fcn.10020d80
mov ecx, dword [ebp - 0x37a8]
imul edx, ecx, 0x1ba0
mov dword [ecx*4 + 0x10f55470], eax
shl ecx, 5
add ecx, eax
imul eax, ecx, 0x1ba0
lea ecx, [ebp - 0x1c04]
lea edi, [edx + 0x10f59dc8]
mov dword [ebp - 0x37ec], edi
mov dword [ebp - 0x37b8], eax
lea eax, [eax + 0x10fc85d8]
mov dword [ebp - 0x37c8], eax
lea eax, [edx + 0x11da6480]
push eax
call fcn.10003950
mov edi, dword [ebp - 0x37e8]
mov dword [ebp - 4], 0
cmp byte [0x10083070], 0
je 0x100056fd
mov eax, dword [ebp - 0x37c8]
push eax
call fcn.10020f70
test al, al
je 0x100056fd
push dword [ebp - 0x37a8]
call fcn.10031940
test al, al
jne 0x100056fd
mov eax, dword [esi + 0x684]
mov ecx, esi
mov dword [0x100a75ac], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
call eax
push dword [ebp - 0x37ec]
push esi
movss xmm0, dword [eax]
movss dword [0x100a75b0], xmm0
movss xmm0, dword [eax + 4]
movss dword [0x100a75b4], xmm0
movss xmm0, dword [eax + 8]
movss dword [0x100a75b8], xmm0
movss xmm0, dword [esi + 0x168]
movss xmm1, dword [esi + 0x16c]
movss xmm2, dword [esi + 0x170]
movss dword [0x100a75c8], xmm0
movss dword [0x100a75cc], xmm1
movss dword [0x100a75d0], xmm2
movss xmm0, dword [esi + 0x174]
movss xmm1, dword [esi + 0x178]
movss xmm2, dword [esi + 0x17c]
movss dword [0x100a75d4], xmm0
movss dword [0x100a75d8], xmm1
movss dword [0x100a75dc], xmm2
call fcn.10030cf0
mov ecx, dword [ebp - 0x37c8]
movss xmm1, dword [ecx + 0x14]
movss xmm0, dword [ecx + 0x10]
call fcn.10002c60
mov eax, dword [ebp - 0x37b8]
movaps xmm2, xmm0
mulss xmm2, dword [0x100582d0]
movss xmm1, dword [eax + 0x10fca18c]
movss xmm0, dword [eax + 0x10fca188]
movss dword [ebp - 0x37e0], xmm2
call fcn.10002c60
mulss xmm0, dword [0x100582d0]
movaps xmm1, xmm2
subss xmm1, xmm0
movss xmm0, dword [ecx + 0x34]
subss xmm0, dword [eax + 0x10fca1ac]
mov ecx, dword [0x10084074]
mov eax, dword [ecx]
divss xmm1, xmm0
mov eax, dword [eax + 0x120]
movss dword [ebp - 0x37d8], xmm1
call eax
mov esi, eax
push 0
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x37ac], ecx
mov ecx, esi
call dword [ebp - 0x37ac]
mov eax, dword [esi]
mov ecx, esi
fstp dword [ebp - 0x37b4]
push 1
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x37ac], eax
call dword [ebp - 0x37ac]
mov esi, dword [0x1008407c]
movss xmm1, dword [0x100581e8]
mov eax, dword [ebp - 0x37c8]
mov edx, dword [ebp - 0x37b8]
divss xmm1, dword [esi + 0x1c]
movss xmm0, dword [eax + 0x34]
fadd dword [ebp - 0x37b4]
subss xmm0, dword [edx + 0x10fca1ac]
fstp dword [ebp - 0x37ac]
mulss xmm0, xmm1
mulss xmm1, dword [ebp - 0x37ac]
addss xmm0, dword [0x100581b8]
addss xmm1, dword [0x100581b8]
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
add ecx, eax
cmp ecx, 0xf
jle 0x100053d1
mov ecx, 0xf
jmp 0x10005520
mov ecx, dword [0x10084074]
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 - 0x37ac], ecx
mov ecx, esi
call dword [ebp - 0x37ac]
mov eax, dword [esi]
mov ecx, esi
fstp dword [ebp - 0x37b4]
push 1
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x37ac], eax
call dword [ebp - 0x37ac]
mov esi, dword [0x1008407c]
movss xmm1, dword [0x100581e8]
mov eax, dword [ebp - 0x37c8]
mov edx, dword [ebp - 0x37b8]
divss xmm1, dword [esi + 0x1c]
movss xmm0, dword [eax + 0x34]
fadd dword [ebp - 0x37b4]
subss xmm0, dword [edx + 0x10fca1ac]
fstp dword [ebp - 0x37ac]
mulss xmm0, xmm1
mulss xmm1, dword [ebp - 0x37ac]
addss xmm0, dword [0x100581b8]
addss xmm1, dword [0x100581b8]
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
add ecx, eax
cmp ecx, 1
jge 0x10005480
mov ecx, 1
jmp 0x10005520
mov ecx, dword [0x10084074]
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 - 0x37ac], ecx
mov ecx, esi
call dword [ebp - 0x37ac]
mov eax, dword [esi]
mov ecx, esi
fstp dword [ebp - 0x37b4]
push 1
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x37ac], eax
call dword [ebp - 0x37ac]
mov esi, dword [0x1008407c]
movss xmm1, dword [0x100581e8]
mov eax, dword [ebp - 0x37c8]
mov edx, dword [ebp - 0x37b8]
divss xmm1, dword [esi + 0x1c]
movss xmm0, dword [eax + 0x34]
fadd dword [ebp - 0x37b4]
subss xmm0, dword [edx + 0x10fca1ac]
fstp dword [ebp - 0x37ac]
mulss xmm0, xmm1
mulss xmm1, dword [ebp - 0x37ac]
addss xmm0, dword [0x100581b8]
addss xmm1, dword [0x100581b8]
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
add ecx, eax
cmp byte [0x10083070], 2
mov dword [ebp - 0x37b4], ecx
jne 0x100056c0
movss xmm1, dword [edx + 0x10fc85dc]
lea eax, [edx + 0x10fc85d8]
movss xmm2, dword [eax + 8]
subss xmm2, dword [edx + 0x10fca180]
subss xmm1, dword [edx + 0x10fca17c]
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [edx + 0x10fca184]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm2, dword [0x1005834c]
jbe 0x100056c6
cmp byte [eax], 0
jne 0x100056b2
mov dword [ebp - 0x37ac], 0
test ecx, ecx
jle 0x100056b2
mov edi, dword [ebp - 0x37ac]
lea eax, [ecx - 1]
lea edx, [esi + 0x1c]
mov dword [ebp - 0x37cc], eax
mov esi, dword [ebp - 0x37bc]
nop word [eax + eax]
movss xmm0, dword [ebp - 0x37d8]
mulss xmm0, dword [edx]
addss xmm0, dword [ebp - 0x37e0]
mulss xmm0, dword [0x10058118]
movss dword [ebp - 0x37ac], xmm0
call fcn.10002c90
mov eax, dword [ebp - 0x37c8]
movaps xmm2, xmm0
movss xmm1, dword [eax + 0x14]
movss xmm0, dword [eax + 0x10]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10002cb0
movaps xmm1, xmm0
movss dword [ebp - 0x37b8], xmm0
movss xmm0, dword [ebp - 0x37ac]
mulss xmm1, xmm2
movss dword [ebp - 0x1bf4], xmm1
call fcn.10002ca0
mulss xmm0, dword [ebp - 0x37b8]
mov ecx, esi
movss dword [ebp - 0x1bf0], xmm0
call fcn.10002fc0
mov al, byte [eax]
not al
and al, 1
movzx eax, al
push eax
lea eax, [ebp - 0x1c04]
push eax
push ecx
call fcn.10031410
mov edx, dword [0x1008407c]
mov ecx, 1
movss xmm0, dword [ebp - 0x1bd0]
add edx, 0x1c
cmp edi, dword [ebp - 0x37cc]
movzx eax, byte [ebp - 0x1c04]
cmove eax, ecx
inc edi
addss xmm0, dword [edx]
mov byte [ebp - 0x1c04], al
movss dword [ebp - 0x1bd0], xmm0
cmp edi, dword [ebp - 0x37b4]
jl 0x100055c0
mov edi, dword [ebp - 0x37e8]
lea eax, [ebp - 0x1c04]
jmp 0x100056cc
mov esi, dword [ebp - 0x37bc]
lea eax, [ebp - 0x1c04]
jmp 0x100056cc
mov eax, dword [ebp - 0x37c8]
mov esi, dword [ebp - 0x37bc]
push eax
push esi
call fcn.10006020
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 [0x10082eac]
xor ecx, ecx
mov dword [ebp - 0x37b8], ecx
test eax, eax
jne 0x1000577a
mov ecx, dword [ebp - 0x37c0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
mov eax, dword [ebp - 0x37bc]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
call edx
movss xmm0, dword [esi]
lea ecx, [ebp - 0x3804]
subss xmm0, dword [eax]
movss dword [ebp - 0x3804], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, dword [eax + 4]
movss dword [ebp - 0x3800], xmm0
movss xmm0, dword [esi + 8]
subss xmm0, dword [eax + 8]
movss dword [ebp - 0x37fc], xmm0
call fcn.10002cc0
mov eax, dword [0x10082eac]
cvttss2si ecx, xmm0
mov dword [ebp - 0x37b8], ecx
mov esi, dword [ebp - 0x37bc]
cmp eax, 1
jne 0x10005799
mov ecx, esi
call fcn.10003380
mov ecx, dword [eax]
mov eax, dword [0x10082eac]
mov dword [ebp - 0x37b8], ecx
cmp eax, 2
je 0x100057a3
cmp eax, 3
jne 0x100057bf
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
xor ecx, ecx
cmp eax, dword [0x10083cc0]
setle cl
mov dword [ebp - 0x37b8], ecx
cmp ecx, dword [edi + 0x4a0]
jg 0x10005e23
mov ecx, dword [ebp - 0x37c4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x100059fb
cmp eax, 0x1d
jg 0x100059fb
cmp eax, 0x11
jne 0x100059fb
push esi
push dword [0x11e19278]
mov ecx, edi
call fcn.10003a80
mov ecx, dword [0x10084080]
mov edx, dword [ebp - 0x37c0]
mov eax, dword [ecx]
push dword [edx + 0xb38]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x10005d9b
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
je 0x10005d9b
lea eax, [edi + 0x24]
mov dword [ebp - method.Valve::TraceFilterSkipTwoEntities.virtual_0], vtable.Valve::TraceFilterSkipTwoEntities.0
push eax
push 0x100a83f0
lea ecx, [ebp - 0x3844]
mov dword [ebp - 0x380c], esi
mov dword [ebp - 0x3808], 0
call fcn.10003470
mov ecx, dword [0x10084078]
lea edx, [ebp - 0x64]
push edx
lea edx, [ebp - 0x3810]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x3844]
push 0x46004003
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [ebp - 0x38]
ucomiss xmm0, dword [0x100581e8]
lahf
test ah, 0x44
jp 0x10005d9b
movss xmm0, dword [edi + 0x24]
mov ecx, edi
subss xmm0, dword [0x100a83f0]
movss dword [edi], xmm0
movss xmm0, dword [edi + 0x28]
subss xmm0, dword [0x100a83f4]
movss dword [edi + 4], xmm0
movss xmm0, dword [edi + 0x2c]
subss xmm0, dword [0x100a83f8]
movss dword [edi + 8], xmm0
call fcn.10002d00
push dword [ebp - 0x37c4]
push dword [ebp - 0x37c0]
call fcn.10030360
test al, al
je 0x100059de
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [ebp - 0x37b0], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [ebp - 0x37dc], xmm2
movsd qword [ebp - 0x37e4], xmm1
test ah, 0x44
jp 0x1000593d
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000593d
xorps xmm1, xmm1
jmp 0x100059b8
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10058270]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x37d0], xmm0
jbe 0x10005971
addsd xmm0, qword [0x10058278]
movsd qword [ebp - 0x37d0], xmm0
movsd xmm1, qword [ebp - 0x37dc]
movsd xmm0, qword [ebp - 0x37e4]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x37b0]
xorps xmm0, xmmword [0x10058480]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10058270]
movsd xmm1, qword [ebp - 0x37d0]
mov eax, dword [ebp - 0x37d4]
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 - 0x37a8]
mov ecx, dword [ebp - 0x37b8]
mov dword [edi + 0x49c], eax
mov dword [edi + 0x4a0], ecx
jmp 0x10005da1
mov eax, dword [0x10082fc0]
test eax, eax
jne 0x10005a08
xor ecx, ecx
jmp 0x10005a22
cmp eax, 1
jne 0x10005a12
lea ecx, [eax + 3]
jmp 0x10005a22
cmp eax, 2
mov ecx, 0x11
mov edx, 8
cmove ecx, edx
mov dword [ebp - 0x37b4], ecx
nop dword [eax + eax]
test eax, eax
mov eax, dword [0x11e19278]
je 0x10005a40
mov eax, dword [ecx*4 + 0x11e19140]
push esi
push eax
mov ecx, edi
mov dword [ebp - 0x37ac], eax
call fcn.10003a80
mov eax, dword [0x10082fc4]
cmp eax, 1
jne 0x10005a6c
mov eax, dword [ebp - 0x37ac]
cmp eax, dword [0x11e19278]
je 0x10005a75
jmp 0x10005c06
cmp eax, 2
jne 0x10005c06
mov esi, 0x84
nop word [eax + eax]
movss xmm0, dword [edi + esi]
lea eax, [edi + esi]
subss xmm0, dword [0x100a83f0]
mov ecx, edi
movss dword [edi], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [0x100a83f4]
movss dword [edi + 4], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [0x100a83f8]
movss dword [edi + 8], xmm0
call fcn.10002d00
push dword [ebp - 0x37c0]
push dword [ebp - 0x37bc]
push eax
push ecx
call fcn.100036a0
test al, al
je 0x10005bf4
push dword [ebp - 0x37c4]
push dword [ebp - 0x37c0]
call fcn.10030360
test al, al
je 0x10005bdc
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 - 0x37e4], xmm1
movsd qword [ebp - 0x37dc], xmm0
test ah, 0x44
jp 0x10005b41
ucomisd xmm1, xmm2
lahf
test ah, 0x44
jp 0x10005b41
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x10005bb6
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10058270]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x37d0], xmm0
jbe 0x10005b6f
addsd xmm0, qword [0x10058278]
movsd qword [ebp - 0x37d0], xmm0
movsd xmm1, qword [ebp - 0x37dc]
movsd xmm0, qword [ebp - 0x37e4]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x37b0]
xorps xmm0, xmmword [0x10058480]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10058270]
movsd xmm1, qword [ebp - 0x37d0]
mov eax, dword [ebp - 0x37d4]
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 - 0x37a8]
mov dword [edi + 0x49c], eax
mov eax, dword [ebp - 0x37b8]
mov dword [edi + 0x4a0], eax
sub esi, 0xc
cmp esi, 0x24
jg 0x10005a80
mov esi, dword [ebp - 0x37bc]
movss xmm0, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm0, dword [0x100a83f0]
mov ecx, edi
movss dword [edi], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [0x100a83f4]
movss dword [edi + 4], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [0x100a83f8]
movss dword [edi + 8], xmm0
call fcn.10002d00
push dword [ebp - 0x37c0]
push esi
push eax
push ecx
call fcn.100036a0
test al, al
je 0x10005d7a
push dword [ebp - 0x37c4]
push dword [ebp - 0x37c0]
call fcn.10030360
test al, al
je 0x10005d60
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [ebp - 0x37b0], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [ebp - 0x37dc], xmm2
movsd qword [ebp - 0x37e4], xmm1
test ah, 0x44
jp 0x10005cbf
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x10005cbf
xorps xmm1, xmm1
jmp 0x10005d3a
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10058270]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [ebp - 0x37d0], xmm0
jbe 0x10005cf3
addsd xmm0, qword [0x10058278]
movsd qword [ebp - 0x37d0], xmm0
movsd xmm1, qword [ebp - 0x37dc]
movsd xmm0, qword [ebp - 0x37e4]
mulsd xmm0, xmm0
mulsd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
sqrtsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x37b0]
xorps xmm0, xmmword [0x10058480]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10058270]
movsd xmm1, qword [ebp - 0x37d0]
mov eax, dword [ebp - 0x37d4]
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 - 0x37a8]
mov ecx, dword [ebp - 0x37b8]
mov dword [edi + 0x49c], eax
mov dword [edi + 0x4a0], ecx
jmp 0x10005d80
mov eax, dword [ebp - 0x37a8]
mov ecx, dword [ebp - 0x37b4]
sub ecx, 1
mov dword [ebp - 0x37b4], ecx
js 0x10005da1
mov eax, dword [0x10082fc0]
jmp 0x10005a30
mov eax, dword [ebp - 0x37a8]
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 byte [0x10083070], 0
je 0x10005e23
push dword [ebp - 0x37c8]
call fcn.10020f70
test al, al
je 0x10005e23
push dword [ebp - 0x37a8]
call fcn.10031940
test al, al
jne 0x10005e23
mov ecx, dword [esi + 0x684]
mov eax, dword [0x100a75ac]
cmp ecx, eax
je 0x10005e03
push ecx
call fcn.10005fb0
mov eax, dword [0x100a75ac]
mov dword [esi + 0x684], eax
mov ecx, esi
push 0x100a75b0
mov eax, 0x24045620
call eax
push dword [ebp - 0x37ec]
push esi
call fcn.10030ae0
lea ecx, [ebp - 0x1c04]
mov dword [ebp - 4], 0xffffffff
call fcn.10003550
mov edx, dword [ebp - 0x37a8]
dec edx
mov dword [ebp - 0x37a8], edx
cmp edx, 1
jge 0x10005020
mov esi, dword [ebp - 0x37d4]
cmp byte [edi + 0x4a8], 0
je 0x10005eaa
mov eax, dword [edi + 0x49c]
cmp eax, 0xffffffff
je 0x10005eaa
cmp byte [0x10082e9d], 0
je 0x10005e94
imul eax, eax, 0x1ba0
lea ecx, [ebp - 0x37a4]
add eax, 0x11da6480
push eax
call fcn.10003950
or dword [esi + 0x24], 1
lea ecx, [ebp - 0x37a4]
call fcn.10003550
cmp dword [0x10082eac], 3
je 0x10005ec9
mov eax, dword [edi + 0x49c]
mov dword [0x10083cc0], eax
jmp 0x10005ec0
mov eax, dword [ebp - 0x37c4]
cmp dword [eax + 0x6fc], 0
jg 0x10005ec0
or dword [esi + 0x24], 0x2000
cmp dword [0x10082eac], 3
jne 0x10005ed4
mov eax, dword [edi + 0x49c]
mov dword [0x10083cc0], eax
cmp byte [0x10082ea3], 0
jne case.0x10004d96.0
mov ecx, dword [0x10084074]
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 - 0x10]
xor ecx, ebp
call fcn.10031b5e
mov esp, ebp
pop ebp
ret 8