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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 1
pop ebx
xor esi, esi
push ebx
lea eax, [ebp - 0xc]
push esi
push eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [eax]
call fcn.00430eb3
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_VkKeyScanA]
cmp dword [ebp + 0x14], esi
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
movsx eax, ax
mov dword [ebp + 8], eax
je 0x432242
mov eax, dword [esi]
push 0
push 0x11
and byte [eax], 0
mov eax, dword [esi]
mov byte [eax + 1], bl
mov eax, dword [esi]
mov byte [eax + 2], 0x11
call edi
mov ecx, dword [esi]
mov dword [ebp - 4], ebx
mov byte [ecx + 3], al
add dword [esi], 4
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x432273
cmp dword [ebp + 0x14], ebx
mov eax, dword [esi]
je 0x432254
and byte [eax], bl
jmp 0x432257
mov byte [eax], 4
mov eax, dword [esi]
push ebx
push 0x12
mov byte [eax + 1], 1
mov eax, dword [esi]
mov byte [eax + 2], 0x12
call edi
mov ecx, dword [esi]
mov byte [ecx + 3], al
add dword [esi], 4
inc dword [ebp - 4]
cmp dword [ebp + 0x18], ebx
jne 0x432281
xor eax, eax
mov al, byte [ebp + 9]
test al, 1
je 0x4322b3
cmp dword [ebp + 0x14], ebx
jne 0x432292
cmp dword [ebp + 0x10], ebx
je 0x432292
mov eax, dword [esi]
mov byte [eax], 4
jmp 0x432297
mov eax, dword [esi]
and byte [eax], 0
mov eax, dword [esi]
push ebx
push 0x10
mov byte [eax + 1], 1
mov eax, dword [esi]
mov byte [eax + 2], 0x10
call edi
mov ecx, dword [esi]
mov byte [ecx + 3], al
add dword [esi], 4
inc dword [ebp - 4]
movzx ebx, byte [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x14], eax
jne 0x4322ca
cmp dword [ebp + 0x10], eax
je 0x4322ca
mov ecx, dword [esi]
mov byte [ecx], 4
jmp 0x4322cf
mov ecx, dword [esi]
and byte [ecx], 0
mov ecx, dword [esi]
push eax
push ebx
mov byte [ecx + 1], 1
mov ecx, dword [esi]
mov byte [ecx + 2], bl
call edi
mov ecx, dword [esi]
mov byte [ecx + 3], al
add dword [esi], 4
inc dword [ebp - 4]
mov eax, dword [esi]
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
jne 0x4322fc
cmp dword [ebp + 0x10], ecx
je 0x4322fc
mov byte [eax], 5
jmp 0x4322ff
mov byte [eax], 1
mov eax, dword [esi]
push ecx
push ebx
mov byte [eax + 1], 1
mov eax, dword [esi]
mov byte [eax + 2], bl
call edi
mov ecx, dword [esi]
xor ebx, ebx
mov byte [ecx + 3], al
add dword [esi], 4
inc dword [ebp - 4]
cmp dword [ebp + 0x18], ebx
mov eax, dword [esi]
jne 0x43232c
xor ecx, ecx
mov cl, byte [ebp + 9]
test cl, 1
je 0x43235c
cmp dword [ebp + 0x14], ebx
jne 0x43233b
cmp dword [ebp + 0x10], ebx
je 0x43233b
mov byte [eax], 5
jmp 0x43233e
mov byte [eax], 1
mov eax, dword [esi]
push ebx
push 0x10
mov byte [eax + 1], 1
mov eax, dword [esi]
mov byte [eax + 2], 0x10
call edi
mov ecx, dword [esi]
mov byte [ecx + 3], al
add dword [esi], 4
mov eax, dword [esi]
inc dword [ebp - 4]
cmp dword [ebp + 0x10], ebx
je 0x432382
mov byte [eax], 1
mov eax, dword [esi]
push ebx
push 0x12
mov byte [eax + 1], 1
mov eax, dword [esi]
mov byte [eax + 2], 0x12
call edi
mov ecx, dword [esi]
mov byte [ecx + 3], al
add dword [esi], 4
mov eax, dword [esi]
inc dword [ebp - 4]
cmp dword [ebp + 0x14], ebx
je 0x4323a6
mov byte [eax], 1
mov eax, dword [esi]
push ebx
push 0x11
mov byte [eax + 1], 1
mov eax, dword [esi]
mov byte [eax + 2], 0x11
call edi
mov ecx, dword [esi]
mov byte [ecx + 3], al
add dword [esi], 4
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret