Function at 0x100e7c60
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1020b8d0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x105520d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
push ebx
push ebx
mov dword [esi], vtable.ComThreadManager.0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x100e7cec
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 8], esp
push 0x3c
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.ComThreadManager::ComThreadManager___Unable_to_creat_a_mutex
mov byte [ecx], bl
call fcn.10003320
lea ecx, [ebp - 0x30]
call fcn.100e7be0
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
push 0x104309dc
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], vtable.ComThreadManager::ComThreadManagerException.0
call sub.MSVCR100.dll__CxxThrowException
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x100e7d4d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 8], esp
push 0x3d
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.ComThreadManager::ComThreadManager___Unable_to_creat_an_event
mov byte [ecx], bl
call fcn.10003320
lea ecx, [ebp - 0x30]
call fcn.100e7be0
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
push 0x104309dc
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], vtable.ComThreadManager::ComThreadManagerException.0
call sub.MSVCR100.dll__CxxThrowException
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0x10], eax
cmp eax, ebx
jne 0x100e7da8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 8], esp
push 0x3d
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.ComThreadManager::ComThreadManager___Unable_to_creat_an_event
mov byte [ecx], bl
call fcn.10003320
lea ecx, [ebp - 0x30]
call fcn.100e7be0
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 2
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
push 0x104309dc
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], vtable.ComThreadManager::ComThreadManagerException.0
call sub.MSVCR100.dll__CxxThrowException
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x100e7df5
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 8], esp
push str.ComThreadManager::ComThreadManager___Unable_to_creat_an_event
call fcn.10003820
lea ecx, [ebp - 0x3c]
call fcn.100e7be0
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 3
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
push 0x104309dc
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], vtable.ComThreadManager::ComThreadManagerException.0
call sub.MSVCR100.dll__CxxThrowException
mov eax, dword [ebp + 8]
cmp eax, ebx
jle 0x100e7e2a
mov edi, dword [sym.imp.MSVCR100.dll__beginthread]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp + 8], eax
jmp 0x100e7e10
push esi
push 0
push 0x100e7b30
call edi
mov ecx, dword [esi + 8]
add esp, 0xc
push 0xffffffffffffffff
push ecx
call ebx
dec dword [ebp + 8]
jne 0x100e7e10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4