Function at 0x10012620
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100252f0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x100370a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x44
lea eax, [ebp - 0x70]
push 0
push eax
mov dword [ebp - 4], 1
call fcn.100157f0
mov edx, dword [section..data]
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, section..data
mov dword [ebp - 0x70], 0x44
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, 0x1002e494
mov byte [ebp - 4], 2
test ecx, 0xffff0000
jne 0x100126ba
mov edx, ecx
movzx esi, dx
push esi
call fcn.10003db0
add esp, 4
test eax, eax
je 0x100126c7
push eax
mov eax, esi
lea edi, [ebp - 0x10]
call fcn.10003970
jmp 0x100126c7
mov ebx, 0x1002e494
lea eax, [ebp - 0x10]
call fcn.10003450
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ebx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.100032a0
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
push ecx
mov ebx, eax
mov byte [ebp - 4], 4
call fcn.100032a0
add esp, 0x10
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10012714
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10012737
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x10012756
xor eax, eax
lea ecx, [ebp + 8]
call fcn.10004100
mov edx, dword [ebp + 8]
mov esi, edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x10012777
xor eax, eax
lea ecx, [ebp - 0x14]
call fcn.10004100
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x70]
push eax
push esi
push 0
push 0
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x24]
push edx
call esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100127c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100127eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10012811
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret