Function at 0x40ab55
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.00451730
pop ecx
inc eax
push eax
call fcn.0044f496
pop ecx
mov ebx, eax
push esi
mov dword [ebp - 0x18], ebx
call fcn.00451730
pop ecx
lea eax, [eax + eax + 1]
push eax
call fcn.0044f496
mov edi, eax
pop ecx
lea edx, [ebp - 0xc]
mov al, 0x20
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], 1
call fcn.0040afa9
test eax, eax
jne 0x40abe8
mov eax, dword [ebp - 0xc]
mov al, byte [eax + esi]
cmp al, 0x20
je 0x40abc2
cmp al, 9
jne 0x40abc7
inc dword [ebp - 0xc]
jmp 0x40abb4
lea edx, [ebp - 0xc]
mov ebx, edi
xor al, al
call fcn.0040afa9
push 0x46ba1c
push edi
call fcn.0044f2eb
test eax, eax
pop ecx
pop ecx
jne 0x40ac37
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.0044f2eb
test eax, eax
pop ecx
pop ecx
je 0x40ac0c
inc esi
cmp esi, 0x62
mov dword [ebp - 0x14], esi
jl 0x40abea
cmp esi, 0x62
jne 0x40ad00
cmp byte [ebp - 1], 0
movzx eax, byte [ebx]
je 0x40acd0
push edi
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
mov ebx, dword [ebp + 8]
jmp 0x40aeeb
push str.down
push edi
call fcn.0044f2eb
test eax, eax
pop ecx
pop ecx
jne 0x40ac4e
mov byte [ebp - 1], 1
jmp 0x40abe8
push 0x46ba28
push edi
call fcn.0044f2eb
test eax, eax
pop ecx
pop ecx
jne 0x40ac65
mov byte [ebp - 3], 1
jmp 0x40abe8
push 0x46ba2c
push edi
call fcn.0044f2eb
test eax, eax
pop ecx
pop ecx
jne 0x40ac7f
mov byte [ebp - 4], 1
jmp 0x40abe8
cmp byte [edi], 0x30
jne 0x40acb0
mov al, byte [edi + 1]
cmp al, 0x78
je 0x40ac8f
cmp al, 0x58
jne 0x40acb0
add edi, 2
lea esi, [ebp - 8]
call fcn.0040f70b
push dword [ebp - 8]
push 0x46ba30
push ebx
call fcn.00451879
add esp, 0xc
jmp 0x40abe8
push edi
call fcn.00451529
xor edi, edi
cmp eax, edi
pop ecx
mov dword [ebp - 8], eax
jg 0x40abea
mov dword [ebp - 8], 1
jmp 0x40abea
cmp byte [ebp - 2], 0
je 0x40acef
push edi
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
movzx ebx, ax
and ebx, 0xff
mov eax, dword [ebp + 8]
jmp 0x40af55
push dword [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
call fcn.00409f01
jmp case.default.0x40ad78
cmp byte [esi + 0x474528], 0
jne 0x40ad68
cmp byte [ebp - 1], 0
je 0x40ad1c
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push edi
jmp 0x40ac2f
cmp byte [ebp - 2], 0
je 0x40ad2c
mov ebx, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
push edi
jmp 0x40ace7
cmp byte [ebp - 3], 0
je 0x40ad36
push 1
jmp 0x40ad3d
cmp byte [ebp - 4], 0
je 0x40ad51
push edi
push dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
mov ebx, dword [ebp + 8]
call fcn.00409ea3
jmp case.default.0x40ad78
push dword [ebp - 8]
mov eax, dword [ebp + 8]
push dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
call fcn.00409f67
jmp case.default.0x40ad78
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
cmp eax, 0xc
ja case.default.0x40ad78
jmp dword [eax*4 + 0x40af75]
cmp byte [ebp - 1], 0
jne case.0x40ad78.2
cmp byte [ebp - 2], 0
je 0x40adad
mov eax, dword [ebp + 8]
lea edx, [eax + 0x13c]
mov ecx, dword [edx]
mov esi, 0x100
test esi, ecx
je case.default.0x40ad78
xor ecx, esi
mov dword [edx], ecx
push edi
jmp 0x40af52
push edi
push 0x12
jmp 0x40add8
cmp byte [ebp - 1], 0
je 0x40adc3
mov ebx, dword [ebp + 8]
push edi
push 0xd
jmp 0x40aeea
cmp byte [ebp - 2], 0
je 0x40add4
mov eax, dword [ebp + 8]
push edi
push 0xd
jmp 0x40af54
push 1
push 0xd
push dword [ebp + 8]
call fcn.0040a91b
jmp case.default.0x40ad78
mov ebx, dword [ebp + 8]
lea ecx, [ebx + 0x13c]
mov eax, dword [ecx]
mov esi, 0x100
test esi, eax
jne case.default.0x40ad78
or eax, esi
push edi
mov dword [ecx], eax
push 0x12
jmp 0x40aeea
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x13c]
mov eax, dword [edx]
mov ecx, 0x200
test ecx, eax
jne case.default.0x40ad78
push edi
push 0x10
jmp 0x40aee6
mov eax, dword [ebp + 8]
lea esi, [eax + 0x13c]
mov edx, dword [esi]
mov ecx, 0x200
test ecx, edx
je case.default.0x40ad78
xor edx, ecx
push edi
mov dword [esi], edx
push 0x10
jmp 0x40af54
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x13c]
mov eax, dword [edx]
mov ecx, 0x800
test ecx, eax
jne case.default.0x40ad78
push edi
push 0x11
jmp 0x40aee6
mov eax, dword [ebp + 8]
lea esi, [eax + 0x13c]
mov edx, dword [esi]
mov ecx, 0x800
test ecx, edx
je case.default.0x40ad78
xor edx, ecx
push edi
mov dword [esi], edx
push 0x11
jmp 0x40af54
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x13c]
mov eax, dword [edx]
mov ecx, 0x1000
test ecx, eax
jne case.default.0x40ad78
push edi
push 0x5b
jmp 0x40aee6
mov eax, dword [ebp + 8]
lea esi, [eax + 0x13c]
mov edx, dword [esi]
mov ecx, 0x1000
test ecx, edx
je case.default.0x40ad78
xor edx, ecx
push edi
mov dword [esi], edx
push 0x5b
jmp 0x40af54
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x13c]
mov eax, dword [edx]
mov ecx, 0x2000
test ecx, eax
jne case.default.0x40ad78
push edi
push 0x5c
or eax, ecx
mov dword [edx], eax
pop eax
call fcn.0040a940
jmp case.default.0x40ad78
mov eax, dword [ebp + 8]
lea esi, [eax + 0x13c]
mov edx, dword [esi]
mov ecx, 0x2000
test ecx, edx
je case.default.0x40ad78
xor edx, ecx
push edi
mov dword [esi], edx
push 0x5c
jmp 0x40af54
mov edi, dword [ebp + 8]
mov esi, 0x100
test dword [edi + 0x13c], esi
jne 0x40af2b
push 0
push 0x12
pop eax
mov ebx, edi
call fcn.0040a940
mov ebx, dword [ebp - 0x10]
jmp 0x40af40
movsx eax, al
push 0
add eax, 0x30
push eax
push edi
call fcn.0040a91b
inc ebx
mov al, byte [ebx]
test al, al
jne 0x40af30
test dword [edi + 0x13c], esi
jne case.default.0x40ad78
push 0
mov eax, edi
push 0x12
pop ebx
call fcn.0040aa4a
push dword [ebp - 0x18]
call fcn.0044f500
pop ecx
push dword [ebp - 0x10]
call fcn.0044f500
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4