Function at 0x5d5540
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x630cb8
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
jne 0x5d556c
xor eax, eax
jmp 0x5d58d0
mov ecx, esi
call fcn.005d5440
mov ebx, eax
test ebx, ebx
je 0x5d58d0
mov ecx, dword [esi + 4]
call fcn.005d3cf0
test eax, eax
mov dword [esp + 0x20], eax
je 0x5d58d0
mov ecx, dword [esi + 4]
call fcn.005d45b0
mov edi, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov ecx, edi
call fcn.00499710
or ebp, 0xffffffff
cmp eax, 0xe
jne 0x5d57c0
mov eax, dword [esp + 0x74]
cmp eax, 5
ja case.0x5d55c1.3
jmp dword [eax*4 + 0x5d58e8]
lea eax, [esp + 0x78]
mov ecx, edi
push eax
call fcn.00499f00
mov ecx, dword [esi + 4]
push eax
mov dword [esp + 0x70], 1
mov edx, dword [ecx + 0x10]
push edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
push eax
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl al
push eax
push 1
call fcn.0053cb10
add esp, 0x14
lea ecx, [esp + 0x78]
mov dword [esp + 0x6c], ebp
call fcn.00495920
jmp 0x5d57cf
lea ecx, [esp + 0x74]
push ecx
mov ecx, edi
call fcn.00499f00
mov edx, dword [esi + 4]
push eax
mov dword [esp + 0x70], 2
mov eax, dword [edx + 0x10]
push eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
push eax
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl cl
push ecx
push 2
call fcn.0053cb10
add esp, 0x14
lea ecx, [esp + 0x74]
mov dword [esp + 0x6c], ebp
call fcn.00495920
jmp 0x5d57cf
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.00499f00
push eax
mov eax, dword [esi + 4]
mov dword [esp + 0x70], 3
mov ecx, dword [eax + 0x10]
push ecx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
push eax
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl dl
push edx
push 3
call fcn.0053cb10
add esp, 0x14
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], ebp
call fcn.00495920
jmp 0x5d57cf
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.00499f00
mov ecx, dword [esi + 4]
push eax
mov dword [esp + 0x70], 4
mov edx, dword [ecx + 0x10]
push edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
push eax
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl al
push eax
push 4
call fcn.0053cb10
add esp, 0x14
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], ebp
call fcn.00495920
jmp 0x5d57cf
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00499f00
mov edx, dword [esi + 4]
push eax
mov dword [esp + 0x70], 5
mov eax, dword [edx + 0x10]
push eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
push eax
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl cl
push ecx
push 5
call fcn.0053cb10
add esp, 0x14
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], ebp
call fcn.00495920
jmp 0x5d57cf
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
call fcn.00499f00
push eax
mov eax, dword [esi + 4]
mov dword [esp + 0x70], 0
mov ecx, dword [eax + 0x10]
push ecx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
push eax
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl dl
push edx
push 1
call fcn.0053cb10
add esp, 0x14
lea ecx, [esp + 0x1c]
mov dword [esp + 0x6c], ebp
call fcn.00495920
jmp 0x5d57cf
mov ecx, dword [esi + 4]
mov eax, dword [ebx]
push edi
mov edx, dword [ecx + 0x10]
mov ecx, ebx
push edx
call dword [eax + 0x20]
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
push ebx
call fcn.005d5920
test eax, eax
je 0x5d58d0
mov ecx, esi
call fcn.005d5900
test eax, eax
je 0x5d58d0
mov ecx, edi
call fcn.00499710
cmp eax, 9
je 0x5d582a
cmp eax, 0xe
jne 0x5d58cb
mov ecx, dword [esi + 4]
call fcn.005d45b0
cmp eax, dword [esp + 0x24]
je 0x5d58cb
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
call dword [edx + 0xa8]
jmp 0x5d58cb
push 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], edi
call fcn.0048dba0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0x70], 6
call fcn.004995e0
push 4
lea ecx, [esp + 0x40]
call fcn.0048dba0
push 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 7
call fcn.0048dba0
mov edx, dword [ebx]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x74], 8
call dword [edx + 0x78]
mov edx, dword [ebx]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x68]
push 0xfffffffffffffffe
lea edx, [esp + 0x40]
push 0xfffffffffffffffe
push edx
call fcn.0053fb90
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 7
call fcn.0048dbc0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 6
call fcn.0048dbc0
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], ebp
call fcn.0048dbc0
mov eax, 1
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8