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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x51c6a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 1
lea eax, [ebp - 0x14]
mov edx, dword [0x54d6c4]
mov edx, dword [edx]
call fcn.00403c40
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [0x54d6c4]
mov edx, dword [edx]
call fcn.00403f34
jne 0x51c4c8
xor eax, eax
mov al, byte [ebp - 9]
imul eax, eax, 0xeb
mov dl, byte [eax + 0x550183]
or dl, byte [0x5504a0]
je 0x51c250
mov byte [ebp - 0xa], 0
jmp 0x51c68e
mov byte [eax + 0x550183], 1
xor edx, edx
push ebp
push 0x51c4c1
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x5501a4]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x51c6c4
mov edx, 0x51c6d8
mov eax, dword [0x550168]
call fcn.00459828
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00403bfc
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
call fcn.004573a8
mov edx, dword [ebp - 0x1c]
mov cl, 0x5f
mov eax, dword [ebp - 8]
call fcn.005368c4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00403e2c
mov eax, dword [ebp - 4]
mov byte [0x5505c0], 0
push ebp
lea eax, [ebp - 0x18]
call fcn.0051bf14
pop ecx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.00403c40
mov eax, dword [ebp - 0x10]
mov edx, dword [0x54d6c4]
mov edx, dword [edx]
call fcn.00403f34
jne 0x51c387
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040951c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004088e0
mov eax, dword [ebp - 0x18]
mov edx, 0x51c6e8
call fcn.00403f34
je 0x51c361
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040951c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004088e0
mov eax, dword [ebp - 0x18]
mov edx, 0x51c6f8
call fcn.00403f34
je 0x51c361
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040951c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004088e0
mov eax, dword [ebp - 0x18]
mov edx, 0x51c708
call fcn.00403f34
jne 0x51c387
cmp byte [ebp + 0xc], 0
je 0x51c373
mov eax, 0x51c718
call fcn.00461fbc
jmp 0x51c37d
mov eax, 0x51c744
call fcn.00461fbc
call fcn.004036bc
jmp 0x51c68e
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x51c3a0
lea eax, [ebp - 0x10]
mov edx, 0x51c770
call fcn.00403c40
mov cl, 1
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 8]
call fcn.005109a8
xor eax, eax
mov al, byte [ebp - 9]
imul eax, eax, 0xeb
mov byte [eax + 0x550163], 1
mov byte [0x5505f4], 1
xor edx, edx
push ebp
push 0x51c3f9
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 4]
mov edx, dword [edx]
push edx
push 1
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov edx, dword [eax + 0x55014e]
mov eax, dword [ebp - 8]
call fcn.00531314
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51c407
mov byte [0x5505f4], 0
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00536c38
xor eax, eax
mov dword [0x5505dc], eax
xor eax, eax
mov al, byte [ebp - 9]
imul ebx, eax, 0xeb
mov byte [ebx + 0x550163], 0
xor ecx, ecx
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 8]
call fcn.005109a8
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0053a5c8
cmp byte [0x5505c1], 0
jbe 0x51c45c
mov byte [0x5505c1], 0
mov byte [ebp - 0xa], 0
cmp byte [ebp - 0xa], 0
jne 0x51c46c
call fcn.004036bc
jmp 0x51c68e
mov eax, dword [ebx + 0x55014e]
cmp byte [eax + 0x1424], 0
je 0x51c4a1
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004094e4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0053f9c8
mov byte [ebp - 0xa], 0
call fcn.004036bc
jmp 0x51c68e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51c503
xor eax, eax
mov al, byte [ebp - 9]
imul eax, eax, 0xeb
mov byte [eax + 0x550183], 0
ret
lea eax, [ebp - 0x14]
mov edx, 0x51c788
call fcn.00403c40
push ebp
lea eax, [ebp - 0x18]
call fcn.0051bf14
pop ecx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.00403c40
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x51c503
lea eax, [ebp - 0x10]
mov edx, 0x51c770
call fcn.00403c40
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00456fa8
test al, al
je 0x51c68e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [0x54d6c4]
mov edx, dword [edx]
call fcn.00403f34
je 0x51c68e
cmp byte [0x5504f2], 0
je 0x51c55f
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, dword [0x54d6c4]
mov edx, dword [edx]
call fcn.00403f34
je 0x51c55f
cmp byte [ebp + 0xc], 0
jne 0x51c55f
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [0x5505bc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x10]
mov edx, dword [0x54d6c4]
mov edx, dword [edx]
call fcn.00403f34
jne 0x51c5bd
cmp byte [ebp + 0xc], 0
je 0x51c586
lea eax, [ebp - 0x14]
mov edx, 0x51c788
call fcn.00403c40
jmp 0x51c593
lea eax, [ebp - 0x14]
mov edx, 0x51c798
call fcn.00403c40
push 1
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403fe8
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403fe8
push eax
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja 0x51c68e
mov eax, dword [ebp - 0x10]
mov edx, 0x51c770
call fcn.00403f34
je 0x51c5de
mov eax, dword [ebp - 0x10]
mov edx, dword [0x54d6c4]
mov edx, dword [edx]
call fcn.00403f34
jne 0x51c61f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
push 0
cmp byte [ebp + 0xc], 0
je 0x51c600
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, dword [0x54d6c4]
mov edx, dword [edx]
call fcn.00403f34
jne 0x51c604
xor eax, eax
jmp 0x51c606
mov al, 1
push eax
mov al, byte [ebp + 8]
push eax
mov edx, dword [0x54d6c4]
mov edx, dword [edx]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00522020
jmp 0x51c68e
mov eax, dword [ebp - 0x10]
mov edx, dword [0x54d6c4]
mov edx, dword [edx]
call fcn.00403f34
je 0x51c674
push 1
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x51c7a8
call fcn.00409f10
mov eax, dword [ebp - 0x18]
call fcn.00403fe8
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403fe8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja 0x51c68e
push 0
push 0x51c7b0
push 0x51c7bc
mov eax, dword [ebp - 8]
call fcn.00447134
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51c6b0
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00403bcc
ret