Function at 0x443ee0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x466c05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0xffffffffffffffff
mov dword [esp + 0x18], ebp
call fcn.00449900
mov esi, dword [esp + 0x34]
xor edi, edi
push esi
lea ecx, [ebp + 0x1e4]
mov dword [esp + 0x30], edi
mov dword [ebp + 0x1d0], edi
call fcn.00442950
mov al, byte [esp + 0x34]
lea ebx, [ebp + 0x1f8]
push edi
mov ecx, ebx
mov byte [esp + 0x30], 1
mov byte [ebx], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, ebx
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x443f86
mov eax, dword [ebx + 4]
mov ecx, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x34]
mov ecx, edx
add eax, ecx
mov dword [ebx + 8], ecx
mov byte [eax], 0
push 0
push 0
or edi, 0xffffffff
push 1
push 0
mov dword [ebp], vtable.CUSBController.0
mov dword [ebp + 0x1cc], edi
mov dword [ebp + 0x1c8], edi
mov dword [ebp + 0x1c4], edi
mov dword [ebp + 0x1c0], edi
mov dword [ebp + 0x1bc], edi
mov dword [ebp + 0x1b8], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp + 0x1e0], eax
mov eax, 0x49b128
test eax, eax
mov dword [esp + 0x18], vtable.CTakeMutex.0
mov dword [esp + 0x1c], 0x49b128
mov dword [esp + 0x20], 1
je 0x443ff7
mov ecx, dword [0x49b12c]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov ecx, 0x49b118
mov byte [esp + 0x30], 3
call fcn.00443c90
test eax, eax
jne 0x44404a
push 0x488818
push esi
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x44404a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x34]
push 0x481ce8
push edx
mov dword [esp + 0x3c], 0x4c4
call sub.MSVCRT.dll__CxxThrowException
mov ecx, ebp
call fcn.004448b0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x44405d
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x38]
push ecx
push eax
mov ecx, 0x49b118
call fcn.00443980
mov byte [esp + 0x2c], 2
mov ecx, dword [esp + 0x20]
mov edx, 0x49b128
dec ecx
test edx, edx
mov dword [esp + 0x20], ecx
je 0x444090
mov eax, dword [0x49b12c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0x20]
test eax, eax
jg 0x444072
mov ebx, dword [ebx + 4]
mov edi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test ebx, ebx
je 0x4440a7
mov edi, ebx
push 1
push 0x49b128
lea ecx, [esp + 0x20]
call fcn.004400e0
lea ecx, [esp + 0x34]
xor ebx, ebx
push ecx
mov ecx, 0x49b11c
call fcn.00447270
mov ecx, dword [0x49b120]
mov eax, dword [esp + 0x34]
cmp eax, ecx
je 0x44411d
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4440eb
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push edi
call esi
add esp, 8
test eax, eax
je 0x444116
lea edx, [esp + 0x38]
push 0
push edx
lea ecx, [esp + 0x3c]
call fcn.00447280
mov ecx, dword [0x49b120]
mov eax, dword [esp + 0x34]
cmp eax, ecx
jne 0x4440dc
jmp 0x44411d
mov eax, dword [esp + 0x34]
mov ebx, dword [eax + 8]
lea ecx, [esp + 0x18]
call fcn.00440120
test ebx, ebx
je 0x44418a
mov esi, vtable.CTakeMutex.0
add ebx, 0x18
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0
call fcn.00440180
mov ecx, ebp
mov byte [esp + 0x2c], 4
call fcn.00446410
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], esi
test eax, eax
jle 0x44418a
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
dec edx
test eax, eax
mov dword [esp + 0x20], edx
je 0x444182
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jg 0x444167
mov ecx, dword [esp + 0x24]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8