Function at 0x411846
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 - 0x18], eax
mov byte [ebp - 2], al
mov byte [ebp - 1], al
mov byte [ebp - 3], al
mov byte [ebp - 4], al
call fcn.00448e50
inc eax
push eax
call fcn.00448ad8
mov ebx, eax
push esi
mov dword [ebp - 0x10], ebx
call fcn.00448e50
lea eax, [eax + eax + 1]
push eax
call fcn.00448ad8
mov edi, eax
add esp, 0x10
lea edx, [ebp - 0xc]
mov al, 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], 1
call fcn.00411c86
test eax, eax
jne 0x4118d8
mov eax, dword [ebp - 0xc]
mov al, byte [eax + esi]
cmp al, 0x20
je 0x4118b2
cmp al, 9
jne 0x4118b7
inc dword [ebp - 0xc]
jmp 0x4118a4
lea edx, [ebp - 0xc]
mov ebx, edi
xor al, al
call fcn.00411c86
push 0x45ac50
push edi
call fcn.00448971
test eax, eax
pop ecx
pop ecx
jne 0x411925
mov byte [ebp - 2], 1
xor edi, edi
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
push ebx
push dword [esi*4 + 0x462520]
call fcn.00448971
test eax, eax
pop ecx
pop ecx
je 0x4118fc
inc esi
cmp esi, 0x62
mov dword [ebp - 0x18], esi
jl 0x4118da
cmp esi, 0x62
jne 0x4119e9
xor eax, eax
cmp byte [ebp - 1], 0
mov al, byte [ebx]
je 0x4119c0
push edi
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
jmp 0x411ad1
push str.down
push edi
call fcn.00448971
test eax, eax
pop ecx
pop ecx
jne 0x41193c
mov byte [ebp - 1], 1
jmp 0x4118d8
push 0x45ac44
push edi
call fcn.00448971
test eax, eax
pop ecx
pop ecx
jne 0x411953
mov byte [ebp - 3], 1
jmp 0x4118d8
push 0x45ac40
push edi
call fcn.00448971
test eax, eax
pop ecx
pop ecx
jne 0x41196d
mov byte [ebp - 4], 1
jmp 0x4118d8
cmp byte [edi], 0x30
jne 0x4119a0
mov al, byte [edi + 1]
cmp al, 0x78
je 0x41197d
cmp al, 0x58
jne 0x4119a0
add edi, 2
lea esi, [ebp - 8]
call fcn.00416302
push dword [ebp - 8]
push 0x45ac3c
push dword [ebp - 0x14]
call fcn.00448edb
add esp, 0xc
jmp 0x4118d8
push edi
call fcn.00448d60
xor edi, edi
cmp eax, edi
pop ecx
mov dword [ebp - 8], eax
jg 0x4118da
mov dword [ebp - 8], 1
jmp 0x4118da
cmp byte [ebp - 2], 0
je 0x4119d8
push edi
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
and eax, 0xff
jmp 0x411ae8
push dword [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
call fcn.00410c25
jmp case.default.0x411a64
cmp byte [esi + 0x4626a8], 0
jne 0x411a54
cmp byte [ebp - 1], 0
je 0x411a05
mov eax, dword [esi*4 + 0x462710]
push edi
jmp 0x411ad1
cmp byte [ebp - 2], 0
je 0x411a18
mov eax, dword [esi*4 + 0x462710]
push edi
jmp 0x411ae8
cmp byte [ebp - 3], 0
je 0x411a29
push 1
push dword [esi*4 + 0x462710]
jmp 0x411a37
cmp byte [ebp - 4], 0
push edi
push dword [esi*4 + 0x462710]
je 0x411a44
mov esi, dword [ebp + 8]
call fcn.00410bbf
jmp case.default.0x411a64
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
call fcn.00410c86
jmp case.default.0x411a64
mov eax, dword [esi*4 + 0x462710]
cmp eax, 0xc
ja case.default.0x411a64
jmp dword [eax*4 + 0x411c52]
cmp byte [ebp - 1], 0
je 0x411a91
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x144]
mov eax, dword [edx]
test al, 0x20
jne case.default.0x411a64
or eax, 0x20
push edi
mov dword [edx], eax
push 0x12
jmp 0x411bca
cmp byte [ebp - 2], 0
je 0x411ab7
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x144]
mov eax, dword [edx]
test al, 0x20
je case.default.0x411a64
xor eax, 0x20
push edi
mov dword [edx], eax
push 0x12
jmp 0x411beb
push edi
push 0x12
push dword [ebp + 8]
call fcn.0041162d
jmp case.default.0x411a64
cmp byte [ebp - 1], 0
je 0x411ade
push edi
push 0xd
pop eax
mov ecx, dword [ebp + 8]
call fcn.00411650
jmp case.default.0x411a64
cmp byte [ebp - 2], 0
je 0x411af5
push edi
push 0xd
pop eax
mov ecx, dword [ebp + 8]
call fcn.00411748
jmp case.default.0x411a64
push 1
push 0xd
jmp 0x411aba
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x144]
mov eax, dword [edx]
test al, 0x40
jne case.default.0x411a64
or eax, 0x40
mov dword [edx], eax
push edi
mov eax, 0xa0
jmp 0x411ad4
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x144]
mov eax, dword [edx]
test al, 0x40
je case.default.0x411a64
xor eax, 0x40
mov dword [edx], eax
push edi
mov eax, 0xa0
jmp 0x411aeb
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x100
test eax, edx
jne case.default.0x411a64
push edi
push 0x11
jmp 0x411bc6
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x100
test eax, edx
je case.default.0x411a64
push edi
push 0x11
jmp 0x411be7
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x200
test eax, edx
jne case.default.0x411a64
push edi
push 0x5b
jmp 0x411bc6
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x200
test eax, edx
je case.default.0x411a64
push edi
push 0x5b
jmp 0x411be7
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x400
test eax, edx
jne case.default.0x411a64
push edi
push 0x5c
or edx, eax
mov dword [esi], edx
pop eax
jmp 0x411ad4
mov ecx, dword [ebp + 8]
lea esi, [ecx + 0x144]
mov edx, dword [esi]
mov eax, 0x400
test eax, edx
je case.default.0x411a64
push edi
push 0x5c
xor edx, eax
mov dword [esi], edx
pop eax
jmp 0x411aeb
mov ebx, dword [ebp + 8]
test byte [ebx + 0x144], 0x20
jne 0x411c08
push edi
push 0x12
pop eax
mov ecx, ebx
call fcn.00411650
mov esi, dword [ebp - 0x14]
jmp 0x411c1c
movsx eax, al
push edi
add eax, 0x30
push eax
push ebx
call fcn.0041162d
inc esi
mov al, byte [esi]
test al, al
jne 0x411c0d
test byte [ebx + 0x144], 0x20
jne 0x411c36
push edi
push 0x12
pop eax
mov ecx, ebx
call fcn.00411748
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0044896c
push dword [ebp - 0x14]
call fcn.0044896c
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4