Function at 0x408ec0
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 - 8], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 2], al
mov byte [ebp - 1], al
mov byte [ebp - 3], al
mov byte [ebp - 4], al
call fcn.0044e140
pop ecx
inc eax
push eax
call fcn.0044daa6
pop ecx
mov ebx, eax
push esi
mov dword [ebp - 0xc], ebx
call fcn.0044e140
pop ecx
lea eax, [eax + eax + 1]
push eax
call fcn.0044daa6
xor edi, edi
mov dword [ebp - 0x10], eax
inc edi
pop ecx
lea edx, [ebp - 8]
mov al, 0x20
mov dword [ebp - 0x14], edi
call fcn.00409310
test eax, eax
jne 0x408f53
mov eax, dword [ebp - 8]
mov al, byte [eax + esi]
cmp al, 0x20
je 0x408f2a
cmp al, 9
jne 0x408f2f
inc dword [ebp - 8]
jmp 0x408f1c
mov ebx, dword [ebp - 0x10]
lea edx, [ebp - 8]
xor al, al
call fcn.00409310
push 0x46a8f8
mov esi, ebx
push esi
call fcn.0044d8f4
test eax, eax
pop ecx
pop ecx
jne 0x408fa4
mov byte [ebp - 2], 1
xor ebx, ebx
push dword [ebp - 0xc]
mov esi, dword [ebp - 0x18]
push dword [esi*4 + 0x4734a8]
call fcn.0044d8f4
test eax, eax
pop ecx
pop ecx
je 0x408f76
inc esi
cmp esi, 0x62
mov dword [ebp - 0x18], esi
jl 0x408f55
cmp esi, 0x62
jne 0x409063
cmp byte [ebp - 1], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
je 0x409039
push ebx
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
mov ecx, dword [ebp + 8]
jmp 0x40924b
push str.down
push esi
call fcn.0044d8f4
test eax, eax
pop ecx
pop ecx
jne 0x408fbb
mov byte [ebp - 1], 1
jmp 0x408f53
push 0x46a904
push esi
call fcn.0044d8f4
test eax, eax
pop ecx
pop ecx
jne 0x408fd2
mov byte [ebp - 3], 1
jmp 0x408f53
push 0x46a908
push esi
call fcn.0044d8f4
test eax, eax
pop ecx
pop ecx
jne 0x408fec
mov byte [ebp - 4], 1
jmp 0x408f53
cmp byte [esi], 0x30
jne 0x40901e
mov al, byte [esi + 1]
cmp al, 0x78
je 0x408ffc
cmp al, 0x58
jne 0x40901e
lea edi, [esi + 2]
lea esi, [ebp - 0x14]
call fcn.0040d9ea
mov edi, dword [ebp - 0x14]
push edi
push 0x46a90c
push ebx
call fcn.0044e1cb
add esp, 0xc
jmp 0x408f53
push esi
call fcn.0044e069
mov edi, eax
xor ebx, ebx
cmp edi, ebx
pop ecx
jg 0x408f55
xor edi, edi
inc edi
jmp 0x408f55
cmp byte [ebp - 2], 0
je 0x409054
push ebx
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
mov ecx, dword [ebp + 8]
jmp 0x4092bb
mov ecx, dword [ebp + 8]
push edi
push eax
call fcn.0040823b
jmp case.default.0x4090d9
cmp byte [esi + 0x473630], 0
jne 0x4090c9
cmp byte [ebp - 1], 0
je 0x40907f
mov eax, dword [esi*4 + 0x473698]
push ebx
jmp 0x408f9c
cmp byte [ebp - 2], 0
je 0x40908f
mov eax, dword [esi*4 + 0x473698]
push ebx
jmp 0x40904c
cmp byte [ebp - 3], 0
je 0x409099
push 1
jmp 0x4090a0
cmp byte [ebp - 4], 0
je 0x4090b4
push ebx
push dword [esi*4 + 0x473698]
mov esi, dword [ebp + 8]
call fcn.004081d7
jmp case.default.0x4090d9
mov eax, dword [ebp + 8]
push edi
push dword [esi*4 + 0x473698]
call fcn.004082a1
jmp case.default.0x4090d9
mov eax, dword [esi*4 + 0x473698]
cmp eax, 0xc
ja case.default.0x4090d9
jmp dword [eax*4 + 0x4092dc]
cmp byte [ebp - 1], 0
jne case.0x4090d9.2
cmp byte [ebp - 2], 0
je 0x40910d
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x148]
mov eax, dword [edx]
mov esi, 0x100
test esi, eax
je case.default.0x4090d9
xor eax, esi
mov dword [edx], eax
jmp 0x4092b7
push ebx
push 0x12
jmp 0x409138
cmp byte [ebp - 1], 0
je 0x409123
mov ecx, dword [ebp + 8]
push ebx
push 0xd
jmp 0x40924a
cmp byte [ebp - 2], 0
je 0x409134
mov ecx, dword [ebp + 8]
push ebx
push 0xd
jmp 0x4092ba
push 1
push 0xd
push dword [ebp + 8]
call fcn.00408c74
jmp case.default.0x4090d9
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x148]
mov eax, dword [edx]
mov esi, 0x100
test esi, eax
jne case.default.0x4090d9
or eax, esi
push ebx
mov dword [edx], eax
push 0x12
jmp 0x40924a
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x148]
mov edx, dword [esi]
mov eax, 0x200
test eax, edx
jne case.default.0x4090d9
push ebx
push 0x10
jmp 0x409246
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x148]
mov edx, dword [esi]
mov eax, 0x200
test eax, edx
je case.default.0x4090d9
xor edx, eax
push ebx
mov dword [esi], edx
push 0x10
jmp 0x4092ba
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x148]
mov edx, dword [esi]
mov eax, 0x800
test eax, edx
jne case.default.0x4090d9
push ebx
push 0x11
jmp 0x409246
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x148]
mov edx, dword [esi]
mov eax, 0x800
test eax, edx
je case.default.0x4090d9
xor edx, eax
push ebx
mov dword [esi], edx
push 0x11
jmp 0x4092ba
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x148]
mov edx, dword [esi]
mov eax, 0x1000
test eax, edx
jne case.default.0x4090d9
push ebx
push 0x5b
jmp 0x409246
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x148]
mov edx, dword [esi]
mov eax, 0x1000
test eax, edx
je case.default.0x4090d9
xor edx, eax
push ebx
mov dword [esi], edx
push 0x5b
jmp 0x4092ba
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x148]
mov edx, dword [esi]
mov eax, 0x2000
test eax, edx
jne case.default.0x4090d9
push ebx
push 0x5c
or edx, eax
mov dword [esi], edx
pop eax
call fcn.00408c99
jmp case.default.0x4090d9
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x148]
mov edx, dword [esi]
mov eax, 0x2000
test eax, edx
je case.default.0x4090d9
xor edx, eax
push ebx
mov dword [esi], edx
push 0x5c
jmp 0x4092ba
mov edi, dword [ebp + 8]
mov esi, 0x100
test dword [edi + 0x148], esi
jne 0x40928a
push ebx
push 0x12
pop eax
mov ecx, edi
call fcn.00408c99
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x4092ad
mov ebx, ecx
movsx eax, al
push 0
add eax, 0x30
push eax
push edi
call fcn.00408c74
inc ebx
mov al, byte [ebx]
test al, al
jne 0x409295
xor ebx, ebx
test dword [edi + 0x148], esi
jne case.default.0x4090d9
mov ecx, edi
push ebx
push 0x12
pop eax
call fcn.00408dac
push dword [ebp - 0xc]
call fcn.0044db10
pop ecx
push dword [ebp - 0x10]
call fcn.0044db10
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4