Function at 0x14007db30
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, rcx
movzx eax, byte [rcx + 0x58]
test al, al
je 0x14007db7e
lea rdx, str.IPC_engine_already_started
lea rcx, [rsp + 0x38]
call fcn.140084cb0
lea rdx, [0x140252598]
lea rcx, [rsp + 0x38]
call sub.MSVCR90.dll__CxxThrowException
nop
call fcn.14007def0
mov byte [rbx + 0x59], 0
xor esi, esi
mov dword [rbx + 0x5c], esi
mov dword [rbx + 0x60], 0x62a
mov dword [rbx + 0x100], 0x10000
lea rdx, str..pipe_
lea rcx, [rbx + 0x68]
call qword [reloc.MSVCP90.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_PEB_W_Z]
lea rdx, str.SM_VF_NOTIFY_CHAN
lea rcx, [rbx + 0x68]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const____ptr64____ptr64]
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x40], rax
mov rax, qword [rbx + 0x40]
test rax, rax
jne 0x14007dc08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_create_thread_event.___s
lea rcx, [rsp + 0x78]
call fcn.140084e70
lea rdx, [0x1402524f8]
lea rcx, [rsp + 0x78]
call sub.MSVCR90.dll__CxxThrowException
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x38], rax
mov rax, qword [rbx + 0x38]
test rax, rax
jne 0x14007dc52
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_create_thread_event.___s
lea rcx, [rsp + 0x48]
call fcn.140084e70
lea rdx, [0x1402524f8]
lea rcx, [rsp + 0x48]
call sub.MSVCR90.dll__CxxThrowException
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x48], rax
mov rax, qword [rbx + 0x38]
test rax, rax
jne 0x14007dca0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_create_new_client_event.___s
lea rcx, [rsp + 0xa8]
call fcn.140084e70
lea rdx, [0x1402524f8]
lea rcx, [rsp + 0xa8]
call sub.MSVCR90.dll__CxxThrowException
lea rcx, [rbx + 0x108]
call fcn.140085840
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x14007e350]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x30], rax
mov rax, qword [rbx + 0x30]
test rax, rax
jne 0x14007dd01
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_create_accept_thread.___s
lea rcx, [rsp + 0x60]
call fcn.140084e70
lea rdx, [0x1402524f8]
lea rcx, [rsp + 0x60]
call sub.MSVCR90.dll__CxxThrowException
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x14007e4d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x28], rax
mov rax, qword [rbx + 0x28]
test rax, rax
jne 0x14007dd5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_create_work_thread.___s
lea rcx, [rsp + 0x90]
call fcn.140084e70
lea rdx, [0x1402524f8]
lea rcx, [rsp + 0x90]
call sub.MSVCR90.dll__CxxThrowException
or edx, 0xffffffff
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x14007dd9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_start_thread.___s
lea rcx, [rsp + 0xc0]
call fcn.140084e70
lea rdx, [0x1402524f8]
lea rcx, [rsp + 0xc0]
call sub.MSVCR90.dll__CxxThrowException
mov edx, 1
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor edx, edx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
nop
mov byte [rbx + 0x58], 1
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret