Function at 0x1000b380
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d155
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x1003600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000e730
mov byte [ebp - 4], 1
push 0xffffffffffffffff
mov ecx, 0x10037494
call fcn.1000e170
push eax
lea ecx, [ebp - 0x28]
call fcn.1000df00
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0xffffffff
je 0x1000b3fa
mov ecx, dword [ebp - 0x108]
add ecx, 1
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.1000e410
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10c], esp
lea edx, [ebp + 8]
push edx
call fcn.1000e730
lea eax, [ebp - 0x58]
push eax
call fcn.1002ae60
add esp, 0x1c
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 2
push 0x100374ac
lea ecx, [ebp - 0x28]
call fcn.1000de70
test eax, eax
jne 0x1000b4a0
mov dword [ebp - 0x9c], 0x44
push 0x40
push 0
lea ecx, [ebp - 0x98]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x9c]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.1000dd10
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000b49b
mov ecx, dword [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xfc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000b5d3
push 0x100374c4
lea ecx, [ebp - 0x28]
call fcn.1000de70
test eax, eax
je 0x1000b4c6
push 0x100374dc
lea ecx, [ebp - 0x28]
call fcn.1000de70
test eax, eax
jne 0x1000b5d3
mov ecx, 0x100374f4
call fcn.1000dd10
push eax
lea ecx, [ebp - 0x40]
call fcn.1000dd90
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.1000dd60
push 0x1002f74c
lea ecx, [ebp - 0x40]
call fcn.1000dd30
push 0x44
push 0
lea ecx, [ebp - 0xe0]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe0], 0x44
xor edx, edx
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xe4], edx
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xe0]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.1000dd10
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1000b5a1
mov byte [ebp - 0x101], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.10001d50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.10001d50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10001d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001d70
mov al, byte [ebp - 0x101]
jmp 0x1000b607
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0xf0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.10001d50
mov byte [ebp - 0x102], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.10001d50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10001d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001d70
mov al, byte [ebp - 0x102]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002b03c
mov esp, ebp
pop ebp
ret