Function at 0x1004a55f
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x1015448c]
sub esp, 0x6c
cmp byte [eax + 0x2d39], 0
je 0x1004a938
cmp dword [eax + 0x5e8c0], 0
jne 0x1004a938
call fcn.1002abaa
test eax, eax
jne 0x1004a938
call fcn.1002abaa
test eax, eax
jne 0x1004a938
cmp dword [0x101ea7a8], eax
je 0x1004a938
cmp dword [0x101d5644], eax
je 0x1004a938
cmp dword [0x101d5648], eax
je 0x1004a938
mov eax, dword [0x1015448c]
cmp dword [eax + 0x5e8c0], 0
jne 0x1004a938
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 9
call esi
test ax, ax
jns 0x1004a5ee
cmp dword [0x101b8eaf], 0
jne 0x1004a937
mov eax, dword [0x101d565c]
cmp dword [eax], 0
jne 0x1004a937
push 0x79
call esi
test ax, ax
js 0x1004a937
cmp dword [0x101ea7bc], 0
je 0x1004a937
push dword [0x101ea7c4]
call fcn.1002ae4e
pop ecx
test eax, eax
jne 0x1004a937
mov eax, dword [0x101dd390]
mov ecx, dword [0x101eaa78]
add eax, 0xfffffdf8
push ebp
xor ebp, ebp
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1007c150]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101e95b0]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
cmp eax, dword [ecx + 4]
jg 0x1004a93c
push ebx
push edi
push 0x40
lea eax, [esp + 0x40]
push 0
push eax
call fcn.10054740
add esp, 0xc
mov ebx, 0xe800
xor esi, esi
mov eax, dword [0x101d5644]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x1c]
cmp dword [ebx + eax], 0
je 0x1004a7fa
cmp dword [esi + eax], 0
je 0x1004a7fa
movzx edi, word [esi + eax + 0x19]
mov eax, 0xffff
cmp di, ax
je 0x1004a7fa
cmp edi, 1
je 0x1004a7fa
mov eax, dword [0x101d5648]
cmp di, word [eax]
je 0x1004a7fa
push edi
call fcn.1003978d
pop ecx
test al, al
jne 0x1004a7fa
mov eax, edi
inc dword [eax*4 + 0x101e95b8]
cmp dword [eax*4 + 0x101e95b8], 0xa
jg 0x1004a718
push eax
push eax
call fcn.10040ad7
pop ecx
push eax
lea eax, [esp + 0x44]
push str.FF0000_s__d_
push eax
call fcn.1000a8cf
add esp, 0x10
mov eax, dword [0x101d5644]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x1c]
movzx eax, word [eax + esi + 0x19]
cmp dword [eax*4 + 0x101e95b8], 0x14
jl 0x1004a76b
push eax
push eax
call fcn.10040ad7
pop ecx
push eax
lea eax, [esp + 0x44]
push str.FFFFFF_s__d_
push eax
call fcn.1000a8cf
mov eax, dword [0x101d5644]
add esp, 0x10
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x1c]
movzx eax, word [eax + esi + 0x19]
and dword [eax*4 + 0x101e95b8], 0
mov eax, dword [0x101dd38c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1007c150]
lea eax, [esp + 0x3c]
push eax
push 0xff1e90ff
push ecx
mov ecx, dword [0x101dd3e8]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp], xmm0
push 0
push eax
call fcn.10041f23
movss xmm0, dword [esp + 0x20]
fstp dword [esp + 0x24]
subss xmm0, dword [esp + 0x24]
push ecx
mov ecx, dword [0x101dd3e8]
subss xmm0, dword [0x1008921c]
movss dword [esp], xmm0
call fcn.10043103
mov eax, dword [0x101dd3e8]
inc ebp
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [eax + 0xe45]
movss dword [esp + 0x10], xmm0
call fcn.10041495
add ebx, 4
add esi, 0x1d
cmp ebx, 0x10800
jl 0x1004a68f
test ebp, ebp
je 0x1004a934
mov eax, dword [0x101dd390]
add eax, 0xfffffddf
mov ecx, dword [0x101dd3d8]
push 0x6f000000
sub esp, 0x10
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [esp + 0xc], 0x432f0000
mov dword [esp + 8], 0x432a0000
addsd xmm0, qword [eax*8 + 0x1007c150]
mov eax, dword [0x101dd38c]
add eax, 0xffffff56
cvtpd2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1007c150]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.100419f6
push 8
pop ecx
xor eax, eax
lea edi, [esp + 0x1c]
push ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push str.Spectators_List___d_
push eax
call fcn.1000a8cf
mov eax, dword [0x101dd38c]
add esp, 0xc
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1007c150]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x101dd390]
add eax, 0xfffffde4
cvtpd2ps xmm0, xmm0
push 0xffffa500
push ecx
mov ecx, dword [0x101dd3dc]
movss dword [esp + 0x24], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1007c150]
lea eax, [esp + 0x28]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0
push eax
call fcn.10041f23
movss xmm0, dword [esp + 0x24]
fstp dword [esp + 0x20]
subss xmm0, dword [esp + 0x20]
push ecx
mov ecx, dword [0x101dd3dc]
subss xmm0, dword [0x100819d8]
movss dword [esp], xmm0
call fcn.10043103
pop edi
pop ebx
pop ebp
pop esi
add esp, 0x6c
ret
mov esi, 0x101e95b0
push esi
call fcn.100520e8
cmp dword [0x101e95b0], 0xffffffff
pop ecx
jne 0x1004a675
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov dword [0x101e95ac], eax
call fcn.1005209e
pop ecx
jmp 0x1004a675