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

Disassembly:
push ecx
push ecx
mov al, byte [0x475408]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov byte [esp + 0x13], bl
cmp al, 0x14
je 0x4147a4
cmp al, 0x90
je 0x4147a4
cmp al, 0x91
je 0x4147a4
cmp al, 1
je 0x414798
cmp al, 2
je 0x414798
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
jmp 0x4147ae
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x414793
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
and al, 1
mov byte [esp + 0x12], al
movzx eax, byte [0x475408]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x47aeac]
cmp ecx, ebx
je 0x414b06
cmp byte [esp + 0x12], bl
jne 0x414b06
cmp al, bl
jne 0x414b06
mov eax, dword [0x47aeb0]
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 0x414962
mov edx, 0x101
cmp ecx, edx
jbe 0x414913
mov edx, 0x200
cmp ecx, edx
je 0x4148a7
jbe 0x414962
cmp ecx, 0x202
jbe 0x41486d
lea eax, [ecx - 0x204]
cmp eax, 1
ja 0x414962
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 [0x47aeb0]
mov ecx, dword [0x47aeac]
imul eax, eax, 0x14
cmp dword [eax + ecx], 0x201
jmp 0x41489b
inc dword [0x47aec0]
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 [0x47aeb0]
mov ecx, dword [0x47aeac]
imul eax, eax, 0x14
cmp dword [eax + ecx], ebp
sete byte [0x47aeb5]
jmp 0x414962
push ebx
push ebx
push 1
call esi
mov edx, dword [0x47aeac]
mov ecx, eax
mov eax, dword [0x47aeb0]
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 [0x47aeac]
mov ecx, eax
mov eax, dword [0x47aeb0]
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 [0x47aeb0]
mov ecx, dword [0x47aeac]
imul eax, eax, 0x14
push dword [eax + ecx + 8]
push dword [eax + ecx + 4]
call dword [sym.imp.USER32.dll_SetCursorPos]
jmp 0x414962
mov al, byte [eax + 4]
mov byte [esp + 0x14], al
cmp al, 0xa0
je 0x414962
cmp ecx, edx
jne 0x414927
push 2
pop edx
jmp 0x414929
xor edx, edx
cmp al, 0x21
jb 0x414931
cmp al, 0x2e
jbe 0x414945
cmp al, 0x11
je 0x414945
cmp al, 0x5b
je 0x414945
cmp al, 0x5c
je 0x414945
cmp al, 0x5d
je 0x414945
xor ecx, ecx
jmp 0x414948
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 [0x47aeac]
inc dword [0x47aeb0]
cmp eax, ebx
je 0x41497a
push eax
call fcn.00447e51
pop ecx
jmp 0x41497c
xor eax, eax
push 0x14
xor edx, edx
pop ecx
div ecx
mov ecx, dword [0x47aeb0]
cmp ecx, eax
jae 0x414ad4
mov eax, dword [0x47aeac]
imul ecx, ecx, 0x14
add eax, ecx
cmp dword [eax], ebx
je 0x414ad4
mov ecx, dword [0x47aebc]
cmp ecx, 1
je 0x414ab3
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 0x414b2f
mov eax, dword [0x47aeb0]
mov ecx, dword [0x47aeac]
imul eax, eax, 0x14
cmp dword [eax + ecx], 0x200
jne 0x414abf
movzx eax, byte [0x475408]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x414abf
mov ecx, dword [0x47aeb0]
push 6
xor edx, edx
mov eax, ecx
pop ebp
div ebp
test edx, edx
je 0x414a36
mov eax, dword [0x47aeac]
inc ecx
imul ecx, ecx, 0x14
cmp dword [ecx + eax], 0x200
je 0x414aad
push ebx
push ebx
push 1
call esi
mov edx, dword [0x47aeac]
mov ecx, eax
mov eax, dword [0x47aeb0]
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 [0x47aeac]
mov ecx, eax
mov eax, dword [0x47aeb0]
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 [0x47aeb0]
mov ecx, dword [0x47aeac]
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 [0x47aeb0]
cmp byte [0x47aeb5], bl
je 0x4149df
xor eax, eax
cmp byte [esp + 0x13], bl
push ebx
sete al
dec eax
and eax, 0x4a
inc eax
push eax
jmp 0x4149cc
mov dword [0x47aea8], ebx
cmp dword [0x47aec0], ebx
je 0x414af1
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
shr eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x47aeb8]
cmp eax, ebx
je 0x414b2f
movzx eax, ax
push 1
or eax, 0x10000
jmp 0x414b1f
mov eax, dword [0x47aeb8]
mov dword [0x47aea8], ebx
cmp eax, ebx
je 0x414b2f
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