Function at 0x4e4bc0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5845e2
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x604e14]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0xc]
and ecx, 0x10
je 0x4e4c10
mov dword [ebp + 0xc], 0
mov edx, dword [ebp - 0xbc]
add edx, 4
push edx
lea ecx, [ebp - 0x18]
call fcn.00404cd0
mov dword [ebp - 4], 0
push 0
push 9
lea ecx, [ebp - 0x18]
call fcn.004fba20
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0xc], 0
je 0x4e4c48
cmp dword [ebp - 0x14], 0
jl 0x4e4ccd
cmp dword [ebp + 0xc], 0
jne 0x4e4c9b
cmp dword [ebp - 0x14], 0
jl 0x4e4c9b
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004d96b0
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x18]
call fcn.00404d10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.00404cf0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404cd0
mov edx, dword [ebp - 0xb8]
or edx, 1
mov dword [ebp - 0xb8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00404cf0
mov eax, dword [ebp + 8]
jmp 0x4e4f27
cmp dword [ebp + 0xc], 0xffffffff
jne 0x4e4d09
mov dword [ebp + 0xc], 0
call fcn.004fd150
push eax
push 0x5cb8d4
call fcn.005307eb
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4e4d09
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x180]
call eax
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x4e4d41
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404cd0
mov edx, dword [ebp - 0xb8]
or edx, 1
mov dword [ebp - 0xb8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00404cf0
mov eax, dword [ebp + 8]
jmp 0x4e4f27
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_CopyAcceleratorTableW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4e4efa
mov eax, dword [ebp - 0x10]
imul eax, eax, 6
call fcn.005625b0
mov dword [ebp - 0xc8], esp
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_CopyAcceleratorTableW]
test eax, eax
je 0x4e4efa
lea ecx, [ebp - 0x24]
call fcn.00404cb0
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
jmp 0x4e4dae
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x10]
jge 0x4e4ec9
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + ecx + 4]
mov ecx, dword [ebp - 0xbc]
movzx edx, word [ecx + 0x10]
cmp eax, edx
je 0x4e4dd8
jmp 0x4e4da5
lea ecx, [ebp - 0x24]
call fcn.004ce110
movzx eax, al
test eax, eax
jne 0x4e4df4
push 0x5c524c
lea ecx, [ebp - 0x24]
call fcn.004fb790
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + ecx]
and eax, 0x10
je 0x4e4e13
push str.Alt
lea ecx, [ebp - 0x24]
call fcn.004fb790
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + ecx]
and eax, 8
je 0x4e4e32
push str.Ctrl
lea ecx, [ebp - 0x24]
call fcn.004fb790
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + ecx]
and eax, 4
je 0x4e4e51
push str.Shift
lea ecx, [ebp - 0x24]
call fcn.004fb790
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + ecx]
and eax, 1
je 0x4e4ead
push 0
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + ecx + 2]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
mov dword [ebp - 0xb0], eax
push 0x80
lea ecx, [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x24]
call fcn.004fb790
jmp 0x4e4ec4
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + ecx + 2]
push eax
lea ecx, [ebp - 0x24]
call fcn.004fe750
jmp 0x4e4da5
lea ecx, [ebp - 0x24]
call fcn.004ce110
movzx ecx, al
test ecx, ecx
jne 0x4e4eee
push 9
lea ecx, [ebp - 0x18]
call fcn.004fb7b0
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x18]
call fcn.004fb770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00404cf0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404cd0
mov ecx, dword [ebp - 0xb8]
or ecx, 1
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00404cf0
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xcc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.00555ac5
mov esp, ebp
pop ebp
ret 8