Function at 0x1005a662
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x828
push ebp
push str.renderTextLabels__
call fcn.1005e70d
mov eax, dword [0x104034a8]
xor ebp, ebp
push ebp
push ebp
push 1
add eax, 0x754f1
push 0x1008e584
push eax
call fcn.1002d718
add esp, 0x18
call fcn.1002bb5c
test eax, eax
jne 0x1005a94c
cmp dword [0x103d9488], ebp
je 0x1005a94c
mov eax, dword [0x101639c4]
cmp dword [eax + 0xb9f9], ebp
jne 0x1005a94c
mov eax, dword [0x103f5c4c]
mov eax, dword [eax + 0x3de]
cmp dword [eax + 0x1c], ebp
je 0x1005a94c
cmp dword [0x103f5c54], ebp
je 0x1005a94c
cmp dword [0x103f5c50], ebp
je 0x1005a94c
push ebx
push ebp
push 0xffffffffffffffff
call fcn.1002b7bd
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x1005a94b
mov ecx, dword [0x104034a8]
push esi
push ebp
push ebp
push 1
add ecx, 0x754f1
push 0x1008e564
push ecx
call fcn.1002d718
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 0x14
push 9
call esi
test ax, ax
jns 0x1005a736
cmp dword [0x103d9484], ebp
jne 0x1005a94a
mov eax, dword [0x103f5c68]
cmp dword [eax], ebp
jne 0x1005a94a
push 0x79
call esi
test ax, ax
js 0x1005a94a
push edi
mov esi, ebp
mov edi, 0xe800
mov edx, 0xffff
mov eax, dword [0x103f5c4c]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x1c]
cmp dword [edi + eax], ebp
je 0x1005a937
cmp dword [esi + eax], ebp
je 0x1005a937
movzx ecx, word [esi + eax + 0x19]
cmp cx, dx
jne 0x1005a7c4
movzx ecx, word [esi + eax + 0x1b]
cmp cx, dx
jne 0x1005a7a8
add eax, 8
add eax, esi
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.10041386
pop ecx
pop ecx
jmp 0x1005a834
mov eax, dword [0x103f5c54]
mov eax, dword [eax + ecx*4 + 0x4fb4]
test eax, eax
je 0x1005a937
mov eax, dword [eax + 0x14]
add eax, 0x30
jmp 0x1005a796
mov eax, dword [0x103f5c50]
mov eax, dword [eax + ecx*4 + 0x26]
test eax, eax
je 0x1005a91a
mov eax, dword [eax + 8]
test eax, eax
je 0x1005a91a
mov eax, dword [eax + 4]
test eax, eax
je 0x1005a91a
mov eax, dword [eax + 0x2a4]
test eax, eax
je 0x1005a91a
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x10]
push ecx
add eax, 0x30
push eax
call fcn.10041386
movss xmm0, dword [esp + 0x20]
pop ecx
movss dword [esp], xmm0
call fcn.1004133c
pop ecx
test eax, eax
jne 0x1005a834
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x10088f28]
movss dword [esp + 0x18], xmm0
lea eax, [esp + 0x10]
push eax
call fcn.1004147c
pop ecx
test eax, eax
jne 0x1005a932
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x14]
push eax
call fcn.10041396
fstp dword [esp + 0x24]
movss xmm0, dword [esp + 0x24]
comiss xmm0, dword [0x103d948c]
pop ecx
pop ecx
ja 0x1005a932
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x2c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x14]
push eax
movss dword [esp + 0x28], xmm0
lea eax, [esp + 0x24]
movss xmm0, dword [esp + 0x1c]
push eax
movss dword [esp + 0x30], xmm0
call fcn.100030a8
movss xmm0, dword [0x10088f34]
comiss xmm0, dword [esp + 0x3c]
pop ecx
pop ecx
ja 0x1005a932
mov eax, dword [0x103f5c4c]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x1c]
push dword [eax + esi]
lea eax, [esp + 0x3c]
push 0x10087548
push 0x800
push eax
call fcn.10009073
movss xmm0, dword [esp + 0x40]
lea eax, [esp + 0x48]
add esp, 0x10
push eax
mov eax, dword [0x103f5c4c]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x1c]
push dword [eax + esi + 4]
push ecx
push ecx
mov ecx, dword [0x103fda14]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.100459dc
jmp 0x1005a932
mov eax, dword [0x101639c4]
push str.naber_kanks
mov byte [ecx + eax + 0x484], 1
call fcn.10042cc5
pop ecx
mov edx, 0xffff
add edi, 4
add esi, 0x1d
cmp edi, 0x10800
jl 0x1005a75d
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x828
ret