Function at 0x40ee40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x476a23
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4a0800]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0800]
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 0x487fa8
mov ebx, ebp
mov dword [esp + 0x20], eax
call fcn.0040d890
push esi
lea ecx, [eax + 1]
push ebp
lea esi, [esp + 0xb8]
call fcn.00408fa0
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 0x483874
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.00416260
mov ecx, eax
xor ebx, ebx
cmp ecx, 0xffffffff
je 0x40ef55
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 0x48386c
lea eax, [esp + 0x80]
call fcn.00401630
cmp eax, 0xffffffff
je 0x40ef7a
push 1
mov edi, eax
lea esi, [esp + 0x7c]
call fcn.00401410
call fcn.0044622e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40ef94
push 0x80004005
call fcn.00402720
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 0x40efbb
mov ebp, dword [ebp + 4]
jmp 0x40efbe
add ebp, 4
cmp dword [esp + 0x90], edi
mov ecx, dword [esp + 0x7c]
jae 0x40efcf
lea ecx, [esp + 0x7c]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], edi
jb 0x40efdd
mov eax, dword [eax + 4]
jmp 0x40efe0
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.0040aa30
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.00434580
push 0x44
lea edx, [esp + 0x58]
push ebx
push edx
call fcn.004596b0
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 0x40f050
push edx
lea ecx, [esp + 0x18]
call fcn.004027a0
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 0x40f074
xor ecx, ecx
jmp 0x40f09a
mov ecx, esi
lea edi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40f080
sub ecx, edi
sar ecx, 1
js 0x40f3ad
mov edi, 8
cmp ecx, dword [esi - 8]
jg 0x40f3ad
cmp eax, ebx
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], bx
jne 0x40f190
push esi
push str.CreateFileLink_____Failed_to_invoke_process:__s
push 1
push 0x119
push str.Utils::CreateFileLink
call fcn.00434580
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 0x40f0f0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp dword [esp + 0xac], edi
jb 0x40f109
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00438516
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 0x40f13a
mov edx, dword [esp + 0x7c]
push edx
call fcn.00438516
add esp, 4
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x40f166
mov eax, dword [esp + 0xb4]
push eax
call fcn.00438516
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.004550a7
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.00434580
mov ecx, dword [esp + 0x34]
add esp, 0x18
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x40f27f
push str.CreateFileLink_____Process_completed_successfully_
push ebx
push 0x127
push str.Utils::CreateFileLink
call fcn.00434580
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 0x40f202
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp dword [esp + 0xac], edi
jb 0x40f21b
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00438516
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 0x40f24c
mov edx, dword [esp + 0x7c]
push edx
call fcn.00438516
add esp, 4
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x40f278
mov eax, dword [esp + 0xb4]
push eax
call fcn.00438516
add esp, 4
mov al, 1
jmp 0x40f168
cmp eax, 0x102
jne 0x40f33d
push str.CreateFileLink_____seperate_Process_didnt_finish_yet__Abort
push ebx
push 0x12c
push str.Utils::CreateFileLink
call fcn.00434580
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 0x40f2c6
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
cmp dword [esp + 0xac], edi
jb 0x40f2df
mov eax, dword [esp + 0x98]
push eax
call fcn.00438516
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 0x40f310
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00438516
add esp, 4
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x40f166
mov edx, dword [esp + 0xb4]
push edx
jmp 0x40f15e
cmp eax, 0xffffffff
je 0x40f378
cmp eax, 0x80
je 0x40f378
lea ecx, [esp + 0x14]
call fcn.004028e0
lea esi, [esp + 0x94]
call fcn.00409100
lea esi, [esp + 0x78]
call fcn.00409100
lea esi, [esp + 0xb0]
call fcn.00409100
jmp 0x40f166
push str.CreateFileLink_____Unable_to_determine_Process_status__Abort
push ebx
push 0x131
push str.Utils::CreateFileLink
call fcn.00434580
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 0x40f0e4
push 0x80070057
call fcn.00402720
int3