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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x140
mov eax, dword [0x10065010]
xor eax, esp
mov dword [esp + 0x13c], eax
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [edx + 0xb38]
mov edi, ecx
mov dword [esp + 0x30], esi
mov ecx, dword [0x100a7894]
mov dword [esp + 0x10], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je case.0x1001f265.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [esp + 0x10], eax
test eax, eax
je case.0x1001f265.0
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x4a4]
call edx
test eax, eax
js case.0x1001f265.0
cmp eax, 0x1d
jg case.0x1001f265.0
cmp eax, 0x1c
ja case.0x1001f265.1
movzx eax, byte [eax + 0x10020350]
jmp dword [eax*4 + 0x10020348]
push dword [esp + 0x10]
lea eax, [esp + 0xac]
push eax
call fcn.10034760
mov dword [edi + 0x1a0], 0x7fffffff
mov dword [edi + 0x19c], 0xffffffff
mov dword [edi + 0x1a4], 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 [esp + 0x10]
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 + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x1001f3e0
cmp eax, 0x1d
jg 0x1001f3e0
cmp eax, 0x11
jne 0x1001f3e0
mov edx, dword [0x100a4454]
mov eax, 0xa
cmp byte [0x100a444d], 0
mov ecx, edx
cmovne ecx, eax
jmp 0x1001f3e8
mov edx, dword [0x100a4454]
mov ecx, edx
mov dword [0x10294920], ecx
mov eax, 0x10065120
mov dword [0x100650d8], ecx
nop dword [eax]
cmp dword [eax], ecx
jne 0x1001f406
mov dword [eax], edx
sub eax, 4
cmp eax, 0x100650dc
jge 0x1001f400
mov eax, dword [0x100a4468]
test eax, eax
jle 0x1001f429
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je case.0x1001f265.0
mov eax, dword [0x100a7890]
mov eax, dword [eax + 0x14]
mov dword [esp + 8], eax
cmp eax, 1
jl 0x1001fc25
mov esi, eax
mov ecx, dword [0x100a7888]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x1001fc13
mov ecx, dword [0x100a7894]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x1001fc13
mov edx, dword [eax + 8]
lea ecx, [eax + 8]
mov edx, dword [edx + 0x20]
call edx
test al, al
jne 0x1001fc13
mov ecx, dword [esp + 0x18]
call fcn.1001d5b0
cmp dword [eax], 0
jne 0x1001fc13
cmp byte [0x100a4449], 0
jne 0x1001f4bd
mov ecx, dword [esp + 0xc]
call fcn.1001d190
mov ecx, dword [esp + 0x18]
mov esi, dword [eax]
call fcn.1001d190
cmp dword [eax], esi
mov esi, dword [esp + 8]
je 0x1001fc13
mov ecx, dword [esp + 0x18]
call fcn.1001d6a0
cmp dword [eax], 0x1f4
jg 0x1001fc13
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x5b], 0xff
jb 0x1001fc13
cmp byte [esi + 0x100a490c], 0
jne 0x1001fc13
movss xmm0, dword [eax + 0x29c]
lea ecx, [esp + 0x50]
subss xmm0, dword [0x100a9600]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [eax + 0x2a0]
subss xmm0, dword [0x100a9604]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 0x2a4]
subss xmm0, dword [0x100a9608]
movss dword [esp + 0x58], xmm0
call fcn.1001d150
comiss xmm0, dword [esp + 0xbc]
ja 0x1001fc13
push dword [esp + 8]
call fcn.10042ac0
mov ecx, dword [0x10294920]
test al, al
mov eax, 0xc
cmovne ecx, eax
mov dword [0x10294920], ecx
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [0x100a4450], ecx
jne 0x1001f5cc
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
mov eax, dword [esp + 0xc]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
call edx
lea ecx, [esp + 0x5c]
movss xmm0, dword [eax]
subss xmm0, dword [esi]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 4]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [esi + 8]
movss dword [esp + 0x64], xmm0
call fcn.1001d150
cvttss2si ecx, xmm0
mov dword [esp + 0x14], ecx
cmp dword [0x100a4450], 1
mov esi, dword [esp + 0x18]
jne 0x1001f5e6
mov ecx, esi
call fcn.1001d6a0
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov eax, dword [0x100a4450]
cmp eax, 2
je 0x1001f5f5
cmp eax, 3
jne 0x1001f60f
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
xor ecx, ecx
cmp eax, dword [0x100a6960]
setle cl
mov dword [esp + 0x14], ecx
cmp ecx, dword [edi + 0x1a0]
jg 0x1001fc0f
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x1001f838
cmp eax, 0x1d
jg 0x1001f838
cmp eax, 0x11
jne 0x1001f838
push esi
push dword [0x10294920]
mov ecx, edi
call fcn.1001db00
mov ecx, dword [0x100a7894]
mov esi, dword [esp + 0xc]
mov eax, dword [ecx]
push dword [esi + 0xb38]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x1001fc0f
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
je 0x1001fc0f
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x74]
mov dword [esp + 0x6c], eax
lea eax, [edi + 0x24]
push eax
push 0x100a9600
mov dword [esp + 0x70], vtable.Valve::TraceFilterSkipTwoEntities.0
mov dword [esp + 0x78], 0
call fcn.1001d790
mov ecx, dword [0x100a788c]
lea edx, [esp + 0xe8]
push edx
lea edx, [esp + 0x6c]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x7c]
push 0x46004003
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [esp + 0x114]
ucomiss xmm0, dword [0x100596a8]
lahf
test ah, 0x44
jp 0x1001fc0f
movss xmm4, dword [edi + 0x24]
subss xmm4, dword [0x100a9600]
push dword [esp + 0x10]
push esi
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [edi + 0x28]
subss xmm3, dword [0x100a9604]
mulss xmm0, xmm4
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [edi + 0x2c]
subss xmm2, dword [0x100a9608]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100595cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10059708]
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.10041c20
test al, al
je 0x1001fff3
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [esp + 0x20], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 0x18], xmm1
test ah, 0x44
jp 0x1001f7cf
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1001f7cf
xorps xmm1, xmm1
jmp 0x1001ffcf
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10059728]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x48], xmm0
jbe 0x1001f7ff
addsd xmm0, qword [0x10059738]
movsd qword [esp + 0x48], xmm0
movsd xmm1, qword [esp + 0x18]
movsd xmm2, qword [esp + 0x30]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x20]
xorps xmm0, xmmword [0x100598e0]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
movsd xmm1, qword [esp + 0x48]
jmp 0x1001ffc7
cmp byte [0x100a4447], 0
je 0x1002000c
cmp byte [0x100a4448], 0
je 0x1001fc86
mov eax, 0x10065120
mov dword [esp + 0x48], eax
jmp 0x1001f864
mov esi, dword [esp + 0x18]
push esi
push dword [eax]
mov ecx, edi
call fcn.1001db00
mov esi, 0x84
nop dword [eax]
nop word [eax + eax]
movss xmm4, dword [edi + esi]
lea eax, [edi + esi]
subss xmm4, dword [0x100a9600]
push dword [esp + 0xc]
push dword [esp + 0x1c]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x100a9604]
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 [0x100a9608]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100595cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10059708]
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.1001d860
test al, al
je 0x1001fa26
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.10041c20
test al, al
je 0x1001fa12
movss xmm2, dword [edi + 8]
movss xmm0, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm2, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x30], xmm2
xorps xmm2, xmm2
ucomisd xmm0, xmm2
cvtps2pd xmm1, xmm1
lahf
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x38], xmm0
test ah, 0x44
jp 0x1001f982
ucomisd xmm1, xmm2
lahf
test ah, 0x44
jp 0x1001f982
xorps xmm1, xmm1
jmp 0x1001f9eb
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10059728]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x20], xmm0
jbe 0x1001f9ac
addsd xmm0, qword [0x10059738]
movsd qword [esp + 0x20], xmm0
movsd xmm1, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x40]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x30]
xorps xmm0, xmmword [0x100598e0]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
movsd xmm1, qword [esp + 0x20]
movaps xmm2, xmm0
mulsd xmm2, qword [0x10059728]
mov eax, dword [esp + 0x2c]
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 + 0x1a8], 1
mov eax, dword [esp + 8]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x1a0], eax
sub esi, 0xc
cmp esi, 0x24
jg 0x1001f880
mov eax, dword [esp + 0x48]
sub eax, 4
mov dword [esp + 0x48], eax
cmp eax, 0x100650d8
jge 0x1001f860
mov esi, 0x10065120
nop dword [eax]
push dword [esp + 0x18]
mov ecx, edi
push dword [esi]
call fcn.1001db00
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x100a9600]
push dword [esp + 0xc]
push dword [esp + 0x1c]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x100a9604]
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 [0x100a9608]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100595cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10059708]
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.1001d860
test al, al
je 0x1001fc00
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.10041c20
test al, al
je 0x1001fbec
movss xmm0, dword [edi + 8]
movss xmm2, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm2
movsd qword [esp + 0x40], xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
cvtps2pd xmm1, xmm1
lahf
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm2
test ah, 0x44
jp 0x1001fb5f
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001fb5f
xorps xmm1, xmm1
jmp 0x1001fbc8
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10059728]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x20], xmm0
jbe 0x1001fb8c
addsd xmm0, qword [0x10059738]
movsd qword [esp + 0x20], xmm0
movsd xmm1, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x30]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x40]
xorps xmm0, xmmword [0x100598e0]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10059728]
movsd xmm1, qword [esp + 0x20]
mov eax, dword [esp + 0x2c]
cvtsd2ss xmm0, xmm0
mov dword [eax + 0x14], 0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov byte [edi + 0x1a8], 1
mov eax, dword [esp + 8]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x1a0], eax
sub esi, 4
cmp esi, 0x100650d8
jge 0x1001fa50
mov esi, dword [esp + 8]
dec esi
mov dword [esp + 8], esi
cmp esi, 1
jge 0x1001f440
mov esi, dword [esp + 0x2c]
mov al, byte [edi + 0x1a8]
mov cl, al
test al, al
je 0x1001fc4d
cmp dword [edi + 0x19c], 0xffffffff
je 0x1001fc4d
cmp byte [0x100a4445], 0
je 0x1001fc4d
or dword [esi + 0x24], 1
mov cl, byte [edi + 0x1a8]
cmp dword [0x100a4450], 3
jne 0x1001fc61
mov eax, dword [edi + 0x19c]
mov dword [0x100a6960], eax
test cl, cl
je 0x10020303
cmp dword [0x100a4450], 3
je 0x10020317
mov eax, dword [edi + 0x19c]
mov dword [0x100a6960], eax
jmp 0x10020317
push esi
push dword [0x100650d8]
mov ecx, edi
call fcn.1001db00
mov dword [esp + 0x48], 8
lea esi, [edi + 0x84]
nop dword [eax]
nop word [eax + eax]
movss xmm4, dword [esi]
subss xmm4, dword [0x100a9600]
push dword [esp + 0xc]
push dword [esp + 0x1c]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [esi + 4]
subss xmm3, dword [0x100a9604]
mulss xmm0, xmm4
push esi
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [esi + 8]
subss xmm2, dword [0x100a9608]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100595cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10059708]
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.1001d860
test al, al
je 0x1001fe52
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.10041c20
test al, al
je 0x1001fe3e
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [esp + 0x40], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 0x38], xmm1
test ah, 0x44
jp 0x1001fdae
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1001fdae
xorps xmm1, xmm1
jmp 0x1001fe1a
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10059728]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x20], xmm0
jbe 0x1001fdde
addsd xmm0, qword [0x10059738]
movsd qword [esp + 0x20], xmm0
movsd xmm1, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x30]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x40]
xorps xmm0, xmmword [0x100598e0]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10059728]
movsd xmm1, qword [esp + 0x20]
mov eax, dword [esp + 0x2c]
cvtsd2ss xmm0, xmm0
mov dword [eax + 0x14], 0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov byte [edi + 0x1a8], 1
mov eax, dword [esp + 8]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x1a0], eax
mov eax, dword [esp + 0x48]
sub esi, 0xc
dec eax
mov dword [esp + 0x48], eax
test eax, eax
jg 0x1001fcb0
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x100a9600]
mov esi, dword [esp + 0xc]
push esi
push dword [esp + 0x1c]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x100a9604]
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 [0x100a9608]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100595cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10059708]
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.1001d860
test al, al
je 0x1001fc0f
push dword [esp + 0x10]
push esi
call fcn.10041c20
test al, al
je 0x1001fff3
movss xmm0, dword [edi + 8]
movss xmm2, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm2
movsd qword [esp + 0x40], xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
cvtps2pd xmm1, xmm1
lahf
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm2
test ah, 0x44
jp 0x1001ff66
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001ff66
xorps xmm1, xmm1
jmp 0x1001ffcf
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10059728]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x20], xmm0
jbe 0x1001ff93
addsd xmm0, qword [0x10059738]
movsd qword [esp + 0x20], xmm0
movsd xmm1, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x30]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x40]
xorps xmm0, xmmword [0x100598e0]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
movsd xmm1, qword [esp + 0x20]
mulsd xmm0, qword [0x10059728]
mov eax, dword [esp + 0x2c]
cvtsd2ss xmm0, xmm0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov dword [eax + 0x14], 0
mov byte [edi + 0x1a8], 1
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x14]
mov dword [edi + 0x19c], esi
mov dword [edi + 0x1a0], eax
jmp 0x1001fc13
cmp byte [0x100a4448], 0
je 0x100201e7
mov esi, 0x10065120
nop
push dword [esp + 0x18]
mov ecx, edi
push dword [esi]
call fcn.1001db00
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x100a9600]
push dword [esp + 0xc]
push dword [esp + 0x1c]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x100a9604]
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 [0x100a9608]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100595cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10059708]
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.1001d860
test al, al
je 0x100201d3
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.10041c20
test al, al
je 0x100201bf
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [esp + 0x40], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 0x38], xmm1
test ah, 0x44
jp 0x1002012f
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1002012f
xorps xmm1, xmm1
jmp 0x1002019b
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10059728]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x20], xmm0
jbe 0x1002015f
addsd xmm0, qword [0x10059738]
movsd qword [esp + 0x20], xmm0
movsd xmm1, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x30]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x40]
xorps xmm0, xmmword [0x100598e0]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10059728]
movsd xmm1, qword [esp + 0x20]
mov eax, dword [esp + 0x2c]
cvtsd2ss xmm0, xmm0
mov dword [eax + 0x14], 0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov byte [edi + 0x1a8], 1
mov eax, dword [esp + 8]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x1a0], eax
sub esi, 4
cmp esi, 0x100650d8
jge 0x10020020
jmp 0x1001fc0f
push esi
push dword [0x100650d8]
mov ecx, edi
call fcn.1001db00
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x100a9600]
mov esi, dword [esp + 0xc]
push esi
push dword [esp + 0x1c]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x100a9604]
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 [0x100a9608]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100595cc]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10059708]
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.1001d860
test al, al
je 0x1001fc0f
push dword [esp + 0x10]
push esi
call fcn.10041c20
test al, al
je 0x1001fff3
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [esp + 0x40], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 0x38], xmm1
test ah, 0x44
jp 0x100202f8
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x100202f8
xorps xmm1, xmm1
jmp 0x1001ffcf
movaps xmm0, xmm1
movaps xmm1, xmm2
jmp 0x1001ff69
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x6fc], 0
jg 0x10020317
or dword [esi + 0x24], 0x2000
cmp byte [0x100a444a], 0
jne case.0x1001f265.0
mov ecx, dword [0x100a7888]
lea eax, [esi + 0xc]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [esp + 0x144]
pop edi
pop esi
xor ecx, esp
call fcn.10042c4e
mov esp, ebp
pop ebp
ret 8