Function at 0x3000f36c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2c
push 0
push 0
dec ecx
jne 0x3000f374
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.3000217c
xor eax, eax
push ebp
push 0x3000f6fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov ecx, 1
mov edx, 0x3000f710
mov eax, dword [ebp - 8]
call fcn.300071dc
mov eax, dword [ebp - 0xc]
call fcn.30001f94
mov ecx, eax
inc ecx
lea eax, [ebp - 8]
mov edx, 1
call fcn.30002228
mov eax, dword [ebp - 0xc]
mov edx, 0x3000f71c
call fcn.300020d8
jne 0x3000f5ca
lea ecx, [ebp - 0x10]
mov edx, 0x3000f72c
mov eax, 0x80000002
call fcn.300068d4
jmp 0x3000f592
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x3000f76c
call fcn.300022cc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.300021e8
mov eax, dword [ebp - 0x14]
call fcn.30001f94
mov ecx, eax
add ecx, 2
lea eax, [ebp - 0x10]
mov edx, 1
call fcn.30002228
push 0x3000f778
push dword [ebp - 0x14]
push 0x3000f7b8
lea eax, [ebp - 0x14c]
mov edx, 3
call fcn.30002054
mov edx, dword [ebp - 0x14c]
lea ecx, [ebp - 0x18]
mov eax, 0x80000002
call fcn.30005f04
push dword [ebp - 8]
push dword [ebp - 0x18]
push 0x3000f710
lea eax, [ebp - 8]
mov edx, 3
call fcn.30002054
push 0x3000f778
push dword [ebp - 0x14]
push 0x3000f7d0
lea eax, [ebp - 0x150]
mov edx, 3
call fcn.30002054
mov edx, dword [ebp - 0x150]
lea ecx, [ebp - 0x1c]
mov eax, 0x80000002
call fcn.30005f04
push dword [ebp - 8]
push dword [ebp - 0x1c]
push 0x3000f710
lea eax, [ebp - 8]
mov edx, 3
call fcn.30002054
push 0x3000f778
push dword [ebp - 0x14]
push 0x3000f7e8
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.30002054
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0x20]
mov eax, 0x80000002
call fcn.30005f04
push dword [ebp - 8]
push dword [ebp - 0x20]
push 0x3000f710
lea eax, [ebp - 8]
mov edx, 3
call fcn.30002054
push 0x3000f778
push dword [ebp - 0x14]
push 0x3000f7fc
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.30002054
mov edx, dword [ebp - 0x158]
lea ecx, [ebp - 0x24]
mov eax, 0x80000002
call fcn.30005f04
push dword [ebp - 8]
push dword [ebp - 0x24]
push 0x3000f710
lea eax, [ebp - 8]
mov edx, 3
call fcn.30002054
push 0x3000f778
push dword [ebp - 0x14]
push 0x3000f818
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.30002054
mov edx, dword [ebp - 0x15c]
lea ecx, [ebp - 0x28]
mov eax, 0x80000002
call fcn.30005f04
push dword [ebp - 8]
push dword [ebp - 0x28]
push 0x3000f838
lea eax, [ebp - 8]
mov edx, 3
call fcn.30002054
mov eax, dword [ebp - 0x10]
call fcn.30001f94
test eax, eax
jg 0x3000f3ef
push ebp
push dword [ebp - 0xc]
push 0x3000f710
push dword [ebp - 8]
lea eax, [ebp - 0x160]
mov edx, 3
call fcn.30002054
mov eax, dword [ebp - 0x160]
call fcn.3000f2e0
pop ecx
mov eax, dword [ebp - 0xc]
mov edx, 0x3000f844
call fcn.300020d8
jne 0x3000f64d
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, 0x10
call fcn.300013f8
lea eax, [ebp - 0x148]
xor ecx, ecx
mov edx, 0x44
call fcn.300013f8
lea eax, [ebp - 0xf4]
xor ecx, ecx
mov edx, 0xcc
call fcn.300013f8
mov dword [ebp - 0x148], 0x44
mov dword [ebp - 0x11c], 0x80
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.3000218c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
mov eax, dword [ebp - 0xc]
mov edx, 0x3000f858
call fcn.300020d8
jne 0x3000f6d0
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, 0x10
call fcn.300013f8
lea eax, [ebp - 0x148]
xor ecx, ecx
mov edx, 0x44
call fcn.300013f8
lea eax, [ebp - 0xf4]
xor ecx, ecx
mov edx, 0xcc
call fcn.300013f8
mov dword [ebp - 0x148], 0x44
mov dword [ebp - 0x11c], 0x80
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.3000218c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3000f702
lea eax, [ebp - 0x160]
mov edx, 6
call fcn.30001e14
lea eax, [ebp - 0x28]
mov edx, 9
call fcn.30001e14
ret