Function at 0x4668e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0ebc
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4bf6bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x40
mov esi, edx
mov dword [ebp - 0x84], eax
xor eax, eax
lea edx, [ebp - 0x164]
push ebx
push edx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
call fcn.00483260
xor eax, eax
mov word [ebp - 0x138], ax
mov eax, dword [esi + 0x10]
xor ecx, ecx
inc eax
add esp, 0xc
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0x168], 0x44
mov dword [ebp - 0x13c], 1
neg ecx
or ecx, eax
push ecx
call fcn.0047bb12
add esp, 4
mov dword [ebp - 0x6c], eax
cmp eax, ebx
jne 0x466a90
lea eax, [ebp - 0x120]
push eax
call fcn.004059f0
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x120]
push str.new_FAILED.
push ecx
call fcn.004090a0
add esp, 8
push 0x22
mov edi, 0xf
push str.CProcUtility::CreateProcessInherit
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407f60
mov byte [ebp - 4], 1
push edi
push str.ProcUtility.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407f60
mov byte [ebp - 4], 2
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x120]
push eax
call fcn.00405af0
mov byte [ebp - 4], 3
push eax
push 0x103
push ebx
call fcn.004061f0
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.00462280
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 8
jb 0x466a27
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0047bd91
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 1
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x466a51
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], esi
jb 0x466a6e
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.004039b0
xor al, al
jmp 0x466ed3
mov ecx, dword [esi + 0x10]
inc ecx
push ecx
push ebx
push eax
call fcn.00483260
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x466aa9
mov eax, dword [esi]
jmp 0x466aab
mov eax, esi
mov edx, dword [ebp - 0x6c]
push eax
push 0x4b2a40
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov byte [ebp - 0x65], 1
cmp dword [edi + 0x10], ebx
ja 0x466acb
xor edi, edi
jmp 0x466ad4
mov eax, edi
call fcn.00405920
mov edi, eax
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x10], ebx
ja 0x466ae3
xor eax, eax
jmp 0x466ae8
call fcn.00405920
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0x6c]
lea edx, [ebp - 0x168]
push edx
push edi
push ebx
push 0x20
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x466c27
lea edx, [ebp - 0x120]
push edx
call fcn.004059f0
mov dword [ebp - 4], 4
push esi
push ecx
push str.._cmd:
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x120]
push str.CP_FAILED._GetLastError:
push eax
call fcn.004090a0
add esp, 0xc
push eax
call fcn.0045f6e0
add esp, 4
push eax
call fcn.004090a0
add esp, 0xc
push eax
call fcn.00410900
add esp, 8
push 0x22
mov edi, 0xf
push str.CProcUtility::CreateProcessInherit
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407f60
mov byte [ebp - 4], 5
push edi
push str.ProcUtility.cpp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407f60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x120]
push edx
call fcn.00405af0
mov byte [ebp - 4], 7
push eax
push 0x117
push 1
call fcn.004061f0
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.00462280
mov byte [ebp - 4], 6
cmp dword [ebp - 0x50], 8
jb 0x466bde
mov eax, dword [ebp - 0x64]
push eax
call fcn.0047bd91
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov byte [ebp - 4], 5
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x466c08
mov edx, dword [ebp - 0x48]
push edx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], esi
jb 0x466e8e
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x466e86
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x466d51
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
cmp esi, ebx
je 0x466d51
lea ecx, [ebp - 0x120]
push ecx
call fcn.004059f0
mov dword [ebp - 4], 8
push esi
push ecx
push str.__dwRet:
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea edx, [ebp - 0x120]
push str.::WaitForSingleObject_FAILED._GetLastError:
push edx
call fcn.004090a0
add esp, 0xc
push eax
call fcn.0045f6e0
add esp, 4
push eax
call fcn.004090a0
add esp, 0xc
push eax
call fcn.0045f6e0
push 0x22
mov edi, 0xf
push str.CProcUtility::CreateProcessInherit
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407f60
mov byte [ebp - 4], 9
push edi
push str.ProcUtility.cpp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407f60
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x120]
push ecx
call fcn.00405af0
mov byte [ebp - 4], 0xb
push eax
push 0x121
push ebx
call fcn.004061f0
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.00462280
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x50], 8
jb 0x466d15
mov edx, dword [ebp - 0x64]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 9
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x466d3f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 8
jmp 0x466e7d
mov esi, dword [ebp - 0x80]
cmp esi, ebx
je 0x466eac
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x466eac
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x466eac
lea eax, [ebp - 0x120]
push eax
call fcn.004059f0
mov dword [ebp - 4], 0xc
mov ecx, dword [esi]
push ecx
push ecx
push str.._code:
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea edx, [ebp - 0x120]
push str.GECP_FAILED._GetLastError:
push edx
call fcn.004090a0
add esp, 0xc
push eax
call fcn.0045f6e0
add esp, 4
push eax
call fcn.004090a0
add esp, 0xc
push eax
call fcn.0045f6e0
push 0x22
mov edi, 0xf
push str.CProcUtility::CreateProcessInherit
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407f60
mov byte [ebp - 4], 0xd
push edi
push str.ProcUtility.cpp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407f60
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x120]
push ecx
call fcn.00405af0
mov byte [ebp - 4], 0xf
push eax
push 0x12e
push ebx
call fcn.004061f0
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.00462280
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x50], 8
jb 0x466e46
mov edx, dword [ebp - 0x64]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 0xd
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x466e70
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x18], esi
jb 0x466e8e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.004039b0
mov byte [ebp - 0x65], bl
mov eax, dword [ebp - 0x7c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x78]
push ecx
mov dword [ebp - 0x7c], ebx
call esi
mov edx, dword [ebp - 0x6c]
push edx
mov dword [ebp - 0x78], ebx
call fcn.0047c53b
mov al, byte [ebp - 0x65]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047bd9c
mov esp, ebp
pop ebp
ret