Function at 0x40ab86
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.00451750
pop ecx
inc eax
push eax
call fcn.0044f4b6
pop ecx
mov ebx, eax
push esi
mov dword [ebp - 0x18], ebx
call fcn.00451750
pop ecx
lea eax, [eax + eax + 1]
push eax
call fcn.0044f4b6
mov edi, eax
pop ecx
lea edx, [ebp - 0xc]
mov al, 0x20
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], 1
call fcn.0040afda
test eax, eax
jne 0x40ac19
mov eax, dword [ebp - 0xc]
mov al, byte [eax + esi]
cmp al, 0x20
je 0x40abf3
cmp al, 9
jne 0x40abf8
inc dword [ebp - 0xc]
jmp 0x40abe5
lea edx, [ebp - 0xc]
mov ebx, edi
xor al, al
call fcn.0040afda
push 0x46ba1c
push edi
call fcn.0044f30b
test eax, eax
pop ecx
pop ecx
jne 0x40ac68
mov byte [ebp - 2], 1
xor edi, edi
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
push ebx
push dword [esi*4 + 0x4743a0]
call fcn.0044f30b
test eax, eax
pop ecx
pop ecx
je 0x40ac3d
inc esi
cmp esi, 0x62
mov dword [ebp - 0x14], esi
jl 0x40ac1b
cmp esi, 0x62
jne 0x40ad31
cmp byte [ebp - 1], 0
movzx eax, byte [ebx]
je 0x40ad01
push edi
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
mov ebx, dword [ebp + 8]
jmp 0x40af1c
push str.down
push edi
call fcn.0044f30b
test eax, eax
pop ecx
pop ecx
jne 0x40ac7f
mov byte [ebp - 1], 1
jmp 0x40ac19
push 0x46ba28
push edi
call fcn.0044f30b
test eax, eax
pop ecx
pop ecx
jne 0x40ac96
mov byte [ebp - 3], 1
jmp 0x40ac19
push 0x46ba2c
push edi
call fcn.0044f30b
test eax, eax
pop ecx
pop ecx
jne 0x40acb0
mov byte [ebp - 4], 1
jmp 0x40ac19
cmp byte [edi], 0x30
jne 0x40ace1
mov al, byte [edi + 1]
cmp al, 0x78
je 0x40acc0
cmp al, 0x58
jne 0x40ace1
add edi, 2
lea esi, [ebp - 8]
call fcn.0040f73c
push dword [ebp - 8]
push 0x46ba30
push ebx
call fcn.00451899
add esp, 0xc
jmp 0x40ac19
push edi
call fcn.00451549
xor edi, edi
cmp eax, edi
pop ecx
mov dword [ebp - 8], eax
jg 0x40ac1b
mov dword [ebp - 8], 1
jmp 0x40ac1b
cmp byte [ebp - 2], 0
je 0x40ad20
push edi
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
movzx ebx, ax
and ebx, 0xff
mov eax, dword [ebp + 8]
jmp 0x40af86
push dword [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
call fcn.00409f32
jmp case.default.0x40ada9
cmp byte [esi + 0x474528], 0
jne 0x40ad99
cmp byte [ebp - 1], 0
je 0x40ad4d
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push edi
jmp 0x40ac60
cmp byte [ebp - 2], 0
je 0x40ad5d
mov ebx, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push edi
jmp 0x40ad18
cmp byte [ebp - 3], 0
je 0x40ad67
push 1
jmp 0x40ad6e
cmp byte [ebp - 4], 0
je 0x40ad82
push edi
push dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
mov ebx, dword [ebp + 8]
call fcn.00409ed4
jmp case.default.0x40ada9
push dword [ebp - 8]
mov eax, dword [ebp + 8]
push dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
call fcn.00409f98
jmp case.default.0x40ada9
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
cmp eax, 0xc
ja case.default.0x40ada9
jmp dword [eax*4 + 0x40afa6]
cmp byte [ebp - 1], 0
jne case.0x40ada9.2
cmp byte [ebp - 2], 0
je 0x40adde
mov eax, dword [ebp + 8]
lea edx, [eax + 0x13c]
mov ecx, dword [edx]
mov esi, 0x100
test esi, ecx
je case.default.0x40ada9
xor ecx, esi
mov dword [edx], ecx
push edi
jmp 0x40af83
push edi
push 0x12
jmp 0x40ae09
cmp byte [ebp - 1], 0
je 0x40adf4
mov ebx, dword [ebp + 8]
push edi
push 0xd
jmp 0x40af1b
cmp byte [ebp - 2], 0
je 0x40ae05
mov eax, dword [ebp + 8]
push edi
push 0xd
jmp 0x40af85
push 1
push 0xd
push dword [ebp + 8]
call fcn.0040a94c
jmp case.default.0x40ada9
mov ebx, dword [ebp + 8]
lea ecx, [ebx + 0x13c]
mov eax, dword [ecx]
mov esi, 0x100
test esi, eax
jne case.default.0x40ada9
or eax, esi
push edi
mov dword [ecx], eax
push 0x12
jmp 0x40af1b
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x13c]
mov eax, dword [edx]
mov ecx, 0x200
test ecx, eax
jne case.default.0x40ada9
push edi
push 0x10
jmp 0x40af17
mov eax, dword [ebp + 8]
lea esi, [eax + 0x13c]
mov edx, dword [esi]
mov ecx, 0x200
test ecx, edx
je case.default.0x40ada9
xor edx, ecx
push edi
mov dword [esi], edx
push 0x10
jmp 0x40af85
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x13c]
mov eax, dword [edx]
mov ecx, 0x800
test ecx, eax
jne case.default.0x40ada9
push edi
push 0x11
jmp 0x40af17
mov eax, dword [ebp + 8]
lea esi, [eax + 0x13c]
mov edx, dword [esi]
mov ecx, 0x800
test ecx, edx
je case.default.0x40ada9
xor edx, ecx
push edi
mov dword [esi], edx
push 0x11
jmp 0x40af85
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x13c]
mov eax, dword [edx]
mov ecx, 0x1000
test ecx, eax
jne case.default.0x40ada9
push edi
push 0x5b
jmp 0x40af17
mov eax, dword [ebp + 8]
lea esi, [eax + 0x13c]
mov edx, dword [esi]
mov ecx, 0x1000
test ecx, edx
je case.default.0x40ada9
xor edx, ecx
push edi
mov dword [esi], edx
push 0x5b
jmp 0x40af85
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x13c]
mov eax, dword [edx]
mov ecx, 0x2000
test ecx, eax
jne case.default.0x40ada9
push edi
push 0x5c
or eax, ecx
mov dword [edx], eax
pop eax
call fcn.0040a971
jmp case.default.0x40ada9
mov eax, dword [ebp + 8]
lea esi, [eax + 0x13c]
mov edx, dword [esi]
mov ecx, 0x2000
test ecx, edx
je case.default.0x40ada9
xor edx, ecx
push edi
mov dword [esi], edx
push 0x5c
jmp 0x40af85
mov edi, dword [ebp + 8]
mov esi, 0x100
test dword [edi + 0x13c], esi
jne 0x40af5c
push 0
push 0x12
pop eax
mov ebx, edi
call fcn.0040a971
mov ebx, dword [ebp - 0x10]
jmp 0x40af71
movsx eax, al
push 0
add eax, 0x30
push eax
push edi
call fcn.0040a94c
inc ebx
mov al, byte [ebx]
test al, al
jne 0x40af61
test dword [edi + 0x13c], esi
jne case.default.0x40ada9
push 0
mov eax, edi
push 0x12
pop ebx
call fcn.0040aa7b
push dword [ebp - 0x18]
call fcn.0044f520
pop ecx
push dword [ebp - 0x10]
call fcn.0044f520
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4