Function at 0x418cc0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ecx
push ecx
mov al, byte [0x47e408]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov byte [esp + 0x13], bl
cmp al, 0x14
je 0x418d00
cmp al, 0x90
je 0x418d00
cmp al, 0x91
je 0x418d00
cmp al, 1
je 0x418cf4
cmp al, 2
je 0x418cf4
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
jmp 0x418d0a
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x418cef
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
and al, 1
mov byte [esp + 0x12], al
movzx eax, byte [0x47e408]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x483e6c]
cmp ecx, ebx
je 0x419062
cmp byte [esp + 0x12], bl
jne 0x419062
cmp al, bl
jne 0x419062
mov eax, dword [0x483e70]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
imul eax, eax, 0x14
mov edi, dword [sym.imp.USER32.dll_mouse_event]
add eax, ecx
mov ecx, dword [eax]
cmp ecx, 0x100
jb 0x418ebe
mov edx, 0x101
cmp ecx, edx
jbe 0x418e6f
mov edx, 0x200
cmp ecx, edx
je 0x418e03
jbe 0x418ebe
cmp ecx, 0x202
jbe 0x418dc9
lea eax, [ecx - 0x204]
cmp eax, 1
ja 0x418ebe
xor eax, eax
cmp ecx, 0x204
push ebx
setne al
push ebx
push ebx
push ebx
lea eax, [eax*8 + 8]
push eax
call edi
mov eax, dword [0x483e70]
mov ecx, dword [0x483e6c]
imul eax, eax, 0x14
cmp dword [eax + ecx], 0x201
jmp 0x418df7
inc dword [0x483e80]
xor ecx, ecx
mov ebp, 0x201
cmp dword [eax], ebp
push ebx
setne cl
push ebx
push ebx
push ebx
lea ecx, [ecx + ecx + 2]
push ecx
call edi
mov eax, dword [0x483e70]
mov ecx, dword [0x483e6c]
imul eax, eax, 0x14
cmp dword [eax + ecx], ebp
sete byte [0x483e75]
jmp 0x418ebe
push ebx
push ebx
push 1
call esi
mov edx, dword [0x483e6c]
mov ecx, eax
mov eax, dword [0x483e70]
imul eax, eax, 0x14
mov eax, dword [eax + edx + 8]
imul eax, eax, 0xffff
xor edx, edx
div ecx
push eax
push ebx
call esi
mov edx, dword [0x483e6c]
mov ecx, eax
mov eax, dword [0x483e70]
imul eax, eax, 0x14
mov eax, dword [eax + edx + 4]
imul eax, eax, 0xffff
xor edx, edx
div ecx
push eax
push 0x8001
call edi
mov eax, dword [0x483e70]
mov ecx, dword [0x483e6c]
imul eax, eax, 0x14
push dword [eax + ecx + 8]
push dword [eax + ecx + 4]
call dword [sym.imp.USER32.dll_SetCursorPos]
jmp 0x418ebe
mov al, byte [eax + 4]
mov byte [esp + 0x14], al
cmp al, 0xa0
je 0x418ebe
cmp ecx, edx
jne 0x418e83
push 2
pop edx
jmp 0x418e85
xor edx, edx
cmp al, 0x21
jb 0x418e8d
cmp al, 0x2e
jbe 0x418ea1
cmp al, 0x11
je 0x418ea1
cmp al, 0x5b
je 0x418ea1
cmp al, 0x5c
je 0x418ea1
cmp al, 0x5d
je 0x418ea1
xor ecx, ecx
jmp 0x418ea4
xor ecx, ecx
inc ecx
push ebx
or ecx, edx
push ecx
movzx eax, al
push ebx
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_keybd_event]
mov eax, dword [0x483e6c]
inc dword [0x483e70]
cmp eax, ebx
je 0x418ed6
push eax
call fcn.00452af1
pop ecx
jmp 0x418ed8
xor eax, eax
push 0x14
xor edx, edx
pop ecx
div ecx
mov ecx, dword [0x483e70]
cmp ecx, eax
jae 0x419030
mov eax, dword [0x483e6c]
imul ecx, ecx, 0x14
add eax, ecx
cmp dword [eax], ebx
je 0x419030
mov ecx, dword [0x483e7c]
cmp ecx, 1
je 0x41900f
mov edx, dword [eax + 0xc]
sub edx, dword [eax - 8]
xor eax, eax
cmp ecx, 0xffffffff
sete al
push ebx
lea eax, [eax*4 + 1]
imul edx, eax
push edx
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x41908b
mov eax, dword [0x483e70]
mov ecx, dword [0x483e6c]
imul eax, eax, 0x14
cmp dword [eax + ecx], 0x200
jne 0x41901b
movzx eax, byte [0x47e408]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x41901b
mov ecx, dword [0x483e70]
push 6
xor edx, edx
mov eax, ecx
pop ebp
div ebp
test edx, edx
je 0x418f92
mov eax, dword [0x483e6c]
inc ecx
imul ecx, ecx, 0x14
cmp dword [ecx + eax], 0x200
je 0x419009
push ebx
push ebx
push 1
call esi
mov edx, dword [0x483e6c]
mov ecx, eax
mov eax, dword [0x483e70]
imul eax, eax, 0x14
mov eax, dword [eax + edx + 8]
imul eax, eax, 0xffff
xor edx, edx
div ecx
push eax
push ebx
call esi
mov edx, dword [0x483e6c]
mov ecx, eax
mov eax, dword [0x483e70]
imul eax, eax, 0x14
mov eax, dword [eax + edx + 4]
imul eax, eax, 0xffff
xor edx, edx
div ecx
push eax
push 0x8001
call edi
mov eax, dword [0x483e70]
mov ecx, dword [0x483e6c]
imul eax, eax, 0x14
push dword [eax + ecx + 8]
push dword [eax + ecx + 4]
call dword [sym.imp.USER32.dll_SetCursorPos]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x13], 1
inc dword [0x483e70]
cmp byte [0x483e75], bl
je 0x418f3b
xor eax, eax
cmp byte [esp + 0x13], bl
push ebx
sete al
dec eax
and eax, 0x4a
inc eax
push eax
jmp 0x418f28
mov dword [0x483e68], ebx
cmp dword [0x483e80], ebx
je 0x41904d
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
shr eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x483e78]
cmp eax, ebx
je 0x41908b
movzx eax, ax
push 1
or eax, 0x10000
jmp 0x41907b
mov eax, dword [0x483e78]
mov dword [0x483e68], ebx
cmp eax, ebx
je 0x41908b
movzx eax, ax
push 2
or eax, 0x20000
push eax
push 0x111
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8