Function at 0x42bd78
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 0x42bda5
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, 0x49d430
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.0042bafb
and dword [ebp - 0x20], 0
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x42be2c
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 0x42be2c
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 0x42c053
mov edx, dword [ebp - 0x14]
add edx, 0x540
mov dword [ebp - 4], edx
jmp 0x42be60
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 0x42beba
lea ebx, [eax + 1]
mov eax, dword [0x4bde70]
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.00421d99
add eax, 0xffffffb0
cmp eax, 1
ja 0x42bea5
xor ebx, ebx
mov ecx, dword [ebp - 8]
push ebx
push 0
push dword [ebp - 0x10]
call fcn.00425e51
mov ebx, 0x104
jmp 0x42bec8
push 0
push 0
push dword [ebp - 0x10]
mov ecx, edx
call fcn.00425e51
cmp dword [ebp - 0x14], 0
je 0x42c03c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
and dword [eax], 0
call fcn.00421c35
test eax, eax
je 0x42beea
mov eax, dword [ebp - 4]
or dword [eax], 4
mov ecx, dword [ebp - 8]
call fcn.00421c16
test eax, eax
je 0x42befc
mov eax, dword [ebp - 4]
or dword [eax], 1
mov ecx, dword [ebp - 8]
call fcn.00421c2e
test eax, eax
je 0x42bf0e
mov eax, dword [ebp - 4]
or dword [eax], 2
mov ecx, dword [ebp - 8]
call fcn.00421a35
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.004260cb
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.0042210f
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.00425943
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.00421bbb
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
fstp dword [eax - 0xc]
call fcn.00421b5f
test eax, eax
je 0x42c000
mov eax, dword [ebp - 4]
fld dword [eax - 0xc]
push ecx
fstp dword [esp]
call fcn.004108e3
mov eax, dword [ebp - 4]
fstp dword [eax - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
push 0
call fcn.00422dc3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
fstp dword [eax - 8]
push 0
call fcn.00423320
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
fstp dword [eax - 4]
call fcn.00421d7a
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 8]
call fcn.00421d99
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 0x42be5d
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42c1d1
cmp dword [ebp - 0x20], 0
mov dword [eax + 0xc], ecx
je 0x42c1d1
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 0x42c1c0
mov eax, dword [ebp + 8]
add eax, 0x208
mov dword [ebp + 8], eax
cmp dword [ebp - 0xc], 1
jle 0x42c0b8
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.0041459e
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 0x42c0a7
cmp dword [ebp - 0xc], 1
jle 0x42c1d1
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 [0x4785d0]
pop esi
fild qword [ebp - 0x50]
pop ebx
fdivp st(1)
fstp dword [eax + 0x2c]
je 0x42c21c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x4bde70]
leave
ret 4