Function at 0x40bcd0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4712a3
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.0040acd0
push esi
lea ecx, [eax + 1]
push edi
lea esi, [esp + 0x80]
call fcn.00408cb0
xor ebx, ebx
mov dword [esp + 0xa4], ebx
call fcn.00440b9e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40bd59
push 0x80004005
call fcn.00402680
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 0x40bd80
mov edi, dword [edi + 4]
jmp 0x40bd83
add edi, 4
cmp dword [esp + 0x90], eax
mov ecx, dword [esp + 0x7c]
jae 0x40bd94
lea ecx, [esp + 0x7c]
cmp dword [ebp + 0x18], eax
jb 0x40bd9e
mov eax, dword [ebp + 4]
jmp 0x40bda1
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.0040a780
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.0042eef0
push 0x44
lea edx, [esp + 0x58]
push ebx
push edx
call fcn.00454000
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 0x40be11
push edx
lea ecx, [esp + 0x1c]
call fcn.00402700
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 0x40be35
xor ecx, ecx
jmp 0x40be55
mov ecx, esi
lea edi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40be40
sub ecx, edi
sar ecx, 1
js 0x40bfd6
cmp ecx, dword [esi - 8]
jg 0x40bfd6
cmp eax, ebx
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], bx
jne 0x40bee7
push esi
push str.CreateFileLink_____Failed_to_invoke_process:__s
push 1
push 0x108
push str.Utils::CreateFileLink
call fcn.0042eef0
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 0x40bea6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x90], 8
jb 0x40bebd
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00432e81
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.0044f9f6
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.0042eef0
mov edx, dword [esp + 0x34]
add esp, 0x18
push 0x7d0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x40bf72
push str.CreateFileLink_____Process_completed_successfully_
push ebx
push 0x116
push str.Utils::CreateFileLink
call fcn.0042eef0
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 0x40bf54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x90], 8
jb 0x40bf6b
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00432e81
add esp, 4
mov al, 1
jmp 0x40bebf
cmp eax, 0x102
jne 0x40bf96
push str.CreateFileLink_____seperate_Process_didnt_finish_yet__Abort
push ebx
push 0x11b
push str.Utils::CreateFileLink
call fcn.0042eef0
add esp, 0x10
jmp 0x40be83
cmp eax, 0xffffffff
je 0x40bfb9
cmp eax, 0x80
je 0x40bfb9
lea ecx, [esp + 0x18]
call fcn.00402840
lea esi, [esp + 0x78]
call fcn.00408e10
jmp 0x40bebd
push str.CreateFileLink_____Unable_to_determine_Process_status__Abort
push ebx
push 0x120
push str.Utils::CreateFileLink
call fcn.0042eef0
add esp, 0x10
jmp 0x40be83
push 0x80070057
call fcn.00402680
int3