Function at 0x4135b0
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.0041cab0
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 0x413611
mov eax, dword [edx]
cmp eax, dword [edx + 4]
jne 0x413725
mov byte [esp + 0xb], cl
cmp byte [esi + 0x10], 0
mov eax, 0x50c86c
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 0x413651
cmp dword [esi + 0x1c], edx
jne 0x413651
cmp dword [esi + 0x20], edx
je 0x413674
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 0x413683
or ecx, 0x1000004
mov dword [esp + 0x10], ecx
cmp byte [esi + 0x24], dl
je 0x413692
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.004055a0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x413923
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 0x413896
mov byte [esp + 0x10], al
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x413881
cmp byte [0x55b9e0], al
je 0x413880
jmp 0x413b6f
call fcn.00401f10
cmp eax, 3
jge 0x41376d
mov byte [esp + 0x30], 0
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x413753
cmp byte [0x55b9e0], al
jne 0x413b76
int3
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.0041c920
lea ecx, [esp + 0x34]
call fcn.0040adf0
jmp 0x413b38
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
cmp ecx, 0x3fffffff
jbe 0x4137be
mov byte [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x4137a4
cmp byte [0x55b9e0], al
jne 0x413b7d
int3
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.0041c920
lea ecx, [esp + 0x2c]
call fcn.0040adf0
jmp 0x413b38
push ecx
lea ecx, [esp + 0x54]
call fcn.0041cb80
test al, al
jne 0x4137f3
push 0
lea ecx, [esp + 0xb8]
call fcn.0041c8b0
push eax
mov ecx, edi
call fcn.0041c920
lea ecx, [esp + 0xb8]
call fcn.0040adf0
jmp 0x413b38
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 0x413b84
mov edx, dword [esp + 0x94]
test edx, edx
je 0x413859
push 0
push 0
lea eax, [ecx*4]
push eax
push dword [esp + 0x18]
push 0x20002
push 0
push edx
call dword [0x55b88c]
test eax, eax
setne al
test al, al
je 0x413859
mov ecx, 0x80000
mov byte [esp + 0xb], 1
mov dword [esp + 0x10], ecx
jmp 0x413611
push 0
lea ecx, [esp + 0xc0]
call fcn.0041c8b0
push eax
mov ecx, edi
call fcn.0041c920
lea ecx, [esp + 0xc0]
call fcn.0040adf0
jmp 0x413b38
int3
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0041c920
lea ecx, [esp + 0x14]
jmp 0x413afe
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 0x41399a
mov byte [esp + 0x40], 0
mov dword [esp + 0x44], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x41390e
cmp byte [0x55b9e0], al
jne 0x413b8e
int3
lea eax, [esp + 0x40]
mov ecx, edi
push eax
call fcn.0041c920
lea ecx, [esp + 0x44]
jmp 0x413afe
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 0x41399e
mov byte [esp + 0x48], al
mov dword [esp + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x413985
cmp byte [0x55b9e0], al
jne 0x413b95
int3
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call fcn.0041c920
lea ecx, [esp + 0x4c]
jmp 0x413afe
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.0041c9f0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x413a68
push dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x413a5e
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 0x413a0b
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 0x413a2f
cmp byte [0x55b9e0], al
jne 0x413b9c
int3
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.0041c920
lea ecx, [esp + 0x3c]
call fcn.0040adf0
lea ecx, [esp + 0x18]
call fcn.0041c9b0
lea ecx, [esp + 0xc4]
call fcn.00402120
jmp 0x413b38
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x413a79
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 0x413aae
cmp esi, 0xffffffff
je 0x413aae
call fcn.00410210
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call fcn.00412cd0
add esp, 0x10
push esi
lea ecx, [esp + 0x9c]
call fcn.0041c8b0
push eax
mov ecx, edi
call fcn.0041c920
lea ecx, [esp + 0x9c]
call fcn.0040adf0
lea ecx, [esp + 0x18]
call fcn.0040adf0
lea ecx, [esp + 0x1c]
call fcn.0040adf0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.0040adf0
lea ecx, [esp + 0x18]
call fcn.0040adf0
cmp dword [esp + 0xd8], 8
jb 0x413b1c
push dword [esp + 0xc4]
call fcn.004814b9
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 0x413b59
push eax
call dword [0x55b9b4]
push dword [esp + 0x94]
call fcn.004bbf48
add esp, 4
mov ecx, dword [esp + 0xdc]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004bc45f
mov esp, ebp
pop ebp
ret
push 1
call fcn.004c52a0
push 1
call fcn.004c52a0
push 1
call fcn.004c52a0
push str.invalid_vector_T__subscript
call fcn.004bb27a
push 1
call fcn.004c52a0
push 1
call fcn.004c52a0
push 1
call fcn.004c52a0
int3