Function at 0x411070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cb95b
mov eax, dword fs:[0]
push eax
sub esp, 0x500
mov eax, dword [0x512f80]
xor eax, esp
mov dword [esp + 0x4f8], eax
push ebx
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0x510]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
mov edi, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
jne 0x4110e6
push str.HaveClientAppName
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0x4d2
mov ecx, str..BootStrapperApp.cpp
mov edx, str.sClientAppExe.length__
call fcn.0042ca40
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jg 0x411111
push str.EnoughCmdLineArgs
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0x4d3
mov ecx, str..BootStrapperApp.cpp
mov edx, str.argc___0
call fcn.0042ca40
test edi, edi
jne 0x411138
push str.ProvidedACmdLine
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0x4d4
mov ecx, str..BootStrapperApp.cpp
mov edx, str.argv
call fcn.0042ca40
push 0x44
lea ecx, [esp + 0x50]
push 0
push ecx
call fcn.00488650
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], 0x10
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
jb 0x41116e
mov esi, dword [esi + 4]
jmp 0x411171
add esi, 4
mov edi, esi
mov ebx, 0x400
lea esi, [esp + 0x104]
call fcn.00442c50
mov edx, dword [ebp + 8]
mov esi, 1
cmp dword [edx], esi
jle 0x411201
mov edi, dword [esp + 0x24]
mov eax, dword [edi + esi*4]
push 0x20
push eax
call fcn.00483410
add esp, 8
test eax, eax
push 0x400
lea ebx, [esp + 0x108]
je 0x4111d3
mov eax, 0x4e28e0
call fcn.00442d50
mov eax, dword [edi + esi*4]
add esp, 4
push 0x400
call fcn.00442d50
mov eax, 0x4e28e4
jmp 0x4111e0
mov eax, 0x4e2284
call fcn.00442d50
mov eax, dword [edi + esi*4]
add esp, 4
push 0x400
lea ebx, [esp + 0x108]
call fcn.00442d50
mov eax, dword [ebp + 8]
add esi, 1
add esp, 4
cmp esi, dword [eax]
jl 0x411190
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [esp + 0x124]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x411274
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x98]
push edx
mov ecx, str.Could_not_spawn
call fcn.004089d0
add esp, 8
mov dword [esp + 0x518], 0
push 0
push 2
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.00431600
push 0x5026d0
lea ecx, [esp + 0xb4]
push ecx
call fcn.00488a7c
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.00408f60
mov dword [esp + 0x520], 1
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.00408f60
add esp, 0x10
mov byte [esp + 0x518], 2
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4112e6
push 0x4fc
push str..BootStrapperApp.cpp
push str.dwRet______DWORD__0x00000000L_____0__
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edx
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x411310
mov eax, dword [esp + 0x10]
cmp eax, 7
jne 0x41130a
mov esi, eax
jmp 0x411310
test eax, eax
jne 0x411310
xor esi, esi
mov byte [esp + 0x518], 1
mov ebx, vtable.ScopeGuardImpl1_int____stdcall___void____void__.0
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x518], 3
lea ecx, [esp + 0x2c]
call fcn.00407450
mov byte [esp + 0x518], 1
mov edi, vtable.ScopeGuardImplBase.0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x518], 0xffffffff
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x518], 4
lea ecx, [esp + 0x3c]
call fcn.00407450
mov dword [esp + 0x518], 0xffffffff
mov dword [esp + 0x3c], edi
mov eax, esi
mov ecx, dword [esp + 0x510]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4f8]
xor ecx, esp
call fcn.0048162f
mov esp, ebp
pop ebp
ret 4