Function at 0x413600
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x52de80]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x48]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0xc], 0
call fcn.0041cb00
mov al, byte [esi + 8]
xor ecx, ecx
mov edx, dword [esi + 4]
mov byte [esp + 0xb], al
mov dword [esp + 0x10], ecx
test edx, edx
je 0x413661
mov eax, dword [edx]
cmp eax, dword [edx + 4]
jne 0x413775
mov byte [esp + 0xb], cl
cmp byte [esi + 0x10], 0
mov eax, 0x50c82c
mov dword [esp + 0x7c], 1
cmove eax, dword [esp + 0x58]
xor edx, edx
cmp byte [esi + 1], dl
mov dword [esp + 0x58], eax
mov eax, 5
cmovne eax, edx
mov word [esp + 0x80], ax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4136a1
cmp dword [esi + 0x1c], edx
jne 0x4136a1
cmp dword [esi + 0x20], edx
je 0x4136c4
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x7c], 0x101
mov dword [esp + 0x90], eax
cmp dword [esi + 0x14], edx
je 0x4136d3
or ecx, 0x1000004
mov dword [esp + 0x10], ecx
cmp byte [esi + 0x24], dl
je 0x4136e2
or ecx, 0x1000000
mov dword [esp + 0x10], ecx
xor eax, eax
mov dword [esp + 0xd8], 7
push 0xffffffffffffffff
push eax
push dword [esp + 0x30]
xorps xmm0, xmm0
mov dword [esp + 0xe0], edx
lea ecx, [esp + 0xd0]
movdqa xmmword [esp + 0xac], xmm0
mov word [esp + 0xd0], ax
call fcn.00405560
mov eax, dword [esi + 0xc]
test eax, eax
je 0x413973
or dword [esp + 0x10], 0x400
push 0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x4138e6
mov byte [esp + 0x10], al
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x4138d1
cmp byte [0x55b9dc], al
je 0x4138d0
jmp 0x413bbf
call fcn.00401f10
cmp eax, 3
jge 0x4137bd
mov byte [esp + 0x30], 0
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x4137a3
cmp byte [0x55b9dc], al
jne 0x413bc6
int3
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.0041c970
lea ecx, [esp + 0x34]
call fcn.0040af00
jmp 0x413b88
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
cmp ecx, 0x3fffffff
jbe 0x41380e
mov byte [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x4137f4
cmp byte [0x55b9dc], al
jne 0x413bcd
int3
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.0041c970
lea ecx, [esp + 0x2c]
call fcn.0040af00
jmp 0x413b88
push ecx
lea ecx, [esp + 0x54]
call fcn.0041cbd0
test al, al
jne 0x413843
push 0
lea ecx, [esp + 0xb8]
call fcn.0041c900
push eax
mov ecx, edi
call fcn.0041c970
lea ecx, [esp + 0xb8]
call fcn.0040af00
jmp 0x413b88
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 + 0xc], edx
test eax, eax
je 0x413bd4
mov edx, dword [esp + 0x94]
test edx, edx
je 0x4138a9
push 0
push 0
lea eax, [ecx*4]
push eax
push dword [esp + 0x18]
push 0x20002
push 0
push edx
call dword [0x55b888]
test eax, eax
setne al
test al, al
je 0x4138a9
mov ecx, 0x80000
mov byte [esp + 0xb], 1
mov dword [esp + 0x10], ecx
jmp 0x413661
push 0
lea ecx, [esp + 0xc0]
call fcn.0041c900
push eax
mov ecx, edi
call fcn.0041c970
lea ecx, [esp + 0xc0]
call fcn.0040af00
jmp 0x413b88
int3
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0041c970
lea ecx, [esp + 0x14]
jmp 0x413b4e
cmp dword [esp + 0xd8], 8
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x54]
push eax
movzx eax, byte [esp + 0x13]
lea ecx, [esp + 0xcc]
cmovae ecx, dword [esp + 0xcc]
push 0
push dword [esp + 0x18]
push dword [esp + 0x20]
push eax
push 0
push 0
push ecx
push 0
push dword [esi + 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test esi, esi
jne 0x4139ea
mov byte [esp + 0x40], 0
mov dword [esp + 0x44], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x41395e
cmp byte [0x55b9dc], al
jne 0x413bde
int3
lea eax, [esp + 0x40]
mov ecx, edi
push eax
call fcn.0041c970
lea ecx, [esp + 0x44]
jmp 0x413b4e
cmp dword [esp + 0xd8], 8
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x54]
push eax
movzx eax, byte [esp + 0x13]
lea ecx, [esp + 0xcc]
cmovae ecx, dword [esp + 0xcc]
push 0
push 0
push dword [esp + 0x20]
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4139ee
mov byte [esp + 0x48], al
mov dword [esp + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x4139d5
cmp byte [0x55b9dc], al
jne 0x413be5
int3
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call fcn.0041c970
lea ecx, [esp + 0x4c]
jmp 0x413b4e
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xa0]
mov dword [esp + 0x18], 0
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.0041ca40
mov eax, dword [esi + 0x14]
test eax, eax
je 0x413ab8
push dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x413aae
mov esi, dword [esp + 0x18]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
test al, al
je 0x413a5b
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x413a7f
cmp byte [0x55b9dc], al
jne 0x413bec
int3
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.0041c970
lea ecx, [esp + 0x3c]
call fcn.0040af00
lea ecx, [esp + 0x18]
call fcn.0041ca00
lea ecx, [esp + 0xc4]
call fcn.00402120
jmp 0x413b88
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x413ac9
push 0xffffffffffffffff
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
test esi, esi
je 0x413afe
cmp esi, 0xffffffff
je 0x413afe
call fcn.00412bb0
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call fcn.00412d20
add esp, 0x10
push esi
lea ecx, [esp + 0x9c]
call fcn.0041c900
push eax
mov ecx, edi
call fcn.0041c970
lea ecx, [esp + 0x9c]
call fcn.0040af00
lea ecx, [esp + 0x18]
call fcn.0040af00
lea ecx, [esp + 0x1c]
call fcn.0040af00
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.0040af00
lea ecx, [esp + 0x18]
call fcn.0040af00
cmp dword [esp + 0xd8], 8
jb 0x413b6c
push dword [esp + 0xc4]
call fcn.00481594
add esp, 4
xor eax, eax
mov dword [esp + 0xd8], 7
mov word [esp + 0xc4], ax
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x94]
test eax, eax
je 0x413ba9
push eax
call dword [0x55b9b0]
push dword [esp + 0x94]
call fcn.004bbc06
add esp, 4
mov ecx, dword [esp + 0xdc]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
push 1
call fcn.004c4f50
push 1
call fcn.004c4f50
push 1
call fcn.004c4f50
push str.invalid_vector_T__subscript
call fcn.004baf38
push 1
call fcn.004c4f50
push 1
call fcn.004c4f50
push 1
call fcn.004c4f50
int3