Function at 0x10056658
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x130
push str.renderPlayerInfoList__
call fcn.1005d66e
pop ecx
call fcn.1002bb2c
test eax, eax
jne 0x10056ad6
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 9
call esi
test ax, ax
jns 0x10056693
cmp dword [0x103d9454], 0
jne 0x10056ad5
mov eax, dword [0x103f5c2c]
push ebp
xor ebp, ebp
cmp dword [eax], ebp
jne 0x10056ad4
push 0x70
call esi
test ax, ax
js 0x10056ad4
push 0x74
call esi
test ax, ax
js 0x10056ad4
push 0x79
call esi
test ax, ax
js 0x10056ad4
mov eax, dword [0x101639c4]
cmp dword [eax + 0xb9cb], ebp
jne 0x10056ad4
cmp dword [0x103f5c14], ebp
jne 0x100566ef
cmp dword [0x103f5c18], ebp
je 0x10056ad4
push ebp
push 0xffffffffffffffff
call fcn.1002b78d
mov dword [esp + 0x18], eax
pop ecx
pop ecx
test eax, eax
je 0x10056ad4
mov ecx, dword [0x103fd878]
shr ecx, 2
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x10089fb0]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x100944d0]
movss dword [esp + 8], xmm0
call fcn.10041cbb
mov esi, eax
cmp esi, 1
jne 0x10056772
movss xmm0, dword [esp + 0xc]
push str.There_are_no_more_players_but_you
push 0xffffffffffffffff
push ecx
push ecx
mov ecx, dword [0x103fd9e0]
mov dword [esp + 4], 0x41a00000
movss dword [esp], xmm0
call fcn.10044636
jmp 0x10056ad4
mov eax, dword [0x103fd87c]
push ebx
push edi
mov ebx, ebp
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10089fb0]
mov eax, dword [0x103fd9e0]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [eax + 0xe45]
addss xmm0, dword [0x10089f34]
divss xmm1, xmm0
cvttss2si edi, xmm1
sub edi, 2
cmp esi, edi
jle 0x10056940
push 0x22
call fcn.1003fab1
pop ecx
test eax, eax
je 0x100567ef
mov eax, dword [0x10403218]
sub esi, edi
add eax, edi
mov dword [0x10403218], eax
cmp eax, esi
jle 0x100567e1
lea eax, [esi + 1]
mov dword [0x10403218], eax
push eax
call fcn.10041c7c
pop ecx
mov esi, eax
jmp 0x10056948
push 0x21
call fcn.1003fab1
pop ecx
test eax, eax
je 0x10056935
mov eax, dword [0x10403218]
sub eax, edi
mov dword [0x10403218], eax
jns 0x100567e1
mov dword [0x10403218], ebp
mov esi, ebp
mov dword [0x1040321c], ebp
mov eax, dword [0x103f5c14]
cmp dword [eax + esi*4 + 0xfd6], 1
jne 0x10056ac5
inc ebx
mov dword [esp + 0x30], ebx
cmp ebx, edi
jge 0x10056ad2
mov eax, dword [eax + esi*4 + 0x26]
mov eax, dword [eax + 8]
test eax, eax
je 0x10056a56
cmp dword [eax + 4], ebp
je 0x10056a56
lea eax, [esp + 0x34]
push eax
push esi
call fcn.10041d24
pop ecx
pop ecx
test eax, eax
je 0x10056ac5
push 0xff000000
push esi
call fcn.100426c5
push esi
mov ebx, eax
call fcn.10041ceb
mov ecx, dword [0x103f5c14]
mov ebp, eax
add esp, 0xc
mov ecx, dword [ecx + esi*4 + 0x26]
mov ecx, dword [ecx + 8]
movzx edx, word [ecx + 2]
mov dword [esp + 0x1c], edx
cvttss2si eax, dword [ecx + 0x1b0]
mov dword [esp + 0x2c], eax
cvttss2si eax, dword [ecx + 0x1ac]
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x100568f4
cmp dword [ecx + 8], 0
je 0x100568f4
mov eax, dword [0x103f5c18]
mov eax, dword [eax + edx*4 + 0x1134]
mov eax, dword [eax + 0x4c]
movzx eax, word [eax + 0x22]
push eax
call fcn.1002bbbd
pop ecx
mov ecx, dword [0x103f5c14]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + esi*4 + 0x26]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 0x4c]
cvttss2si eax, dword [ecx + 0x4c0]
mov dword [esp + 0x24], eax
push esi
call fcn.10041e23
pop ecx
sub eax, 0
je 0x10056a0b
sub eax, 0x11
je 0x100569e2
sub eax, 1
je 0x100569a4
sub eax, 1
je 0x1005695f
sub eax, 0xd
je 0x10056953
sub eax, 1
jne 0x10056a4e
push esi
push ebp
push str.Name:__s__ID:__d___State:_Spawned
jmp 0x10056a12
mov esi, dword [0x1040321c]
jmp 0x10056ac6
mov dword [0x10403218], ebp
mov esi, ebp
mov dword [0x1040321c], esi
jmp 0x10056ac6
push esi
push ebp
push str.Name:__s__ID:__d___State:_Wasted
jmp 0x10056a12
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1004027b
mov eax, dword [esp + 0x28]
fstp qword [esp]
push dword [esp + 0x2c]
push dword [esp + 0x28]
push dword [eax + 8]
lea eax, [esp + 0x54]
push esi
push ebp
push str.Name:__s__ID:__d___State:_Driver___s___d____VHealth:__d__Distance:__0.2f
push 0xff
push eax
call fcn.100449ae
add esp, 0x28
jmp 0x10056a24
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1004027b
mov eax, dword [esp + 0x28]
fstp qword [esp]
push dword [esp + 0x24]
push dword [eax + 8]
push esi
push ebp
push str.Name:__s__ID:__d___State:_Passenger___s___d____Distance:__0.2f
lea eax, [esp + 0x5c]
push 0xff
push eax
call fcn.100449ae
add esp, 0x24
jmp 0x10056a24
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1004027b
fstp qword [esp]
push dword [esp + 0x30]
push dword [esp + 0x38]
push esi
push ebp
push str.Name:__s__ID:__d___State:_On_foot__Health:__d__Armor:__d__Distance:__0.2f
jmp 0x100569ce
push esi
push ebp
push str.Name:__s__ID:__d___State:_None
lea eax, [esp + 0x4c]
push 0xff
push eax
call fcn.100449ae
add esp, 0x14
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
push ebx
push ecx
push ecx
mov ecx, dword [0x103fd9e0]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp], xmm0
call fcn.10044636
mov ebx, dword [esp + 0x30]
xor ebp, ebp
jmp 0x10056aa4
push esi
push esi
call fcn.10041ceb
pop ecx
push eax
push str.Name:__s__ID:__d___not_streamed_in
lea eax, [esp + 0x4c]
push 0xff
push eax
call fcn.100449ae
movss xmm0, dword [esp + 0x24]
lea eax, [esp + 0x54]
add esp, 0x14
push eax
push 0xffdfdfdf
push ecx
push ecx
mov ecx, dword [0x103fd9e0]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp], xmm0
call fcn.10044636
mov eax, dword [0x103fd9e0]
movss xmm0, dword [eax + 0xe45]
addss xmm0, dword [0x10089f34]
addss xmm0, dword [esp + 0x10]
movss dword [esp + 0x10], xmm0
inc esi
cmp esi, 0x3ec
jl 0x1005681b
pop edi
pop ebx
pop ebp
pop esi
add esp, 0x130
ret