Function at 0x100011e7
Capabilities:
Create process on windows

Disassembly:
push 0xc4
mov eax, 0x1001066a
call fcn.1000f50f
push 0x10017d44
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
call fcn.100011a1
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x10001472
mov dword [ebp - 4], ebx
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, dword [0x10017d58]
push dword [eax + 0x40]
lea eax, [ebp - 0x18]
push str.__ls_
call fcn.10003811
pop ecx
pop ecx
mov dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push 1
push 0x1f07ff
lea eax, [ebp - 0x14]
push eax
call esi
push eax
call esi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x1c], eax
push 1
push 1
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [section..data]
mov dword [ebp - 0x44], ebx
mov ebx, dword [edi]
mov ecx, section..data
mov dword [ebp - 0x48], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x68], eax
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
movsd dword es:[edi], dword [esi]
cmp dword [ebx], 0xcce17000
sete al
xor esi, esi
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x58], esi
je 0x1000130e
cmp dword [ebx + 0x10], 1
jne 0x1000130e
mov ebx, dword [ebx + 0x14]
cmp ebx, esi
je 0x1000130e
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100012f8
sub eax, edx
push ebx
mov ebx, eax
lea eax, [ebp - 0x50]
call fcn.10003408
xor esi, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x6c]
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.1000415a
mov edi, 0x10017d5c
push edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.10003fc2
push edi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x20]
push eax
lea edi, [ebp - 0x40]
call fcn.10003e95
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.10002972
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10003e1a
push 0x40
lea eax, [ebp - 0xcc]
push esi
push eax
mov dword [ebp - 0xd0], 0x44
call fcn.10006150
mov ebx, dword [ebp - 0x18]
add esp, 0xc
cmp dword [ebx - 4], 1
jle 0x100013ad
push dword [ebx - 0xc]
lea eax, [ebp - 0x18]
push eax
call fcn.10002d3a
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xd0]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100013fc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x20], str.failed_to_start_SendRpt
call fcn.10004de7
push 0x10013f74
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0x8c], vtable.std::runtime_error.0
call fcn.100061ca
push dword [ebp - 0x78]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
push 0xffffffffffffffff
mov dword [ebp - 0x24], eax
push esi
lea eax, [ebp - 0x28]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebp - 0x7c]
call edi
lea esi, [ebp - 0x38]
call fcn.10002b48
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
call fcn.10003e1a
xor esi, esi
cmp dword [ebp - 0x1c], esi
je 0x10001446
push dword [ebp - 0x1c]
call edi
cmp dword [ebp - 0x14], esi
je 0x10001453
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], esi
lea eax, [ebx - 0x10]
call fcn.10003e1a
or dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
push 1
call fcn.100011a1
mov edi, dword [ebp + 8]
pop ecx
pop ecx
mov esi, eax
xor ebx, ebx
push 0x10017d44
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esi - 1]
dec eax
je 0x100014c8
dec eax
je 0x100014c4
dec eax
je 0x100014bf
mov eax, dword [edi + 8]
mov eax, dword [eax]
cmp dword [eax], 0xcce17000
je 0x100014c8
mov ecx, dword [0x10017d58]
xor eax, eax
cmp dword [ecx + 0x2c], ebx
sete al
jmp 0x100014cb
xor eax, eax
inc eax
jmp 0x100014cb
xor eax, eax
jmp 0x100014cb
or eax, 0xffffffff
call fcn.1000f5b4
ret 4