Function at 0x4089b3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, eax
xor eax, eax
push edi
push esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 2], al
mov byte [ebp - 1], al
mov byte [ebp - 3], al
mov byte [ebp - 4], al
call fcn.0044d720
pop ecx
inc eax
push eax
call fcn.0044d086
pop ecx
mov ebx, eax
push esi
mov dword [ebp - 0xc], ebx
call fcn.0044d720
pop ecx
lea eax, [eax + eax + 1]
push eax
call fcn.0044d086
xor edi, edi
mov dword [ebp - 0x10], eax
inc edi
pop ecx
lea edx, [ebp - 8]
mov al, 0x20
mov dword [ebp - 0x14], edi
call fcn.00408e03
test eax, eax
jne 0x408a46
mov eax, dword [ebp - 8]
mov al, byte [eax + esi]
cmp al, 0x20
je 0x408a1d
cmp al, 9
jne 0x408a22
inc dword [ebp - 8]
jmp 0x408a0f
mov ebx, dword [ebp - 0x10]
lea edx, [ebp - 8]
xor al, al
call fcn.00408e03
push 0x469904
mov esi, ebx
push esi
call fcn.0044ced8
test eax, eax
pop ecx
pop ecx
jne 0x408a97
mov byte [ebp - 2], 1
xor ebx, ebx
push dword [ebp - 0xc]
mov esi, dword [ebp - 0x18]
push dword [esi*4 + 0x472440]
call fcn.0044ced8
test eax, eax
pop ecx
pop ecx
je 0x408a69
inc esi
cmp esi, 0x62
mov dword [ebp - 0x18], esi
jl 0x408a48
cmp esi, 0x62
jne 0x408b56
cmp byte [ebp - 1], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
je 0x408b2c
push ebx
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
mov ecx, dword [ebp + 8]
jmp 0x408d3e
push str.down
push esi
call fcn.0044ced8
test eax, eax
pop ecx
pop ecx
jne 0x408aae
mov byte [ebp - 1], 1
jmp 0x408a46
push 0x469910
push esi
call fcn.0044ced8
test eax, eax
pop ecx
pop ecx
jne 0x408ac5
mov byte [ebp - 3], 1
jmp 0x408a46
push 0x469914
push esi
call fcn.0044ced8
test eax, eax
pop ecx
pop ecx
jne 0x408adf
mov byte [ebp - 4], 1
jmp 0x408a46
cmp byte [esi], 0x30
jne 0x408b11
mov al, byte [esi + 1]
cmp al, 0x78
je 0x408aef
cmp al, 0x58
jne 0x408b11
lea edi, [esi + 2]
lea esi, [ebp - 0x14]
call fcn.0040d4a2
mov edi, dword [ebp - 0x14]
push edi
push 0x469918
push ebx
call fcn.0044d7ab
add esp, 0xc
jmp 0x408a46
push esi
call fcn.0044d649
mov edi, eax
xor ebx, ebx
cmp edi, ebx
pop ecx
jg 0x408a48
xor edi, edi
inc edi
jmp 0x408a48
cmp byte [ebp - 2], 0
je 0x408b47
push ebx
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
mov ecx, dword [ebp + 8]
jmp 0x408dae
mov ecx, dword [ebp + 8]
push edi
push eax
call fcn.00407d2e
jmp case.default.0x408bcc
cmp byte [esi + 0x4725c8], 0
jne 0x408bbc
cmp byte [ebp - 1], 0
je 0x408b72
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push ebx
jmp 0x408a8f
cmp byte [ebp - 2], 0
je 0x408b82
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push ebx
jmp 0x408b3f
cmp byte [ebp - 3], 0
je 0x408b8c
push 1
jmp 0x408b93
cmp byte [ebp - 4], 0
je 0x408ba7
push ebx
push dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
mov esi, dword [ebp + 8]
call fcn.00407cca
jmp case.default.0x408bcc
mov eax, dword [ebp + 8]
push edi
push dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
call fcn.00407d94
jmp case.default.0x408bcc
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
cmp eax, 0xc
ja case.default.0x408bcc
jmp dword [eax*4 + 0x408dcf]
cmp byte [ebp - 1], 0
jne case.0x408bcc.2
cmp byte [ebp - 2], 0
je 0x408c00
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x144]
mov eax, dword [edx]
mov esi, 0x100
test esi, eax
je case.default.0x408bcc
xor eax, esi
mov dword [edx], eax
jmp 0x408daa
push ebx
push 0x12
jmp 0x408c2b
cmp byte [ebp - 1], 0
je 0x408c16
mov ecx, dword [ebp + 8]
push ebx
push 0xd
jmp 0x408d3d
cmp byte [ebp - 2], 0
je 0x408c27
mov ecx, dword [ebp + 8]
push ebx
push 0xd
jmp 0x408dad
push 1
push 0xd
push dword [ebp + 8]
call fcn.00408767
jmp case.default.0x408bcc
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x144]
mov eax, dword [edx]
mov esi, 0x100
test esi, eax
jne case.default.0x408bcc
or eax, esi
push ebx
mov dword [edx], eax
push 0x12
jmp 0x408d3d
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x200
test eax, edx
jne case.default.0x408bcc
push ebx
push 0x10
jmp 0x408d39
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x200
test eax, edx
je case.default.0x408bcc
xor edx, eax
push ebx
mov dword [esi], edx
push 0x10
jmp 0x408dad
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x800
test eax, edx
jne case.default.0x408bcc
push ebx
push 0x11
jmp 0x408d39
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x800
test eax, edx
je case.default.0x408bcc
xor edx, eax
push ebx
mov dword [esi], edx
push 0x11
jmp 0x408dad
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x1000
test eax, edx
jne case.default.0x408bcc
push ebx
push 0x5b
jmp 0x408d39
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x1000
test eax, edx
je case.default.0x408bcc
xor edx, eax
push ebx
mov dword [esi], edx
push 0x5b
jmp 0x408dad
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x2000
test eax, edx
jne case.default.0x408bcc
push ebx
push 0x5c
or edx, eax
mov dword [esi], edx
pop eax
call fcn.0040878c
jmp case.default.0x408bcc
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x2000
test eax, edx
je case.default.0x408bcc
xor edx, eax
push ebx
mov dword [esi], edx
push 0x5c
jmp 0x408dad
mov edi, dword [ebp + 8]
mov esi, 0x100
test dword [edi + 0x144], esi
jne 0x408d7d
push ebx
push 0x12
pop eax
mov ecx, edi
call fcn.0040878c
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x408da0
mov ebx, ecx
movsx eax, al
push 0
add eax, 0x30
push eax
push edi
call fcn.00408767
inc ebx
mov al, byte [ebx]
test al, al
jne 0x408d88
xor ebx, ebx
test dword [edi + 0x144], esi
jne case.default.0x408bcc
mov ecx, edi
push ebx
push 0x12
pop eax
call fcn.0040889f
push dword [ebp - 0xc]
call fcn.0044d0f0
pop ecx
push dword [ebp - 0x10]
call fcn.0044d0f0
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4