Function at 0x100114b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026318
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x100365e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1002ef28
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.10002700
mov eax, dword [ebp + 8]
push 0x5c
mov ebx, 2
push eax
mov byte [ebp - 4], bl
call fcn.10014aaa
add esp, 8
test eax, eax
je 0x10011580
mov ecx, dword [ebp + 8]
sub eax, ecx
sar eax, 1
mov esi, eax
js 0x10011580
mov eax, dword [ecx - 0xc]
xor ecx, ecx
inc eax
mov edx, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001221a
mov ecx, dword [ebp + 8]
mov edi, eax
add esp, 4
mov edx, edi
movzx eax, word [ecx]
mov word [edx], ax
add ecx, ebx
add edx, ebx
test ax, ax
jne 0x10011532
inc esi
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.10011130
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.10001d00
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001158e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1001158e
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
xor edi, edi
call fcn.10001d00
mov edx, dword [ebp + 0xc]
cmp dword [edx - 0xc], 0
je 0x100115de
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
push 0x20
push ecx
call fcn.10011160
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.10007940
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100115de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
xor ecx, ecx
inc eax
mov edx, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001221a
mov ecx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov edx, esi
movzx eax, word [ecx]
mov word [edx], ax
add ecx, ebx
add edx, ebx
test ax, ax
jne 0x10011602
push 0x44
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.10013ff0
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x68]
push edx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
xor eax, eax
push esi
push edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x68], 0x44
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10011671
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x24]
imul eax, eax, 0x3e8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov bl, 1
test edi, edi
je 0x1001167e
push edi
call fcn.10014ad8
add esp, 4
push esi
call fcn.10014ad8
mov edx, dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
push edx
call esi
mov eax, dword [ebp - 0x20]
push eax
call esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100116bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100116df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10011705
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret