Function at 0x40ec10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x476c93
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 0x487f58
mov ebx, ebp
mov dword [esp + 0x20], eax
call fcn.0040d660
push esi
lea ecx, [eax + 1]
push ebp
lea esi, [esp + 0xb8]
call fcn.00408dc0
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.00401ce0
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.00401750
mov edi, 1
lea ebx, [esp + 0x78]
mov byte [esp + 0xd8], 2
call fcn.00415fb0
mov ecx, eax
xor ebx, ebx
cmp ecx, 0xffffffff
je 0x40ed25
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.00401820
push 1
push 0x48386c
lea eax, [esp + 0x80]
call fcn.00401660
cmp eax, 0xffffffff
je 0x40ed4a
push 1
mov edi, eax
lea esi, [esp + 0x7c]
call fcn.00401440
call fcn.00446493
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40ed64
push 0x80004005
call fcn.00402750
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 0x40ed8b
mov ebp, dword [ebp + 4]
jmp 0x40ed8e
add ebp, 4
cmp dword [esp + 0x90], edi
mov ecx, dword [esp + 0x7c]
jae 0x40ed9f
lea ecx, [esp + 0x7c]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], edi
jb 0x40edad
mov eax, dword [eax + 4]
jmp 0x40edb0
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.004347c0
push 0x44
lea edx, [esp + 0x58]
push ebx
push edx
call fcn.004598f0
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 0x40ee20
push edx
lea ecx, [esp + 0x18]
call fcn.004027d0
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 0x40ee44
xor ecx, ecx
jmp 0x40ee6a
mov ecx, esi
lea edi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40ee50
sub ecx, edi
sar ecx, 1
js 0x40f17d
mov edi, 8
cmp ecx, dword [esi - 8]
jg 0x40f17d
cmp eax, ebx
mov dword [esi - 0xc], ecx
mov word [esi + ecx*2], bx
jne 0x40ef60
push esi
push str.CreateFileLink_____Failed_to_invoke_process:__s
push 1
push 0x119
push str.Utils::CreateFileLink
call fcn.004347c0
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 0x40eec0
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp dword [esp + 0xac], edi
jb 0x40eed9
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00438751
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 0x40ef0a
mov edx, dword [esp + 0x7c]
push edx
call fcn.00438751
add esp, 4
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x40ef36
mov eax, dword [esp + 0xb4]
push eax
call fcn.00438751
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.004552e7
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.004347c0
mov ecx, dword [esp + 0x34]
add esp, 0x18
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x40f04f
push str.CreateFileLink_____Process_completed_successfully_
push ebx
push 0x127
push str.Utils::CreateFileLink
call fcn.004347c0
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 0x40efd2
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp dword [esp + 0xac], edi
jb 0x40efeb
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00438751
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 0x40f01c
mov edx, dword [esp + 0x7c]
push edx
call fcn.00438751
add esp, 4
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x40f048
mov eax, dword [esp + 0xb4]
push eax
call fcn.00438751
add esp, 4
mov al, 1
jmp 0x40ef38
cmp eax, 0x102
jne 0x40f10d
push str.CreateFileLink_____seperate_Process_didnt_finish_yet__Abort
push ebx
push 0x12c
push str.Utils::CreateFileLink
call fcn.004347c0
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 0x40f096
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
cmp dword [esp + 0xac], edi
jb 0x40f0af
mov eax, dword [esp + 0x98]
push eax
call fcn.00438751
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 0x40f0e0
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00438751
add esp, 4
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x40ef36
mov edx, dword [esp + 0xb4]
push edx
jmp 0x40ef2e
cmp eax, 0xffffffff
je 0x40f148
cmp eax, 0x80
je 0x40f148
lea ecx, [esp + 0x14]
call fcn.00402910
lea esi, [esp + 0x94]
call fcn.004013a0
lea esi, [esp + 0x78]
call fcn.004013a0
lea esi, [esp + 0xb0]
call fcn.004013a0
jmp 0x40ef36
push str.CreateFileLink_____Unable_to_determine_Process_status__Abort
push ebx
push 0x131
push str.Utils::CreateFileLink
call fcn.004347c0
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 0x40eeb4
push 0x80070057
call fcn.00402750
int3