Function at 0x5844ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
xor ecx, ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x13c], ecx
mov byte [ebp - 3], dl
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5848d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x5b8b88], 0x7fffffff
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 0
mov byte [ebp - 5], 0
mov byte [ebp - 6], 0
mov byte [ebp - 7], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
call fcn.004146ac
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x5b8b88]
jle 0x584564
mov eax, dword [0x5b8b88]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5848b2
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jge 0x5848a7
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + eax*2]
cmp eax, 0x2b
jg 0x58459d
je 0x5845ef
sub eax, 0x25
je 0x5845d4
sub eax, 3
je 0x5845b5
dec eax
je 0x5845c1
jmp 0x584856
sub eax, 0x5e
je 0x58460a
sub eax, 0x1d
je 0x584625
sub eax, 3
je 0x58483b
jmp 0x584856
mov byte [ebp - 4], 1
inc dword [ebp - 0x14]
jmp 0x58489b
mov byte [ebp - 4], 0
push ebp
call fcn.00584488
pop ecx
inc dword [ebp - 0x14]
jmp 0x58489b
mov byte [ebp - 7], 1
push ebp
xor ecx, ecx
mov dx, 1
mov al, 0x12
call fcn.00584214
pop ecx
inc dword [ebp - 0x14]
jmp 0x58489b
mov byte [ebp - 5], 1
push ebp
xor ecx, ecx
mov dx, 1
mov al, 0x10
call fcn.00584214
pop ecx
inc dword [ebp - 0x14]
jmp 0x58489b
mov byte [ebp - 6], 1
push ebp
xor ecx, ecx
mov dx, 1
mov al, 0x11
call fcn.00584214
pop ecx
inc dword [ebp - 0x14]
jmp 0x58489b
mov word [ebp - 0x1a], 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 + 2], 0x7b
jne 0x58466c
mov word [ebp - 2], 0xdb
push ebp
lea eax, [ebp - 1]
mov dl, 1
call fcn.0058419c
pop ecx
push ebp
mov cl, 1
mov dx, 1
mov ax, word [ebp - 2]
call fcn.00584370
pop ecx
push ebp
call fcn.00584488
pop ecx
add dword [ebp - 0x14], 3
jmp 0x58489b
mov byte [ebp - 0x31], 0
mov byte [ebp - 0xe], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jg 0x584731
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2], 0x7d
jne 0x58469c
mov byte [ebp - 0xe], 1
inc dword [ebp - 0x14]
jmp 0x584731
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov ax, word [edx + eax*2]
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov ax, word [edx + eax*2]
add eax, 0xffffff9f
sub ax, 0x1a
jae 0x5846cf
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov ax, word [edx + eax*2]
and ax, 0xffdf
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x31]
call fcn.00407750
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x13c]
mov dx, word [ebp - 0x1c]
call fcn.00407558
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00407800
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 0x134]
mov ecx, 0xff
call fcn.00407690
lea edx, [ebp - 0x134]
lea eax, [ebp - 0x31]
mov cl, 0x14
call fcn.00404c20
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jle 0x584680
cmp byte [ebp - 0xe], 0
jne 0x584748
push ebp
mov eax, 0x5848e0
call fcn.0058414c
pop ecx
jmp 0x5848b2
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2], 0x7d
jne 0x584787
mov word [ebp - 2], 0xdd
push ebp
lea eax, [ebp - 1]
mov dl, 1
call fcn.0058419c
pop ecx
push ebp
mov cl, 1
mov dx, 1
mov ax, word [ebp - 2]
call fcn.00584370
pop ecx
push ebp
call fcn.00584488
pop ecx
inc dword [ebp - 0x14]
jmp 0x58489b
lea eax, [ebp - 0x140]
lea edx, [ebp - 0x31]
call fcn.00407750
mov edx, dword [ebp - 0x140]
mov eax, 0x584900
call fcn.00407e44
mov byte [ebp - 0xf], al
cmp byte [ebp - 0xf], 0
je 0x584819
lea eax, [ebp - 0x15c]
push eax
xor ecx, ecx
mov cl, byte [ebp - 0x31]
xor eax, eax
mov al, byte [ebp - 0xf]
sub ecx, eax
xor edx, edx
mov dl, byte [ebp - 0xf]
inc edx
lea eax, [ebp - 0x31]
call fcn.0040441c
lea edx, [ebp - 0x15c]
lea eax, [ebp - 0x144]
call fcn.00407750
mov eax, dword [ebp - 0x144]
call fcn.00413c0c
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x15c]
push eax
xor ecx, ecx
mov cl, byte [ebp - 0xf]
dec ecx
mov edx, 1
lea eax, [ebp - 0x31]
call fcn.0040441c
lea edx, [ebp - 0x15c]
lea eax, [ebp - 0x31]
mov cl, 0x14
call fcn.00404c20
cmp word [ebp - 2], 0xffff
je 0x58489b
push ebp
mov cl, 1
mov dx, word [ebp - 0x1a]
mov ax, word [ebp - 2]
call fcn.00584370
pop ecx
push ebp
call fcn.00584488
pop ecx
jmp 0x58489b
push ebp
mov cl, 1
mov dx, 1
mov al, 0xd
call fcn.00584214
pop ecx
push ebp
call fcn.00584488
pop ecx
inc dword [ebp - 0x14]
jmp 0x58489b
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov ax, word [edx + eax*2]
push eax
call sub.user32.dll_VkKeyScanW
mov word [ebp - 2], ax
cmp word [ebp - 2], 0xffff
je 0x58488c
push ebp
mov cl, 1
mov dx, 1
mov ax, word [ebp - 2]
call fcn.00584370
pop ecx
push ebp
call fcn.00584488
pop ecx
jmp 0x584898
push ebp
mov eax, 0x584904
call fcn.0058414c
pop ecx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jl 0x58457a
mov byte [ebp - 0xd], 1
push ebp
call fcn.00584488
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5848d7
lea eax, [ebp - 0x144]
mov edx, 4
call fcn.004073e4
ret