Function at 0x437150
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa2c
mov eax, dword [0x6673c0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov dword [ebp - 0x9ec], edi
cmp dword [edi + 0x10254], 0
je 0x437186
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004510dc
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.atiadlxx.dll
mov dword [edi + 0x10264], 0
mov dword [edi + 0x10260], 0
call esi
mov dword [edi + 0x10254], eax
test eax, eax
jne 0x4371d5
push str.atiadlxy.dll
call esi
mov dword [edi + 0x10254], eax
test eax, eax
jne 0x4371d5
pop esi
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004510dc
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ADL_Main_Control_Create
push eax
call ebx
push str.ADL_Main_Control_Destroy
mov dword [0x6b480c], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Main_Control_Refresh
mov dword [0x6b4810], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Adapter_NumberOfAdapters_Get
mov dword [0x6b4814], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Adapter_AdapterInfo_Get
mov dword [0x6b4818], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Adapter_Active_Get
mov dword [0x6b4820], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive_Caps
mov dword [0x6b481c], eax
push dword [edi + 0x10254]
call ebx
cmp dword [0x6b480c], 0
mov dword [0x6b4828], eax
je 0x438394
cmp dword [0x6b4810], 0
je 0x438394
cmp dword [0x6b4814], 0
je 0x438394
cmp dword [0x6b4818], 0
je 0x438394
cmp dword [0x6b4820], 0
je 0x438394
cmp dword [0x6b481c], 0
je 0x438394
test eax, eax
je 0x438394
push str.ADL2_Main_Control_Create
push dword [edi + 0x10254]
call ebx
push str.ADL2_Main_ControlX2_Create
mov dword [0x6b4884], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Main_Control_Destroy
mov dword [0x6b4888], eax
push dword [edi + 0x10254]
call ebx
mov dword [0x6b488c], eax
mov eax, dword [0x6b4888]
test eax, eax
je 0x4372fd
push 1
push 0x6b490c
push 1
push 0x436ac0
call eax
add esp, 0x10
cmp dword [0x6b490c], 0
jne 0x437320
mov eax, dword [0x6b4884]
test eax, eax
je 0x437320
push 0x6b490c
push 1
push 0x436ac0
call eax
add esp, 0xc
push 1
push 0x436ac0
call dword [0x6b480c]
add esp, 8
test eax, eax
jne 0x438394
push str.ADL_Adapter_MemoryInfo_Get
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive5_Temperature_Get
mov dword [0x6b482c], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive5_FanSpeed_Get
mov dword [0x6b4830], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive5_ODParameters_Get
mov dword [0x6b4834], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive5_ODPerformanceLevels_Get
mov dword [0x6b483c], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive5_ODPerformanceLevels_Set
mov dword [0x6b4840], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive5_CurrentActivity_Get
mov dword [0x6b4844], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Overdrive5_CurrentActivity_Get
mov dword [0x6b4848], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive5_PowerControlInfo_Get
mov dword [0x6b4850], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive6_FanSpeed_Get
mov dword [0x6b484c], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive6_ThermalController_Caps
mov dword [0x6b4854], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive6_Temperature_Get
mov dword [0x6b4858], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive6_Capabilities_Get
mov dword [0x6b485c], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive6_StateInfo_Get
mov dword [0x6b4860], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive6_CurrentStatus_Get
mov dword [0x6b4864], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive6_PowerControl_Caps
mov dword [0x6b4868], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive6_PowerControlInfo_Get
mov dword [0x6b486c], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive6_PowerControl_Get
mov dword [0x6b4870], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive6_FanSpeed_Set
mov dword [0x6b4874], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_Overdrive6_State_Set
mov dword [0x6b4878], eax
push dword [edi + 0x10254]
call ebx
mov dword [0x6b487c], eax
push str.ADL_Overdrive6_PowerControl_Set
push dword [edi + 0x10254]
call ebx
push str.ADL2_Overdrive_Caps
mov dword [0x6b4880], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_OverdriveN_Capabilities_Get
mov dword [0x6b4890], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_OverdriveN_SystemClocks_Get
mov dword [0x6b48a8], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_OverdriveN_SystemClocks_Set
mov dword [0x6b48ac], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_OverdriveN_MemoryClocks_Get
mov dword [0x6b48b0], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_OverdriveN_MemoryClocks_Set
mov dword [0x6b48b4], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_OverdriveN_FanControl_Get
mov dword [0x6b48b8], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_OverdriveN_FanControl_Set
mov dword [0x6b48bc], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_OverdriveN_PowerLimit_Get
mov dword [0x6b48c0], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_OverdriveN_PowerLimit_Set
mov dword [0x6b48c4], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_OverdriveN_Temperature_Get
mov dword [0x6b48c8], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_OverdriveN_PerformanceStatus_Get
mov dword [0x6b48cc], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Adapter_Active_Get
mov dword [0x6b48d0], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Adapter_NumberOfAdapters_Get
mov dword [0x6b4894], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Adapter_AdapterInfo_Get
mov dword [0x6b4898], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Adapter_VideoBiosInfo_Get
mov dword [0x6b489c], eax
push dword [edi + 0x10254]
call ebx
push str.ADL_AdapterX2_Caps
mov dword [0x6b48a0], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Adapter_RegValueInt_Get
mov dword [0x6b48d4], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Overdrive8_Init_Setting_Get
mov dword [0x6b48d8], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Overdrive8_Current_Setting_Get
mov dword [0x6b48dc], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Overdrive8_Setting_Set
mov dword [0x6b48e0], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_New_QueryPMLogData_Get
mov dword [0x6b48e4], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Overdrive8_Init_SettingX2_Get
mov dword [0x6b48e8], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Overdrive8_Current_SettingX2_Get
mov dword [0x6b48ec], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Adapter_Graphic_Core_Info_Get
mov dword [0x6b48f0], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Adapter_PMLog_Support_Get
mov dword [0x6b48f4], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Device_PMLog_Device_Create
mov dword [0x6b48f8], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Device_PMLog_Device_Destroy
mov dword [0x6b4904], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Adapter_PMLog_Start
mov dword [0x6b4908], eax
push dword [edi + 0x10254]
call ebx
push str.ADL2_Adapter_PMLog_Stop
mov dword [0x6b48fc], eax
push dword [edi + 0x10254]
call ebx
lea esi, [edi + 0x1025c]
mov dword [0x6b4900], eax
push esi
call dword [0x6b4818]
mov eax, dword [esi]
add esp, 4
test eax, eax
je 0x438394
imul eax, eax, 0x624
push eax
call fcn.00458b75
imul ecx, dword [esi], 0x624
mov dword [edi + 0x10258], eax
push ecx
push 0
push eax
call fcn.00452360
mov eax, dword [esi]
add esp, 0x10
xor edx, edx
test eax, eax
je 0x43773e
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [edi + 0x10258]
lea ecx, [ecx + 0x624]
inc edx
mov dword [ecx + eax - 0x624], 0x624
mov eax, dword [esi]
cmp edx, eax
jb 0x437720
imul eax, eax, 0x624
push eax
push dword [edi + 0x10258]
call dword [0x6b4820]
mov ecx, dword [0x6b44ec]
xor eax, eax
add esp, 8
mov dword [ebp - 0xa0c], 0x3e8
mov dword [ebp - 0xa2c], ecx
mov dword [ebp - 0x9f0], eax
test ecx, ecx
je 0x438381
nop word [eax + eax]
push eax
mov ecx, 0x6b44e0
call fcn.004273f0
mov ebx, eax
mov dword [ebp - 0x9d8], ebx
cmp dword [ebx + 8], 2
jne 0x438368
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x438368
mov esi, dword [edi + 0x10258]
mov edx, dword [ebx + 0x18]
mov dword [ebp - 0x9e4], esi
cmp dword [esi + 4], edx
je 0x4377d3
inc eax
add esi, 0x624
mov dword [ebp - 0x9e4], esi
cmp eax, ecx
jb 0x4377b8
jmp 0x438362
test esi, esi
je 0x438362
cmp dword [esi + 0x31c], 0
je 0x438362
mov eax, dword [ebp - 0x9f0]
mov dword [ebx + 4], eax
mov byte [ebx + 0x10], 1
mov eax, dword [esi + 0x108]
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x9f8]
push eax
lea eax, [ebp - 0xa14]
mov dword [ebp - 0xa18], 0
push eax
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa14], 0
push eax
push edx
mov dword [ebp - 0x9f8], 0
call dword [0x6b4828]
mov eax, dword [ebp - 0x9f8]
push 0x80
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0xa654]
push 0
push eax
call fcn.00452360
push 0x7f
add esi, 8
lea eax, [ebx + 0xa654]
push esi
push eax
call fcn.00458770
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00452360
add esp, 0x34
mov dword [ebp - 0x9fc], 0
lea eax, [ebp - 0x9fc]
mov dword [ebp - 0xa00], 0
mov ecx, edi
mov dword [ebp - 0xa04], 0
mov dword [ebp - 0xa08], 0
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00431560
lea eax, [ebp - 0xa00]
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004313d0
lea eax, [ebp - 0xa04]
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00431510
lea eax, [ebp - 0xa08]
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004314c0
push dword [ebp - 0xa0c]
mov eax, dword [ebp - 0xa08]
mov ecx, dword [ebp - 0xa04]
mov edx, dword [ebp - 0xa00]
mov esi, dword [ebp - 0x9fc]
push eax
push ecx
push edx
mov dword [ebx + 0x8ea0], ecx
mov ecx, edi
mov dword [ebx + 0x8e98], esi
mov dword [ebx + 0x8e9c], edx
mov dword [ebx + 0x8ea4], eax
push esi
call fcn.004315b0
mov esi, eax
lea ecx, [ebx + 0xa6d4]
push 0x7f
cmp esi, 0x3e8
je 0x4379b1
mov dword [ebx + 0xa650], esi
mov dword [ebp - 0xa0c], esi
shl esi, 9
lea eax, [esi + 0x1484]
add eax, edi
push eax
lea eax, [ebx + 0xa654]
push eax
call fcn.00458770
lea eax, [esi + 0x1584]
add eax, edi
push 0x7f
push eax
lea eax, [ebx + 0xa6d4]
push eax
call fcn.00458770
lea eax, [esi + 0x1504]
add eax, edi
push 0x7f
push eax
lea eax, [ebx + 0xa754]
push eax
call fcn.00458770
lea eax, [esi + 0x1604]
add eax, edi
push 0x7f
push eax
lea eax, [ebx + 0xa7d4]
push eax
call fcn.00458770
mov esi, dword [ebp - 0x9e4]
add esp, 0x30
jmp 0x4379f4
mov esi, dword [ebp - 0x9e4]
lea eax, [esi + 0x118]
push eax
push ecx
call fcn.00458770
push 0x7f
lea eax, [esi + 0x520]
push eax
lea eax, [ebx + 0xa654]
push eax
call fcn.00458770
lea eax, [esi + 0x420]
push eax
lea eax, [ebx + 0xa7d4]
push str.SYSTEMControlSet001ControlClass_s
push eax
call fcn.0040674a
add esp, 0x24
push ebx
mov ecx, edi
call fcn.00431c00
cmp dword [ebx + 0x14], 6
jne 0x437a4a
xorps xmm0, xmm0
mov byte [ebx + 0x11], 0
mov eax, dword [0x6b4858]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
test eax, eax
je 0x437a4a
lea ecx, [ebp - 0xe0]
push ecx
push dword [ebx + 0x18]
call eax
add esp, 8
test dword [ebp - 0xe0], 1
je 0x437a4a
mov byte [ebx + 0x11], 1
cmp dword [0x6b490c], 0
je 0x437c37
cmp dword [ebx + 0x14], 7
jne 0x437a89
lea eax, [ebp - 0xa1c]
mov byte [ebx + 0x12], 0
push eax
push 1
push dword [ebx + 0x18]
push dword [0x6b490c]
call dword [0x6b48cc]
add esp, 0x10
cmp dword [ebp - 0xa1c], 0
jle 0x437a89
mov byte [ebx + 0x12], 1
cmp dword [0x6b490c], 0
je 0x437c37
cmp dword [ebx + 0x14], 8
jne 0x437c37
mov eax, dword [ebx + 0x18]
push 0x344
push 0
push 0x6b494c
mov dword [ebp - 0x9e8], eax
call fcn.00452360
mov eax, dword [0x6b48ec]
add esp, 0xc
mov dword [0x6b4948], 0x34
mov dword [ebp - 0xa10], 0x34
mov dword [ebp - 0x9e0], 0
test eax, eax
je 0x437c02
lea ecx, [ebp - 0x9e0]
push ecx
lea ecx, [ebp - 0xa10]
push ecx
lea ecx, [ebp - 0xa20]
push ecx
push dword [ebp - 0x9e8]
push dword [0x6b490c]
call eax
add esp, 0x14
test eax, eax
jne 0x437bdb
mov ecx, dword [ebp - 0xa10]
mov eax, 0x34
cmp ecx, 0x34
cmovg ecx, eax
mov eax, dword [ebp - 0xa20]
xor edx, edx
mov dword [0x6b4948], ecx
mov dword [0x6b494c], eax
test ecx, ecx
jle 0x437bc6
mov eax, dword [ebp - 0x9e0]
mov esi, 0x6b4954
sub esi, eax
mov ebx, 0x6b4950
sub ebx, eax
mov dword [ebp - 0x9e8], esi
mov edi, esi
mov esi, 0x6b4948
mov dword [ebp - 0xa28], ebx
lea ecx, [eax + 8]
sub esi, eax
mov ebx, 0x6b494c
sub ebx, eax
mov dword [ebp - 0x9f4], ebx
mov ebx, esi
nop dword [eax]
mov eax, dword [ecx + 4]
lea ecx, [ecx + 0x10]
mov esi, dword [ebp - 0xa28]
inc edx
mov dword [edi + ecx - 0x10], eax
mov eax, dword [ecx - 0x18]
mov dword [ebx + ecx - 0x10], eax
mov eax, dword [ecx - 0x10]
mov dword [esi + ecx - 0x10], eax
mov esi, dword [ebp - 0x9f4]
mov eax, dword [ecx - 0x14]
mov dword [esi + ecx - 0x10], eax
mov esi, dword [ebp - 0x9e4]
cmp edx, dword [0x6b4948]
jl 0x437b80
mov ebx, dword [ebp - 0x9d8]
mov edi, dword [ebp - 0x9ec]
mov eax, dword [ebp - 0x9e0]
test eax, eax
je 0x437c37
push eax
call fcn.00458ee2
add esp, 4
jmp 0x437c37
push str.ADL2_Overdrive8_Init_SettingX2_Get_is_failed.
push 0x6b4410
call fcn.00427260
mov eax, dword [ebp - 0x9e0]
add esp, 8
test eax, eax
je 0x437c37
push eax
call fcn.00458ee2
add esp, 4
jmp 0x437c37
mov eax, dword [0x6b48dc]
test eax, eax
je 0x437c37
push 0x6b4948
push dword [ebp - 0x9e8]
push dword [0x6b490c]
call eax
add esp, 0xc
test eax, eax
je 0x437c37
push str.ADL2_Overdrive8_Init_Setting_Get_is_failed.
push 0x6b4410
call fcn.00427260
add esp, 8
push 0x40
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00452360
mov eax, dword [0x6b48f4]
add esp, 0xc
test eax, eax
je 0x437c68
lea ecx, [ebp - 0x120]
push ecx
push dword [ebx + 0x18]
push dword [0x6b490c]
call eax
add esp, 0xc
lea edx, [ebx + 0xa654]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x9d8], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437c80
sub ecx, dword [ebp - 0x9d8]
mov ecx, edi
je 0x437c9a
push ebx
push edx
call fcn.00430620
jmp 0x437cab
push dword [ebx + 0x8e9c]
push dword [ebx + 0x8e98]
call fcn.004309b0
mov dword [ebp - 0x9e0], eax
test eax, eax
js 0x437e16
mov esi, eax
mov ecx, edi
push esi
push dword [ebx + 0x8e98]
mov dword [ebx], esi
call fcn.004304e0
mov dword [ebp - 0x9d8], eax
test eax, eax
je 0x437cff
push 0x80
lea esi, [ebx + 0x8a28]
push 0
push esi
call fcn.00452360
push 0x7f
push dword [ebp - 0x9d8]
push esi
call fcn.00458770
mov esi, dword [ebp - 0x9e0]
add esp, 0x18
cmp dword [ebx + 0x8e98], 0x1002
jne 0x437dd8
push esi
push 0x1002
mov ecx, edi
call fcn.00430d70
mov dword [ebx + 0x8f50], eax
mov eax, dword [ebp - 0x120]
cmp eax, 3
je 0x437d32
cmp eax, 2
jne 0x437d45
mov eax, dword [ebp - 0x118]
imul eax, dword [ebp - 0x11c]
mov dword [ebx + 0x8f50], eax
push esi
push dword [ebx + 0x8e98]
mov ecx, edi
call fcn.00430c60
push esi
push dword [ebx + 0x8e98]
mov ecx, edi
mov dword [ebx + 0x8b18], eax
call fcn.00430b50
mov dword [ebx + 0x8b1c], eax
mov eax, dword [ebp - 0x120]
cmp eax, 2
je 0x437d7d
cmp eax, 1
jne 0x437d89
mov eax, dword [ebp - 0x110]
mov dword [ebx + 0x8b1c], eax
push esi
push dword [ebx + 0x8e98]
mov ecx, edi
call fcn.00430ef0
cmp dword [ebx + 0x8e9c], 0x68f9
mov dword [ebx + 0x8d4c], eax
jne 0x437dd8
cmp dword [ebx + 0x8ea4], 0x2126
jne 0x437dd8
push 0x80
lea esi, [ebx + 0x89a8]
push 0
push esi
call fcn.00452360
push str.ATI_Radeon_HD_6350
push esi
call fcn.0040674a
add esp, 0x14
jmp 0x437e2e
push esi
push dword [ebx + 0x8e98]
mov ecx, edi
call fcn.004303f0
mov dword [ebp - 0x9d8], eax
test eax, eax
je 0x437e2e
push 0x80
lea esi, [ebx + 0x89a8]
push 0
push esi
call fcn.00452360
push 0x7f
push dword [ebp - 0x9d8]
push esi
call fcn.00458770
add esp, 0x18
jmp 0x437e2e
push 0x7f
lea eax, [esi + 0x118]
push eax
lea eax, [ebx + 0x89a8]
push eax
call fcn.00458770
add esp, 0xc
mov esi, dword [0x6b48a4]
test esi, esi
jne 0x437e59
push str.ADL2_Adapter_MemoryInfo3_Get
push dword [edi + 0x10254]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x6b48a4], esi
test esi, esi
je 0x437f99
push pe_nt_image_headers32
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.00452360
lea eax, [ebp - 0x250]
push eax
push dword [ebx + 0x18]
push dword [0x6b490c]
call esi
add esp, 0x18
test eax, eax
jne 0x437f99
push eax
push 0x100000
push dword [ebp - 0x24c]
push dword [ebp - 0x250]
call fcn.004519f0
mov dword [ebx + 0x8d50], eax
mov eax, dword [ebp - 0x148]
mov dword [ebx + 0x8d54], eax
lea eax, [ebp - 0x248]
push 0x3f
push eax
lea eax, [ebx + 0x8d58]
push eax
call fcn.00458770
push 0x40
lea esi, [ebx + 0x8dd8]
push 0
push esi
call fcn.00452360
mov ecx, dword [ebp - 0x124]
add esp, 0x18
test ecx, ecx
jl 0x437f8f
mov eax, dword [ebp - 0x128]
jg 0x437f8f
test eax, eax
jb 0x437f8f
test ecx, ecx
jg 0x437f8f
jl 0x437f0f
cmp eax, 0xf
ja 0x437f8f
jmp dword [eax*4 + 0x4383b0]
push 0x3f
push str.unknown
push esi
jmp 0x437fee
mov eax, dword [0x6b482c]
test eax, eax
je 0x437ff6
lea ecx, [ebp - 0x360]
push ecx
push dword [ebx + 0x18]
call eax
add esp, 8
test eax, eax
jne 0x437ff6
push eax
push 0x100000
push dword [ebp - 0x35c]
push dword [ebp - 0x360]
call fcn.004519f0
mov dword [ebx + 0x8d50], eax
mov eax, dword [ebp - 0x258]
mov dword [ebx + 0x8d54], eax
lea eax, [ebp - 0x358]
push 0x7f
push eax
lea eax, [ebx + 0x8d58]
push eax
call fcn.00458770
add esp, 0xc
mov eax, dword [0x6b48a0]
test eax, eax
je 0x43817f
mov edi, dword [0x6b490c]
test edi, edi
je 0x438185
lea ecx, [ebp - 0x790]
push ecx
push dword [ebx + 0x18]
push edi
call eax
push 0x100
lea esi, [ebx + 0xa2c8]
push 0
push esi
mov dword [ebp - 0x9f4], esi
call fcn.00452360
lea eax, [ebp - 0x690]
push eax
push 0x47d720
push esi
call fcn.0040674a
lea ecx, [ebp - 0x790]
add esp, 0x24
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438055
sub ecx, edx
je 0x438104
mov ecx, str.xxx_xxx_xxx
lea eax, [ebp - 0x790]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x438090
test dl, dl
je 0x43808c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x438090
add eax, 2
add ecx, 2
test dl, dl
jne 0x438070
xor eax, eax
jmp 0x438095
sbb eax, eax
or eax, 1
test eax, eax
je 0x438104
push 0x80
lea eax, [ebp - 0xc4]
push 0
push eax
call fcn.00452360
lea eax, [ebp - 0x790]
push eax
lea eax, [ebp - 0xc4]
push 0x49a5c0
push eax
call fcn.0040674a
lea edx, [ebp - 0xc4]
add esp, 0x18
mov ecx, edx
mov dword [ebp - 0x9d8], ecx
mov al, byte [edx]
inc edx
test al, al
jne 0x4380d5
sub edx, ecx
dec esi
nop
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4380e0
mov edi, esi
mov ecx, edx
mov esi, dword [ebp - 0x9d8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x9f4]
lea ecx, [ebp - 0x590]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438110
sub ecx, edx
je 0x43817f
push 0x80
lea eax, [ebp - 0xc4]
push 0
push eax
call fcn.00452360
lea eax, [ebp - 0x590]
push eax
lea eax, [ebp - 0xc4]
push str.___s_
push eax
call fcn.0040674a
lea edx, [ebp - 0xc4]
add esp, 0x18
mov ecx, edx
mov dword [ebp - 0x9d8], ecx
mov al, byte [edx]
inc edx
test al, al
jne 0x438157
sub edx, ecx
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x438161
mov edi, esi
mov ecx, edx
mov esi, dword [ebp - 0x9d8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [0x6b490c]
xor al, al
mov byte [ebp - 0x9d9], al
mov byte [ebp - 0x9d1], al
mov eax, dword [0x6b4904]
test eax, eax
je 0x438331
lea ecx, [ebx + 0x54]
push ecx
push dword [ebx + 0x18]
push edi
call eax
add esp, 0xc
test eax, eax
jne 0x438331
push 0x240
push eax
lea eax, [ebp - 0x9d0]
push eax
call fcn.00452360
mov eax, dword [0x6b48f8]
add esp, 0xc
test eax, eax
je 0x4381e3
lea ecx, [ebp - 0x9d0]
push ecx
push dword [ebx + 0x18]
push edi
call eax
add esp, 0xc
push 0x240
lea eax, [ebp - 0x490]
push 0
push eax
call fcn.00452360
push 0x40
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.00452360
push 0x100
lea eax, [ebx + 0x5c]
push 0
push eax
call fcn.00452360
push 0x400
lea eax, [ebx + 0x15c]
push 0
push eax
call fcn.00452360
mov ax, word [ebp - 0x9d0]
add esp, 0x30
xor esi, esi
test ax, ax
je 0x438331
movzx ecx, ax
movzx ecx, cx
mov word [ebp + esi*2 - 0x490], cx
mov eax, ecx
mov byte [eax + ebx + 0x5c], 1
cmp ecx, 8
jne 0x438270
push str.sensor_ADL_PMLOG_TEMPERATURE_EDGE_supported
push 0x6b4718
call fcn.00427260
mov byte [ebp - 0x9d9], 1
jmp 0x438297
cmp ecx, 0xe
jne 0x43827c
push str.sensor_ADL_PMLOG_FAN_RPM_supported
jmp 0x438286
cmp ecx, 0xf
jne 0x43829a
push str.sensor_ADL_PMLOG_FAN_PERCENTAGE_supported
push 0x6b4718
call fcn.00427260
mov byte [ebp - 0x9d1], 1
add esp, 8
movzx eax, word [ebp + esi*2 - 0x9ce]
inc esi
mov ecx, eax
test ax, ax
jne 0x438241
test esi, esi
jle 0x438328
xor eax, eax
mov word [ebp + esi*2 - 0x490], ax
mov eax, dword [0x6b48fc]
mov dword [ebp - 0x290], 0x1f4
test eax, eax
je 0x4382e9
push dword [ebx + 0x54]
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x490]
push ecx
push dword [ebx + 0x18]
push edi
call eax
add esp, 0x14
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x438313
mov edx, dword [ecx + 0x10]
add ecx, 0x10
test edx, edx
je 0x438313
nop dword [eax]
mov eax, dword [ecx + 4]
lea ecx, [ecx + 8]
mov dword [ebx + edx*4 + 0x15c], eax
mov edx, dword [ecx]
test edx, edx
jne 0x438300
mov eax, dword [0x6b4900]
test eax, eax
je 0x438328
push dword [ebx + 0x54]
push dword [ebx + 0x18]
push edi
call eax
add esp, 0xc
cmp byte [ebp - 0x9d9], 0
jne 0x438341
mov edi, dword [ebp - 0x9ec]
mov ecx, edi
push ebx
call fcn.00438670
jmp 0x438347
mov edi, dword [ebp - 0x9ec]
cmp byte [ebp - 0x9d1], 0
jne 0x438358
push ebx
mov ecx, edi
call fcn.004383f0
push 1
push ebx
mov ecx, edi
call fcn.00438850
lea esi, [edi + 0x1025c]
mov eax, dword [ebp - 0x9f0]
inc eax
mov dword [ebp - 0x9f0], eax
cmp eax, dword [ebp - 0xa2c]
jb 0x437780
pop ebx
pop esi
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004510dc
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00437040
mov ecx, dword [ebp - 4]
xor al, al
pop ebx
pop esi
xor ecx, ebp
pop edi
call fcn.004510dc
mov esp, ebp
pop ebp
ret