Function at 0x409110
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 0x409172
mov esi, eax
test byte [ebx + 0x18], 0x10
je 0x409180
mov eax, dword [ebx + 0x10]
mov edi, edx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4091a8
mov eax, dword [ebx + 0x44]
cmp eax, 0x2e
je 0x409172
mov ecx, dword [esi + 0x94]
cmp eax, 0x2e002e
je 0x409220
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4092d0
test ecx, ecx
je 0x40916b
mov edx, ecx
mov eax, edi
call fcn.00402790
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4091f0
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 0x409210
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004051a0
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.00406d70
mov eax, dword [ebx + 0x44]
cmp eax, 0x2e
jne 0x409142
jmp 0x409172
mov eax, edi
xor edx, edx
call fcn.004066a0
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004014c0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004032d0
cmp word [ebx + 0x48], 0
jne 0x409153
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x40923c
lea eax, [esi + 4]
mov edx, ebx
call fcn.00402790
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 [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [ebp - 0x24], 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 edx, ebx
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov eax, esi
call fcn.00406ee0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x409172
jmp 0x4091f0
test ecx, ecx
je 0x4092f5
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x4092f5
mov edx, dword [ecx + 4]
test edx, edx
je 0x4092f5
cmp dword [edx + 0x44], 0x2e
je 0x409390
test byte [edx + 0x18], 0x10
mov dword [ebp - 0x24], edx
jne 0x409310
mov edx, dword [edi + 0x84]
test edx, edx
jne 0x40916b
jmp 0x40923c
mov dword [esp + 0xc], ecx
mov dword [ebp - 0x28], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x18f
mov eax, dword [esi + 4]
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 dword [ecx + 0xc], 1
xor ecx, ecx
mov dword [esp + 4], eax
lea eax, [esi + 4]
mov dword [esp], 0x1f
mov edx, dword [ebp - 0x24]
call fcn.00402860
mov ecx, dword [esi + 0x160]
test ecx, ecx
jne 0x4092f5
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.004066a0
test eax, eax
je 0x4092f5
mov eax, dword [ebp - 0x28]
call fcn.004014c0
mov dword [esi + 0x160], 1
jmp 0x4092f5
mov eax, dword [edx]
test eax, eax
je 0x4092ec
cmp dword [eax + 0x44], 0x2e002e
mov edx, eax
jne 0x4092ec
cmp word [eax + 0x48], 0
jne 0x4092ec
mov edx, dword [eax]
test edx, edx
cmove edx, eax
jmp 0x4092ec