Function at 0x404750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a950
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x6f7d14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], 0
cmp dword [ebp + 8], 0
je 0x4049d4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004ec799
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xd8], 0
je 0x4049d4
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 0x10]
cmp eax, 5
je 0x4047c4
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x10]
cmp edx, 6
jne 0x4049d4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x164]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x3c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040eb00
add eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov word [ebp - 0x54], ax
mov ecx, dword [ebp - 0x10]
call fcn.0040dc00
mov ecx, eax
call fcn.0040dc20
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 3
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
jne 0x40484e
mov edx, 0x40
mov word [ebp - 0x60], dx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004eab55
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x30], edx
lea ecx, [ebp - 0x24]
call fcn.0040cef0
push eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0063a3df
add esp, 0xc
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x18]
mov byte [edx - 1], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x1d8], 0
je 0x4048a7
mov dword [ebp - 0x34], 1
jmp 0x4048ae
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x10]
add eax, 0x1d4
push eax
lea ecx, [ebp - 0x50]
call fcn.0040f0e0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], 0
je 0x4048df
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x220]
call eax
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne 0x404983
cmp dword [ebp - 0x5e], 0
jne 0x404983
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040daa0
mov dword [ebp - 0x1c], eax
push 2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0040ddd0
mov dword [ebp - 0x14], eax
push 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040ddd0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x14], 0
jne 0x404938
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jne 0x404944
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040da70
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x404983
cmp dword [ebp - 0x14], 0
je 0x404983
push 9
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0040da40
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jne 0x404983
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004031e0
cmp dword [ebp - 0x38], 0
je 0x4049a7
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x218]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x1d4
push edx
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x48]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004eab50
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0040ed10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040ed10
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4