Function at 0x10049290
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e48c5
mov eax, dword fs:[0]
push eax
mov eax, 0x3498
call fcn.100e1520
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 [0x10115000]
mov eax, dword [ebp + 8]
mov ebx, dword [0x101168e8]
mov dword [ebp - 0x3470], eax
test edi, edi
je 0x1004a1fd
cmp dword [0x10114f80], 0
je 0x1004a1fd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10114f34]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10114fd0]
mov dword [ebp - 0x345c], esi
cmp eax, dword [esi + 4]
jle 0x10049353
push 0x10114fd0
call fcn.100e0745
add esp, 4
cmp dword [0x10114fd0], 0xffffffff
jne 0x10049353
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100df900
push 0x10114fd0
mov dword [0x10114f90], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
mov eax, dword [0x10114f90]
cmp byte [edi + eax], 0
jne 0x1004a1fd
mov eax, dword [0x10116830]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0
je 0x1004a1fd
mov ecx, dword [0x10114f80]
test ecx, ecx
je 0x1004a1fd
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
jne 0x1004a1fd
mov eax, dword [0x10116830]
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x1004a1fd
mov eax, dword [0x10116800]
mov ecx, ebx
vxorps xmm0, xmm0, xmm0
vmovss dword [eax + 0x58], xmm0
vmovss dword [eax + 0x5c], xmm0
vmovss dword [eax + 0x60], xmm0
call fcn.10048460
mov ecx, dword [ebx]
cmp ecx, dword [ebx + 4]
je 0x1004a1fd
mov eax, dword [0x10116800]
mov ecx, dword [ecx + 4]
mov dword [eax + 0x44], ecx
mov eax, dword [0x10116830]
mov eax, dword [eax + 4]
mov eax, dword [eax]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10049436
cmp dword [0x101151a8], 0
jne 0x10049414
push str.Team_Fortress_2
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x101151a8], eax
jmp 0x10049436
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x101151a8]
jne 0x10049436
mov ecx, dword [0x10115018]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
je 0x1004944b
mov eax, dword [0x10116830]
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.100426b0
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 dword [eax]
nop dword [eax + eax]
mov ebx, dword [eax + 4]
mov eax, dword [0x10114fd0]
cmp eax, dword [esi + 4]
jle 0x1004951b
push 0x10114fd0
call fcn.100e0745
add esp, 4
cmp dword [0x10114fd0], 0xffffffff
jne 0x10049515
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 1
call fcn.100df900
push 0x10114fd0
mov dword [0x10114f90], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
mov ecx, dword [ebp - 0x3458]
mov eax, dword [0x10114f90]
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.100d8600
test al, al
jne 0x10049999
mov ecx, dword [ebp - 0x345c]
mov eax, dword [0x10114fa8]
cmp eax, dword [ecx + 4]
jle 0x100495cb
push 0x10114fa8
call fcn.100e0745
add esp, 4
cmp dword [0x10114fa8], 0xffffffff
jne 0x100495cb
push str.m_flSimulationTime
push str.CBaseEntity
mov dword [ebp - 4], 2
call fcn.100df900
push 0x10114fa8
mov dword [0x10114fa4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
mov eax, dword [0x10114fa4]
mov edi, ebx
mov ecx, ebx
mov dword [ebp - 0x3454], edi
vmovss xmm0, dword [eax + ebx]
vmovss dword [ebp - 0x3444], xmm0
call fcn.1001c7a0
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.1001c700
mov ecx, ebx
mov esi, eax
call fcn.1001c660
vmovss xmm0, dword [eax + 8]
vaddss xmm0, xmm0, dword [esi + 8]
vmulss xmm0, xmm0, dword [0x100ffbb8]
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 [0x10114fd0]
cmp eax, dword [esi + 4]
jle 0x100496c1
push 0x10114fd0
call fcn.100e0745
add esp, 4
cmp dword [0x10114fd0], 0xffffffff
jne 0x100496c1
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 5
call fcn.100df900
push 0x10114fd0
mov dword [0x10114f90], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
mov eax, dword [0x10114f90]
cmp byte [edi + eax], 0
jne 0x1004a1fd
mov eax, dword [0x10116830]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x10], 0
je 0x1004975d
mov eax, dword [0x1011501c]
mov ebx, dword [0x10115000]
cmp eax, dword [esi + 4]
jle 0x10049739
push 0x1011501c
call fcn.100e0745
add esp, 4
cmp dword [0x1011501c], 0xffffffff
jne 0x10049739
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 6
call fcn.100df900
push 0x1011501c
mov dword [0x1011500c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
mov eax, dword [0x1011500c]
cmp dword [ebx + eax], 8
je 0x1004975d
mov ecx, edi
call fcn.100d8600
test al, al
je 0x1004975d
mov eax, dword [0x10116800]
mov eax, dword [eax + 0x8c]
mov byte [eax], 1
mov eax, dword [0x10116830]
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 [0x10115000]
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 [0x1011501c]
vmovss dword [ebp - 0x3458], xmm1
vmovss dword [ebp - 0x345c], xmm0
cmp eax, dword [esi + 4]
jle 0x10049851
push 0x1011501c
call fcn.100e0745
add esp, 4
cmp dword [0x1011501c], 0xffffffff
jne 0x10049849
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 7
call fcn.100df900
push 0x1011501c
mov dword [0x1011500c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
vmovss xmm1, dword [ebp - 0x3458]
mov eax, dword [0x1011500c]
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.100d8600
test al, al
je 0x10049fd6
mov ecx, dword [ebp - 0x346c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x10114f7c]
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.10023050
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.10042ae0
mov eax, 0x1a14
call fcn.100e1520
lea eax, [ebp - 0x1a28]
mov ecx, esp
push eax
call fcn.10042970
call fcn.10040b50
test al, al
je 0x10049644
mov esi, dword [0x10115000]
mov ecx, esi
call fcn.1001c7a0
mov ecx, esi
mov edi, eax
call fcn.1001ca90
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 [0x10115000]
vmovss dword [ebp - 0x348c], xmm2
vmovss dword [ebp - 0x3488], xmm1
vmovss dword [ebp - 0x3484], xmm0
call fcn.100d1d40
mov esi, dword [ebp - 0x345c]
test al, al
je 0x10049e4f
mov eax, dword [0x1011501c]
mov edi, dword [0x10115000]
cmp eax, dword [esi + 4]
jle 0x10049aa3
push 0x1011501c
call fcn.100e0745
add esp, 4
cmp dword [0x1011501c], 0xffffffff
jne 0x10049aa3
push str.m_iClass
push str.CTFPlayer
mov dword [ebp - 4], 3
call fcn.100df900
push 0x1011501c
mov dword [0x1011500c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
mov eax, dword [0x1011500c]
cmp dword [edi + eax], 8
jne 0x10049cb5
mov eax, dword [0x10114fdc]
cmp eax, dword [esi + 4]
jle 0x10049b04
push 0x10114fdc
call fcn.100e0745
add esp, 4
cmp dword [0x10114fdc], 0xffffffff
jne 0x10049b04
push str.m_angEyeAngles_0_
push str.CTFPlayer
mov dword [ebp - 4], 4
call fcn.100df900
push 0x10114fdc
mov dword [0x10114f54], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e06f4
add esp, 4
mov eax, dword [0x10114f54]
mov esi, dword [0x10115000]
add eax, ebx
mov ecx, esi
mov dword [ebp - 0x3460], eax
call fcn.1001c7a0
mov ecx, esi
mov edi, eax
call fcn.1001ca90
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 [0x100ffc60]
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 [0x100ffc60]
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 [0x100ffd7c]
vmovss dword [ebp - 0x347c], xmm0
mov esi, dword [0x10115000]
mov ecx, esi
call fcn.1001c7a0
mov ecx, esi
mov edi, eax
call fcn.1001ca90
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.10020220
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.1001c7a0
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.1001c700
mov ecx, ebx
mov esi, eax
call fcn.1001c660
vmovss xmm0, dword [esi + 8]
mov esi, dword [0x10115000]
mov ecx, esi
vaddss xmm0, xmm0, dword [eax + 8]
vmulss xmm0, xmm0, dword [0x100ffbb8]
vaddss xmm0, xmm0, dword [ebp - 0x3460]
vmovss dword [ebp - 0x3490], xmm0
call fcn.1001c7a0
mov ecx, esi
mov edi, eax
call fcn.1001ca90
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 [0x10115000]
vmovss dword [ebp - 0x34a4], xmm2
vmovss dword [ebp - 0x34a0], xmm1
vmovss dword [ebp - 0x349c], xmm0
call fcn.100d1d40
test al, al
je 0x10049e44
vmovss xmm0, dword [0x100ffe80]
mov edi, ebx
mov ecx, ebx
vmovss dword [ebp - 0x3444], xmm0
mov dword [ebp - 0x3454], edi
call fcn.1001c7a0
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.1001c700
mov ecx, ebx
mov esi, eax
call fcn.1001c660
vmovss xmm0, dword [esi + 8]
vaddss xmm0, xmm0, dword [eax + 8]
vmulss xmm0, xmm0, dword [0x100ffbb8]
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 [0x10116830]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x14], 0
je 0x10049e79
mov eax, dword [0x10116800]
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 [0x10116830]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x11], 0
je 0x10049e79
mov eax, dword [0x10116800]
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 [0x10116830]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x12], 0
je 0x10049e79
mov eax, dword [0x10116800]
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 [0x10116830]
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.100d3190
test al, al
je 0x1004a1fd
mov eax, dword [0x10116800]
vmovss xmm0, dword [ebp - 0x3448]
mov esi, dword [0x10115000]
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.1001c7a0
mov ecx, esi
mov edi, eax
call fcn.1001ca90
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 [0x100ffc60]
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 [0x100ffc60]
vcvtsd2ss xmm2, xmm0, xmm0
vmovss xmm0, dword [ebp - 0x3468]
vxorps xmm1, xmm1, xmm1
vcomiss xmm0, xmm1
jb 0x1004a133
vaddss xmm2, xmm2, dword [0x100ffd7c]
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.100d8600
test al, al
jne 0x1004a1be
mov eax, dword [0x10115024]
vmovss xmm0, dword [ebp - 0x3464]
vdivss xmm0, xmm0, dword [eax + 0x1c]
vaddss xmm0, xmm0, dword [0x100ffbb8]
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 [0x100ffe80]
jbe 0x1004a1fd
push esi
lea eax, [ebp - 0x3440]
push eax
push ebx
call fcn.10040cd0
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.100e01f7
mov esp, ebp
pop ebp
ret 4