Function at 0x1005a08e
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x210
push str.renderScoreList__
call fcn.1005b868
cmp dword [0x1015618c], 0
pop ecx
je 0x1005a7b6
push 0x79
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1005a7b6
cmp dword [0x101399df], 0
je 0x1005a7b6
mov eax, dword [0x10120040]
push edi
xor edi, edi
cmp dword [eax + 0x1293a], edi
je 0x1005a0fc
cmp dword [0x1016a950], edi
je 0x1005a7b5
push edi
call fcn.10040e42
neg eax
pop ecx
sbb eax, eax
inc eax
mov dword [0x1016a950], eax
jmp 0x1005a7b5
push ebx
xor ebx, ebx
inc ebx
push ebx
call fcn.10040e42
mov eax, dword [0x101561a0]
pop ecx
mov dword [0x1016a950], ebx
cmp dword [eax], edi
je 0x1005a11b
call fcn.1004115b
push 9
call fcn.1003f04d
pop ecx
test eax, eax
je 0x1005a7b4
mov eax, dword [0x10156194]
push ebp
push esi
mov dword [eax + 8], edi
call fcn.100411cd
call fcn.10040591
mov esi, dword [0x101650d0]
mov ebp, eax
movss xmm0, dword [0x10096f0c]
mov ecx, esi
mov eax, dword [0x10165124]
movss dword [esp + 0x14], xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
movss xmm2, dword [eax + 0xe45]
addsd xmm0, qword [ecx*8 + 0x10083210]
addss xmm2, dword [0x100831fc]
mov eax, dword [0x101650cc]
movss xmm1, dword [0x100868ec]
shr eax, 2
cvtpd2ps xmm3, xmm0
movss dword [esp + 0x10], xmm1
movaps xmm0, xmm3
subss xmm0, dword [0x10096f30]
divss xmm0, xmm2
cvttss2si ebx, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
sub ebx, 2
addsd xmm0, qword [eax*8 + 0x10083210]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
cmp ebp, ebx
jge 0x1005a247
mov eax, ebx
mov dword [0x1016a954], edi
cdq
sub eax, edx
mov dword [0x1016a958], edi
sar eax, 1
cmp ebp, eax
jge 0x1005a22b
shr esi, 2
lea eax, [ebp + 2]
movaps xmm1, xmm3
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x10083210]
cvtpd2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esp + 0x10], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm1, xmm0
movss dword [esp + 0x14], xmm1
jmp 0x1005a2a5
mov eax, ebx
sub eax, ebp
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x10], xmm1
jmp 0x1005a2a5
jle 0x1005a29f
push 0x22
call fcn.1003f06c
pop ecx
test eax, eax
je 0x1005a27f
mov eax, dword [0x1016a954]
mov ecx, ebp
add eax, ebx
sub ecx, ebx
mov dword [0x1016a954], eax
cmp eax, ecx
jle 0x1005a271
lea eax, [ecx + 1]
mov dword [0x1016a954], eax
push eax
call fcn.10040552
pop ecx
mov dword [0x1016a958], eax
jmp 0x1005a2a5
push 0x21
call fcn.1003f06c
pop ecx
test eax, eax
je 0x1005a2a5
mov eax, dword [0x1016a954]
sub eax, ebx
mov dword [0x1016a954], eax
jns 0x1005a271
mov dword [0x1016a958], edi
mov dword [0x1016a954], edi
mov eax, dword [0x10165124]
movss xmm3, dword [esp + 0x10]
movss xmm2, dword [esp + 0x1c]
subss xmm2, dword [0x10091eec]
movss xmm1, dword [eax + 0xe45]
mov eax, dword [0x101650cc]
movaps xmm0, xmm1
addss xmm0, dword [0x100831fc]
addss xmm1, dword [0x1008ef6c]
shr eax, 1
push 0x96c8c8c8
sub esp, 0x10
mov ecx, dword [0x1016511c]
subss xmm3, xmm0
movss dword [esp + 0x2c], xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movss dword [esp + 0xc], xmm1
addsd xmm0, qword [eax*8 + 0x10083210]
movss dword [esp + 0x24], xmm3
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [0x10089608]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1004172e
mov ecx, dword [0x10156188]
mov esi, 0x1ff
push ebp
push dword [ecx + 0x235]
lea eax, [ecx + 0x30]
push eax
lea eax, [ecx + 0x131]
push eax
push str._s___s:_d__Connected_Players:__d
lea eax, [esp + 0x34]
push esi
push eax
call fcn.1004323e
movss xmm0, dword [esp + 0x2c]
lea eax, [esp + 0x3c]
add esp, 0x1c
push eax
push 0xc8ffffff
push ecx
push ecx
mov ecx, dword [0x10165124]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp], xmm0
call fcn.10042e87
mov eax, dword [0x10165124]
push 0x96646464
sub esp, 0x10
movss xmm2, dword [eax + 0xe45]
mov eax, dword [0x101650d0]
addss xmm2, dword [0x10091eec]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addss xmm2, dword [esp + 0x24]
addsd xmm0, qword [eax*8 + 0x10083210]
mov eax, dword [0x101650cc]
shr eax, 1
movss dword [esp + 0x24], xmm2
cvtpd2ps xmm0, xmm0
subss xmm0, xmm2
subss xmm0, dword [esp + 0x28]
movss dword [esp + 0xc], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10083210]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [0x10091eec]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x2c]
mov ecx, dword [0x1016511c]
movss dword [esp], xmm0
call fcn.1004172e
mov eax, dword [0x1015618c]
movzx eax, word [eax]
push eax
push eax
call fcn.100405c1
pop ecx
push eax
push 0x10095324
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.1004323e
add esp, 0x14
lea eax, [esp + 0x20]
mov ebp, 0xff000000
push eax
mov eax, dword [0x1015618c]
push ebp
movzx eax, word [eax]
push eax
call fcn.10040f0d
movss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x28]
pop ecx
pop ecx
push eax
push ecx
push ecx
mov ecx, dword [0x10165124]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.10042e87
mov eax, dword [0x101650cc]
shr eax, 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10083210]
mov eax, dword [0x1015618c]
push dword [eax + 0x2f3a]
cvtpd2ps xmm0, xmm0
push 0x10082c28
lea eax, [esp + 0x28]
push esi
push eax
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x24], xmm0
call fcn.1004323e
add esp, 0x10
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x1015618c]
push ebp
movzx eax, word [eax]
push eax
call fcn.10040f0d
movss xmm0, dword [esp + 0x1c]
pop ecx
pop ecx
push eax
push ecx
push ecx
mov ecx, dword [0x10165124]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp], xmm0
call fcn.10042e87
mov eax, dword [0x101650cc]
shr eax, 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10083210]
mov eax, dword [0x1015618c]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [esp + 0x14]
subss xmm0, dword [0x10096f04]
movss dword [esp + 0x18], xmm0
push dword [eax + 0x2f36]
lea eax, [esp + 0x24]
push 0x10082c28
push esi
push eax
call fcn.1004323e
add esp, 0x10
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x1015618c]
push ebp
movzx eax, word [eax]
push eax
call fcn.10040f0d
movss xmm0, dword [esp + 0x1c]
pop ecx
pop ecx
push eax
push ecx
push ecx
mov ecx, dword [0x10165124]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp], xmm0
call fcn.10042e87
mov ebp, dword [0x1016a958]
cmp ebp, 0x3ec
jge 0x1005a7b2
mov ecx, dword [0x1015618c]
movzx eax, word [ecx]
cmp eax, ebp
je 0x1005a7a5
mov esi, dword [ecx + ebp*4 + 0x26]
test esi, esi
je 0x1005a7a5
mov eax, dword [0x101650cc]
inc edi
shr eax, 2
mov esi, dword [esi + 4]
push ebp
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10083210]
mov eax, dword [0x10165124]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + 0xe45]
addss xmm0, dword [0x100831fc]
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x14], xmm0
call fcn.100405c1
push ebp
push eax
cmp esi, 1
mov ecx, str._BOT__s___d_
mov eax, 0x10095324
mov esi, 0x1ff
cmove eax, ecx
push eax
lea eax, [esp + 0x30]
push esi
push eax
call fcn.1004323e
add esp, 0x18
lea eax, [esp + 0x20]
push eax
push 0xff000000
push ebp
call fcn.10040f0d
movss xmm0, dword [esp + 0x1c]
pop ecx
pop ecx
push eax
push ecx
push ecx
mov ecx, dword [0x10165124]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp], xmm0
call fcn.10042e87
mov eax, dword [0x101650cc]
shr eax, 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10083210]
mov eax, dword [0x1015618c]
mov eax, dword [eax + ebp*4 + 0x26]
cvtpd2ps xmm0, xmm0
push dword [eax]
addss xmm0, dword [esp + 0x18]
push 0x10082c28
lea eax, [esp + 0x28]
push esi
push eax
movss dword [esp + 0x24], xmm0
call fcn.1004323e
add esp, 0x10
lea eax, [esp + 0x20]
push eax
push 0xff000000
push ebp
call fcn.10040f0d
movss xmm0, dword [esp + 0x1c]
pop ecx
pop ecx
push eax
push ecx
push ecx
mov ecx, dword [0x10165124]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp], xmm0
call fcn.10042e87
mov eax, dword [0x101650cc]
shr eax, 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10083210]
mov eax, dword [0x1015618c]
mov eax, dword [eax + ebp*4 + 0x26]
cvtpd2ps xmm0, xmm0
push dword [eax + 0xc]
addss xmm0, dword [esp + 0x18]
push 0x10082c28
lea eax, [esp + 0x28]
push esi
push eax
subss xmm0, dword [0x10096f04]
movss dword [esp + 0x28], xmm0
call fcn.1004323e
add esp, 0x10
lea eax, [esp + 0x20]
push eax
push 0xff000000
push ebp
call fcn.10040f0d
movss xmm0, dword [esp + 0x1c]
pop ecx
pop ecx
push eax
push ecx
push ecx
mov ecx, dword [0x10165124]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp], xmm0
call fcn.10042e87
cmp edi, ebx
jge 0x1005a7b2
mov ecx, dword [0x1015618c]
inc ebp
cmp ebp, 0x3ec
jl 0x1005a5cb
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x210
ret