Function at 0x40bce0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x472043
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x49a7f0]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49a7f0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xe0]
mov eax, dword [esp + 0xe4]
mov esi, dword [ebp + 0x14]
push 2
push 0x482da0
mov ebx, ebp
mov dword [esp + 0x20], eax
call fcn.0040ace0
push esi
lea ecx, [eax + 1]
push ebp
lea esi, [esp + 0xb8]
call fcn.00408cf0
xor esi, esi
mov dword [esp + 0xd8], esi
push 0xffffffffffffffff
mov edi, 7
push esi
lea eax, [esp + 0xb8]
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], esi
mov word [esp + 0x84], si
call fcn.00401c20
mov byte [esp + 0xd8], 1
push 4
mov dword [esp + 0xac], esi
mov word [esp + 0x9c], si
push 0x47e874
lea esi, [esp + 0x9c]
mov dword [esp + 0xb4], edi
call fcn.00401690
mov edi, 1
lea ebx, [esp + 0x78]
mov byte [esp + 0xd8], 2
call fcn.00412f90
mov ecx, eax
xor ebx, ebx
cmp ecx, 0xffffffff
je 0x40bdf5
mov eax, dword [esp + 0xa8]
push ebx
mov edx, esi
push edx
push eax
lea edx, [esp + 0x84]
push edx
or eax, 0xffffffff
call fcn.00401760
push 1
push 0x47e86c
lea eax, [esp + 0x80]
call fcn.004015a0
cmp eax, 0xffffffff
je 0x40be1a
push 1
mov edi, eax
lea esi, [esp + 0x7c]
call fcn.00401380
call fcn.0044197c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40be34
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 + 0x14], eax
mov edi, 8
mov byte [esp + 0xd8], 3
cmp dword [ebp + 0x18], edi
jb 0x40be5b
mov ebp, dword [ebp + 4]
jmp 0x40be5e
add ebp, 4
cmp dword [esp + 0x90], edi
mov ecx, dword [esp + 0x7c]
jae 0x40be6f
lea ecx, [esp + 0x7c]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], edi
jb 0x40be7d
mov eax, dword [eax + 4]
jmp 0x40be80
add eax, 4
push ebp
push ecx
push eax
lea ecx, [esp + 0x20]
push str.cmd.exe__C_cd___s___mklink___s____s_
push ecx
call fcn.0040a790
mov esi, dword [esp + 0x28]
push esi
push str.CreateFileLink_____Trying_to_invoke_process_as_system_command__different_process_:__s
push ebx
push 0x10e
push str.Utils::CreateFileLink
call fcn.0042fc90
push 0x44
lea edx, [esp + 0x58]
push ebx
push edx
call fcn.00454dc0
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 0x40bef0
push edx
lea ecx, [esp + 0x18]
call fcn.00402710
mov esi, dword [esp + 0x14]
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 0x40bf14
xor ecx, ecx
jmp 0x40bf3a
mov ecx, esi
lea edi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40bf20
sub ecx, edi
sar ecx, 1
js 0x40c24d
mov edi, 8
cmp ecx, dword [esi - 8]
jg 0x40c24d
cmp eax, ebx
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], bx
jne 0x40c030
push esi
push str.CreateFileLink_____Failed_to_invoke_process:__s
push 1
push 0x119
push str.Utils::CreateFileLink
call fcn.0042fc90
add esi, 0xfffffff0
add esp, 0x14
mov byte [esp + 0xd8], 2
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40bf90
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp dword [esp + 0xac], edi
jb 0x40bfa9
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00433c26
add esp, 4
cmp dword [esp + 0x90], edi
mov esi, 7
mov word [esp + 0x98], bx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], esi
jb 0x40bfda
mov edx, dword [esp + 0x7c]
push edx
call fcn.00433c26
add esp, 4
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x40c006
mov eax, dword [esp + 0xb4]
push eax
call fcn.00433c26
add esp, 4
xor al, al
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004507b7
add esp, 0xc8
ret
mov eax, dword [esp + 0x1c]
push eax
push eax
push str.CreateFileLink_____process_has_been_invoked__pid:__d__0x_p__
push ebx
push 0x11f
push str.Utils::CreateFileLink
call fcn.0042fc90
mov ecx, dword [esp + 0x34]
add esp, 0x18
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x40c11f
push str.CreateFileLink_____Process_completed_successfully_
push ebx
push 0x127
push str.Utils::CreateFileLink
call fcn.0042fc90
add esi, 0xfffffff0
add esp, 0x10
mov byte [esp + 0xd8], 2
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40c0a2
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp dword [esp + 0xac], edi
jb 0x40c0bb
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00433c26
add esp, 4
cmp dword [esp + 0x90], edi
mov esi, 7
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
jb 0x40c0ec
mov edx, dword [esp + 0x7c]
push edx
call fcn.00433c26
add esp, 4
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x40c118
mov eax, dword [esp + 0xb4]
push eax
call fcn.00433c26
add esp, 4
mov al, 1
jmp 0x40c008
cmp eax, 0x102
jne 0x40c1dd
push str.CreateFileLink_____seperate_Process_didnt_finish_yet__Abort
push ebx
push 0x12c
push str.Utils::CreateFileLink
call fcn.0042fc90
add esi, 0xfffffff0
add esp, 0x10
mov byte [esp + 0xd8], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c166
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
cmp dword [esp + 0xac], edi
jb 0x40c17f
mov eax, dword [esp + 0x98]
push eax
call fcn.00433c26
add esp, 4
cmp dword [esp + 0x90], edi
mov esi, 7
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
jb 0x40c1b0
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00433c26
add esp, 4
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x40c006
mov edx, dword [esp + 0xb4]
push edx
jmp 0x40bffe
cmp eax, 0xffffffff
je 0x40c218
cmp eax, 0x80
je 0x40c218
lea ecx, [esp + 0x14]
call fcn.00402850
lea esi, [esp + 0x94]
call fcn.00408e50
lea esi, [esp + 0x78]
call fcn.00408e50
lea esi, [esp + 0xb0]
call fcn.00408e50
jmp 0x40c006
push str.CreateFileLink_____Unable_to_determine_Process_status__Abort
push ebx
push 0x131
push str.Utils::CreateFileLink
call fcn.0042fc90
add esi, 0xfffffff0
add esp, 0x10
mov byte [esp + 0xd8], 2
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jmp 0x40bf84
push 0x80070057
call fcn.00402690
int3