Function at 0x4358cb
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.00434458
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 0x43592a
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 0x43595b
cmp dword [ebp + 0x14], ebx
mov eax, dword [esi]
je 0x43593c
and byte [eax], bl
jmp 0x43593f
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 0x435969
xor eax, eax
mov al, byte [ebp + 9]
test al, 1
je 0x43599b
cmp dword [ebp + 0x14], ebx
jne 0x43597a
cmp dword [ebp + 0x10], ebx
je 0x43597a
mov eax, dword [esi]
mov byte [eax], 4
jmp 0x43597f
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 0x4359b2
cmp dword [ebp + 0x10], eax
je 0x4359b2
mov ecx, dword [esi]
mov byte [ecx], 4
jmp 0x4359b7
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 0x4359e4
cmp dword [ebp + 0x10], ecx
je 0x4359e4
mov byte [eax], 5
jmp 0x4359e7
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 0x435a14
xor ecx, ecx
mov cl, byte [ebp + 9]
test cl, 1
je 0x435a44
cmp dword [ebp + 0x14], ebx
jne 0x435a23
cmp dword [ebp + 0x10], ebx
je 0x435a23
mov byte [eax], 5
jmp 0x435a26
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 0x435a6a
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 0x435a8e
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