Function at 0x51aefc
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 0x51b3d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 1
lea eax, [ebp - 0x14]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403c40
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
jne 0x51b1f0
xor eax, eax
mov al, byte [ebp - 9]
imul eax, eax, 0xeb
mov dl, byte [eax + 0x54f183]
or dl, byte [0x54f4a0]
je 0x51af78
mov byte [ebp - 0xa], 0
jmp 0x51b3b6
mov byte [eax + 0x54f183], 1
xor edx, edx
push ebp
push 0x51b1e9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x54f1a0]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x51b3ec
mov edx, 0x51b400
mov eax, dword [0x54f164]
call fcn.004597c0
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.004574f8
mov edx, dword [ebp - 0x1c]
mov cl, 0x5f
mov eax, dword [ebp - 8]
call fcn.00535694
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00403e2c
mov eax, dword [ebp - 4]
mov byte [0x54f5bc], 0
push ebp
lea eax, [ebp - 0x18]
call fcn.0051ac3c
pop ecx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.00403c40
mov eax, dword [ebp - 0x10]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
jne 0x51b0af
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00409528
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004088e0
mov eax, dword [ebp - 0x18]
mov edx, 0x51b410
call fcn.00403f34
je 0x51b089
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00409528
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004088e0
mov eax, dword [ebp - 0x18]
mov edx, 0x51b420
call fcn.00403f34
je 0x51b089
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00409528
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004088e0
mov eax, dword [ebp - 0x18]
mov edx, 0x51b430
call fcn.00403f34
jne 0x51b0af
cmp byte [ebp + 0xc], 0
je 0x51b09b
mov eax, 0x51b440
call fcn.00461dfc
jmp 0x51b0a5
mov eax, 0x51b46c
call fcn.00461dfc
call fcn.004036bc
jmp 0x51b3b6
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x51b0c8
lea eax, [ebp - 0x10]
mov edx, 0x51b498
call fcn.00403c40
mov cl, 1
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 8]
call fcn.0051008c
xor eax, eax
mov al, byte [ebp - 9]
imul eax, eax, 0xeb
mov byte [eax + 0x54f163], 1
mov byte [0x54f5f0], 1
xor edx, edx
push ebp
push 0x51b121
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 + 0x54f14e]
mov eax, dword [ebp - 8]
call fcn.0052fe44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51b12f
mov byte [0x54f5f0], 0
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.005359fc
xor eax, eax
mov dword [0x54f5d8], eax
xor eax, eax
mov al, byte [ebp - 9]
imul ebx, eax, 0xeb
mov byte [ebx + 0x54f163], 0
xor ecx, ecx
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 8]
call fcn.0051008c
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.005391d8
cmp byte [0x54f5bd], 0
jbe 0x51b184
mov byte [0x54f5bd], 0
mov byte [ebp - 0xa], 0
cmp byte [ebp - 0xa], 0
jne 0x51b194
call fcn.004036bc
jmp 0x51b3b6
mov eax, dword [ebx + 0x54f14e]
cmp byte [eax + 0x1424], 0
je 0x51b1c9
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004094f0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0053e584
mov byte [ebp - 0xa], 0
call fcn.004036bc
jmp 0x51b3b6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51b22b
xor eax, eax
mov al, byte [ebp - 9]
imul eax, eax, 0xeb
mov byte [eax + 0x54f183], 0
ret
lea eax, [ebp - 0x14]
mov edx, 0x51b4b0
call fcn.00403c40
push ebp
lea eax, [ebp - 0x18]
call fcn.0051ac3c
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 0x51b22b
lea eax, [ebp - 0x10]
mov edx, 0x51b498
call fcn.00403c40
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004570f8
test al, al
je 0x51b3b6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
je 0x51b3b6
cmp byte [0x54f4f2], 0
je 0x51b287
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
je 0x51b287
cmp byte [ebp + 0xc], 0
jne 0x51b287
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [0x54f5b8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x10]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
jne 0x51b2e5
cmp byte [ebp + 0xc], 0
je 0x51b2ae
lea eax, [ebp - 0x14]
mov edx, 0x51b4b0
call fcn.00403c40
jmp 0x51b2bb
lea eax, [ebp - 0x14]
mov edx, 0x51b4c0
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 0x51b3b6
mov eax, dword [ebp - 0x10]
mov edx, 0x51b498
call fcn.00403f34
je 0x51b306
mov eax, dword [ebp - 0x10]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
jne 0x51b347
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
push 0
cmp byte [ebp + 0xc], 0
je 0x51b328
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
jne 0x51b32c
xor eax, eax
jmp 0x51b32e
mov al, 1
push eax
mov al, byte [ebp + 8]
push eax
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00520d78
jmp 0x51b3b6
mov eax, dword [ebp - 0x10]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
je 0x51b39c
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, 0x51b4d0
call fcn.00409f80
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 0x51b3b6
push 0
push 0x51b4d8
push 0x51b4e4
mov eax, dword [ebp - 8]
call fcn.004471a4
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51b3d8
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00403bcc
ret