Function at 0x52d5ac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff8fc
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x704], ecx
mov dword [ebp - 0x6f8], ecx
mov dword [ebp - 0x6fc], ecx
mov dword [ebp - 0x700], ecx
mov dword [ebp - 0x6f4], ecx
mov dword [ebp - 0x6f0], ecx
mov esi, edx
lea edi, [ebp - 0x10c]
xor ecx, ecx
mov cl, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x52d933
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
call fcn.0040520c
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
xor ecx, ecx
mov edx, 0x52d94c
call fcn.0040510c
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
call fcn.00404d40
xor ecx, ecx
mov edx, 0x52d974
lea eax, [ebp - 0x3e8]
call fcn.0040510c
lea eax, [ebp - 0x3e8]
call fcn.00404d4c
lea edx, [ebp - 0x4e8]
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
mov ecx, 0xff
call fcn.00405e28
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
call fcn.004061ac
lea edx, [ebp - 0x4e8]
lea eax, [ebp - 0x3e8]
call fcn.00406978
call fcn.00406da8
lea eax, [ebp - 0x4e8]
mov edx, 0x52d990
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00409b1c
jne 0x52d648
lea edx, [ebp - 0x4e8]
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
mov ecx, 0xff
call fcn.00405e28
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
call fcn.004061ac
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x4e2c]
lea eax, [ebp - 0x3e8]
call fcn.00406b58
call fcn.00406da8
lea edx, [ebp - 0x4e8]
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
mov ecx, 0xff
call fcn.00405e28
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
call fcn.004061ac
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x510c]
lea eax, [ebp - 0x3e8]
call fcn.00406970
call fcn.00406da8
lea edx, [ebp - 0x4e8]
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
mov ecx, 0xff
call fcn.00405e28
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
call fcn.004061ac
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x3e8]
call fcn.00406978
call fcn.00406da8
lea edx, [ebp - 0x4e8]
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
mov ecx, 0xff
call fcn.00405e28
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
call fcn.004061ac
lea edx, [ebp - 0x4e8]
lea eax, [ebp - 0x3e8]
call fcn.00406978
call fcn.00406da8
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
call fcn.00405264
test al, al
je 0x52d751
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
call fcn.0040520c
mov eax, dword [ebp + 8]
add eax, 0xffffaef8
call fcn.00405290
lea eax, [ebp - 0x3e8]
call fcn.0040520c
mov edx, 0x52d94c
lea eax, [ebp - 0x3e8]
call fcn.00406220
lea edx, [ebp - 0x6f0]
mov eax, 2
call fcn.004049bc
mov edx, dword [ebp - 0x6f0]
lea eax, [ebp - 0x5e8]
mov ecx, 0xff
call fcn.0040a390
lea edx, [ebp - 0x6f4]
mov eax, 4
call fcn.004049bc
mov edx, dword [ebp - 0x6f4]
lea eax, [ebp - 0x6e8]
mov ecx, 0xff
call fcn.0040a390
jmp 0x52d853
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x52d840
mov eax, dword [ebp - 8]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov ecx, 1
mov edx, dword [ebp - 8]
call fcn.0040a698
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004099b8
cmp eax, 2
jg 0x52d820
push 0x52d9b4
mov eax, dword [ebp + 8]
push dword [eax - 4]
push 0x52d9dc
lea eax, [ebp - 0x6fc]
lea edx, [ebp - 0x5e8]
call fcn.0040a3fc
push dword [ebp - 0x6fc]
push 0x52d9dc
lea eax, [ebp - 0x700]
lea edx, [ebp - 0x6e8]
call fcn.0040a3fc
push dword [ebp - 0x700]
push 0x52d9ec
lea eax, [ebp - 0x6f8]
mov edx, 7
call fcn.0040a568
mov edx, dword [ebp - 0x6f8]
lea eax, [ebp - 0x4e8]
mov ecx, 0xff
call fcn.0040a390
call fcn.0040495c
cmp eax, 3
jle 0x52d8fd
lea edx, [ebp - 0x704]
mov eax, 4
call fcn.004049bc
mov eax, dword [ebp - 0x704]
mov edx, 0x52d9fc
call fcn.0040a618
je 0x52d90b
push 1
lea eax, [ebp - 0x4e7]
push eax
call sub.kernel32.dll_WinExec
mov eax, 0x1b
call fcn.00409324
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52d93a
lea eax, [ebp - 0x704]
mov edx, 6
call fcn.00409528
ret