Function at 0x10012b78
Capabilities:
Create process on windows

Disassembly:
push 0x98
mov eax, 0x10033510
call fcn.10010f30
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x44
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
pop esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xa4]
push ebx
push eax
mov dword [ebp - 0x48], ebx
call fcn.100152f0
push 0x10
lea eax, [ebp - 0x60]
mov dword [ebp - 0xa4], esi
push ebx
push eax
call fcn.100152f0
add esp, 0x18
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
call fcn.100130c6
test al, al
je 0x10012c07
pop esi
push edx
pop esp
pop ebx
pop esp
pop ebx
push ebp
push eax
push edx
pop edx
pop esi
pop ecx
pop ecx
pop edx
pop eax
push edi
pop ecx
push ecx
push ebx
push eax
push esp
push edi
push ebp
pop esp
pop esi
push ebp
call fcn.1001366f
test al, al
je 0x10012c2d
push edx
push ecx
pop ecx
pop esp
push ecx
push ebx
push esp
pop esp
push esp
push edi
pop edx
push ebx
pop edi
push eax
pop edi
pop esp
pop eax
pop esi
push ecx
push ecx
pop esp
pop edi
pop ebp
push edx
pop esp
push ecx
push ebx
push ebp
pop edx
call fcn.1001321f
test al, al
je 0x10012c4e
push ebp
push esp
push ebx
push edi
push ecx
pop ecx
pop ebp
pop edx
push ebp
push edi
push edx
pop edi
pop esp
push edx
pop ecx
pop eax
push ebp
pop esp
pop ebx
pop ebx
pop esi
pop esi
push eax
pop esi
mov ebx, dword [ebp - 0x4c]
xor edi, edi
test ebx, ebx
je 0x10012c71
cmp word [ebx], di
jne 0x10012c60
mov eax, edi
jmp 0x10012c67
push ebx
call fcn.10020a89
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.10004540
or esi, 0xffffffff
cmp dword [ebp - 0x30], 0
jne 0x10012c99
mov ebx, dword [ebp - 0x44]
cmp word [ebx], di
jne 0x10012c86
mov eax, edi
jmp 0x10012c8d
push ebx
call fcn.10020a89
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.10004540
jmp 0x10012cef
mov edi, 0x10036698
push edi
call fcn.10020a89
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.10004540
mov ebx, dword [ebp - 0x44]
xor eax, eax
cmp word [ebx], ax
je 0x10012cc0
push ebx
call fcn.10020a89
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.10005740
mov edi, 0x1003669c
push edi
call fcn.10020a89
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.10005740
push esi
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.10005870
call fcn.1001348c
test al, al
je 0x10012d18
push edx
push esp
push edi
pop ecx
push esi
pop ebx
pop ebp
push edx
pop ecx
push edx
push eax
pop ecx
pop edx
push edx
pop ecx
push ebx
pop esi
pop ebx
push edx
pop edx
push esi
pop esi
pop eax
pop ebx
pop edx
push ebp
push esp
push eax
push edi
or esi, 0xffffffff
call fcn.10013264
test al, al
je 0x10012d3f
pop edx
pop edi
push esp
pop ebx
pop ecx
pop esp
push ecx
pop ebp
pop edx
push ecx
push ecx
push edi
push ebp
push ecx
push edi
push edx
pop esp
pop esp
push edi
pop ebx
push ecx
push ebp
push ebp
pop edi
pop ebx
pop eax
pop edi
push ecx
pop ebp
pop edi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x67
call fcn.10011d92
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
xor ebx, ebx
pop ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10012d86
mov esi, ebx
jmp 0x10012e0f
cmp byte [ebp + 0x10], bl
je 0x10012d9c
cmp dword [ebp + 0x14], ebx
cmovg esi, dword [ebp + 0x14]
push esi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x10012db9
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x10012db9
mov eax, dword [ebp - 0x48]
mov dword [esi], eax
call fcn.100134d1
test al, al
je 0x10012dd5
push ebp
push ebx
pop ebx
pop ebx
push ebx
push edi
pop eax
push esp
push edi
push esp
push ebx
push esp
pop eax
pop edi
push ebp
pop edi
pop esp
xor ebx, ebx
call fcn.100136b4
test al, al
je 0x10012dfc
pop edx
push ecx
pop edi
push eax
pop esp
pop ecx
push ecx
push edx
push ebp
push eax
push esp
pop esi
push ecx
push edi
push ebp
pop edi
push esi
push esp
pop ebp
push edx
pop edi
pop esi
pop edx
pop ecx
pop edi
push edi
push eax
pop edx
push edx
pop esp
push dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x5c]
call esi
xor esi, esi
inc esi
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.100017e0
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.100017e0
mov eax, esi
call fcn.10010eeb
ret