Function at 0x528060
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf3d1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb4], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
mov dword [ebp - 4], eax
mov esi, dword [edx]
mov edi, dword [edx + 4]
mov edx, ecx
lea ecx, [ebp - 0xcc]
call fcn.00527f00
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0040aa30
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xb8]
cmp eax, 8
jb 0x52811b
inc eax
lea ecx, [ebp - 0xcc]
push eax
push dword [ebp - 0xcc]
call fcn.00409510
cmp esi, edi
je 0x52821d
push 1
push 0x5f8524
lea ecx, [ebp - 0x48]
call fcn.0040c5a0
cmp dword [esi + 0x14], 8
jb 0x52813c
mov edx, dword [esi]
jmp 0x52813e
mov edx, esi
xor eax, eax
mov dword [ebp - 0xd0], 7
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xe4], ax
cmp word [edx], ax
je 0x528183
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0xb0], ecx
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x528170
sub eax, dword [ebp - 0xb0]
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xe4]
call fcn.00408a10
lea edx, [ebp - 0xe4]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcc]
call fcn.00527f00
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0040aa30
mov eax, dword [ebp - 0xb8]
cmp eax, 8
jb 0x5281d4
inc eax
lea ecx, [ebp - 0xcc]
push eax
push dword [ebp - 0xcc]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xbc], 0
cmp eax, 8
jb 0x528212
inc eax
lea ecx, [ebp - 0xe4]
push eax
push dword [ebp - 0xe4]
call fcn.00409510
add esi, 0x18
cmp esi, edi
jne 0x528123
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
cmp ecx, eax
je 0x52824c
push 0xffffffffffffffff
push 0
push eax
call fcn.00408f10
lea ecx, [ebp - 0x30]
call fcn.0051dd00
test al, al
jne 0x528272
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0xa8]
mov byte [ebp - 0xa1], 0
mov dword [edi], eax
jmp 0x5283d3
push 0x44
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0058fee0
add esp, 0xc
mov dword [ebp - 0x90], 0x44
cmp dword [ebp - 0x1c], 8
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
push edx
cmovae ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x90]
push edx
push eax
mov eax, dword [ebp - 0x18]
push 0
movups xmmword [ebp - 0xa0], xmm0
push dword [eax]
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x52834f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0xa8]
mov edx, eax
mov eax, dword [0x656c44]
mov dword [edi], edx
test eax, eax
je 0x52831e
push edx
push str.CreateProcess_failed__Error:__u
push 0x5f8398
push 0x5f8398
push str.ProcessUtils
push 0x61c4f4
push 0x32
call eax
add esp, 0x1c
mov byte [ebp - 0xa1], 0
jmp 0x5283d3
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x528343
mov eax, dword [ecx]
push edx
push str.CreateProcess_failed__Error:__u
push str.ProcessUtils
push 0x5f8398
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov byte [ebp - 0xa1], 0
jmp 0x5283d3
cmp byte [ebx + 0x14], 0
je 0x528361
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [ebx + 0xc], 0
jne 0x528381
mov edi, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xac]
mov dword [edi], 0
mov dword [ecx], 0
jmp 0x5283b0
push 0xffffffffffffffff
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0xa8]
mov dword [ecx], eax
push dword [ebp - 0xa0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x9c]
call esi
mov dword [edi], 0
mov byte [ebp - 0xa1], 1
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x5283e8
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00409510
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp ecx, 8
jb 0x528411
inc ecx
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
call fcn.00409510
mov al, byte [ebp - 0xa1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0057608a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret