Function at 0x10049290
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4b85
mov eax, dword fs:[0]
push eax
mov eax, 0x3498
call fcn.100e1800
mov eax, dword [0x1011100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x10115020]
mov eax, dword [ebp + 8]
mov ebx, dword [0x10116904]
mov dword [ebp - 0x3470], eax
test edi, edi
je 0x1004a1fd
cmp dword [0x10114fa0], 0
je 0x1004a1fd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114f54]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10114ff0]
mov dword [ebp - 0x345c], esi
cmp eax, dword [esi + 4]
jle 0x10049353
push 0x10114ff0
call fcn.100e09a6
add esp, 4
cmp dword [0x10114ff0], 0xffffffff
jne 0x10049353
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100dfaa0
push 0x10114ff0
mov dword [0x10114fb0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [0x10114fb0]
cmp byte [edi + eax], 0
jne 0x1004a1fd
mov eax, dword [0x1011684c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0
je 0x1004a1fd
mov ecx, dword [0x10114fa0]
test ecx, ecx
je 0x1004a1fd
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
jne 0x1004a1fd
mov eax, dword [0x1011684c]
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x1004a1fd
mov eax, dword [0x1011681c]
mov ecx, ebx
vxorps xmm0, xmm0, xmm0
vmovss dword [eax + 0x58], xmm0
vmovss dword [eax + 0x5c], xmm0
vmovss dword [eax + 0x60], xmm0
call fcn.10048450
mov ecx, dword [ebx]
cmp ecx, dword [ebx + 4]
je 0x1004a1fd
mov eax, dword [0x1011681c]
mov ecx, dword [ecx + 4]
mov dword [eax + 0x44], ecx
mov eax, dword [0x1011684c]
mov eax, dword [eax + 4]
mov eax, dword [eax]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x10049438
cmp dword [0x101151c8], 0
jne 0x10049416
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101151c8], eax
jmp 0x10049438
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x101151c8]
jne 0x10049438
mov ecx, dword [0x10115038]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x1004944d
mov eax, dword [0x1011684c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
cmp byte [eax + 1], 0
jne 0x1004a1fd
xor edi, edi
lea eax, [ebp - 0x3440]
push 0x1a14
vxorps xmm1, xmm1, xmm1
push edi
push eax
mov dword [ebp - 0x3454], edi
vmovss dword [ebp - 0x3444], xmm1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3440]
call fcn.100426f0
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x3468], eax
mov dword [ebp - 0x3458], ecx
vxorps xmm0, xmm0, xmm0
vmovss dword [ebp - 0x3448], xmm0
vmovss dword [ebp - 0x344c], xmm0
vmovss dword [ebp - 0x3450], xmm0
cmp eax, ecx
je 0x1004a1fd
nop word [eax + eax]
mov ebx, dword [eax + 4]
mov eax, dword [0x10114ff0]
cmp eax, dword [esi + 4]
jle 0x1004951b
push 0x10114ff0
call fcn.100e09a6
add esp, 4
cmp dword [0x10114ff0], 0xffffffff
jne 0x10049515
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 1
call fcn.100dfaa0
push 0x10114ff0
mov dword [0x10114fb0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov ecx, dword [ebp - 0x3458]
mov eax, dword [0x10114fb0]
cmp byte [eax + ebx], 0
jne 0x10049650
test ebx, ebx
je 0x10049d04
lea esi, [ebx + 8]
test esi, esi
je 0x10049d04
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10049d04
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x10049d04
mov ecx, ebx
call fcn.100d8780
test al, al
jne 0x10049999
mov ecx, dword [ebp - 0x345c]
mov eax, dword [0x10114fc8]
cmp eax, dword [ecx + 4]
jle 0x100495cb
push 0x10114fc8
call fcn.100e09a6
add esp, 4
cmp dword [0x10114fc8], 0xffffffff
jne 0x100495cb
push str.m_flSimulationTime
push str.CBaseEntity
mov dword [ebp - 4], 2
call fcn.100dfaa0
push 0x10114fc8
mov dword [0x10114fc4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [0x10114fc4]
mov edi, ebx
mov ecx, ebx
mov dword [ebp - 0x3454], edi
vmovss xmm0, dword [eax + ebx]
vmovss dword [ebp - 0x3444], xmm0
call fcn.1001c730
mov ecx, ebx
vmovss xmm0, dword [eax]
vmovss dword [ebp - 0x3448], xmm0
vmovss xmm0, dword [eax + 4]
vmovss dword [ebp - 0x344c], xmm0
vmovss xmm0, dword [eax + 8]
vmovss dword [ebp - 0x3464], xmm0
call fcn.1001c690
mov ecx, ebx
mov esi, eax
call fcn.1001c5f0
vmovss xmm0, dword [eax + 8]
vaddss xmm0, xmm0, dword [esi + 8]
vmulss xmm0, xmm0, dword [0x100ffc68]
vaddss xmm0, xmm0, dword [ebp - 0x3464]
vmovss dword [ebp - 0x3450], xmm0
mov esi, dword [ebp - 0x345c]
mov ecx, dword [ebp - 0x3458]
mov eax, dword [ebp - 0x3468]
add eax, 8
mov dword [ebp - 0x3468], eax
cmp eax, ecx
jne 0x100494c0
test edi, edi
je 0x1004a1fd
mov eax, dword [0x10114ff0]
cmp eax, dword [esi + 4]
jle 0x100496c1
push 0x10114ff0
call fcn.100e09a6
add esp, 4
cmp dword [0x10114ff0], 0xffffffff
jne 0x100496c1
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 5
call fcn.100dfaa0
push 0x10114ff0
mov dword [0x10114fb0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [0x10114fb0]
cmp byte [edi + eax], 0
jne 0x1004a1fd
mov eax, dword [0x1011684c]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x10], 0
je 0x1004975d
mov eax, dword [0x1011503c]
mov ebx, dword [0x10115020]
cmp eax, dword [esi + 4]
jle 0x10049739
push 0x1011503c
call fcn.100e09a6
add esp, 4
cmp dword [0x1011503c], 0xffffffff
jne 0x10049739
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 6
call fcn.100dfaa0
push 0x1011503c
mov dword [0x1011502c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [0x1011502c]
cmp dword [ebx + eax], 8
je 0x1004975d
mov ecx, edi
call fcn.100d8780
test al, al
je 0x1004975d
mov eax, dword [0x1011681c]
mov eax, dword [eax + 0x8c]
mov byte [eax], 1
mov eax, dword [0x1011684c]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x10], 0
jne 0x10049fd6
lea ebx, [edi + 8]
mov dword [ebp - 0x346c], ebx
test ebx, ebx
je 0x10049f90
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10049f90
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x10049f90
vmovss xmm0, dword [ebp - 0x3450]
mov eax, dword [0x10115020]
mov ebx, edi
vmovss xmm1, dword [ebp - 0x3444]
vmovss dword [ebp - 0x3468], xmm0
vmovss xmm0, dword [ebp - 0x344c]
vmovss dword [ebp - 0x3464], xmm0
vmovss xmm0, dword [ebp - 0x3448]
mov dword [ebp - 0x3460], eax
mov eax, dword [0x1011503c]
vmovss dword [ebp - 0x3458], xmm1
vmovss dword [ebp - 0x345c], xmm0
cmp eax, dword [esi + 4]
jle 0x10049851
push 0x1011503c
call fcn.100e09a6
add esp, 4
cmp dword [0x1011503c], 0xffffffff
jne 0x10049849
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 7
call fcn.100dfaa0
push 0x1011503c
mov dword [0x1011502c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
vmovss xmm1, dword [ebp - 0x3458]
mov eax, dword [0x1011502c]
mov edi, ebx
mov ecx, dword [ebp - 0x3460]
vmovss xmm2, dword [ebp - 0x3468]
vmovss xmm3, dword [ebp - 0x3464]
vmovss xmm4, dword [ebp - 0x345c]
cmp dword [ecx + eax], 8
vmovaps xmm0, xmm1
mov dword [ebp - 0x3454], edi
vmovss dword [ebp - 0x3444], xmm0
vmovss dword [ebp - 0x3450], xmm2
vmovss dword [ebp - 0x344c], xmm3
vmovss dword [ebp - 0x3448], xmm4
je case.default.0x10049992
mov ecx, ebx
mov dword [ebp - 0x3454], edi
vmovss dword [ebp - 0x3444], xmm1
vmovss dword [ebp - 0x3450], xmm2
vmovss dword [ebp - 0x344c], xmm3
vmovss dword [ebp - 0x3448], xmm4
call fcn.100d8780
test al, al
je 0x10049fd6
mov ecx, dword [ebp - 0x346c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x10114f9c]
lea esi, [ebp - 0x98]
push esi
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3460], eax
lea eax, [ebp - 0x3460]
push eax
call fcn.10023010
vmovss xmm1, dword [ebp - 0x3458]
vmovss xmm2, dword [ebp - 0x3468]
vmovss xmm3, dword [ebp - 0x3464]
mov eax, dword [eax]
vmovss xmm4, dword [ebp - 0x345c]
dec eax
mov dword [ebp - 0x3454], edi
vmovaps xmm0, xmm1
vmovss dword [ebp - 0x3444], xmm0
vmovss dword [ebp - 0x3450], xmm2
vmovss dword [ebp - 0x344c], xmm3
vmovss dword [ebp - 0x3448], xmm4
cmp eax, 3
ja case.default.0x10049992
mov dword [ebp - 0x3454], edi
vmovss dword [ebp - 0x3444], xmm0
vmovss dword [ebp - 0x3450], xmm2
vmovss dword [ebp - 0x344c], xmm3
vmovss dword [ebp - 0x3448], xmm4
jmp dword [eax*4 + 0x1004a21c]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
push eax
lea eax, [ebp - 0x1a28]
push eax
call fcn.10042b20
mov eax, 0x1a14
call fcn.100e1800
lea eax, [ebp - 0x1a28]
mov ecx, esp
push eax
call fcn.100429b0
call fcn.10040b90
test al, al
je 0x10049644
mov esi, dword [0x10115020]
mov ecx, esi
call fcn.1001c730
mov ecx, esi
mov edi, eax
call fcn.1001ca20
vmovss xmm0, dword [edi]
push 0x4600400b
vaddss xmm2, xmm0, dword [eax]
vmovss xmm0, dword [edi + 4]
vaddss xmm1, xmm0, dword [eax + 4]
vmovss xmm0, dword [edi + 8]
vaddss xmm0, xmm0, dword [eax + 8]
lea eax, [ebp - 0x19ec]
push eax
lea eax, [ebp - 0x348c]
push eax
push ebx
push dword [0x10115020]
vmovss dword [ebp - 0x348c], xmm2
vmovss dword [ebp - 0x3488], xmm1
vmovss dword [ebp - 0x3484], xmm0
call fcn.100d1e90
mov esi, dword [ebp - 0x345c]
test al, al
je 0x10049e4f
mov eax, dword [0x1011503c]
mov edi, dword [0x10115020]
cmp eax, dword [esi + 4]
jle 0x10049aa3
push 0x1011503c
call fcn.100e09a6
add esp, 4
cmp dword [0x1011503c], 0xffffffff
jne 0x10049aa3
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 3
call fcn.100dfaa0
push 0x1011503c
mov dword [0x1011502c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [0x1011502c]
cmp dword [edi + eax], 8
jne 0x10049cb5
mov eax, dword [0x10114ffc]
cmp eax, dword [esi + 4]
jle 0x10049b04
push 0x10114ffc
call fcn.100e09a6
add esp, 4
cmp dword [0x10114ffc], 0xffffffff
jne 0x10049b04
push str.m_angEyeAngles_0_
push str.CTFPlayer
mov dword [ebp - 4], 4
call fcn.100dfaa0
push 0x10114ffc
mov dword [0x10114f74], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e095c
add esp, 4
mov eax, dword [0x10114f74]
mov esi, dword [0x10115020]
add eax, ebx
mov ecx, esi
mov dword [ebp - 0x3460], eax
call fcn.1001c730
mov ecx, esi
mov edi, eax
call fcn.1001ca20
vmovss xmm0, dword [edi]
vaddss xmm1, xmm0, dword [eax]
vmovss xmm0, dword [edi + 4]
vaddss xmm2, xmm0, dword [eax + 4]
vmovss xmm0, dword [edi + 8]
vaddss xmm0, xmm0, dword [eax + 8]
vsubss xmm3, xmm1, dword [ebp - 0x19ec]
vsubss xmm0, xmm0, dword [ebp - 0x19e4]
vsubss xmm1, xmm2, dword [ebp - 0x19e8]
vmovss dword [ebp - 0x3474], xmm0
vmovss dword [ebp - 0x346c], xmm1
vmulss xmm1, xmm1, xmm1
vmulss xmm0, xmm3, xmm3
vaddss xmm0, xmm1, xmm0
vcvtss2sd xmm0, xmm0, xmm0
vxorpd xmm1, xmm1, xmm1
vucomisd xmm1, xmm0
vmovss dword [ebp - 0x3464], xmm3
ja 0x10049b93
vsqrtsd xmm0, xmm0, xmm0
jmp 0x10049b98
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
vmovss xmm1, dword [ebp - 0x3474]
vcvtsd2ss xmm0, xmm0, xmm0
vdivss xmm0, xmm1, xmm0
vcvtss2sd xmm0, xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
vcvtsd2ss xmm0, xmm0, xmm0
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm0, qword [0x100ffd10]
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [ebp - 0x3480], xmm0
vmovss xmm0, dword [ebp - 0x346c]
vdivss xmm0, xmm0, dword [ebp - 0x3464]
vcvtss2sd xmm0, xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
vcvtsd2ss xmm0, xmm0, xmm0
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm0, qword [0x100ffd10]
vcvtsd2ss xmm2, xmm0, xmm0
vmovss xmm0, dword [ebp - 0x3464]
vxorps xmm1, xmm1, xmm1
vcomiss xmm0, xmm1
vmovss dword [ebp - 0x347c], xmm2
vmovss dword [ebp - 0x3478], xmm1
jb 0x10049c2c
vaddss xmm0, xmm2, dword [0x100ffe2c]
vmovss dword [ebp - 0x347c], xmm0
mov esi, dword [0x10115020]
mov ecx, esi
call fcn.1001c730
mov ecx, esi
mov edi, eax
call fcn.1001ca20
vmovss xmm2, dword [ebp - 0x19ec]
sub esp, 0xc
vmovss xmm0, dword [eax]
vaddss xmm1, xmm0, dword [edi]
vmovss xmm0, dword [edi + 4]
vaddss xmm3, xmm0, dword [eax + 4]
vmovss xmm0, dword [edi + 8]
vaddss xmm0, xmm0, dword [eax + 8]
mov eax, esp
push dword [ebp - 0x3460]
vsubss xmm2, xmm2, xmm1
vmovss xmm1, dword [ebp - 0x19e8]
vsubss xmm1, xmm1, xmm3
vmovss xmm3, dword [ebp - 0x19e4]
vsubss xmm0, xmm3, xmm0
vmovss dword [eax], xmm2
vmovss dword [eax + 4], xmm1
vmovss dword [eax + 8], xmm0
lea eax, [ebp - 0x3480]
push eax
call fcn.10049050
mov esi, dword [ebp - 0x345c]
test al, al
je 0x10049e4f
lea eax, [ebp - 0x1a28]
mov edi, ebx
push eax
lea ecx, [ebp - 0x3440]
mov dword [ebp - 0x3454], edi
call fcn.100201b0
vmovss xmm2, dword [ebp - 0x19ec]
vmovss xmm1, dword [ebp - 0x19e8]
vmovss xmm0, dword [ebp - 0x19e4]
vmovss dword [ebp - 0x3448], xmm2
vmovss dword [ebp - 0x344c], xmm1
vmovss dword [ebp - 0x3450], xmm0
jmp 0x1004964a
mov ecx, ebx
call fcn.1001c730
mov ecx, ebx
vmovss xmm0, dword [eax]
vmovss dword [ebp - 0x3498], xmm0
vmovss xmm0, dword [eax + 4]
vmovss dword [ebp - 0x3494], xmm0
vmovss xmm0, dword [eax + 8]
vmovss dword [ebp - 0x3460], xmm0
call fcn.1001c690
mov ecx, ebx
mov esi, eax
call fcn.1001c5f0
vmovss xmm0, dword [esi + 8]
mov esi, dword [0x10115020]
mov ecx, esi
vaddss xmm0, xmm0, dword [eax + 8]
vmulss xmm0, xmm0, dword [0x100ffc68]
vaddss xmm0, xmm0, dword [ebp - 0x3460]
vmovss dword [ebp - 0x3490], xmm0
call fcn.1001c730
mov ecx, esi
mov edi, eax
call fcn.1001ca20
vmovss xmm0, dword [edi]
push 0x4600400b
vaddss xmm2, xmm0, dword [eax]
vmovss xmm0, dword [edi + 4]
vaddss xmm1, xmm0, dword [eax + 4]
vmovss xmm0, dword [edi + 8]
vaddss xmm0, xmm0, dword [eax + 8]
lea eax, [ebp - 0x3498]
push eax
lea eax, [ebp - 0x34a4]
push eax
push ebx
push dword [0x10115020]
vmovss dword [ebp - 0x34a4], xmm2
vmovss dword [ebp - 0x34a0], xmm1
vmovss dword [ebp - 0x349c], xmm0
call fcn.100d1e90
test al, al
je 0x10049e44
vmovss xmm0, dword [0x100fff30]
mov edi, ebx
mov ecx, ebx
vmovss dword [ebp - 0x3444], xmm0
mov dword [ebp - 0x3454], edi
call fcn.1001c730
mov ecx, ebx
vmovss xmm0, dword [eax]
vmovss dword [ebp - 0x3448], xmm0
vmovss xmm0, dword [eax + 4]
vmovss dword [ebp - 0x344c], xmm0
vmovss xmm0, dword [eax + 8]
vmovss dword [ebp - 0x3460], xmm0
call fcn.1001c690
mov ecx, ebx
mov esi, eax
call fcn.1001c5f0
vmovss xmm0, dword [esi + 8]
vaddss xmm0, xmm0, dword [eax + 8]
vmulss xmm0, xmm0, dword [0x100ffc68]
vaddss xmm0, xmm0, dword [ebp - 0x3460]
jmp 0x1004963c
mov edi, dword [ebp - 0x3454]
jmp 0x10049644
mov edi, dword [ebp - 0x3454]
jmp 0x1004964a
mov eax, dword [0x1011684c]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x14], 0
je 0x10049e79
mov eax, dword [0x1011681c]
mov eax, dword [eax + 0x8c]
mov byte [eax], 1
mov edi, ebx
vmovaps xmm0, xmm1
mov dword [ebp - 0x3454], edi
vmovss dword [ebp - 0x3444], xmm0
vmovss dword [ebp - 0x3450], xmm2
vmovss dword [ebp - 0x344c], xmm3
vmovss dword [ebp - 0x3448], xmm4
jmp case.default.0x10049992
mov eax, dword [0x1011684c]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x11], 0
je 0x10049e79
mov eax, dword [0x1011681c]
mov edi, ebx
vmovaps xmm0, xmm1
mov dword [ebp - 0x3454], edi
vmovss dword [ebp - 0x3444], xmm0
mov eax, dword [eax + 0x8c]
vmovss dword [ebp - 0x3450], xmm2
vmovss dword [ebp - 0x344c], xmm3
vmovss dword [ebp - 0x3448], xmm4
mov byte [eax], 1
jmp case.default.0x10049992
mov eax, dword [0x1011684c]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x12], 0
je 0x10049e79
mov eax, dword [0x1011681c]
mov edi, ebx
vmovaps xmm0, xmm1
mov dword [ebp - 0x3454], edi
vmovss dword [ebp - 0x3444], xmm0
mov eax, dword [eax + 0x8c]
vmovss dword [ebp - 0x3450], xmm2
vmovss dword [ebp - 0x344c], xmm3
vmovss dword [ebp - 0x3448], xmm4
mov byte [eax], 1
jmp case.default.0x10049992
mov eax, dword [0x1011684c]
mov edi, ebx
vmovaps xmm0, xmm1
mov dword [ebp - 0x3454], edi
vmovss dword [ebp - 0x3444], xmm0
mov eax, dword [eax + 0x14]
vmovss dword [ebp - 0x3450], xmm2
vmovss dword [ebp - 0x344c], xmm3
vmovss dword [ebp - 0x3448], xmm4
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x13], 0
je case.default.0x10049992
jmp 0x10049e6b
vmovss xmm0, dword [ebp - 0x3444]
vmovss dword [ebp - 0x3444], xmm0
vmovss xmm0, dword [ebp - 0x3450]
vmovss dword [ebp - 0x3450], xmm0
vmovss xmm0, dword [ebp - 0x344c]
vmovss dword [ebp - 0x344c], xmm0
vmovss xmm0, dword [ebp - 0x3448]
mov dword [ebp - 0x3454], edi
vmovss dword [ebp - 0x3448], xmm0
vmovss xmm0, dword [ebp - 0x3444]
mov ebx, dword [ebp - 0x3470]
push ebx
vmovss dword [ebp - 0x3464], xmm0
mov dword [ebp - 0x346c], edi
or dword [ebx + 0x24], 1
call fcn.100d32f0
test al, al
je 0x1004a1fd
mov eax, dword [0x1011681c]
vmovss xmm0, dword [ebp - 0x3448]
mov esi, dword [0x10115020]
mov ecx, esi
vmovss dword [eax + 0x58], xmm0
vmovss xmm0, dword [ebp - 0x344c]
vmovss dword [eax + 0x5c], xmm0
vmovss xmm0, dword [ebp - 0x3450]
vmovss dword [eax + 0x60], xmm0
call fcn.1001c730
mov ecx, esi
mov edi, eax
call fcn.1001ca20
vmovss xmm0, dword [edi]
vaddss xmm0, xmm0, dword [eax]
vsubss xmm2, xmm0, dword [ebp - 0x3448]
vmovss xmm0, dword [edi + 4]
vaddss xmm0, xmm0, dword [eax + 4]
vsubss xmm1, xmm0, dword [ebp - 0x344c]
vmovss xmm0, dword [edi + 8]
vaddss xmm0, xmm0, dword [eax + 8]
vsubss xmm0, xmm0, dword [ebp - 0x3450]
vmovss dword [ebp - 0x3470], xmm0
vmovss dword [ebp - 0x3460], xmm1
vmulss xmm1, xmm1, xmm1
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vcvtss2sd xmm0, xmm0, xmm0
vxorpd xmm1, xmm1, xmm1
vucomisd xmm1, xmm0
vmovss dword [ebp - 0x3468], xmm2
ja 0x1004a0b2
vsqrtsd xmm0, xmm0, xmm0
jmp 0x1004a0b7
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
vmovss xmm1, dword [ebp - 0x3470]
vcvtsd2ss xmm0, xmm0, xmm0
vdivss xmm0, xmm1, xmm0
vcvtss2sd xmm0, xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
vcvtsd2ss xmm0, xmm0, xmm0
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm0, qword [0x100ffd10]
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [ebp - 0x3470], xmm0
vmovss xmm0, dword [ebp - 0x3460]
vdivss xmm0, xmm0, dword [ebp - 0x3468]
vcvtss2sd xmm0, xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
vcvtsd2ss xmm0, xmm0, xmm0
vcvtss2sd xmm0, xmm0, xmm0
vmulsd xmm0, xmm0, qword [0x100ffd10]
vcvtsd2ss xmm2, xmm0, xmm0
vmovss xmm0, dword [ebp - 0x3468]
vxorps xmm1, xmm1, xmm1
vcomiss xmm0, xmm1
jb 0x1004a133
vaddss xmm2, xmm2, dword [0x100ffe2c]
mov esi, dword [ebp - 0x3454]
vmovss xmm0, dword [ebp - 0x3470]
vmovss dword [ebx + 0xc], xmm0
vmovss dword [ebx + 0x10], xmm2
lea edi, [esi + 8]
vmovss dword [ebx + 0x14], xmm1
test edi, edi
je 0x1004a1fd
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1004a1be
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x1004a1be
vmovss xmm0, dword [ebp - 0x3464]
mov esi, dword [ebp - 0x346c]
mov ecx, esi
vmovss dword [ebp - 0x3444], xmm0
call fcn.100d8780
test al, al
jne 0x1004a1be
mov eax, dword [0x10115044]
vmovss xmm0, dword [ebp - 0x3464]
vdivss xmm0, xmm0, dword [eax + 0x1c]
vaddss xmm0, xmm0, dword [0x100ffc68]
vcvttss2si eax, xmm0
mov dword [ebx + 8], eax
jmp 0x1004a1fd
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1004a1fd
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x1004a1fd
vmovss xmm0, dword [ebp - 0x3444]
vcomiss xmm0, dword [0x100fff30]
jbe 0x1004a1fd
push esi
lea eax, [ebp - 0x3440]
push eax
push ebx
call fcn.10040d10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e03a1
mov esp, ebp
pop ebp
ret 4