Function at 0x100049d0
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 [0x1003b008]
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 [0x1003bb1c]
mov dword [esp + 0x10], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je case.0x10004a55.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [esp + 0x10], eax
test eax, eax
je case.0x10004a55.0
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x4a4]
call edx
test eax, eax
js case.0x10004a55.0
cmp eax, 0x1d
jg case.0x10004a55.0
cmp eax, 0x1c
ja case.0x10004a55.1
movzx eax, byte [eax + 0x10005a88]
jmp dword [eax*4 + 0x10005a80]
push dword [esp + 0x10]
lea eax, [esp + 0xac]
push eax
call fcn.10020c50
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 0x10004bd0
cmp eax, 0x1d
jg 0x10004bd0
cmp eax, 0x11
jne 0x10004bd0
mov edx, dword [0x1004c20c]
mov eax, 0xa
cmp byte [0x1004c205], 0
mov ecx, edx
cmovne ecx, eax
jmp 0x10004bd8
mov edx, dword [0x1004c20c]
mov ecx, edx
mov dword [0x10229410], ecx
mov eax, 0x1003b120
mov dword [0x1003b0d8], ecx
nop dword [eax]
cmp dword [eax], ecx
jne 0x10004bf6
mov dword [eax], edx
sub eax, 4
cmp eax, 0x1003b0dc
jge 0x10004bf0
mov eax, dword [0x1004c220]
test eax, eax
jle 0x10004c19
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je case.0x10004a55.0
mov eax, dword [0x1003bb18]
mov eax, dword [eax + 0x14]
mov dword [esp + 8], eax
cmp eax, 1
jl 0x100053e9
mov esi, eax
mov ecx, dword [0x1003bb10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x100053d7
mov ecx, dword [0x1003bb1c]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [esp + 0x20], eax
test eax, eax
je 0x100053d7
mov ecx, eax
call fcn.10002d90
cmp dword [eax], 0
jne 0x100053d7
cmp byte [0x1004c201], 0
jne 0x10004c98
mov ecx, dword [esp + 0xc]
call fcn.10002970
mov ecx, dword [esp + 0x20]
mov esi, dword [eax]
call fcn.10002970
cmp dword [eax], esi
mov esi, dword [esp + 8]
je 0x100053d7
mov ecx, dword [esp + 0x20]
call fcn.10002e80
cmp dword [eax], 0x1f4
jg 0x100053d7
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x58]
shr eax, 0x18
cmp al, 0xff
jb 0x100053d7
cmp byte [esi + 0x1004c64c], 0
jne 0x100053d7
movss xmm0, dword [ecx + 0x29c]
subss xmm0, dword [0x1003d898]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [ecx + 0x2a0]
subss xmm0, dword [0x1003d89c]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [ecx + 0x2a4]
lea ecx, [esp + 0x50]
subss xmm0, dword [0x1003d8a0]
movss dword [esp + 0x58], xmm0
call fcn.10002930
comiss xmm0, dword [esp + 0xbc]
ja 0x100053d7
push dword [esp + 8]
call fcn.1002dbc0
mov ecx, dword [0x10229410]
test al, al
mov eax, 0xc
cmovne ecx, eax
mov dword [0x10229410], ecx
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [0x1004c208], ecx
jne 0x10004dab
mov ecx, dword [esp + 0x20]
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.10002930
cvttss2si ecx, xmm0
mov dword [esp + 0x14], ecx
cmp dword [0x1004c208], 1
mov esi, dword [esp + 0x20]
jne 0x10004dc5
mov ecx, esi
call fcn.10002e80
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov eax, dword [0x1004c208]
cmp eax, 2
je 0x10004dd4
cmp eax, 3
jne 0x10004dee
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
xor ecx, ecx
cmp eax, dword [0x1003b690]
setle cl
mov dword [esp + 0x14], ecx
cmp ecx, dword [edi + 0x1a0]
jg 0x100053d3
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x10005011
cmp eax, 0x1d
jg 0x10005011
cmp eax, 0x11
jne 0x10005011
push esi
push dword [0x10229410]
mov ecx, edi
call fcn.100032e0
mov ecx, dword [0x1003bb1c]
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 0x100053d3
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
je 0x100053d3
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x74]
mov dword [esp + 0x6c], eax
lea eax, [edi + 0x24]
push eax
push 0x1003d898
mov dword [esp + 0x70], vtable.Valve::TraceFilterSkipTwoEntities.0
mov dword [esp + 0x78], 0
call fcn.10002f70
mov ecx, dword [0x1003bb14]
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 [0x10037590]
lahf
test ah, 0x44
jp 0x100053d3
movss xmm4, dword [edi + 0x24]
subss xmm4, dword [0x1003d898]
push dword [esp + 0x10]
push esi
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [edi + 0x28]
subss xmm3, dword [0x1003d89c]
mulss xmm0, xmm4
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [edi + 0x2c]
subss xmm2, dword [0x1003d8a0]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100374ac]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x100375e8]
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.1002cc20
test al, al
je 0x100057ad
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [esp + 0x18], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 0x20], xmm1
test ah, 0x44
jp 0x10004fa8
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x10004fa8
xorps xmm1, xmm1
jmp 0x10005789
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037618]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x48], xmm0
jbe 0x10004fd8
addsd xmm0, qword [0x10037620]
movsd qword [esp + 0x48], xmm0
movsd xmm1, qword [esp + 0x20]
movsd xmm2, qword [esp + 0x30]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x18]
xorps xmm0, xmmword [0x10037790]
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 0x10005781
cmp byte [0x1004c1ff], 0
je 0x100057c6
cmp byte [0x1004c200], 0
je 0x1000544a
mov eax, 0x1003b120
mov dword [esp + 0x48], eax
jmp 0x1000503a
mov esi, dword [esp + 0x20]
push esi
push dword [eax]
mov ecx, edi
call fcn.100032e0
mov esi, 0x84
nop dword [eax]
movss xmm4, dword [edi + esi]
lea eax, [edi + esi]
subss xmm4, dword [0x1003d898]
push dword [esp + 0xc]
push dword [esp + 0x24]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x1003d89c]
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 [0x1003d8a0]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100374ac]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x100375e8]
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.10003040
test al, al
je 0x100051f0
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.1002cc20
test al, al
je 0x100051dc
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 0x1000514c
ucomisd xmm1, xmm2
lahf
test ah, 0x44
jp 0x1000514c
xorps xmm1, xmm1
jmp 0x100051b5
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037618]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x18], xmm0
jbe 0x10005176
addsd xmm0, qword [0x10037620]
movsd qword [esp + 0x18], 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 [0x10037790]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
movsd xmm1, qword [esp + 0x18]
movaps xmm2, xmm0
mulsd xmm2, qword [0x10037618]
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 0x10005050
mov eax, dword [esp + 0x48]
sub eax, 4
mov dword [esp + 0x48], eax
cmp eax, 0x1003b0d8
jge 0x10005036
mov esi, 0x1003b120
push dword [esp + 0x20]
mov ecx, edi
push dword [esi]
call fcn.100032e0
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x1003d898]
push dword [esp + 0xc]
push dword [esp + 0x24]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x1003d89c]
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 [0x1003d8a0]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100374ac]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x100375e8]
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.10003040
test al, al
je 0x100053c4
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.1002cc20
test al, al
je 0x100053b0
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 0x10005320
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x10005320
xorps xmm1, xmm1
jmp 0x1000538c
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037618]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x18], xmm0
jbe 0x10005350
addsd xmm0, qword [0x10037620]
movsd qword [esp + 0x18], 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 [0x10037790]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037618]
movsd xmm1, qword [esp + 0x18]
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, 0x1003b0d8
jge 0x10005217
mov esi, dword [esp + 8]
dec esi
mov dword [esp + 8], esi
cmp esi, 1
jge 0x10004c30
mov esi, dword [esp + 0x2c]
mov al, byte [edi + 0x1a8]
mov cl, al
test al, al
je 0x10005411
cmp dword [edi + 0x19c], 0xffffffff
je 0x10005411
cmp byte [0x1004c1fd], 0
je 0x10005411
or dword [esi + 0x24], 1
mov cl, byte [edi + 0x1a8]
cmp dword [0x1004c208], 3
jne 0x10005425
mov eax, dword [edi + 0x19c]
mov dword [0x1003b690], eax
test cl, cl
je 0x10005a3b
cmp dword [0x1004c208], 3
je 0x10005a4f
mov eax, dword [edi + 0x19c]
mov dword [0x1003b690], eax
jmp 0x10005a4f
push esi
push dword [0x1003b0d8]
mov ecx, edi
call fcn.100032e0
mov dword [esp + 0x48], 8
lea esi, [edi + 0x84]
nop word [eax + eax]
movss xmm4, dword [esi]
subss xmm4, dword [0x1003d898]
push dword [esp + 0xc]
push dword [esp + 0x24]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [esi + 4]
subss xmm3, dword [0x1003d89c]
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 [0x1003d8a0]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100374ac]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x100375e8]
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.10003040
test al, al
je 0x1000560f
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.1002cc20
test al, al
je 0x100055fb
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 0x1000556e
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000556e
xorps xmm1, xmm1
jmp 0x100055d7
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037618]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x18], xmm0
jbe 0x1000559b
addsd xmm0, qword [0x10037620]
movsd qword [esp + 0x18], 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 [0x10037790]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037618]
movsd xmm1, qword [esp + 0x18]
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 0x10005470
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x1003d898]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x1003d89c]
mulss xmm0, xmm4
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x1003d8a0]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100374ac]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x100375e8]
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
mov esi, dword [esp + 0xc]
push esi
push dword [esp + 0x24]
push eax
push ecx
mov ecx, edi
call fcn.10003040
test al, al
je 0x100053d3
push dword [esp + 0x10]
push esi
call fcn.1002cc20
test al, al
je 0x100057ad
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 + 0x38], xmm1
movsd qword [esp + 0x30], xmm2
test ah, 0x44
jp 0x1000571d
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000571d
xorps xmm1, xmm1
jmp 0x10005789
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037618]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x18], xmm0
jbe 0x1000574d
addsd xmm0, qword [0x10037620]
movsd qword [esp + 0x18], 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 [0x10037790]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
movsd xmm1, qword [esp + 0x18]
mulsd xmm0, qword [0x10037618]
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 0x100053d7
cmp byte [0x1004c200], 0
je 0x10005999
mov esi, 0x1003b120
push dword [esp + 0x20]
mov ecx, edi
push dword [esi]
call fcn.100032e0
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x1003d898]
push dword [esp + 0xc]
push dword [esp + 0x24]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x1003d89c]
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 [0x1003d8a0]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100374ac]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x100375e8]
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.10003040
test al, al
je 0x10005985
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.1002cc20
test al, al
je 0x10005971
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 0x100058e1
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x100058e1
xorps xmm1, xmm1
jmp 0x1000594d
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037618]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x18], xmm0
jbe 0x10005911
addsd xmm0, qword [0x10037620]
movsd qword [esp + 0x18], 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 [0x10037790]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10037618]
movsd xmm1, qword [esp + 0x18]
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, 0x1003b0d8
jge 0x100057d8
jmp 0x100053d3
push esi
push dword [0x1003b0d8]
mov ecx, edi
call fcn.100032e0
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x1003d898]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x1003d89c]
mulss xmm0, xmm4
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x1003d8a0]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x100374ac]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x100375e8]
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
jmp 0x100056ac
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x6fc], 0
jg 0x10005a4f
or dword [esi + 0x24], 0x2000
cmp byte [0x1004c202], 0
jne case.0x10004a55.0
mov ecx, dword [0x1003bb10]
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.1002dd4e
mov esp, ebp
pop ebp
ret 8