Function at 0x40bca0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4714a3
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4997f0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4997f0]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xac]
mov edi, ecx
mov esi, dword [edi + 0x14]
push 2
push 0x481da0
mov ebx, edi
call fcn.0040aca0
push esi
lea ecx, [eax + 1]
push edi
lea esi, [esp + 0x80]
call fcn.00408c90
xor ebx, ebx
mov dword [esp + 0xa4], ebx
call fcn.00440dd3
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40bd29
push 0x80004005
call fcn.00402690
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, 8
mov byte [esp + 0xa4], 1
cmp dword [edi + 0x18], eax
jb 0x40bd50
mov edi, dword [edi + 4]
jmp 0x40bd53
add edi, 4
cmp dword [esp + 0x90], eax
mov ecx, dword [esp + 0x7c]
jae 0x40bd64
lea ecx, [esp + 0x7c]
cmp dword [ebp + 0x18], eax
jb 0x40bd6e
mov eax, dword [ebp + 4]
jmp 0x40bd71
lea eax, [ebp + 4]
push edi
push ecx
push eax
lea ecx, [esp + 0x24]
push str.cmd.exe__C_cd___s___mklink___s____s_
push ecx
call fcn.0040a750
mov esi, dword [esp + 0x2c]
push esi
push str.CreateFileLink_____Trying_to_invoke_process_as_system_command__different_process_:__s
push ebx
push 0xfd
push str.Utils::CreateFileLink
call fcn.0042f100
push 0x44
lea edx, [esp + 0x58]
push ebx
push edx
call fcn.00454210
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
add esp, 0x34
or eax, ecx
jge 0x40bde1
push edx
lea ecx, [esp + 0x1c]
call fcn.00402710
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
push 0x8000080
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp esi, ebx
jne 0x40be05
xor ecx, ecx
jmp 0x40be25
mov ecx, esi
lea edi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40be10
sub ecx, edi
sar ecx, 1
js 0x40bfa6
cmp ecx, dword [esi - 8]
jg 0x40bfa6
cmp eax, ebx
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], bx
jne 0x40beb7
push esi
push str.CreateFileLink_____Failed_to_invoke_process:__s
push 1
push 0x108
push str.Utils::CreateFileLink
call fcn.0042f100
add esp, 0x14
lea eax, [esi - 0x10]
mov byte [esp + 0xa4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40be76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x90], 8
jb 0x40be8d
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00433096
add esp, 4
xor al, al
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0044fc05
add esp, 0x94
ret
mov eax, dword [esp + 0x1c]
push eax
push eax
push str.CreateFileLink_____process_has_been_invoked__pid:__d__0x_p__
push ebx
push 0x10e
push str.Utils::CreateFileLink
call fcn.0042f100
mov edx, dword [esp + 0x34]
add esp, 0x18
push 0x7d0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x40bf42
push str.CreateFileLink_____Process_completed_successfully_
push ebx
push 0x116
push str.Utils::CreateFileLink
call fcn.0042f100
lea eax, [esi - 0x10]
add esp, 0x10
mov byte [esp + 0xa4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bf24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x90], 8
jb 0x40bf3b
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00433096
add esp, 4
mov al, 1
jmp 0x40be8f
cmp eax, 0x102
jne 0x40bf66
push str.CreateFileLink_____seperate_Process_didnt_finish_yet__Abort
push ebx
push 0x11b
push str.Utils::CreateFileLink
call fcn.0042f100
add esp, 0x10
jmp 0x40be53
cmp eax, 0xffffffff
je 0x40bf89
cmp eax, 0x80
je 0x40bf89
lea ecx, [esp + 0x18]
call fcn.00402850
lea esi, [esp + 0x78]
call fcn.00408df0
jmp 0x40be8d
push str.CreateFileLink_____Unable_to_determine_Process_status__Abort
push ebx
push 0x120
push str.Utils::CreateFileLink
call fcn.0042f100
add esp, 0x10
jmp 0x40be53
push 0x80070057
call fcn.00402690
int3