Function at 0x1030e15
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
push 0x274
push 0x1031208
call fcn.010027c0
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x240], eax
push 0x57
pop ebx
mov dword [ebp - 0x228], ebx
xor edi, edi
mov dword [ebp - 0x284], edi
push 0x40
push edi
lea eax, [ebp - 0x280]
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x23c], edi
xor eax, eax
lea edi, [ebp - 0x238]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push eax
lea eax, [ebp - 0x222]
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
and dword [ebp - 4], 0
push dword [ebp - 0x22c]
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.010056eb
test eax, eax
je 0x1030ef0
mov dword [ebp - 0x228], ebx
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x103116b
test dword [eax + 0x1c], 0x40000
je 0x103116b
cmp byte [eax + 0x19], 2
jb 0x103116b
push 0x1002538
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001848
mov eax, dword [0x1040184]
jmp 0x103116b
xor ebx, ebx
inc ebx
push ebx
mov ecx, dword [esi + 8]
call fcn.0102b99a
mov edi, eax
xor eax, eax
cmp edi, eax
jne 0x1030f51
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x228], eax
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x103116b
test dword [eax + 0x1c], 0x40000
je 0x103116b
cmp byte [eax + 0x19], 2
jb 0x103116b
push dword [ebp - 0x228]
push 0x1002538
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001f65
jmp 0x1030ee6
mov dword [ebp - 0x284], 0x44
mov dword [ebp - 0x258], ebx
mov word [ebp - 0x254], bx
lea ecx, [ebp - 0x23c]
cmp dword [ebp + 0x14], eax
je 0x1030ff8
mov dword [ebp - 0x27c], 0x1012cb4
push ecx
lea ecx, [ebp - 0x284]
push ecx
push eax
push eax
mov ecx, dword [ebp + 0x10]
or ecx, 4
push ecx
push eax
push eax
push eax
lea ecx, [ebp - 0x224]
push ecx
push eax
mov ecx, dword [esi]
call fcn.010103aa
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x1031061
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x228], eax
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x103116b
test dword [eax + 0x1c], 0x40000
je 0x103116b
cmp byte [eax + 0x19], 2
jb 0x103116b
push dword [ebp - 0x228]
push 0x1002538
push 0x16
jmp 0x1030f44
mov dword [ebp - 0x27c], eax
push eax
push ecx
lea ecx, [ebp - 0x284]
push ecx
mov ecx, dword [ebp + 0x10]
or ecx, 4
push ecx
lea ecx, [ebp - 0x224]
push ecx
push eax
mov ecx, dword [esi + 0xc]
call fcn.010083c1
mov dword [ebp - 0x228], eax
test eax, eax
je 0x1031061
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x103116b
test dword [eax + 0x1c], 0x40000
je 0x103116b
cmp byte [eax + 0x19], 2
jb 0x103116b
push dword [ebp - 0x228]
push 0x1002538
push 0x17
jmp 0x1030f44
push dword [ebp - 0x23c]
push edi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x10310b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x228], eax
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x10310b1
test dword [eax + 0x1c], 0x40000
je 0x10310b1
cmp byte [eax + 0x19], 2
jb 0x10310b1
push dword [ebp - 0x228]
push 0x1002538
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001f65
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1031103
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x228], eax
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x103116b
test dword [eax + 0x1c], 0x40000
je 0x103116b
cmp byte [eax + 0x19], 2
jb 0x103116b
push dword [ebp - 0x228]
push 0x1002538
push 0x19
jmp 0x1030f44
mov eax, dword [ebp - 0x240]
xor esi, esi
cmp eax, esi
je 0x103111d
mov ecx, dword [ebp - 0x23c]
mov dword [eax], ecx
mov dword [ebp - 0x23c], esi
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x1031165
test dword [eax + 0x1c], 0x40000
je 0x1031165
cmp byte [eax + 0x19], 4
jb 0x1031165
cmp dword [ebp + 0x14], esi
mov ecx, 0x10311fc
jne 0x1031147
mov ecx, 0x10311f4
push dword [ebp - 0x22c]
push ecx
push 0x1002538
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01030855
mov eax, dword [0x1040184]
mov dword [ebp - 0x228], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.010311bd
cmp eax, 0x1040184
je 0x10311a5
test dword [eax + 0x1c], 0x40000
je 0x10311a5
cmp byte [eax + 0x19], 4
jb 0x10311a5
push dword [ebp - 0x228]
push 0x1002538
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001f65
mov eax, dword [ebp - 0x228]
call fcn.01002808
ret 0x14