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

Disassembly:
push ecx
push ecx
mov al, byte [0x470408]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x13], 0
cmp al, 0x14
je 0x413403
cmp al, 0x90
je 0x413403
cmp al, 0x91
je 0x413403
cmp al, 1
je 0x4133f7
cmp al, 2
je 0x4133f7
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
shr ebx, 0xf
jmp 0x413410
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x4133ef
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov bx, ax
movzx eax, byte [0x470408]
push eax
and bl, 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x476024]
xor edi, edi
cmp ecx, edi
je 0x413766
test bl, bl
jne 0x413766
test al, al
jne 0x413766
mov eax, dword [0x476028]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
imul eax, eax, 0x14
mov ebx, dword [sym.imp.USER32.dll_mouse_event]
add eax, ecx
mov ecx, dword [eax]
cmp ecx, 0x100
jb 0x4135c1
mov edx, 0x101
cmp ecx, edx
jbe 0x413572
mov edx, 0x200
cmp ecx, edx
je 0x413506
jbe 0x4135c1
cmp ecx, 0x202
jbe 0x4134cc
lea eax, [ecx - 0x204]
cmp eax, 1
ja 0x4135c1
xor eax, eax
cmp ecx, 0x204
push edi
setne al
push edi
push edi
push edi
lea eax, [eax*8 + 8]
push eax
call ebx
mov eax, dword [0x476028]
mov ecx, dword [0x476024]
imul eax, eax, 0x14
cmp dword [eax + ecx], 0x201
jmp 0x4134fa
inc dword [0x476038]
xor ecx, ecx
mov ebp, 0x201
cmp dword [eax], ebp
push edi
setne cl
push edi
push edi
push edi
lea ecx, [ecx + ecx + 2]
push ecx
call ebx
mov eax, dword [0x476028]
mov ecx, dword [0x476024]
imul eax, eax, 0x14
cmp dword [eax + ecx], ebp
sete byte [0x47602d]
jmp 0x4135c1
push edi
push edi
push 1
call esi
mov edx, dword [0x476024]
mov ecx, eax
mov eax, dword [0x476028]
imul eax, eax, 0x14
mov eax, dword [eax + edx + 8]
imul eax, eax, 0xffff
xor edx, edx
div ecx
push eax
push edi
call esi
mov edx, dword [0x476024]
mov ecx, eax
mov eax, dword [0x476028]
imul eax, eax, 0x14
mov eax, dword [eax + edx + 4]
imul eax, eax, 0xffff
xor edx, edx
div ecx
push eax
push 0x8001
call ebx
mov eax, dword [0x476028]
mov ecx, dword [0x476024]
imul eax, eax, 0x14
add eax, ecx
push dword [eax + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetCursorPos]
jmp 0x4135c1
mov al, byte [eax + 4]
mov byte [esp + 0x14], al
cmp al, 0xa0
je 0x4135c1
cmp ecx, edx
jne 0x413586
push 2
pop edx
jmp 0x413588
xor edx, edx
cmp al, 0x21
jb 0x413590
cmp al, 0x2e
jbe 0x4135a4
cmp al, 0x11
je 0x4135a4
cmp al, 0x5b
je 0x4135a4
cmp al, 0x5c
je 0x4135a4
cmp al, 0x5d
je 0x4135a4
xor ecx, ecx
jmp 0x4135a7
xor ecx, ecx
inc ecx
push edi
or ecx, edx
push ecx
movzx eax, al
push edi
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 [0x476024]
inc dword [0x476028]
cmp eax, edi
je 0x4135d9
push eax
call fcn.00446205
pop ecx
jmp 0x4135db
xor eax, eax
push 0x14
xor edx, edx
pop ecx
div ecx
mov ecx, dword [0x476028]
cmp ecx, eax
jae 0x413734
mov eax, dword [0x476024]
imul ecx, ecx, 0x14
add eax, ecx
cmp dword [eax], edi
je 0x413734
mov ecx, dword [0x476034]
cmp ecx, 1
je 0x413712
mov edx, dword [eax + 0xc]
sub edx, dword [eax - 8]
xor eax, eax
cmp ecx, 0xffffffff
sete al
push edi
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 0x41378f
mov eax, dword [0x476028]
mov ecx, dword [0x476024]
imul eax, eax, 0x14
cmp dword [eax + ecx], 0x200
jne 0x41371f
movzx eax, byte [0x470408]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x41371f
mov ecx, dword [0x476028]
push 6
xor edx, edx
mov eax, ecx
pop ebp
div ebp
test edx, edx
je 0x413695
mov eax, dword [0x476024]
inc ecx
imul ecx, ecx, 0x14
cmp dword [ecx + eax], 0x200
je 0x41370c
push edi
push edi
push 1
call esi
mov edx, dword [0x476024]
mov ecx, eax
mov eax, dword [0x476028]
imul eax, eax, 0x14
mov eax, dword [eax + edx + 8]
imul eax, eax, 0xffff
xor edx, edx
div ecx
push eax
push edi
call esi
mov edx, dword [0x476024]
mov ecx, eax
mov eax, dword [0x476028]
imul eax, eax, 0x14
mov eax, dword [eax + edx + 4]
imul eax, eax, 0xffff
xor edx, edx
div ecx
push eax
push 0x8001
call ebx
mov eax, dword [0x476028]
mov ecx, dword [0x476024]
imul eax, eax, 0x14
add eax, ecx
push dword [eax + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetCursorPos]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x13], 1
inc dword [0x476028]
cmp byte [0x47602d], 0
je 0x41363e
xor eax, eax
cmp byte [esp + 0x13], al
push edi
sete al
dec eax
and eax, 0x4a
inc eax
push eax
jmp 0x41362b
mov dword [0x476020], edi
cmp dword [0x476038], edi
je 0x413751
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
shr eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x476030]
cmp eax, edi
je 0x41378f
movzx eax, ax
push 1
or eax, 0x10000
jmp 0x41377f
mov eax, dword [0x476030]
mov dword [0x476020], edi
cmp eax, edi
je 0x41378f
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