Function at 0x41abf0
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 [0x4a22d0]
xor eax, esp
mov dword [esp + 0xa4], 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 + 0x30], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
call fcn.00427650
mov al, byte [esi + 8]
xor ecx, ecx
mov edx, dword [esi + 4]
mov byte [esp + 0xf], al
mov dword [esp + 0x18], ecx
test edx, edx
je 0x41ad04
mov eax, dword [edx]
cmp eax, dword [edx + 4]
jne 0x41ac56
mov byte [esp + 0xf], cl
jmp 0x41ad04
call fcn.00411770
cmp eax, 3
jge 0x41ac81
push 0
lea ecx, [esp + 0x14]
call fcn.0041a810
push eax
mov ecx, edi
call fcn.0041a8a0
lea ecx, [esp + 0x14]
call fcn.0040e570
jmp 0x41b063
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
cmp ecx, 0x3fffffff
ja 0x41ac60
push ecx
lea ecx, [esp + 0x3c]
call fcn.00427720
test al, al
je 0x41ac60
mov eax, dword [esi + 4]
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 + 0x1c], edx
test eax, eax
je 0x41b094
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x41ac60
push 0
push 0
lea eax, [ecx*4]
push eax
push dword [esp + 0x28]
push 0x20002
push 0
push edx
call dword [0x4a670c]
test eax, eax
setne al
test al, al
je 0x41ac60
mov ecx, 0x80000
mov byte [esp + 0xf], 1
mov dword [esp + 0x18], ecx
cmp byte [esi + 0x10], 0
mov eax, 0x49c528
mov dword [esp + 0x64], 1
cmove eax, dword [esp + 0x40]
xor edx, edx
cmp byte [esi + 1], dl
mov dword [esp + 0x40], eax
mov eax, 5
cmovne eax, edx
mov word [esp + 0x68], ax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x41ad41
cmp dword [esi + 0x1c], edx
jne 0x41ad41
cmp dword [esi + 0x20], edx
je 0x41ad5b
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x64], 0x101
mov dword [esp + 0x78], eax
cmp dword [esi + 0x14], edx
je 0x41ad6a
or ecx, 0x1000004
mov dword [esp + 0x18], ecx
cmp byte [esi + 0x24], dl
je 0x41ad79
or ecx, 0x1000000
mov dword [esp + 0x18], ecx
xor eax, eax
mov dword [esp + 0xa8], 7
push 0xffffffffffffffff
push eax
push dword [esp + 0x38]
xorps xmm0, xmm0
mov dword [esp + 0xb0], edx
lea ecx, [esp + 0xa0]
movdqa xmmword [esp + 0x8c], xmm0
mov word [esp + 0xa0], ax
call fcn.00407bd0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41ae84
or dword [esp + 0x18], 0x400
push 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x41ae15
mov byte [esp + 0x10], al
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x41ae00
cmp byte [0x4a5798], al
jne 0x41b09e
int3
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0041a8a0
lea ecx, [esp + 0x14]
jmp 0x41b029
cmp dword [esp + 0xa8], 8
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x3c]
push eax
movzx eax, byte [esp + 0x17]
lea ecx, [esp + 0x9c]
cmovae ecx, dword [esp + 0x9c]
push 0
push dword [esp + 0x28]
push dword [esp + 0x28]
push eax
push 0
push 0
push ecx
push 0
push dword [esi + 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test esi, esi
jne 0x41aed4
push esi
lea ecx, [esp + 0x14]
call fcn.0041a810
push eax
mov ecx, edi
call fcn.0041a8a0
lea ecx, [esp + 0x14]
jmp 0x41b029
cmp dword [esp + 0xa8], 8
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x3c]
push eax
movzx eax, byte [esp + 0x17]
lea ecx, [esp + 0x9c]
cmovae ecx, dword [esp + 0x9c]
push 0
push 0
push dword [esp + 0x28]
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41aed8
mov byte [esp + 0x10], al
mov dword [esp + 0x14], eax
jmp 0x41ade9
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x80]
mov dword [esp + 0x20], 0
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.004274f0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41afc5
push dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x41afbb
lea ecx, [esp + 0x20]
call fcn.004275f0
push eax
lea ecx, [esp + 0x14]
call fcn.0041a810
cmp byte [esp + 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
je 0x41af4b
call esi
jmp 0x41af4f
mov eax, dword [esp + 0x14]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
test al, al
je 0x41af7c
cmp byte [esp + 0x10], 0
je 0x41af6c
call esi
jmp 0x41af70
mov eax, dword [esp + 0x14]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
lea ecx, [esp + 0x34]
call fcn.0041a810
push eax
mov ecx, edi
call fcn.0041a8a0
lea ecx, [esp + 0x34]
call fcn.0040e570
lea ecx, [esp + 0x14]
call fcn.0040e570
lea ecx, [esp + 0x20]
call fcn.004274b0
lea ecx, [esp + 0x94]
call fcn.00405570
jmp 0x41b063
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x41afd6
push 0xffffffffffffffff
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x20]
call fcn.004275f0
push eax
lea ecx, [esp + 0x14]
call fcn.0041a810
push eax
mov ecx, edi
call fcn.0041a8a0
lea ecx, [esp + 0x14]
call fcn.0040e570
lea ecx, [esp + 0x20]
call fcn.0040e570
lea ecx, [esp + 0x24]
call fcn.0040e570
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.0040e570
lea ecx, [esp + 0x20]
call fcn.0040e570
cmp dword [esp + 0xa8], 8
jb 0x41b047
push dword [esp + 0x94]
call fcn.0046d967
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], 7
mov word [esp + 0x94], ax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x41b07e
push eax
call dword [0x4a6714]
push dword [esp + 0x7c]
call fcn.0046ea8c
add esp, 4
mov ecx, dword [esp + 0xac]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0046e2b4
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.0046cf7c
push 1
call fcn.004721c7
int3