Function at 0x44dee0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47154e
mov eax, dword fs:[0]
push eax
mov eax, 0x1b6c
call fcn.004680f0
push ebx
push esi
push edi
mov eax, dword [0x49ce98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.GlobalAccess_MACMSharedMemory
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x44df30
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR90.dll__time32]
pop ecx
mov ebx, 0x49d430
mov ecx, ebx
call fcn.0041712d
and dword [ebp - 0x28], 0
mov esi, eax
test esi, esi
je 0x44e618
mov ecx, ebx
call dword [sym.imp.RTHAL.dll_public:_unsigned_long_int___thiscall_CHAL::GetGpuCount_void_]
mov ecx, ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.RTHAL.dll_public:_unsigned_long_int___thiscall_CHAL::GetSelectedGpu_void_]
cmp dword [esi + 0xc], 0
mov dword [ebp - 0x20], eax
mov dword [esi], 0x4d41434d
mov dword [esi + 4], 0x20003
mov dword [esi + 8], 0x24
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
jne 0x44df92
mov dword [ebp - 0x28], 1
mov ecx, ebx
call dword [sym.imp.RTHAL.dll_public:_unsigned_long_int___thiscall_CHAL::GetGpuCount_void_]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0xeb0
mov dword [esi + 0x18], eax
cmp dword [edi + 0x1ce2c], eax
je 0x44dfbe
mov dword [esi + 0x18], 1
cmp dword [edi + 0x1ce28], eax
je 0x44dfca
or dword [esi + 0x18], 2
cmp dword [edi + 0x1ce30], eax
je 0x44dfd6
or dword [esi + 0x18], 4
cmp dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
jle 0x44e607
add esi, 0xd4
cmp dword [ebp - 0x1c], 1
jle 0x44dff9
push dword [ebp - 0x18]
mov ecx, ebx
call dword [sym.imp.RTHAL.dll_public:_int___thiscall_CHAL::SelectGpu_unsigned_long_int_]
push dword [ebp - 0x20]
mov ecx, ebx
call dword [sym.imp.RTHAL.dll_public:_int___thiscall_CHAL::IsSimilarGpu_unsigned_long_int_]
neg eax
sbb eax, eax
and eax, 0x80000000
push 0
lea ecx, [ebp - 0x1b78]
mov dword [esi - 0xb0], eax
call fcn.0040b8f9
and dword [ebp - 4], 0
lea eax, [ebp - 0x1b78]
push eax
mov ecx, edi
call fcn.0044a77b
xor ecx, ecx
cmp dword [ebp - 0x1a04], ecx
je 0x44e069
mov eax, dword [ebp - 0x19f4]
or dword [esi - 0xb0], 0x400
mov dword [esi - 4], eax
mov eax, dword [ebp - 0x19fc]
mov dword [esi], eax
mov eax, dword [ebp - 0x19f8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1a00]
mov dword [esi + 8], eax
cmp dword [ebp - 0x19bc], ecx
je 0x44e09f
mov eax, dword [ebp - 0x19ac]
or dword [esi - 0xb0], 0x2000
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x19b4]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x19b0]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x19b8]
mov dword [esi + 0x38], eax
cmp dword [ebp - 0x19a4], ecx
je 0x44e0c3
mov eax, dword [ebp - 0x199c]
or dword [esi - 0xb0], 0x4000
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x19a0]
mov dword [esi + 0x40], eax
cmp dword [ebp - 0x1b70], ecx
je 0x44e102
mov eax, dword [ebp - 0x1b60]
or dword [esi - 0xb0], 1
mov dword [esi - 0xac], eax
mov eax, dword [ebp - 0x1b68]
mov dword [esi - 0xa8], eax
mov eax, dword [ebp - 0x1b64]
mov dword [esi - 0xa4], eax
mov eax, dword [ebp - 0x1b6c]
mov dword [esi - 0xa0], eax
cmp dword [ebp - 0x19ec], ecx
je 0x44e138
mov eax, dword [ebp - 0x19dc]
or dword [esi - 0xb0], 0x800
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x19e4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x19e0]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x19e8]
mov dword [esi + 0x18], eax
cmp dword [ebp - 0x1b50], ecx
je 0x44e177
mov eax, dword [ebp - 0x1b3c]
or dword [esi - 0xb0], 2
mov dword [esi - 0x9c], eax
mov eax, dword [ebp - 0x1b44]
mov dword [esi - 0x98], eax
mov eax, dword [ebp - 0x1b40]
mov dword [esi - 0x94], eax
mov eax, dword [ebp - 0x1b48]
mov dword [esi - 0x90], eax
cmp dword [ebp - 0x1b30], ecx
je 0x44e1b3
mov eax, dword [ebp - 0x1b20]
or dword [esi - 0xb0], 4
mov dword [esi - 0x8c], eax
mov eax, dword [ebp - 0x1b28]
mov dword [esi - 0x88], eax
mov eax, dword [ebp - 0x1b24]
mov dword [esi - 0x84], eax
mov eax, dword [ebp - 0x1b2c]
mov dword [esi - 0x80], eax
cmp dword [ebp - 0x19d4], ecx
je 0x44e1e9
mov eax, dword [ebp - 0x19c4]
or dword [esi - 0xb0], 0x1000
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x19cc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x19c8]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x19d0]
mov dword [esi + 0x28], eax
cmp dword [ebp - 0x1b18], ecx
je 0x44e247
or dword [esi - 0xb0], 8
mov eax, dword [edi + 0x380c]
mov eax, dword [ebp + eax*4 - 0x1afc]
mov dword [esi - 0x7c], eax
mov eax, dword [edi + 0x380c]
xor edx, edx
cmp dword [ebp + eax*4 - 0x1aec], ecx
setne dl
mov dword [esi - 0x78], edx
mov eax, dword [edi + 0x380c]
mov eax, dword [ebp + eax*4 - 0x1b0c]
mov dword [esi - 0x74], eax
mov eax, dword [edi + 0x380c]
mov eax, dword [ebp + eax*4 - 0x1b04]
mov dword [esi - 0x70], eax
mov dword [esi - 0x6c], ecx
mov dword [esi - 0x68], 1
cmp dword [ebp - 0x1adc], ecx
je 0x44e27a
mov eax, dword [ebp - 0x1ac4]
or dword [esi - 0xb0], 0x10
mov dword [esi - 0x64], eax
mov eax, dword [ebp - 0x1acc]
mov dword [esi - 0x60], eax
mov eax, dword [ebp - 0x1ac8]
mov dword [esi - 0x5c], eax
mov eax, dword [ebp - 0x1ad0]
mov dword [esi - 0x58], eax
cmp dword [ebp - 0x1aa0], ecx
je 0x44e2ad
mov eax, dword [ebp - 0x1a8c]
or dword [esi - 0xb0], 0x20
mov dword [esi - 0x54], eax
mov eax, dword [ebp - 0x1a94]
mov dword [esi - 0x50], eax
mov eax, dword [ebp - 0x1a90]
mov dword [esi - 0x4c], eax
mov eax, dword [ebp - 0x1a98]
mov dword [esi - 0x48], eax
cmp dword [ebp - 0x1a6c], ecx
je 0x44e2e0
mov eax, dword [ebp - 0x1a58]
or dword [esi - 0xb0], 0x40
mov dword [esi - 0x44], eax
mov eax, dword [ebp - 0x1a60]
mov dword [esi - 0x40], eax
mov eax, dword [ebp - 0x1a5c]
mov dword [esi - 0x3c], eax
mov eax, dword [ebp - 0x1a64]
mov dword [esi - 0x38], eax
cmp dword [ebp - 0x1a38], ecx
je 0x44e316
mov eax, dword [ebp - 0x1a24]
or dword [esi - 0xb0], 0x8000
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x1a2c]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x1a28]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x1a30]
mov dword [esi + 0x50], eax
cmp dword [ebp - 0x1abc], ecx
je 0x44e34c
mov eax, dword [ebp - 0x1aac]
or dword [esi - 0xb0], 0x80
mov dword [esi - 0x34], eax
mov eax, dword [ebp - 0x1ab4]
mov dword [esi - 0x30], eax
mov eax, dword [ebp - 0x1ab0]
mov dword [esi - 0x2c], eax
mov eax, dword [ebp - 0x1ab8]
mov dword [esi - 0x28], eax
cmp dword [ebp - 0x1a84], ecx
je 0x44e382
mov eax, dword [ebp - 0x1a74]
or dword [esi - 0xb0], 0x100
mov dword [esi - 0x24], eax
mov eax, dword [ebp - 0x1a7c]
mov dword [esi - 0x20], eax
mov eax, dword [ebp - 0x1a78]
mov dword [esi - 0x1c], eax
mov eax, dword [ebp - 0x1a80]
mov dword [esi - 0x18], eax
cmp dword [ebp - 0x1a50], ecx
je 0x44e3b8
mov eax, dword [ebp - 0x1a40]
or dword [esi - 0xb0], 0x200
mov dword [esi - 0x14], eax
mov eax, dword [ebp - 0x1a48]
mov dword [esi - 0x10], eax
mov eax, dword [ebp - 0x1a44]
mov dword [esi - 0xc], eax
mov eax, dword [ebp - 0x1a4c]
mov dword [esi - 8], eax
cmp dword [ebp - 0x1a1c], ecx
je 0x44e3ee
mov eax, dword [ebp - 0x1a0c]
or dword [esi - 0xb0], 0x10000
mov dword [esi + 0x54], eax
mov eax, dword [ebp - 0x1a14]
mov dword [esi + 0x58], eax
mov eax, dword [ebp - 0x1a10]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp - 0x1a18]
mov dword [esi + 0x60], eax
cmp dword [ebp - 0x1974], ecx
je 0x44e5a6
mov eax, dword [esi - 0xb0]
or eax, 0x20000
mov dword [esi - 0xb0], eax
cmp dword [ebp - 0x1970], ecx
je 0x44e41e
or eax, 0x40000
mov dword [esi - 0xb0], eax
mov eax, dword [edi + 0x1d04]
fld qword [0x4785d0]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x1d0c]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x1d08]
mov dword [esi + 0x6c], eax
mov dword [ebp - 0x14], ecx
cmp dword [edi + 0x1d08], ecx
jbe 0x44e4a0
lea eax, [esi + 0x74]
lea ebx, [ebp - 0x1950]
mov dword [ebp - 0x10], eax
fld dword [ebx - 4]
fmul st(1)
call fcn.00467e76
fld dword [ebx]
mov ecx, dword [ebp - 0x10]
fmul st(1)
mov dword [ecx - 4], eax
call fcn.00467e76
fld dword [ebx + 4]
mov ecx, dword [ebp - 0x10]
fmul st(1)
mov dword [ecx], eax
call fcn.00467e40
mov ecx, dword [ebp - 0x10]
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0xc
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x14]
add ebx, 0xc
cmp eax, dword [edi + 0x1d08]
jb 0x44e456
mov ebx, 0x49d430
xor ecx, ecx
mov eax, dword [ebp - 0xd54]
mov dword [esi + 0xc70], eax
mov eax, dword [edi + 0x2914]
mov dword [esi + 0xc74], eax
mov dword [ebp - 0x14], ecx
cmp dword [edi + 0x2914], ecx
jbe 0x44e528
lea eax, [esi + 0xc7c]
lea ebx, [ebp - 0xd48]
mov dword [ebp - 0x10], eax
fld dword [ebx + 8]
call fcn.00467e76
fld dword [ebx]
mov ecx, dword [ebp - 0x10]
mov dword [ecx - 4], eax
call fcn.00467e76
fld dword [ebx + 4]
mov ecx, dword [ebp - 0x10]
fmul st(1)
mov dword [ecx], eax
call fcn.00467e76
fld dword [ebx - 4]
mov ecx, dword [ebp - 0x10]
fmul st(1)
mov dword [ecx + 4], eax
call fcn.00467e76
mov ecx, dword [ebp - 0x10]
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x10
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x14]
add ebx, 0x10
cmp eax, dword [edi + 0x2914]
jb 0x44e4d2
mov ebx, 0x49d430
xor ecx, ecx
mov eax, dword [edi + 0x2958]
mov dword [esi + 0xcb8], eax
mov dword [ebp - 0x14], ecx
cmp dword [edi + 0x2958], ecx
jbe 0x44e5a4
lea eax, [esi + 0xcc4]
lea ebx, [ebp - 0xd04]
mov dword [ebp - 0x10], eax
fld dword [ebx + 8]
call fcn.00467e76
fld dword [ebx]
mov ecx, dword [ebp - 0x10]
mov dword [ecx - 8], eax
call fcn.00467e76
fld dword [ebx + 4]
mov ecx, dword [ebp - 0x10]
fmul st(1)
mov dword [ecx - 4], eax
call fcn.00467e76
fld dword [ebx - 4]
mov ecx, dword [ebp - 0x10]
fmul st(1)
mov dword [ecx], eax
call fcn.00467e76
mov ecx, dword [ebp - 0x10]
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x10
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x14]
add ebx, 0x10
cmp eax, dword [edi + 0x2958]
jb 0x44e54e
mov ebx, 0x49d430
xor ecx, ecx
fstp st(0)
cmp dword [ebp - 0x28], ecx
je 0x44e5e3
push 1
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
call dword [sym.imp.RTHAL.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_CHAL::GetHardwareString_unsigned_long_int__int_]
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea eax, [esi + 0xcfc]
push 0x104
push eax
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b78]
call fcn.0040b605
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add esi, 0xeb0
cmp eax, dword [ebp - 0x1c]
jl 0x44dfe8
cmp dword [ebp - 0x1c], 1
jle 0x44e618
push dword [ebp - 0x20]
mov ecx, ebx
call dword [sym.imp.RTHAL.dll_public:_int___thiscall_CHAL::SelectGpu_unsigned_long_int_]
cmp dword [ebp - 0x24], 0
je 0x44e630
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret