Function at 0x40ac5b
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
call fcn.00451ee0
pop ecx
inc eax
push eax
call fcn.0044f8e7
pop ecx
mov ebx, eax
push esi
mov dword [ebp - 0x18], ebx
call fcn.00451ee0
pop ecx
lea eax, [eax + eax + 1]
push eax
call fcn.0044f8e7
mov edi, eax
pop ecx
lea edx, [ebp - 0xc]
mov al, 0x20
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], 1
call fcn.0040b0af
test eax, eax
jne 0x40acee
mov eax, dword [ebp - 0xc]
mov al, byte [eax + esi]
cmp al, 0x20
je 0x40acc8
cmp al, 9
jne 0x40accd
inc dword [ebp - 0xc]
jmp 0x40acba
lea edx, [ebp - 0xc]
mov ebx, edi
xor al, al
call fcn.0040b0af
push 0x46ce4c
push edi
call fcn.00464a15
test eax, eax
pop ecx
pop ecx
jne 0x40ad3d
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.00464a15
test eax, eax
pop ecx
pop ecx
je 0x40ad12
inc esi
cmp esi, 0x62
mov dword [ebp - 0x14], esi
jl 0x40acf0
cmp esi, 0x62
jne 0x40ae06
cmp byte [ebp - 1], 0
movzx eax, byte [ebx]
je 0x40add6
push edi
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
mov ebx, dword [ebp + 8]
jmp 0x40aff1
push str.down
push edi
call fcn.00464a15
test eax, eax
pop ecx
pop ecx
jne 0x40ad54
mov byte [ebp - 1], 1
jmp 0x40acee
push 0x46ce58
push edi
call fcn.00464a15
test eax, eax
pop ecx
pop ecx
jne 0x40ad6b
mov byte [ebp - 3], 1
jmp 0x40acee
push 0x46ce5c
push edi
call fcn.00464a15
test eax, eax
pop ecx
pop ecx
jne 0x40ad85
mov byte [ebp - 4], 1
jmp 0x40acee
cmp byte [edi], 0x30
jne 0x40adb6
mov al, byte [edi + 1]
cmp al, 0x78
je 0x40ad95
cmp al, 0x58
jne 0x40adb6
add edi, 2
lea esi, [ebp - 8]
call fcn.0040b2d2
push dword [ebp - 8]
push 0x46ce60
push ebx
call fcn.004526b6
add esp, 0xc
jmp 0x40acee
push edi
call fcn.00452742
xor edi, edi
cmp eax, edi
pop ecx
mov dword [ebp - 8], eax
jg 0x40acf0
mov dword [ebp - 8], 1
jmp 0x40acf0
cmp byte [ebp - 2], 0
je 0x40adf5
push edi
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
movzx ebx, ax
and ebx, 0xff
mov eax, dword [ebp + 8]
jmp 0x40b05b
push dword [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
call fcn.0040a007
jmp case.default.0x40ae7e
cmp byte [esi + 0x478520], 0
jne 0x40ae6e
cmp byte [ebp - 1], 0
je 0x40ae22
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push edi
jmp 0x40ad35
cmp byte [ebp - 2], 0
je 0x40ae32
mov ebx, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push edi
jmp 0x40aded
cmp byte [ebp - 3], 0
je 0x40ae3c
push 1
jmp 0x40ae43
cmp byte [ebp - 4], 0
je 0x40ae57
push edi
push dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
mov ebx, dword [ebp + 8]
call fcn.00409fa9
jmp case.default.0x40ae7e
push dword [ebp - 8]
mov eax, dword [ebp + 8]
push dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
call fcn.0040a06d
jmp case.default.0x40ae7e
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
cmp eax, 0xc
ja case.default.0x40ae7e
jmp dword [eax*4 + 0x40b07b]
cmp byte [ebp - 1], 0
jne case.0x40ae7e.2
cmp byte [ebp - 2], 0
je 0x40aeb3
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.0x40ae7e
xor ecx, esi
mov dword [edx], ecx
push edi
jmp 0x40b058
push edi
push 0x12
jmp 0x40aede
cmp byte [ebp - 1], 0
je 0x40aec9
mov ebx, dword [ebp + 8]
push edi
push 0xd
jmp 0x40aff0
cmp byte [ebp - 2], 0
je 0x40aeda
mov eax, dword [ebp + 8]
push edi
push 0xd
jmp 0x40b05a
push 1
push 0xd
push dword [ebp + 8]
call fcn.0040aa21
jmp case.default.0x40ae7e
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.0x40ae7e
or eax, esi
push edi
mov dword [ecx], eax
push 0x12
jmp 0x40aff0
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x23c]
mov eax, dword [edx]
mov ecx, 0x200
test ecx, eax
jne case.default.0x40ae7e
push edi
push 0x10
jmp 0x40afec
mov eax, dword [ebp + 8]
lea esi, [eax + 0x23c]
mov edx, dword [esi]
mov ecx, 0x200
test ecx, edx
je case.default.0x40ae7e
xor edx, ecx
push edi
mov dword [esi], edx
push 0x10
jmp 0x40b05a
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x23c]
mov eax, dword [edx]
mov ecx, 0x800
test ecx, eax
jne case.default.0x40ae7e
push edi
push 0x11
jmp 0x40afec
mov eax, dword [ebp + 8]
lea esi, [eax + 0x23c]
mov edx, dword [esi]
mov ecx, 0x800
test ecx, edx
je case.default.0x40ae7e
xor edx, ecx
push edi
mov dword [esi], edx
push 0x11
jmp 0x40b05a
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x23c]
mov eax, dword [edx]
mov ecx, 0x1000
test ecx, eax
jne case.default.0x40ae7e
push edi
push 0x5b
jmp 0x40afec
mov eax, dword [ebp + 8]
lea esi, [eax + 0x23c]
mov edx, dword [esi]
mov ecx, 0x1000
test ecx, edx
je case.default.0x40ae7e
xor edx, ecx
push edi
mov dword [esi], edx
push 0x5b
jmp 0x40b05a
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x23c]
mov eax, dword [edx]
mov ecx, 0x2000
test ecx, eax
jne case.default.0x40ae7e
push edi
push 0x5c
or eax, ecx
mov dword [edx], eax
pop eax
call fcn.0040aa46
jmp case.default.0x40ae7e
mov eax, dword [ebp + 8]
lea esi, [eax + 0x23c]
mov edx, dword [esi]
mov ecx, 0x2000
test ecx, edx
je case.default.0x40ae7e
xor edx, ecx
push edi
mov dword [esi], edx
push 0x5c
jmp 0x40b05a
mov edi, dword [ebp + 8]
mov esi, pe_nt_image_headers32
test dword [edi + 0x23c], esi
jne 0x40b031
push 0
push 0x12
pop eax
mov ebx, edi
call fcn.0040aa46
mov ebx, dword [ebp - 0x10]
jmp 0x40b046
movsx eax, al
push 0
add eax, 0x30
push eax
push edi
call fcn.0040aa21
inc ebx
mov al, byte [ebx]
test al, al
jne 0x40b036
test dword [edi + 0x23c], esi
jne case.default.0x40ae7e
push 0
mov eax, edi
push 0x12
pop ebx
call fcn.0040ab50
push dword [ebp - 0x18]
call fcn.0044f951
pop ecx
push dword [ebp - 0x10]
call fcn.0044f951
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4