Function at 0x40bd60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x472993
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x49b7f0]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b7f0]
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 0x483da0
mov ebx, ebp
mov dword [esp + 0x20], eax
call fcn.0040ad60
push esi
lea ecx, [eax + 1]
push ebp
lea esi, [esp + 0xb8]
call fcn.00408d20
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.00401cb0
mov byte [esp + 0xd8], 1
push 4
mov dword [esp + 0xac], esi
mov word [esp + 0x9c], si
push 0x47f874
lea esi, [esp + 0x9c]
mov dword [esp + 0xb4], edi
call fcn.00401720
mov edi, 1
lea ebx, [esp + 0x78]
mov byte [esp + 0xd8], 2
call fcn.00413050
mov ecx, eax
xor ebx, ebx
cmp ecx, 0xffffffff
je 0x40be75
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.004017f0
push 1
push 0x47f86c
lea eax, [esp + 0x80]
call fcn.00401630
cmp eax, 0xffffffff
je 0x40be9a
push 1
mov edi, eax
lea esi, [esp + 0x7c]
call fcn.00401410
call fcn.00442206
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40beb4
push 0x80004005
call fcn.00402710
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 0x40bedb
mov ebp, dword [ebp + 4]
jmp 0x40bede
add ebp, 4
cmp dword [esp + 0x90], edi
mov ecx, dword [esp + 0x7c]
jae 0x40beef
lea ecx, [esp + 0x7c]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], edi
jb 0x40befd
mov eax, dword [eax + 4]
jmp 0x40bf00
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.0040a810
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.00430530
push 0x44
lea edx, [esp + 0x58]
push ebx
push edx
call fcn.00455660
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 0x40bf70
push edx
lea ecx, [esp + 0x18]
call fcn.00402790
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 0x40bf94
xor ecx, ecx
jmp 0x40bfba
mov ecx, esi
lea edi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40bfa0
sub ecx, edi
sar ecx, 1
js 0x40c2cd
mov edi, 8
cmp ecx, dword [esi - 8]
jg 0x40c2cd
cmp eax, ebx
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], bx
jne 0x40c0b0
push esi
push str.CreateFileLink_____Failed_to_invoke_process:__s
push 1
push 0x119
push str.Utils::CreateFileLink
call fcn.00430530
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 0x40c010
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp dword [esp + 0xac], edi
jb 0x40c029
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004344c6
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 0x40c05a
mov edx, dword [esp + 0x7c]
push edx
call fcn.004344c6
add esp, 4
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x40c086
mov eax, dword [esp + 0xb4]
push eax
call fcn.004344c6
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.00451053
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.00430530
mov ecx, dword [esp + 0x34]
add esp, 0x18
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x40c19f
push str.CreateFileLink_____Process_completed_successfully_
push ebx
push 0x127
push str.Utils::CreateFileLink
call fcn.00430530
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 0x40c122
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp dword [esp + 0xac], edi
jb 0x40c13b
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004344c6
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 0x40c16c
mov edx, dword [esp + 0x7c]
push edx
call fcn.004344c6
add esp, 4
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x40c198
mov eax, dword [esp + 0xb4]
push eax
call fcn.004344c6
add esp, 4
mov al, 1
jmp 0x40c088
cmp eax, 0x102
jne 0x40c25d
push str.CreateFileLink_____seperate_Process_didnt_finish_yet__Abort
push ebx
push 0x12c
push str.Utils::CreateFileLink
call fcn.00430530
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 0x40c1e6
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
cmp dword [esp + 0xac], edi
jb 0x40c1ff
mov eax, dword [esp + 0x98]
push eax
call fcn.004344c6
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 0x40c230
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004344c6
add esp, 4
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x40c086
mov edx, dword [esp + 0xb4]
push edx
jmp 0x40c07e
cmp eax, 0xffffffff
je 0x40c298
cmp eax, 0x80
je 0x40c298
lea ecx, [esp + 0x14]
call fcn.004028d0
lea esi, [esp + 0x94]
call fcn.00408e80
lea esi, [esp + 0x78]
call fcn.00408e80
lea esi, [esp + 0xb0]
call fcn.00408e80
jmp 0x40c086
push str.CreateFileLink_____Unable_to_determine_Process_status__Abort
push ebx
push 0x131
push str.Utils::CreateFileLink
call fcn.00430530
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 0x40c004
push 0x80070057
call fcn.00402710
int3