Function at 0x46a810
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1c11
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x64e2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x655918]
mov edx, dword [eax + edx*4]
mov eax, dword [0x6552b8]
cmp eax, dword [edx + 0x10]
jg 0x46aa8c
movss xmm0, dword [0x5f9624]
mov byte [0x654050], 1
mov dword [0x654040], 0x40a00000
movss xmm1, dword [ebx + 0x174]
comiss xmm0, xmm1
jb 0x46a897
movd xmm0, dword [ebx + 0x170]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ebx + 0x174], xmm1
movss xmm0, dword [0x5f9628]
comiss xmm0, xmm1
jb 0x46a8ae
mov dword [ebx + 0x174], 0x44f00000
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x46a996
cmp byte [ebx + 0x1dc], 0
jne 0x46a99d
cmp byte [ebx + 0xd5], 0
mov byte [ebx + 0x1dc], 1
je 0x46a93f
mov eax, dword [ebx + 0xe8]
cmp byte [eax + 0xf89], 0
jne 0x46a8f2
mov byte [eax + 0xf89], 1
call fcn.00436e40
push 0
sub esp, 8
mov ecx, esp
mov dword [ecx], str.Asset_Sounds_cancel.wav
mov dword [ecx + 4], 0x17
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.004710a0
lea ecx, [ebp - 0x18]
call fcn.0042fa90
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
push 0x168
push 0x280
mov byte [ebx + 0xd5], 0
call dword [sym.imp.USER32.dll_SetCursorPos]
jmp 0x46a99d
call fcn.00436e40
push 0
sub esp, 8
mov ecx, esp
mov dword [ecx], str.Asset_Sounds_openMenu.wav
mov dword [ecx + 4], 0x19
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.004710a0
lea ecx, [ebp - 0x20]
call fcn.0042fa90
mov edi, dword [ebx + 0xc4]
mov esi, dword [edi]
cmp esi, edi
je 0x46a985
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov esi, dword [esi]
cmp esi, edi
jne 0x46a977
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
mov byte [ebx + 0xd5], 1
jmp 0x46a99d
mov byte [ebx + 0x1dc], 0
mov eax, dword [ebx + 0x110]
cmp byte [eax + 0xfb9], 0
je 0x46a9d0
mov ecx, dword [ebx + 0x108]
call fcn.0045aa20
mov ecx, dword [ebx + 0x110]
push ebx
call fcn.00446d20
mov eax, dword [ebx + 0x110]
mov byte [eax + 0xfb9], 0
mov ecx, dword [ebx + 0x1e4]
mov eax, ecx
sub eax, 0
je 0x46a9fd
sub eax, 1
je 0x46a9fd
sub eax, 1
jne 0x46aa06
mov dword [ebx + 0x1e4], 3
mov dword [ebx + 0x1e0], 1
jmp 0x46aa06
lea eax, [ecx + 1]
mov dword [ebx + 0x1e4], eax
mov eax, dword [ebx + 0x1e0]
sub eax, 1
jne 0x46aa47
mov edi, dword [ebx + 0xc4]
mov esi, dword [edi]
cmp esi, edi
je 0x46aa2e
nop dword [eax]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov esi, dword [esi]
cmp esi, edi
jne 0x46aa20
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
mov byte [ebx + 0xd5], 1
mov dword [ebx + 0x1e0], 0
mov ecx, dword [ebx + 0x108]
call fcn.0045ad60
cmp al, 1
jne 0x46aa7a
cmp byte [ebx + 0x1e8], 0
jne 0x46aa7a
mov ecx, dword [ebx + 0xe8]
mov byte [ebx + 0x1e8], al
call fcn.00459f20
mov dword [ebx + 0x1e4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x6552b8
call fcn.005b2bcf
add esp, 4
cmp dword [0x6552b8], 0xffffffff
jne 0x46a85a
mov ecx, 0x653c98
mov dword [ebp - 4], 0
call fcn.00434750
push 0x5ec480
call fcn.005b2b3e
push 0x6552b8
mov dword [ebp - 4], 0xffffffff
call fcn.005b2b7e
add esp, 8
jmp 0x46a85a