Function at 0x42b550
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 8], 0
mov dword [ebp - 0x50], 0
push 0x40
push 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00413bd0
add esp, 0xc
mov dword [ebp - 0x50], 0x44
mov cx, word [ebp + 0x1c]
mov word [ebp - 0x20], cx
mov dword [ebp - 0x24], 1
cmp dword [ebp + 0x10], 0
je 0x42b5a1
mov edx, dword [ebp + 0x10]
push edx
call fcn.00413c4a
add esp, 4
mov dword [ebp - 0x74], eax
jmp 0x42b5a8
mov dword [ebp - 0x74], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00413c4a
add esp, 4
add eax, dword [ebp - 0x74]
lea ecx, [eax + eax + 2]
mov dword [ebp - 4], ecx
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
push eax
call fcn.004063e3
add esp, 4
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x42b603
mov ecx, dword [ebp - 0x68]
push ecx
push 0
mov edx, dword [ebp - 0x6c]
push edx
call fcn.00413bd0
add esp, 0xc
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x78], eax
jmp 0x42b60a
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x54], ecx
cmp dword [ebp + 0x20], 0
je 0x42b656
cmp dword [ebp + 0x10], 0
je 0x42b63b
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x436258
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call fcn.00414cf5
add esp, 0x14
jmp 0x42b654
mov eax, dword [ebp + 8]
push eax
push 0x436264
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call fcn.00414cf5
add esp, 0x10
jmp 0x42b675
cmp dword [ebp + 0x10], 0
je 0x42b675
mov eax, dword [ebp + 0x10]
push eax
push 0x43626c
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call fcn.00414cf5
add esp, 0x10
cmp dword [ebp + 0x18], 0
je 0x42b79f
mov dword [ebp - 0x58], 0
push 0xffffffffffffffff
lea eax, [ebp - 0x58]
push eax
call fcn.0042b370
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42b777
cmp dword [ebp - 0x58], 0
je 0x42b777
mov dword [ebp - 0x64], 0
push 0
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x64]
push edx
call sub.USERENV.dll_CreateEnvironmentBlock
mov dword [ebp - 0x5c], eax
cmp dword [ebp + 0x20], 0
je 0x42b6fa
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x64]
push eax
push 0x4000400
push 0
push 0
push 0
mov ecx, dword [ebp - 0x54]
push ecx
push 0
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 8], eax
jmp 0x42b72a
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x64]
push eax
push 0x4000400
push 0
push 0
push 0
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x64]
push ecx
call sub.USERENV.dll_DestroyEnvironmentBlock
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
jne 0x42b775
mov eax, dword [ebp + 0x20]
push eax
movzx ecx, word [ebp + 0x1c]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042b550
add esp, 0x1c
mov dword [ebp - 8], eax
jmp 0x42b79d
mov eax, dword [ebp + 0x20]
push eax
movzx ecx, word [ebp + 0x1c]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042b550
add esp, 0x1c
mov dword [ebp - 8], eax
jmp 0x42b7f9
cmp dword [ebp + 0x20], 0
je 0x42b7cf
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
push 0x4000000
push 1
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 8], eax
jmp 0x42b7f9
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
push 0x4000000
push 1
push 0
push 0
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.004063ee
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret