Function at 0x416c00
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov eax, dword [0x4f002c]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
lea ecx, [esp + 0x40]
xor eax, ebp
mov dword [esp + 0x148], eax
call fcn.00427560
cmp dword [edi + 0x20], 1
mov esi, dword [edi + 0x24]
mov edi, dword [edi + 0x28]
sete al
cmp esi, edi
je 0x416c5a
mov eax, edi
sub eax, esi
sar eax, 2
cmp eax, 0x3fffffff
ja 0x41705a
mov ebx, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
jmp 0x417000
mov esi, dword [ebp + 0x10]
xor ebx, ebx
cmp byte [esi + 0x1d], 0
je 0x416c6a
or byte [esp + 0x6c], 0x80
cmp byte [esi + 0x34], 0
mov byte [esp + 0xf], al
je 0x416c7c
mov dword [esp + 0x48], 0x4cc1f8
mov eax, dword [esp + 0x6c]
mov ecx, eax
or ecx, 1
mov dword [esp + 0x6c], ecx
movzx ecx, byte [esi + 0x1c]
xor ecx, 1
mov word [esp + 0x70], cx
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x416ca1
mov edx, dword [esi + 0x40]
jmp 0x416cae
mov edx, dword [esi + 0x40]
test edx, edx
jne 0x416cae
cmp dword [esi + 0x44], 0
je 0x416cc9
or eax, 0x101
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov eax, dword [esi + 0x44]
mov dword [esp + 0x80], eax
cmp dword [esi + 0x38], 0
je 0x416ce0
call fcn.00427be0
lea ecx, [ebx + 0x1000000]
cmp eax, 5
cmovl ebx, ecx
mov edi, ebx
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
or edi, 0x1000000
cmp byte [esi + 0x48], 0
movaps xmmword [esp + 0x30], xmm0
cmove edi, ebx
cmp dword [esi + 0x14], 0
je 0x416d11
cmp dword [esi + 0x18], 8
lea ecx, [esi + 4]
jb 0x416d0b
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
jmp 0x416d19
mov dword [esp + 0x10], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov edx, eax
mov ebx, dword [eax + 0x10]
cmp dword [eax + 0x14], 7
jbe 0x416d3c
mov edx, dword [eax]
cmp ebx, 7
ja 0x416d63
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov esi, 7
movsd qword [esp + 0x90], xmm1
movsd qword [esp + 0x88], xmm0
jmp 0x416dde
mov eax, ebx
mov esi, 0x7ffffffe
mov ecx, 0xffffffff
or eax, 7
cmp eax, 0x7ffffffe
cmovb esi, eax
mov eax, esi
inc eax
lea eax, [esi + esi + 2]
cmovs eax, ecx
cmp eax, 0x1000
jb 0x416daf
add eax, 0x23
cmovb eax, ecx
push eax
mov dword [esp + 0x18], edx
call fcn.0048bcac
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, eax
lea eax, [eax + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x416dc8
test eax, eax
je 0x416dc6
push eax
mov dword [esp + 0x18], edx
call fcn.0048bcac
mov edx, dword [esp + 0x18]
add esp, 4
jmp 0x416dc8
xor eax, eax
lea ecx, [ebx + ebx + 2]
mov dword [esp + 0x88], eax
push ecx
push edx
push eax
call fcn.004a8990
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], esi
mov eax, dword [eax + 0x30]
test eax, eax
je 0x416e34
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x20]
push 0
push eax
push ecx
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x416e4e
or edi, 0x400
mov ecx, dword [esp + 0x20]
movzx eax, byte [esp + 0xf]
cmp dword [esp + 0x9c], 7
mov ebx, dword [ebp + 8]
jbe 0x416e56
mov edx, dword [esp + 0x88]
jmp 0x416e5d
movzx eax, byte [esp + 0xf]
cmp esi, 7
jbe 0x416f10
mov ecx, dword [esp + 0x88]
jmp 0x416f17
mov ebx, dword [ebp + 8]
jmp 0x416f44
lea edx, [esp + 0x88]
lea esi, [esp + 0x30]
push esi
lea esi, [esp + 0x44]
push esi
push dword [esp + 0x18]
push ecx
push edi
push eax
push 0
push 0
push edx
push 0
mov esi, dword [ebp + 0x10]
push dword [esi + 0x30]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
push dword [esp + 0x20]
call sub.USERENV.dll_DestroyEnvironmentBlock
test edi, edi
je 0x416f44
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
push eax
call fcn.00427c00
mov eax, dword [esi + 0x38]
test eax, eax
je 0x416ebc
push dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x416f4f
cmp byte [esi + 0x49], 0
je 0x416ed5
push dword [esp + 0x20]
call fcn.00421050
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [esi], 0
je 0x416ee6
push 0xffffffffffffffff
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4f2f18]
test ecx, ecx
je 0x416efd
push dword [ebp + 0xc]
push eax
call fcn.00424590
lea ecx, [esp + 0x20]
call fcn.00427d40
mov ecx, ebx
push eax
call fcn.00417100
jmp 0x416f7f
lea ecx, [esp + 0x88]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x44]
push edx
push dword [esp + 0x18]
push 0
push edi
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x416e94
mov ecx, ebx
push 0
call fcn.00417100
jmp 0x416f88
lea ecx, [esp + 0x20]
call fcn.00427d40
lea edi, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00417100
mov ecx, edi
push 1
push 1
call fcn.00417320
mov ecx, ebx
push 0
call fcn.00417100
mov ecx, edi
call fcn.00402910
lea ecx, [esp + 0x20]
call fcn.00427c50
mov ecx, dword [esp + 0x9c]
cmp ecx, 8
jb 0x417063
mov eax, dword [esp + 0x88]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x416fc5
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x417084
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.0048bd31
add esp, 8
jmp 0x417063
call sub.KERNEL32.dll_GetLastError
lea ecx, [esp + 0x88]
push eax
push 3
push 0xdd
push str..._.._base_process_launch_win.cc
call fcn.00415030
lea ecx, [esp + 0x88]
call fcn.00415150
jmp 0x41700c
push 1
push 1
push dword [esi]
call ebx
test eax, eax
je 0x416fd4
add esi, 4
cmp edi, esi
jne 0x417000
lea ecx, [esp + 0x40]
push 1
call fcn.00427680
test al, al
je 0x417057
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x40]
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
sub edx, eax
push edx
push eax
push 0x20002
call fcn.00427710
test al, al
je 0x417057
mov al, 1
mov ebx, 0x80000
cmp byte [esi + 0x1d], 0
jne 0x416c65
jmp 0x416c6a
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.00417100
lea ecx, [esp + 0x40]
call fcn.00427650
mov ecx, dword [esp + 0x148]
xor ecx, ebp
call fcn.0048bd44
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004b5789
int3