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

Disassembly:
push 0xffffffffffffffff
push 0x511418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword [str.Ctrl]
mov ecx, dword [0x556674]
mov dx, word [0x556678]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [str.Shift]
xor eax, eax
mov dword [esp + 0x46], ecx
mov dword [esp + 0x3a], eax
mov word [esp + 0x38], dx
mov edx, dword [0x556668]
xor ecx, ecx
mov dword [esp + 0x3e], eax
mov dword [esp + 0x52], ecx
mov word [esp + 0x42], ax
mov eax, dword [0x55666c]
mov dword [esp + 0x4a], edx
mov edx, dword [0x55665c]
mov dword [esp + 0x56], ecx
mov dword [esp + 0x64], ecx
push ebx
mov dword [esp + 0x52], eax
mov eax, dword [0x556660]
mov dword [esp + 0x60], edx
mov edx, dword [0x527174]
push ebp
mov dword [esp + 0x70], ecx
push esi
push edi
mov byte [esp + 0x54], 8
mov byte [esp + 0x6a], 4
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x80], 0x10
mov dword [esp + 0x10], edx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x8c], ecx
lea ebp, [esp + 0x40]
mov dword [esp + 0x14], 3
mov al, byte [esp + 0x94]
mov cl, byte [ebp + 0x14]
test al, cl
je 0x4b6d95
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x4b6d25
mov edx, 0x556654
test edx, edx
jne 0x4b6d0f
xor eax, eax
jmp 0x4b6d16
push 0x556654
call ebx
push 0x556654
push eax
lea ecx, [esp + 0x18]
call fcn.00419bc0
test ebp, ebp
je 0x4b6d95
push ebp
call ebx
test eax, eax
je 0x4b6d95
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp ecx, 1
jg 0x4b6d7b
mov edi, dword [edx - 8]
lea ecx, [edi + eax]
cmp ecx, dword [edx - 4]
jg 0x4b6d7b
lea ecx, [eax + eax]
lea edi, [edx + edi*2]
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
add edx, eax
mov dword [ecx - 8], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov word [eax + ecx*2], 0
jmp 0x4b6d95
push ebp
push eax
push edx
mov edx, dword [edx - 8]
push edx
lea ecx, [esp + 0x20]
call fcn.0041b2c0
test eax, eax
je 0x4b6d95
push esi
call fcn.00419d00
mov eax, dword [esp + 0x14]
add ebp, 0x16
dec eax
mov dword [esp + 0x14], eax
jne 0x4b6ce5
xor esi, esi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], si
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x9c]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
and eax, 0xffff
lea ecx, [esp + 0x18]
shl eax, 0x10
or al, 1
push 0x13
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x4b6e23
mov ecx, dword [0x527100]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4b6e1c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4b6e1c
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0050c98e
add esp, 4
mov eax, 0x559900
jmp 0x4b6ea0
cmp dword [eax - 8], esi
jle 0x4b6e48
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x556644
push 0x104
push 0x5d6958
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
jmp 0x4b6e65
lea edx, [esp + 0x18]
push edx
push 0x528430
push 0x104
push 0x5d6958
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, dword [esp + 0x10]
mov edx, dword [0x527100]
mov word [0x5d6b5e], si
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4b6e9b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4b6e9b
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0050c98e
add esp, 4
mov eax, 0x5d6958
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret