Function at 0x40ac8c
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.00451f00
pop ecx
inc eax
push eax
call fcn.0044f907
pop ecx
mov ebx, eax
push esi
mov dword [ebp - 0x18], ebx
call fcn.00451f00
pop ecx
lea eax, [eax + eax + 1]
push eax
call fcn.0044f907
mov edi, eax
pop ecx
lea edx, [ebp - 0xc]
mov al, 0x20
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], 1
call fcn.0040b0e0
test eax, eax
jne 0x40ad1f
mov eax, dword [ebp - 0xc]
mov al, byte [eax + esi]
cmp al, 0x20
je 0x40acf9
cmp al, 9
jne 0x40acfe
inc dword [ebp - 0xc]
jmp 0x40aceb
lea edx, [ebp - 0xc]
mov ebx, edi
xor al, al
call fcn.0040b0e0
push 0x46ce4c
push edi
call fcn.00464a35
test eax, eax
pop ecx
pop ecx
jne 0x40ad6e
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.00464a35
test eax, eax
pop ecx
pop ecx
je 0x40ad43
inc esi
cmp esi, 0x62
mov dword [ebp - 0x14], esi
jl 0x40ad21
cmp esi, 0x62
jne 0x40ae37
cmp byte [ebp - 1], 0
movzx eax, byte [ebx]
je 0x40ae07
push edi
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
mov ebx, dword [ebp + 8]
jmp 0x40b022
push str.down
push edi
call fcn.00464a35
test eax, eax
pop ecx
pop ecx
jne 0x40ad85
mov byte [ebp - 1], 1
jmp 0x40ad1f
push 0x46ce58
push edi
call fcn.00464a35
test eax, eax
pop ecx
pop ecx
jne 0x40ad9c
mov byte [ebp - 3], 1
jmp 0x40ad1f
push 0x46ce5c
push edi
call fcn.00464a35
test eax, eax
pop ecx
pop ecx
jne 0x40adb6
mov byte [ebp - 4], 1
jmp 0x40ad1f
cmp byte [edi], 0x30
jne 0x40ade7
mov al, byte [edi + 1]
cmp al, 0x78
je 0x40adc6
cmp al, 0x58
jne 0x40ade7
add edi, 2
lea esi, [ebp - 8]
call fcn.0040b303
push dword [ebp - 8]
push 0x46ce60
push ebx
call fcn.004526d6
add esp, 0xc
jmp 0x40ad1f
push edi
call fcn.00452762
xor edi, edi
cmp eax, edi
pop ecx
mov dword [ebp - 8], eax
jg 0x40ad21
mov dword [ebp - 8], 1
jmp 0x40ad21
cmp byte [ebp - 2], 0
je 0x40ae26
push edi
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
movzx ebx, ax
and ebx, 0xff
mov eax, dword [ebp + 8]
jmp 0x40b08c
push dword [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
call fcn.0040a038
jmp case.default.0x40aeaf
cmp byte [esi + 0x478520], 0
jne 0x40ae9f
cmp byte [ebp - 1], 0
je 0x40ae53
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push edi
jmp 0x40ad66
cmp byte [ebp - 2], 0
je 0x40ae63
mov ebx, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push edi
jmp 0x40ae1e
cmp byte [ebp - 3], 0
je 0x40ae6d
push 1
jmp 0x40ae74
cmp byte [ebp - 4], 0
je 0x40ae88
push edi
push dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
mov ebx, dword [ebp + 8]
call fcn.00409fda
jmp case.default.0x40aeaf
push dword [ebp - 8]
mov eax, dword [ebp + 8]
push dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
call fcn.0040a09e
jmp case.default.0x40aeaf
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
cmp eax, 0xc
ja case.default.0x40aeaf
jmp dword [eax*4 + 0x40b0ac]
cmp byte [ebp - 1], 0
jne case.0x40aeaf.2
cmp byte [ebp - 2], 0
je 0x40aee4
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.0x40aeaf
xor ecx, esi
mov dword [edx], ecx
push edi
jmp 0x40b089
push edi
push 0x12
jmp 0x40af0f
cmp byte [ebp - 1], 0
je 0x40aefa
mov ebx, dword [ebp + 8]
push edi
push 0xd
jmp 0x40b021
cmp byte [ebp - 2], 0
je 0x40af0b
mov eax, dword [ebp + 8]
push edi
push 0xd
jmp 0x40b08b
push 1
push 0xd
push dword [ebp + 8]
call fcn.0040aa52
jmp case.default.0x40aeaf
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.0x40aeaf
or eax, esi
push edi
mov dword [ecx], eax
push 0x12
jmp 0x40b021
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x23c]
mov eax, dword [edx]
mov ecx, 0x200
test ecx, eax
jne case.default.0x40aeaf
push edi
push 0x10
jmp 0x40b01d
mov eax, dword [ebp + 8]
lea esi, [eax + 0x23c]
mov edx, dword [esi]
mov ecx, 0x200
test ecx, edx
je case.default.0x40aeaf
xor edx, ecx
push edi
mov dword [esi], edx
push 0x10
jmp 0x40b08b
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x23c]
mov eax, dword [edx]
mov ecx, 0x800
test ecx, eax
jne case.default.0x40aeaf
push edi
push 0x11
jmp 0x40b01d
mov eax, dword [ebp + 8]
lea esi, [eax + 0x23c]
mov edx, dword [esi]
mov ecx, 0x800
test ecx, edx
je case.default.0x40aeaf
xor edx, ecx
push edi
mov dword [esi], edx
push 0x11
jmp 0x40b08b
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x23c]
mov eax, dword [edx]
mov ecx, 0x1000
test ecx, eax
jne case.default.0x40aeaf
push edi
push 0x5b
jmp 0x40b01d
mov eax, dword [ebp + 8]
lea esi, [eax + 0x23c]
mov edx, dword [esi]
mov ecx, 0x1000
test ecx, edx
je case.default.0x40aeaf
xor edx, ecx
push edi
mov dword [esi], edx
push 0x5b
jmp 0x40b08b
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x23c]
mov eax, dword [edx]
mov ecx, 0x2000
test ecx, eax
jne case.default.0x40aeaf
push edi
push 0x5c
or eax, ecx
mov dword [edx], eax
pop eax
call fcn.0040aa77
jmp case.default.0x40aeaf
mov eax, dword [ebp + 8]
lea esi, [eax + 0x23c]
mov edx, dword [esi]
mov ecx, 0x2000
test ecx, edx
je case.default.0x40aeaf
xor edx, ecx
push edi
mov dword [esi], edx
push 0x5c
jmp 0x40b08b
mov edi, dword [ebp + 8]
mov esi, pe_nt_image_headers32
test dword [edi + 0x23c], esi
jne 0x40b062
push 0
push 0x12
pop eax
mov ebx, edi
call fcn.0040aa77
mov ebx, dword [ebp - 0x10]
jmp 0x40b077
movsx eax, al
push 0
add eax, 0x30
push eax
push edi
call fcn.0040aa52
inc ebx
mov al, byte [ebx]
test al, al
jne 0x40b067
test dword [edi + 0x23c], esi
jne case.default.0x40aeaf
push 0
mov eax, edi
push 0x12
pop ebx
call fcn.0040ab81
push dword [ebp - 0x18]
call fcn.0044f971
pop ecx
push dword [ebp - 0x10]
call fcn.0044f971
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4