Function at 0x40da50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x456b94
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
mov ebx, dword [esp + 0x29c]
push ebp
push esi
mov esi, dword [ebx + 8]
xor ebp, ebp
test esi, esi
mov dword [esp + 0x2c], esi
jle 0x40ddb7
push edi
lea eax, [esp + 0x1c]
push ebp
push eax
mov ecx, ebx
call fcn.00405fe0
lea ecx, [esp + 0x18]
push ebp
push ecx
lea ecx, [ebx + 0x14]
mov dword [esp + 0x2a8], 0
call fcn.00405fe0
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x2a0], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x40dd88
lea ecx, [esp + 0x18]
call fcn.0043f811
mov eax, dword [esp + 0x18]
push 0x46f0a4
push eax
call fcn.0041fdfe
add esp, 8
test eax, eax
jne 0x40dd88
mov ecx, dword [0x470a10]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x2a4], 2
call fcn.0043f3ce
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x98]
lea ecx, [esp + 0x198]
push eax
push ecx
push 0
push 0
push edx
call fcn.004205df
mov eax, dword [0x470a10]
add esp, 0x14
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x2a0], 3
push ecx
lea ecx, [esp + 0x2c]
call fcn.0043f303
mov esi, eax
lea edx, [esp + 0x198]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x2a4], 4
call fcn.0043f303
push esi
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x2a8], 5
push eax
call fcn.0043f4c4
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2a4], 6
call fcn.0043f3ce
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a0], 5
call fcn.0043f295
lea ecx, [esp + 0x38]
mov byte [esp + 0x2a0], 4
call fcn.0043f295
lea ecx, [esp + 0x28]
mov byte [esp + 0x2a0], 3
call fcn.0043f295
mov ecx, dword [0x470a10]
mov dword [esp + 0x14], ecx
lea esi, [ebx + 0x28]
lea edx, [esp + 0x40]
push ebp
push edx
mov ecx, esi
mov byte [esp + 0x2a8], 7
call fcn.00405fe0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a4], 8
call fcn.0043f3ce
lea ecx, [esp + 0x40]
mov byte [esp + 0x2a0], 7
call fcn.0043f295
lea ecx, [esp + 0x14]
call fcn.0043f811
mov eax, dword [esp + 0x14]
push str.NULL
push eax
call fcn.0041fdfe
add esp, 8
test eax, eax
je 0x40dc60
push 0x46eab0
lea ecx, [esp + 0x14]
call fcn.0043f671
lea ecx, [esp + 0x3c]
push ebp
push ecx
mov ecx, esi
call fcn.00405fe0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a4], 9
call fcn.0043f6ad
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2a0], 7
call fcn.0043f295
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x58]
push str.Process_Execute
rep stosd dword es:[edi], eax
mov dword [esp + 0x58], 0x44
call fcn.00404400
add esp, 4
lea edx, [esp + 0x44]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40dd51
mov edx, dword [0x470a10]
mov dword [esp + 0x20], edx
lea eax, [esp + 0x2c]
push ebp
push eax
lea ecx, [ebx + 0x3c]
mov byte [esp + 0x2a8], 0xa
call fcn.00405fe0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x2a4], 0xb
call fcn.0043f3ce
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2a0], 0xa
call fcn.0043f295
lea ecx, [esp + 0x20]
call fcn.0043f811
mov ecx, dword [esp + 0x20]
push str.WAIT
push ecx
call fcn.0041fdfe
add esp, 8
test eax, eax
jne 0x40dd40
push str.Wait_Process
call fcn.00404400
mov edx, dword [esp + 0x48]
add esp, 4
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x48]
push ecx
call esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x2a0], 7
call fcn.0043f295
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 3
call fcn.0043f295
lea ecx, [esp + 0x24]
mov byte [esp + 0x2a0], 2
call fcn.0043f295
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a0], 1
call fcn.0043f295
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a0], 0
call fcn.0043f295
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2a0], 0xffffffff
call fcn.0043f295
inc ebp
cmp ebp, esi
jl 0x40da87
pop edi
mov ecx, dword [esp + 0x294]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x294
ret