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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x5d4074]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], 0
call fcn.0042e6c0
mov al, byte [esi + 0x24]
xor ecx, ecx
mov edx, dword [esi + 0x20]
mov byte [esp + 0xf], al
mov dword [esp + 0x10], ecx
test edx, edx
je 0x423bb9
mov eax, dword [edx]
cmp eax, dword [edx + 4]
jne 0x423b02
mov byte [esp + 0xf], cl
jmp 0x423bb9
call fcn.0042e540
cmp eax, 3
jge 0x423b1a
push 0
mov ecx, edi
call fcn.00423900
jmp 0x423ea2
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
cmp ecx, 0x3fffffff
jbe 0x423b3b
push 0
mov ecx, edi
call fcn.00423900
jmp 0x423ea2
push ecx
lea ecx, [esp + 0x3c]
call fcn.0042e790
test al, al
jne 0x423b57
push 0
mov ecx, edi
call fcn.00423900
jmp 0x423ea2
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar ecx, 2
sar eax, 2
mov dword [esp + 0x14], edx
test eax, eax
je 0x423ed3
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x423b0c
push 0
push 0
lea eax, [ecx*4]
push eax
push dword [esp + 0x20]
push 0x20002
push 0
push edx
call dword [0x79bfac]
test eax, eax
setne al
test al, al
je 0x423b0c
mov ecx, 0x80000
mov byte [esp + 0xf], 1
mov dword [esp + 0x10], ecx
cmp byte [esi + 0x2c], 0
mov eax, 0x5bd944
mov dword [esp + 0x64], 1
cmove eax, dword [esp + 0x40]
xor edx, edx
cmp byte [esi + 0x1c], dl
mov dword [esp + 0x40], eax
mov eax, 5
cmovne eax, edx
mov word [esp + 0x68], ax
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x423bf6
cmp dword [esi + 0x38], edx
jne 0x423bf6
cmp dword [esi + 0x3c], edx
je 0x423c10
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x64], 0x101
mov dword [esp + 0x78], eax
cmp dword [esi + 0x30], edx
je 0x423c31
or ecx, 4
mov dword [esp + 0x10], ecx
call fcn.0042e540
cmp eax, 5
mov eax, dword [esp + 0x10]
jge 0x423c35
or eax, 0x1000000
jmp 0x423c35
mov eax, dword [esp + 0x10]
mov ecx, eax
xorps xmm0, xmm0
or ecx, 0x1000000
movaps xmmword [esp + 0x80], xmm0
cmp byte [esi + 0x40], 0
cmove ecx, eax
cmp dword [esi + 0x14], 0
mov dword [esp + 0x18], ecx
jne 0x423c63
mov dword [esp + 0x10], 0
jmp 0x423c76
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
mov dword [esp + 0x10], eax
jb 0x423c76
mov eax, dword [eax]
mov dword [esp + 0x10], eax
push dword [esp + 0x34]
lea ecx, [esp + 0x98]
call fcn.00405880
mov eax, dword [esi + 0x28]
test eax, eax
je 0x423d23
or dword [esp + 0x18], 0x400
push 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x423cc0
push eax
mov ecx, edi
call fcn.00423900
jmp 0x423e96
cmp dword [esp + 0xa8], 8
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
movzx eax, byte [esp + 0x1b]
lea ecx, [esp + 0xa0]
push dword [esp + 0x20]
cmovae ecx, dword [esp + 0xa4]
push dword [esp + 0x28]
push eax
push 0
push 0
push ecx
push 0
push dword [esi + 0x28]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [esp + 0x14]
mov esi, eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test esi, esi
jne 0x423d75
push esi
mov ecx, edi
call fcn.00423900
jmp 0x423e96
cmp dword [esp + 0xa8], 8
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
movzx eax, byte [esp + 0x1b]
lea ecx, [esp + 0xa0]
cmovae ecx, dword [esp + 0xa0]
push 0
push dword [esp + 0x28]
push eax
push 0
push 0
push ecx
push 0
call dword [0x58ee74]
test eax, eax
jne 0x423d79
push eax
mov ecx, edi
call fcn.00423900
jmp 0x423e96
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x80]
mov dword [esp + 0x1c], 0
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.0042e850
mov eax, dword [esi + 0x30]
test eax, eax
je 0x423e40
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x423e36
lea ecx, [esp + 0x1c]
call fcn.0042e8c0
push eax
lea ecx, [esp + 0x30]
call fcn.00423900
cmp byte [esp + 0x2c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
je 0x423de8
call esi
jmp 0x423dec
mov eax, dword [esp + 0x30]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
test al, al
je 0x423e19
cmp byte [esp + 0x2c], 0
je 0x423e09
call esi
jmp 0x423e0d
mov eax, dword [esp + 0x30]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
mov ecx, edi
call fcn.00423900
lea ecx, [esp + 0x30]
call fcn.0041a720
lea ecx, [esp + 0x1c]
call fcn.0042e810
jmp 0x423e96
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x423e51
push 0xffffffffffffffff
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x1c]
call fcn.0042e8c0
push eax
mov ecx, edi
call fcn.00423900
lea ecx, [esp + 0x1c]
call fcn.0041a720
lea ecx, [esp + 0x20]
call fcn.0041a720
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.0041a720
lea ecx, [esp + 0x1c]
call fcn.0041a720
lea ecx, [esp + 0x94]
call fcn.00405770
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x423ebd
push eax
call dword [0x79bfb4]
push dword [esp + 0x7c]
call fcn.004a0532
add esp, 4
mov ecx, dword [esp + 0xac]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004a04e0
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.0049d71b
int3