Function at 0x40904a
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 - 0xc], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 2], al
mov byte [ebp - 1], al
mov byte [ebp - 3], al
mov byte [ebp - 4], al
cld
call fcn.00450bb0
pop ecx
inc eax
push eax
call fcn.0044e9ed
pop ecx
mov ebx, eax
push esi
mov dword [ebp - 0x18], ebx
call fcn.00450bb0
pop ecx
lea eax, [eax + eax + 1]
push eax
call fcn.0044e9ed
mov edi, eax
pop ecx
lea edx, [ebp - 0xc]
mov al, 0x20
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], 1
call fcn.0040949e
test eax, eax
jne 0x4090dd
mov eax, dword [ebp - 0xc]
mov al, byte [eax + esi]
cmp al, 0x20
je 0x4090b7
cmp al, 9
jne 0x4090bc
inc dword [ebp - 0xc]
jmp 0x4090a9
lea edx, [ebp - 0xc]
mov ebx, edi
xor al, al
call fcn.0040949e
push 0x46cb20
push edi
call fcn.00463b25
test eax, eax
pop ecx
pop ecx
jne 0x40912c
mov byte [ebp - 2], 1
xor edi, edi
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
push ebx
push dword [esi*4 + 0x478398]
call fcn.00463b25
test eax, eax
pop ecx
pop ecx
je 0x409101
inc esi
cmp esi, 0x62
mov dword [ebp - 0x14], esi
jl 0x4090df
cmp esi, 0x62
jne 0x4091f5
cmp byte [ebp - 1], 0
movzx eax, byte [ebx]
je 0x4091c5
push edi
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
mov ebx, dword [ebp + 8]
jmp 0x4093e0
push str.down
push edi
call fcn.00463b25
test eax, eax
pop ecx
pop ecx
jne 0x409143
mov byte [ebp - 1], 1
jmp 0x4090dd
push 0x46cb2c
push edi
call fcn.00463b25
test eax, eax
rcr byte [ecx + 0x59], 0x75
push es
mov byte [ebp - 3], 1
jmp 0x4090dd
push 0x46cb30
push edi
call fcn.00463b25
test eax, eax
pop ecx
pop ecx
jne 0x409174
mov byte [ebp - 4], 1
jmp 0x4090dd
cmp byte [edi], 0x30
jne 0x4091a5
mov al, byte [edi + 1]
cmp al, 0x78
je 0x409184
cmp al, 0x58
jne 0x4091a5
add edi, 2
lea esi, [ebp - 8]
call fcn.004096b8
push dword [ebp - 8]
push 0x46cb34
push ebx
call fcn.004517b6
add esp, 0xc
jmp 0x4090dd
push edi
call fcn.00451842
xor edi, edi
cmp eax, edi
pop ecx
mov dword [ebp - 8], eax
jg 0x4090df
mov dword [ebp - 8], 1
jmp 0x4090df
cmp byte [ebp - 2], 0
je 0x4091e4
push edi
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
movzx ebx, ax
and ebx, 0xff
mov eax, dword [ebp + 8]
jmp 0x40944a
push dword [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
call fcn.004083f6
jmp case.default.0x40926d
cmp byte [esi + 0x478520], 0
jne 0x40925d
cmp byte [ebp - 1], 0
je 0x409211
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push edi
jmp 0x409124
cmp byte [ebp - 2], 0
je 0x409221
mov ebx, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push edi
jmp 0x4091dc
cmp byte [ebp - 3], 0
je 0x40922b
push 1
jmp 0x409232
cmp byte [ebp - 4], 0
je 0x409246
push edi
push dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
mov ebx, dword [ebp + 8]
call fcn.00408398
jmp case.default.0x40926d
push dword [ebp - 8]
mov eax, dword [ebp + 8]
push dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
call fcn.0040845c
jmp case.default.0x40926d
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
cmp eax, 0xc
ja case.default.0x40926d
jmp dword [eax*4 + 0x40946a]
cmp byte [ebp - 1], 0
jne case.0x40926d.2
cmp byte [ebp - 2], 0
je 0x4092a2
mov eax, dword [ebp + 8]
lea edx, [eax + 0x23c]
mov ecx, dword [edx]
mov esi, pe_nt_image_headers32
test esi, ecx
je case.default.0x40926d
xor ecx, esi
mov dword [edx], ecx
push edi
jmp 0x409447
push edi
push 0x12
jmp 0x4092cd
cmp byte [ebp - 1], 0
je 0x4092b8
mov ebx, dword [ebp + 8]
push edi
push 0xd
jmp 0x4093df
cmp byte [ebp - 2], 0
je 0x4092c9
mov eax, dword [ebp + 8]
push edi
push 0xd
jmp 0x409449
push 1
push 0xd
push dword [ebp + 8]
call fcn.00408e10
jmp case.default.0x40926d
mov ebx, dword [ebp + 8]
lea ecx, [ebx + 0x23c]
mov eax, dword [ecx]
mov esi, pe_nt_image_headers32
test esi, eax
jne case.default.0x40926d
or eax, esi
push edi
mov dword [ecx], eax
push 0x12
jmp 0x4093df
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x23c]
mov eax, dword [edx]
mov ecx, 0x200
test ecx, eax
jne case.default.0x40926d
push edi
push 0x10
jmp 0x4093db
mov eax, dword [ebp + 8]
lea esi, [eax + 0x23c]
mov edx, dword [esi]
mov ecx, 0x200
test ecx, edx
je case.default.0x40926d
xor edx, ecx
push edi
mov dword [esi], edx
push 0x10
jmp 0x409449
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x23c]
mov eax, dword [edx]
mov ecx, 0x800
test ecx, eax
jne case.default.0x40926d
mov eax, dword [ebp + 8]
lea esi, [eax + 0x23c]
mov edx, dword [esi]
mov ecx, 0x800
test ecx, edx
je case.default.0x40926d
xor edx, ecx
push edi
mov dword [esi], edx
push 0x11
jmp 0x409449
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x23c]
mov eax, dword [edx]
mov ecx, 0x1000
test ecx, eax
jne case.default.0x40926d
push edi
push 0x5b
jmp 0x4093db
mov eax, dword [ebp + 8]
lea esi, [eax + 0x23c]
mov edx, dword [esi]
mov ecx, 0x1000
test ecx, edx
je case.default.0x40926d
xor edx, ecx
push edi
mov dword [esi], edx
push 0x5b
jmp 0x409449
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x23c]
mov eax, dword [edx]
mov ecx, 0x2000
test ecx, eax
jne case.default.0x40926d
push edi
push 0x5c
mov eax, dword [ebp + 8]
lea esi, [eax + 0x23c]
mov edx, dword [esi]
mov ecx, 0x2000
test ecx, edx
je case.default.0x40926d
xor edx, ecx
push edi
mov dword [esi], edx
push 0x5c
jmp 0x409449
mov edi, dword [ebp + 8]
mov esi, pe_nt_image_headers32
test dword [edi + 0x23c], esi
jne 0x409420
push 0
push 0x12
pop eax
mov ebx, edi
call fcn.00408e35
mov ebx, dword [ebp - 0x10]
jmp 0x409435
movsx eax, al
push 0
add eax, 0x30
push eax
push edi
call fcn.00408e10
inc ebx
mov al, byte [ebx]
test al, al
jne 0x409425
test dword [edi + 0x23c], esi
jne case.default.0x40926d
push 0
mov eax, edi
push 0x12
pop ebx
call fcn.00408f3f