Function at 0x42e560
Capabilities:
Create process on windows
Resolve function by parsing pe exports
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x4d33b4]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x30]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0xc], 0
call fcn.0043d840
mov dl, byte [esi + 8]
mov ecx, dword [esi + 4]
mov byte [esp + 0x13], dl
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x42e5c8
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x42e703
mov byte [esp + 0x13], 0
cmp byte [esi + 0x10], 0
mov eax, 0x4160c4
mov dword [esp + 0x64], 1
cmove eax, dword [esp + 0x40]
xor ecx, ecx
cmp byte [esi + 1], cl
mov dword [esp + 0x40], eax
mov eax, 5
cmovne eax, ecx
mov word [esp + 0x68], ax
cmp dword [esi + 0x18], ecx
jne 0x42e607
cmp dword [esi + 0x1c], ecx
jne 0x42e607
cmp dword [esi + 0x20], ecx
je 0x42e697
mov eax, dword [esp + 0xc]
test al, 0x20
je 0x42e626
and eax, 0xffffffdf
lea ecx, [esp + 0x90]
mov dword [esp + 0xc], eax
call fcn.0041b6f0
mov eax, dword [esp + 0xc]
test al, 0x40
je 0x42e641
and eax, 0xffffffbf
lea ecx, [esp + 0x90]
mov dword [esp + 0xc], eax
call fcn.0041b6f0
mov eax, dword [esp + 0xc]
test al, al
jns 0x42e65e
and eax, 0xffffff7f
lea ecx, [esp + 0x90]
mov dword [esp + 0xc], eax
call fcn.0041b6f0
mov eax, dword [esp + 0xc]
test eax, 0x100
je 0x42e67a
and eax, 0xfffffeff
lea ecx, [esp + 0x90]
mov dword [esp + 0xc], eax
call fcn.0041b6f0
mov eax, dword [esi + 0x18]
or dword [esp + 0x64], 0x100
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x78], eax
cmp dword [esi + 0x14], 0
je 0x42e89b
or dword [esp + 0x14], 4
cmp dword [0x4d9500], 0
jne 0x42e6e3
push 0x4c
call fcn.004aa0fc
add esp, 4
mov ecx, eax
call fcn.0042fc10
mov edx, eax
mov edi, 0x4d9500
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov edi, dword [esp + 0x18]
test eax, eax
je 0x42e6e3
test edx, edx
je 0x42e6e3
push ecx
mov ecx, edx
call fcn.0042fbd0
mov eax, dword [0x4d9500]
cmp dword [eax], 5
mov eax, dword [esp + 0x14]
jge 0x42e89f
or eax, 0x1000000
mov dword [esp + 0x14], eax
jmp 0x42e89f
call fcn.0042fec0
cmp eax, 3
jge 0x42e71b
push 0
mov ecx, edi
call fcn.0042df00
jmp 0x42ebe7
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x42e73b
push 0
mov ecx, edi
call fcn.0042df00
jmp 0x42ebe7
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
cmp esi, edi
je 0x42e783
push 1
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x42e761
cmp byte [0x4d9358], al
jne 0x42ec18
int3
mov eax, dword [esp + 0xc]
test al, 4
je 0x42e77c
and eax, 0xfffffffb
lea ecx, [esp + 0x90]
mov dword [esp + 0xc], eax
call fcn.0041b6f0
add esi, 4
cmp esi, edi
jne 0x42e744
push ecx
lea ecx, [esp + 0x3c]
call fcn.0043d910
test al, al
jne 0x42e7e2
test byte [esp + 0xc], 8
je 0x42e7a4
lea ecx, [esp + 0x90]
call fcn.0041be60
mov esi, dword [esp + 0x18]
mov ecx, esi
push 0
call fcn.0042df00
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x42e7cc
push eax
call dword [0x4d91e0]
push dword [esp + 0x7c]
call fcn.004aa39f
add esp, 4
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.004aab4c
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov edi, dword [eax]
mov eax, dword [eax + 4]
sub eax, edi
sar ecx, 2
sar eax, 2
test eax, eax
je 0x42ec1f
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x42e846
push 0
push 0
lea eax, [ecx*4]
push eax
push edi
push 0x20002
push 0
push edx
call dword [0x4d91d8]
test eax, eax
setne al
test al, al
je 0x42e846
mov edi, dword [esp + 0x18]
mov eax, 0x80000
mov byte [esp + 0x13], 1
mov dword [esp + 0x14], eax
jmp 0x42e5c8
test byte [esp + 0xc], 0x10
je 0x42e859
lea ecx, [esp + 0x90]
call fcn.0041be60
mov esi, dword [esp + 0x18]
mov ecx, esi
push 0
call fcn.0042df00
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x42e7cc
push eax
call dword [0x4d91e0]
push dword [esp + 0x7c]
call fcn.004aa39f
add esp, 4
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.004aab4c
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp byte [esi + 0x24], 0
je 0x42e8ae
or eax, 0x1000000
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x160], 7
push 0xffffffffffffffff
push eax
push dword [esp + 0x38]
xorps xmm0, xmm0
mov dword [esp + 0x168], 0
lea ecx, [esp + 0x158]
movaps xmmword [esp + 0x8c], xmm0
mov word [esp + 0x158], ax
call fcn.0041dc30
mov eax, dword [esi + 0xc]
test eax, eax
je 0x42e9db
or dword [esp + 0x14], 0x400
push 0
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x42e93d
test dword [esp + 0xc], 0x200
je 0x42e92f
lea ecx, [esp + 0x90]
call fcn.0041be60
push 0
mov ecx, edi
call fcn.0042df00
jmp 0x42ebaa
cmp dword [esp + 0x160], 8
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x154]
cmovae ecx, dword [esp + 0x154]
push 0
push dword [esp + 0x24]
push eax
movzx eax, byte [esp + 0x27]
push eax
push 0
push 0
push ecx
push 0
push dword [esi + 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [esp + 0x18]
mov esi, eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test esi, esi
jne 0x42ea79
mov eax, dword [esp + 0xc]
test eax, 0x800
je 0x42e9ba
and eax, 0xfffff7ff
lea ecx, [esp + 0x90]
mov dword [esp + 0xc], eax
call fcn.0041be60
mov eax, dword [esp + 0xc]
test eax, 0x400
je 0x42e9cd
lea ecx, [esp + 0x164]
call fcn.0041c210
push 0
mov ecx, edi
call fcn.0042df00
jmp 0x42ebaa
cmp dword [esp + 0x160], 8
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x154]
cmovae ecx, dword [esp + 0x154]
push 0
push 0
push eax
movzx eax, byte [esp + 0x27]
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42ea7d
mov eax, dword [esp + 0xc]
test eax, 0x2000
je 0x42ea43
and eax, 0xffffdfff
lea ecx, [esp + 0x90]
mov dword [esp + 0xc], eax
call fcn.0041be60
mov eax, dword [esp + 0xc]
test eax, 0x1000
je 0x42ea6b
mov eax, dword [esp + 0x178]
cmp eax, 0x10
jb 0x42ea6b
inc eax
lea ecx, [esp + 0x164]
push eax
push dword [esp + 0x168]
call fcn.0041e500
push 0
mov ecx, edi
call fcn.0042df00
jmp 0x42ebaa
mov esi, dword [esp + 0x2c]
push dword [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.0042d100
push dword [esp + 0x84]
lea ecx, [esp + 0x24]
call fcn.0042d100
mov eax, dword [esp + 0x88]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42eb54
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x42eb4a
test dword [esp + 0xc], 0x4000
je 0x42eaff
lea ecx, [esp + 0x90]
call fcn.0041b6f0
lea ecx, [esp + 0x1c]
call fcn.0043d9d0
push eax
lea ecx, [esp + 0x34]
call fcn.0042df00
push 1
push ecx
lea ecx, [esp + 0x38]
call fcn.0042e070
push 0
mov ecx, edi
call fcn.0042df00
lea ecx, [esp + 0x34]
call fcn.0042d090
lea ecx, [esp + 0x1c]
call fcn.0043d990
lea ecx, [esp + 0x14c]
call fcn.0041c080
jmp 0x42ebe7
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x42eb65
push 0xffffffffffffffff
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x1c]
call fcn.0043d9d0
push eax
mov ecx, edi
call fcn.0042df00
lea ecx, [esp + 0x1c]
call fcn.0042d090
lea ecx, [esp + 0x20]
call fcn.0042d090
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.0042d090
lea ecx, [esp + 0x1c]
call fcn.0042d090
mov eax, dword [esp + 0x160]
cmp eax, 8
jb 0x42ebcb
inc eax
lea ecx, [esp + 0x14c]
push eax
push dword [esp + 0x150]
call fcn.0041fc80
xor eax, eax
mov dword [esp + 0x160], 7
mov word [esp + 0x14c], ax
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x42ec02
push eax
call dword [0x4d91e0]
push dword [esp + 0x7c]
call fcn.004aa39f
add esp, 4
mov ecx, dword [esp + 0x17c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004aab4c
mov esp, ebp
pop ebp
ret
push 1
call fcn.004b94a2
push 0x415ff0
call fcn.004ab675
int3