Function at 0x42bb29
Capabilities:
Check for time delay via queryperformancecounter
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push str.GlobalAccess_MAHMSharedMemory
push 0
mov edi, ecx
push 0
mov dword [ebp - 0x38], edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x42bb56
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, 0x49d410
push eax
mov ecx, esi
call dword [sym.imp.RTHAL.dll_public:_void___thiscall_CHAL::SetTimestamp_unsigned_long_int_]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.MSVCR90.dll__time32]
pop ecx
mov ecx, edi
call fcn.0042b8ac
and dword [ebp - 0x20], 0
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x42bbdd
cmp dword [ebx + 0x18], 0
mov dword [ebx], 0x4d41484d
mov dword [ebx + 4], 0x20000
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x14], eax
mov dword [ebx + 8], 0x20
mov dword [ebx + 0x10], 0x52c
jne 0x42bbdd
mov ecx, esi
call dword [sym.imp.RTHAL.dll_public:_unsigned_long_int___thiscall_CHAL::GetGpuCount_void_]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0x518
mov dword [ebp - 0x20], 1
mov ecx, esi
call dword [sym.imp.RTHAL.dll_public:_void___thiscall_CHAL::SaveAccessibilityState_void_]
mov eax, dword [edi + 4]
mov edi, dword [sym.imp.MSVCR90.dll_strcpy_s]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, 0x104
test eax, eax
je 0x42be04
mov edx, dword [ebp - 0x14]
add edx, 0x540
mov dword [ebp - 4], edx
jmp 0x42bc11
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 8], edx
test eax, eax
je 0x42bc6b
lea ebx, [eax + 1]
mov eax, dword [0x4bde30]
xor edx, edx
div ebx
mov eax, edx
mov dword [ebp - 0x24], eax
mov eax, ecx
xor edx, edx
div ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
xor ebx, ebx
cmp eax, edx
setne bl
call fcn.00421b3b
add eax, 0xffffffb0
cmp eax, 1
ja 0x42bc56
xor ebx, ebx
mov ecx, dword [ebp - 8]
push ebx
push 0
push dword [ebp - 0x10]
call fcn.00425bfa
mov ebx, 0x104
jmp 0x42bc79
push 0
push 0
push dword [ebp - 0x10]
mov ecx, edx
call fcn.00425bfa
cmp dword [ebp - 0x14], 0
je 0x42bded
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
and dword [eax], 0
call fcn.004219d7
test eax, eax
je 0x42bc9b
mov eax, dword [ebp - 4]
or dword [eax], 4
mov ecx, dword [ebp - 8]
call fcn.004219b8
test eax, eax
je 0x42bcad
mov eax, dword [ebp - 4]
or dword [eax], 1
mov ecx, dword [ebp - 8]
call fcn.004219d0
test eax, eax
je 0x42bcbf
mov eax, dword [ebp - 4]
or dword [eax], 2
mov ecx, dword [ebp - 8]
call fcn.004217d7
push eax
mov eax, dword [ebp - 4]
add eax, 0xfffffae0
push ebx
push eax
call edi
mov ecx, dword [ebp - 8]
add esp, 0xc
call fcn.00425e74
push eax
mov eax, dword [ebp - 4]
add eax, 0xfffffbe4
push ebx
push eax
call edi
mov ecx, dword [ebp - 8]
add esp, 0xc
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.00421eb1
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov eax, dword [ebp - 4]
add eax, 0xfffffce8
push ebx
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 4]
add eax, 0xfffffbe4
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.RTMUI.dll_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_LoadStringA_char_const__]
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov eax, dword [ebp - 4]
add eax, 0xfffffdec
push ebx
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x30]
push eax
call fcn.004256ec
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov eax, dword [ebp - 4]
add eax, 0xfffffef0
push ebx
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [ebp - 8]
call fcn.0042195d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
fstp dword [eax - 0xc]
call fcn.00421901
test eax, eax
je 0x42bdb1
mov eax, dword [ebp - 4]
fld dword [eax - 0xc]
push ecx
fstp dword [esp]
call fcn.00410864
mov eax, dword [ebp - 4]
fstp dword [eax - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
push 0
call fcn.00422b6c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
fstp dword [eax - 8]
push 0
call fcn.004230c9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
fstp dword [eax - 4]
call fcn.00421b1c
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 8]
call fcn.00421b3b
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
inc dword [ebp - 0xc]
add dword [ebp - 4], 0x52c
cmp dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xc]
jne 0x42bc0e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42bf82
cmp dword [ebp - 0x20], 0
mov dword [eax + 0xc], ecx
je 0x42bf82
imul ecx, ecx, 0x52c
lea eax, [ecx + eax + 0x20]
mov ecx, esi
mov dword [ebp + 8], eax
call dword [sym.imp.RTHAL.dll_public:_unsigned_long_int___thiscall_CHAL::GetGpuCount_void_]
mov ecx, esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.RTHAL.dll_public:_unsigned_long_int___thiscall_CHAL::GetSelectedGpu_void_]
and dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], eax
jle 0x42bf71
mov eax, dword [ebp + 8]
add eax, 0x208
mov dword [ebp + 8], eax
cmp dword [ebp - 0xc], 1
jle 0x42be69
push dword [ebp - 8]
mov ecx, esi
call dword [sym.imp.RTHAL.dll_public:_int___thiscall_CHAL::SelectGpu_unsigned_long_int_]
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call dword [sym.imp.RTHAL.dll_public_virtual:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_CHAL::GetCoreFamilyStr_void_]
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffefc
push ebx
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0041447d
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push ebx
push dword [ebp + 8]
call edi
add esp, 0xc
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call dword [sym.imp.RTHAL.dll_public_virtual:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_CHAL::GetDriverStr_int_]
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov eax, dword [ebp + 8]
add eax, 0x104
push ebx
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 1
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
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
mov eax, dword [ebp + 8]
add eax, 0xfffffdf8
push ebx
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call dword [sym.imp.RTHAL.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_CHAL::GetVBIOSVersionStr_void_]
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov eax, dword [ebp + 8]
add eax, 0x208
push ebx
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, esi
call dword [sym.imp.RTHAL.dll_public:_unsigned_long_int___thiscall_CHAL::GetOnboardMemory_void_]
mov ecx, dword [ebp + 8]
inc dword [ebp - 8]
mov dword [ecx + 0x30c], eax
mov eax, dword [ebp - 8]
add dword [ebp + 8], 0x518
cmp eax, dword [ebp - 0xc]
jl 0x42be58
cmp dword [ebp - 0xc], 1
jle 0x42bf82
push dword [ebp - 0x1c]
mov ecx, esi
call dword [sym.imp.RTHAL.dll_public:_int___thiscall_CHAL::SelectGpu_unsigned_long_int_]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x3c]
sbb ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
fild qword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
pop edi
fmul qword [0x4785c0]
pop esi
fild qword [ebp - 0x50]
pop ebx
fdivp st(1)
fstp dword [eax + 0x2c]
je 0x42bfcd
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x4bde30]
leave
ret 4