Function at 0x407e60
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [edx + 0x90]
mov dword [ebp - 0x1c], ecx
test ebx, ebx
je 0x407ec2
mov esi, eax
test byte [ebx + 0x18], 0x10
je 0x407ed0
mov eax, dword [ebx + 0x10]
mov edi, edx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x407ef8
mov eax, dword [ebx + 0x44]
cmp eax, 0x2e
je 0x407ec2
mov ecx, dword [esi + 0x94]
cmp eax, 0x2e002e
je 0x407f70
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x408020
test ecx, ecx
je 0x407ebb
mov edx, ecx
mov eax, edi
call fcn.00402490
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x407f40
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x12
call sub.user32.dll_GetKeyState
mov edx, dword [esi]
sub esp, 4
test ax, ax
mov eax, ebx
js 0x407f60
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00407d10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x188
mov eax, dword [esi + 4]
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov edx, ebx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 0x10
mov dword [esp], eax
mov eax, esi
call fcn.004058c0
mov eax, dword [ebx + 0x44]
cmp eax, 0x2e
jne 0x407e92
jmp 0x407ec2
mov eax, edi
xor edx, edx
call fcn.00403ea0
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00401470
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00405840
cmp word [ebx + 0x48], 0
jne 0x407ea3
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x407f8c
lea eax, [esi + 4]
mov edx, ebx
call fcn.00402490
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x188
mov eax, dword [esi + 4]
mov dword [esp], eax
call sub.user32.dll_SendMessageW
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x18f
mov eax, dword [esi + 4]
mov dword [esp], eax
call sub.user32.dll_SendMessageW
sub esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x186
mov eax, dword [esi + 4]
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov edx, ebx
sub esp, 0x10
mov dword [esp], eax
mov eax, esi
call fcn.00405b40
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x407ec2
jmp 0x407f40
test ecx, ecx
je 0x408045
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x408045
mov edx, dword [ecx + 4]
test edx, edx
je 0x408045
cmp dword [edx + 0x44], 0x2e
je 0x4080e0
test byte [edx + 0x18], 0x10
mov dword [ebp - 0x24], edx
jne 0x408060
mov edx, dword [edi + 0x84]
test edx, edx
jne 0x407ebb
jmp 0x407f8c
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x18f
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], ecx
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov ecx, dword [ebp - 0x28]
lea edx, [esi + 4]
sub esp, 0x10
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0xc], 1
xor ecx, ecx
mov dword [esp + 4], eax
lea eax, [esi + 4]
mov dword [esp], 0x1f
call fcn.00402560
mov ecx, dword [esi + 0x160]
test ecx, ecx
jne 0x408045
xor edx, edx
lea eax, [esi + 4]
call fcn.00403ea0
test eax, eax
je 0x408045
lea eax, [esi + 4]
call fcn.00401470
mov dword [esi + 0x160], 1
jmp 0x408045
mov eax, dword [edx]
test eax, eax
je 0x40803c
cmp dword [eax + 0x44], 0x2e002e
mov edx, eax
jne 0x40803c
cmp word [eax + 0x48], 0
jne 0x40803c
mov edx, dword [eax]
test edx, edx
cmove edx, eax
jmp 0x40803c