Function at 0x51dcdc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x51dce5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x51dfe8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
je 0x51ddc8
push edi
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, ebx
call fcn.0051e490
test al, al
jne 0x51de54
cmp dword [ebp - 8], 0x483
jne 0x51de54
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00409234
mov eax, dword [ebp - 0x14]
mov edx, 0x51e004
call fcn.00404e3c
jne 0x51de54
lea ecx, [ebp - 0x10]
mov edx, edi
mov eax, esi
call fcn.0051dc54
cmp dword [ebp - 0x10], 0
je 0x51de54
mov eax, edi
call fcn.00404ef0
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00404c28
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, esi
call fcn.00404ef0
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00404c28
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404ef0
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00404c28
mov edx, dword [ebp - 0x20]
mov eax, 0x51e004
pop ecx
call fcn.0051e490
jmp 0x51de54
mov eax, dword [ebp + 0xc]
push eax
mov eax, edi
call fcn.00404ef0
push eax
mov eax, dword [ebp - 4]
call fcn.00404ef0
push eax
mov eax, esi
call fcn.00404ef0
push eax
mov eax, ebx
call fcn.00404ef0
push eax
push 0
call sub.shell32.dll_ShellExecuteA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1f
jne 0x51de54
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00409234
mov eax, dword [ebp - 0x24]
mov edx, 0x51e004
call fcn.00404e3c
jne 0x51de54
lea ecx, [ebp - 0x10]
mov edx, edi
mov eax, esi
call fcn.0051dc54
cmp dword [ebp - 0x10], 0
je 0x51de54
mov eax, dword [ebp + 0xc]
push eax
mov eax, edi
call fcn.00404ef0
push eax
mov eax, esi
call fcn.00404ef0
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404ef0
push eax
push 0x51e00c
push 0
call sub.shell32.dll_ShellExecuteA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x20
jg 0x51dfcb
lea eax, [ebp - 0xc]
mov edx, 0x51e01c
call fcn.00404ac8
mov eax, dword [ebp - 8]
cmp eax, 0x20
ja case.0x51de7d.0
mov al, byte [eax + 0x51de84]
jmp dword [eax*4 + 0x51dea5]
lea eax, [ebp - 0xc]
mov edx, 0x51e034
call fcn.00404ac8
jmp case.0x51de7d.0
lea eax, [ebp - 0xc]
mov edx, 0x51e070
call fcn.00404ac8
jmp case.0x51de7d.0
lea eax, [ebp - 0xc]
mov edx, 0x51e09c
call fcn.00404ac8
jmp case.0x51de7d.0
lea eax, [ebp - 0xc]
mov edx, 0x51e0c8
call fcn.00404ac8
jmp case.0x51de7d.0
lea eax, [ebp - 0xc]
mov edx, 0x51e114
call fcn.00404ac8
jmp case.0x51de7d.0
lea eax, [ebp - 0xc]
mov edx, 0x51e158
call fcn.00404ac8
jmp case.0x51de7d.0
lea eax, [ebp - 0xc]
mov edx, 0x51e194
call fcn.00404ac8
jmp case.0x51de7d.0
lea eax, [ebp - 0xc]
mov edx, 0x51e1fc
call fcn.00404ac8
jmp case.0x51de7d.0
lea eax, [ebp - 0xc]
mov edx, 0x51e220
call fcn.00404ac8
jmp case.0x51de7d.0
lea eax, [ebp - 0xc]
mov edx, 0x51e274
call fcn.00404ac8
jmp case.0x51de7d.0
lea eax, [ebp - 0xc]
mov edx, 0x51e2b0
call fcn.00404ac8
jmp case.0x51de7d.0
lea eax, [ebp - 0xc]
mov edx, 0x51e300
call fcn.00404ac8
jmp case.0x51de7d.0
lea eax, [ebp - 0xc]
mov edx, 0x51e340
call fcn.00404ac8
push 0x10
mov eax, dword [ebp - 0xc]
call fcn.00404ef0
mov edx, eax
mov ecx, 0x51e360
mov eax, dword [0x5d51bc]
mov eax, dword [eax]
call fcn.004a2384
xor ebx, ebx
jmp 0x51dfcd
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51dfef
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404a54
ret