Function at 0x100358c0
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x100bf699
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100fc018]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov al, byte [esi + 0x11c]
mov dword [ebp + 0x4c], esi
test al, al
je 0x1003591f
push str.IPC_engine_already_started
lea edi, [ebp + 0x40]
call fcn.1003f960
add esp, 4
push 0x100e9358
mov ecx, edi
push ecx
call sub.MSVCR90.dll__CxxThrowException
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10035d90
mov byte [esi + 0x11d], bl
push 0x10000
mov dword [esi + 0x120], ebx
mov dword [esi + 0x178], 0x10000
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
push 0x10000
mov dword [esi + 0x17c], eax
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
mov dword [esi + 0x180], eax
add esp, 4
lea ecx, [esi + 0x154]
mov eax, 0x10000
call fcn.10036600
push str..pipe_
lea ecx, [ebp + 0x50]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push str.SM_VF_NOTIFY_CHAN
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 1
call dword [0x100c93b4]
lea edi, [ebx + 8]
jmp 0x100359a2
xor ebx, ebx
mov byte [ebp + 0x18], bl
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x24], ebx
lea edx, [ebp + 0x28]
lea ebx, [ebp + 0x18]
mov dword [ebp + 0x1c], 0xc
mov dword [ebp + 0x20], edx
call fcn.1003f860
movzx eax, byte [ebp + 0x18]
neg eax
sbb eax, eax
lea ecx, [ebp + 0x1c]
and eax, ecx
mov ecx, dword [ebp + 0x54]
cmp dword [ebp + 0x68], edi
jae 0x100359d8
lea ecx, [ebp + 0x54]
push 0
push 0x40000000
push 3
push eax
push 0
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp + 0x3c]
mov dword [esi + 0x10c], eax
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esi + 0x10c]
cmp eax, 0xffffffff
jne 0x10035a88
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xe7
mov eax, dword [ebp + 0x54]
je 0x10035a47
cmp dword [ebp + 0x68], edi
jae 0x10035a25
lea eax, [ebp + 0x54]
push eax
call ebx
push eax
push str.Could_not_create_IPC_connection.___s_._Named_pipe:___s_
lea ecx, [ebp - 0x1c]
call fcn.1003f9c0
add esp, 0xc
push 0x100e9368
lea ecx, [ebp - 0x1c]
push ecx
call sub.MSVCR90.dll__CxxThrowException
cmp dword [ebp + 0x68], edi
jae 0x10035a4f
lea eax, [ebp + 0x54]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x100359a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_open_pipe.___s
lea ecx, [ebp - 0x40]
call fcn.1003f9c0
add esp, 8
push 0x100e9368
lea edx, [ebp - 0x40]
push edx
call sub.MSVCR90.dll__CxxThrowException
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call ebx
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0x108]
test eax, eax
jne 0x10035acd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_create_thread_event.___s
lea ecx, [ebp - 0x58]
call fcn.1003f9c0
add esp, 8
push 0x100e9368
lea ecx, [ebp - 0x58]
push ecx
call sub.MSVCR90.dll__CxxThrowException
push 0
push 0
push 0
push 0
call ebx
mov dword [esi + 0x110], eax
mov edx, dword [esi + 0x110]
test edx, edx
jne 0x10035b0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_create_event.___s
lea ecx, [ebp + 0xc]
call fcn.1003f9c0
add esp, 8
push 0x100e9368
lea eax, [ebp + 0xc]
push eax
call sub.MSVCR90.dll__CxxThrowException
push 0
push 0
push 0
push 0
call ebx
mov dword [esi + 0x114], eax
mov ecx, dword [esi + 0x114]
test ecx, ecx
jne 0x10035b4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_create_event.___s
lea ecx, [ebp - 0x4c]
call fcn.1003f9c0
add esp, 8
push 0x100e9368
lea edx, [ebp - 0x4c]
push edx
call sub.MSVCR90.dll__CxxThrowException
push 0
push 0
push 1
push 0
call ebx
mov dword [esi + 0x13c], eax
test eax, eax
jne 0x10035b84
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_create_read_event.___s
lea ecx, [ebp - 0x34]
call fcn.1003f9c0
add esp, 8
push 0x100e9368
lea eax, [ebp - 0x34]
push eax
call sub.MSVCR90.dll__CxxThrowException
push 0
push 0
push 1
push 0
call ebx
mov dword [esi + 0x150], eax
test eax, eax
jne 0x10035bbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_create_write_event.___s
lea ecx, [ebp]
call fcn.1003f9c0
add esp, 8
push 0x100e9368
lea ecx, [ebp]
push ecx
call sub.MSVCR90.dll__CxxThrowException
push esi
call fcn.1003faf0
mov edx, dword [esi + 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push esi
push 0x10035f40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0x104]
test eax, eax
jne 0x10035c19
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_create_work_thread.___s
lea ecx, [ebp - 0x28]
call fcn.1003f9c0
add esp, 8
push 0x100e9368
lea ecx, [ebp - 0x28]
push ecx
call sub.MSVCR90.dll__CxxThrowException
mov edx, dword [esi + 0x104]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 1
mov dword [ebp + 0x48], eax
push 4
lea eax, [ebp + 0x48]
push eax
push 0xffffffffffffffff
mov eax, esi
call fcn.10035d00
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esi + 0x11c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.100ba2f9
add ebp, 0x70
mov esp, ebp
pop ebp
ret