Function at 0x435970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x37c
mov dword [esp + 4], 0
mov dword [esp], 0x4a0be4
mov dword [esp + 0x68], 0
call fcn.0045f3f0
test eax, eax
jne 0x43738f
mov dword [esp], str.atiadlxx.dll
call fcn.0047a5d4
sub esp, 4
test eax, eax
mov dword [0x4a6eec], eax
je 0x435d80
mov dword [esp + 4], str.ADL_Main_Control_Create
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0c1c], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Main_Control_Destroy
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0c20], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Adapter_NumberOfAdapters_Get
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0be8], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Adapter_AdapterInfo_Get
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0bf4], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Adapter_ID_Get
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0bf8], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Overdrive5_Temperature_Get
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0c18], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Overdrive5_CurrentActivity_Get
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0c24], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Overdrive5_ODParameters_Get
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0bfc], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Overdrive5_FanSpeedInfo_Get
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0c08], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Overdrive5_FanSpeed_Get
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0c0c], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Overdrive5_FanSpeed_Set
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0c28], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Overdrive5_ODPerformanceLevels_Get
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0c00], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Overdrive5_ODPerformanceLevels_Set
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0c04], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Main_Control_Refresh
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0c2c], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Overdrive5_PowerControl_Get
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0c10], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Overdrive5_PowerControl_Set
mov dword [esp], eax
call fcn.0047a5ac
mov dword [0x4a0c14], eax
mov eax, dword [0x4a6eec]
sub esp, 8
mov dword [esp + 4], str.ADL_Overdrive5_FanSpeedToDefault_Set
mov dword [esp], eax
call fcn.0047a5ac
mov edx, dword [0x4a0c1c]
sub esp, 8
test edx, edx
mov dword [0x4a0c30], eax
je 0x435cf8
mov ebp, dword [0x4a0c20]
test ebp, ebp
je 0x435cf8
mov edi, dword [0x4a0be8]
test edi, edi
je 0x435cf8
mov esi, dword [0x4a0bf4]
test esi, esi
je 0x435cf8
mov ebx, dword [0x4a0bf8]
test ebx, ebx
je 0x435cf8
mov ecx, dword [0x4a0c18]
test ecx, ecx
je 0x435cf8
mov ebp, dword [0x4a0c24]
test ebp, ebp
je 0x435cf8
mov edi, dword [0x4a0bfc]
test edi, edi
je 0x435cf8
mov esi, dword [0x4a0c08]
test esi, esi
je 0x435cf8
mov ebx, dword [0x4a0c0c]
test ebx, ebx
je 0x435cf8
mov ecx, dword [0x4a0c28]
test ecx, ecx
je 0x435cf8
mov ebp, dword [0x4a0c00]
test ebp, ebp
je 0x435cf8
mov edi, dword [0x4a0c04]
test edi, edi
je 0x435cf8
mov esi, dword [0x4a0c2c]
test esi, esi
je 0x435cf8
mov ebx, dword [0x4a0c10]
test ebx, ebx
je 0x435cf8
mov ecx, dword [0x4a0c14]
test ecx, ecx
je 0x435cf8
test eax, eax
je 0x435cf8
mov dword [esp + 4], 1
mov dword [esp], 0x433ac0
call edx
test eax, eax
je 0x435e38
cmp byte [0x4a2d14], 0
jne 0x435cba
cmp byte [0x4a0b60], 0
jne 0x435cba
cmp dword [0x47f720], 2
jle 0x435d74
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.ADL_Initialisation_Error__Error__d_
lea ebx, [esp + 0x270]
mov dword [esp], ebx
mov dword [esp + 4], 0x100
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 3
call fcn.0042ace0
add esp, 0x37c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [0x4a2d14], 0
jne 0x435d13
cmp byte [0x4a0b60], 0
jne 0x435d13
mov eax, dword [0x47f720]
test eax, eax
jle 0x435d74
lea eax, [esp + 0x270]
mov dword [esp + 4], eax
mov dword [esp], 1
mov dword [esp + 0x270], 0x20495441
mov dword [esp + 0x274], 0x274c4441
mov dword [esp + 0x278], 0x50412073
mov dword [esp + 0x27c], 0x73692049
mov dword [esp + 0x280], 0x73696d20
mov dword [esp + 0x284], 0x676e6973
mov byte [esp + 0x288], 0
call fcn.0042ace0
add esp, 0x37c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.atiadlxy.dll
call fcn.0047a5d4
sub esp, 4
test eax, eax
mov dword [0x4a6eec], eax
jne 0x4359ba
cmp byte [0x4a2d14], 0
jne 0x435db7
cmp byte [0x4a0b60], 0
jne 0x435db7
cmp dword [0x47f720], 2
jle 0x435d74
lea eax, [esp + 0x270]
mov dword [esp + 4], eax
mov dword [esp], 3
mov dword [esp + 0x270], 0x62616e55
mov dword [esp + 0x274], 0x7420656c
mov dword [esp + 0x278], 0x6f6c206f
mov dword [esp + 0x27c], 0x61206461
mov dword [esp + 0x280], 0x61206974
mov dword [esp + 0x284], 0x6c206c64
mov dword [esp + 0x288], 0x61726269
mov word [esp + 0x28c], 0x7972
mov byte [esp + 0x28e], 0
call fcn.0042ace0
add esp, 0x37c
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [0x4a0c2c]
test eax, eax
je 0x435e72
cmp byte [0x4a2d14], 0
jne 0x435e61
cmp byte [0x4a0b60], 0
jne 0x435e61
cmp dword [0x47f720], 2
jle 0x435d74
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.ADL_Refresh_Error__Error__d_
jmp 0x435cc6
mov dword [esp], 0x4a0bec
call dword [0x4a0be8]
test eax, eax
je 0x435eb3
cmp byte [0x4a2d14], 0
jne 0x435ea2
cmp byte [0x4a0b60], 0
jne 0x435ea2
cmp dword [0x47f720], 2
jle 0x435d74
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Cannot_get_the_number_of_adapters__Error__d_
jmp 0x435cc6
mov eax, dword [0x4a0bec]
test eax, eax
jle 0x436260
imul esi, eax, 0x624
mov dword [esp], esi
call fcn.0047a2e8
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov ebx, eax
mov dword [esp], eax
mov dword [0x4a0bf0], eax
call fcn.0047a388
mov dword [ebx], 4
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [0x4a0bf4]
test eax, eax
jne 0x436351
mov eax, dword [0x4a0bec]
xor ebx, ebx
mov byte [esp + 0x44], 1
test eax, eax
jle 0x436385
xor ebx, ebx
lea eax, [esp + 0x6c]
mov dword [esp + 0x48], 0xffffffff
lea ebp, [esp + 0x270]
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], ebx
jmp 0x435f96
cmp byte [0x4a2d14], 0
jne 0x435f52
cmp byte [0x4a0b60], 0
jne 0x435f52
cmp dword [0x47f720], 2
jle 0x435f7e
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.Failed_to_ADL_Adapter_ID_Get._Error__d
mov dword [esp + 4], 0x100
mov dword [esp], ebp
call fcn.00471bd0
mov dword [esp + 4], ebp
mov dword [esp], 3
call fcn.0042ace0
cmp esi, 0xfffffff6
je 0x4362d1
add ebx, 1
cmp dword [0x4a0bec], ebx
jle 0x436381
imul edi, ebx, 0x624
mov eax, dword [0x4a0bf0]
mov ecx, dword [esp + 0x54]
mov edx, dword [eax + edi + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0x38], edx
call dword [0x4a0bf8]
mov edx, dword [esp + 0x38]
test eax, eax
mov esi, eax
jne 0x435f37
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x6c], eax
je 0x435f87
cmp byte [0x4a0b61], 0
je 0x436076
cmp byte [0x4a2d14], 0
jne 0x435ffa
cmp byte [0x4a0b60], 0
jne 0x435ffa
cmp dword [0x47f720], 3
jle 0x436076
mov eax, dword [0x4a0bf0]
add eax, edi
lea ecx, [eax + 0x118]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x114]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x110]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x10c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x108]
add eax, 8
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.GPU__d_iAdapterIndex__d_strUDID__s_iBusNumber__d_iDeviceNumber__d_iFunctionNumber__d_iVendorID__d_strAdapterName___s
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], 0x100
mov dword [esp], ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0xc], ecx
call fcn.00471bd0
mov dword [esp + 4], ebp
mov dword [esp], 4
call fcn.0042ace0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
add dword [esp + 0x40], 1
shl ecx, 4
mov dword [esp + ecx + 0x70], edx
mov edx, dword [0x4a0bf0]
lea eax, [esp + ecx + 0x70]
mov dword [eax + 0xc], ebx
mov edx, dword [edx + edi + 0x108]
mov edi, dword [esp + 0x390]
cmp dword [esp + 0x40], edi
mov dword [eax + 4], edx
jle 0x4361f7
cmp byte [esp + 0x44], 0
je 0x4361f2
cmp byte [0x4a2d14], 0
jne 0x4360d8
cmp byte [0x4a0b60], 0
jne 0x4360d8
mov eax, dword [0x47f720]
test eax, eax
js 0x4361f2
mov dword [ebp], 0x204c4441
mov dword [ebp + 4], 0x6e756f66
mov dword [ebp + 8], 0x6f6d2064
mov dword [ebp + 0xc], 0x64206572
mov dword [ebp + 0x10], 0x63697665
mov dword [ebp + 0x14], 0x74207365
mov dword [ebp + 0x18], 0x206e6168
mov dword [ebp + 0x1c], 0x6e65706f
mov dword [ebp + 0x20], 0x216c63
mov dword [esp + 4], ebp
mov dword [esp], 0
call fcn.0042ace0
cmp byte [0x4a2d14], 0
jne 0x43613d
cmp byte [0x4a0b60], 0
je 0x437329
mov esi, str.There_is_possibly_at_least_one_GPU_that_doesnt_support_OpenCL
mov ecx, 0xf
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
movzx eax, word [esi]
mov word [edi], ax
movzx eax, byte [0x4899c6]
mov byte [edi + 2], al
mov dword [esp + 4], ebp
mov dword [esp], 0
call fcn.0042ace0
cmp byte [0x4a2d14], 0
jne 0x436181
cmp byte [0x4a0b60], 0
je 0x437340
mov dword [ebp], 0x20657355
mov dword [ebp + 4], 0x20656874
mov dword [ebp + 8], 0x20757067
mov dword [ebp + 0xc], 0x2070616d
mov dword [ebp + 0x10], 0x74616566
mov dword [ebp + 0x14], 0x20657275
mov dword [ebp + 0x18], 0x72206f74
mov dword [ebp + 0x1c], 0x61696c65
mov dword [ebp + 0x20], 0x20796c62
mov dword [ebp + 0x24], 0x2070616d
mov dword [ebp + 0x28], 0x6e65704f
mov dword [ebp + 0x2c], 0x74204c43
mov dword [ebp + 0x30], 0x4441206f
mov word [ebp + 0x34], 0x4c
mov dword [esp + 4], ebp
mov dword [esp], 0
call fcn.0042ace0
mov byte [esp + 0x44], 0
mov edx, dword [esp + 0x6c]
test edx, edx
mov dword [esp + 0x48], edx
jne 0x435f87
cmp byte [0x4a2d14], 0
jne 0x436226
cmp byte [0x4a0b60], 0
jne 0x436226
cmp dword [0x47f720], 2
jle 0x435f87
mov edi, ebp
mov esi, str.Adapter_returns_ID_0_meaning_not_AMD._Card_order_might_be_confused
movzx edx, byte [0x489a0a]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
movzx eax, word [esi]
mov byte [edi + 2], dl
mov word [edi], ax
mov dword [esp + 4], ebp
mov dword [esp], 3
call fcn.0042ace0
jmp 0x435f87
cmp byte [0x4a2d14], 0
jne 0x43627f
cmp byte [0x4a0b60], 0
jne 0x43627f
cmp dword [0x47f720], 2
jle 0x435d74
lea eax, [esp + 0x270]
mov dword [esp + 4], eax
mov dword [esp], 3
mov dword [esp + 0x270], 0x61206f4e
mov dword [esp + 0x274], 0x74706164
mov dword [esp + 0x278], 0x20737265
mov dword [esp + 0x27c], 0x6e756f66
mov word [esp + 0x280], 0x64
call fcn.0042ace0
jmp 0x435d74
cmp byte [0x4a2d14], 0
jne 0x4362f0
cmp byte [0x4a0b60], 0
jne 0x4362f0
cmp dword [0x47f720], 2
jle 0x435f87
mov dword [ebp], 0x73696854
mov dword [ebp + 4], 0x72726520
mov dword [ebp + 8], 0x7320726f
mov dword [ebp + 0xc], 0x20737961
mov dword [ebp + 0x10], 0x20656874
mov dword [ebp + 0x14], 0x69766564
mov dword [ebp + 0x18], 0x69206563
mov dword [ebp + 0x1c], 0x6f6e2073
mov dword [ebp + 0x20], 0x6e652074
mov dword [ebp + 0x24], 0x656c6261
mov word [ebp + 0x28], 0x64
mov dword [esp + 4], ebp
mov dword [esp], 3
call fcn.0042ace0
jmp 0x435f87
cmp byte [0x4a2d14], 0
jne 0x436370
cmp byte [0x4a0b60], 0
jne 0x436370
cmp dword [0x47f720], 2
jle 0x435d74
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.ADL_Adapter_AdapterInfo_Get_Error__Error__d
jmp 0x435cc6
mov ebx, dword [esp + 0x40]
cmp ebx, dword [esp + 0x390]
jge 0x4365ba
cmp byte [0x4a2d14], 0
jne 0x4363b2
cmp byte [0x4a0b60], 0
jne 0x4363b2
mov ebp, dword [0x47f720]
test ebp, ebp
js 0x437375
lea esi, [esp + 0x270]
mov dword [esp + 4], esi
mov dword [esp], 0
mov dword [esp + 0x270], 0x204c4441
mov dword [esp + 0x274], 0x6e756f66
mov dword [esp + 0x278], 0x656c2064
mov dword [esp + 0x27c], 0x64207373
mov dword [esp + 0x280], 0x63697665
mov dword [esp + 0x284], 0x74207365
mov dword [esp + 0x288], 0x206e6168
mov dword [esp + 0x28c], 0x6e65706f
mov dword [esp + 0x290], 0x216c63
call fcn.0042ace0
cmp byte [0x4a2d14], 0
jne 0x436442
cmp byte [0x4a0b60], 0
je 0x437367
mov dword [esp + 4], esi
mov dword [esp], 0
mov dword [esp + 0x270], 0x72656854
mov dword [esp + 0x274], 0x73692065
mov dword [esp + 0x278], 0x736f7020
mov dword [esp + 0x27c], 0x6c626973
mov dword [esp + 0x280], 0x6f6d2079
mov dword [esp + 0x284], 0x74206572
mov dword [esp + 0x288], 0x206e6168
mov dword [esp + 0x28c], 0x20656e6f
mov dword [esp + 0x290], 0x70736964
mov dword [esp + 0x294], 0x2079616c
mov dword [esp + 0x298], 0x61747461
mov dword [esp + 0x29c], 0x64656863
mov dword [esp + 0x2a0], 0x206f7420
mov dword [esp + 0x2a4], 0x50472061
mov word [esp + 0x2a8], 0x55
call fcn.0042ace0
cmp byte [0x4a2d14], 0
jne 0x43650c
cmp byte [0x4a0b60], 0
je 0x43737f
mov dword [esp + 4], esi
mov dword [esp], 0
mov dword [esp + 0x270], 0x20657355
mov dword [esp + 0x274], 0x20656874
mov dword [esp + 0x278], 0x20757067
mov dword [esp + 0x27c], 0x2070616d
mov dword [esp + 0x280], 0x74616566
mov dword [esp + 0x284], 0x20657275
mov dword [esp + 0x288], 0x72206f74
mov dword [esp + 0x28c], 0x61696c65
mov dword [esp + 0x290], 0x20796c62
mov dword [esp + 0x294], 0x2070616d
mov dword [esp + 0x298], 0x6e65704f
mov dword [esp + 0x29c], 0x74204c43
mov dword [esp + 0x2a0], 0x4441206f
mov word [esp + 0x2a4], 0x4c
call fcn.0042ace0
mov byte [esp + 0x44], 0
xor eax, eax
xor edx, edx
test ebx, ebx
je 0x4365de
mov ecx, dword [esp + eax + 0x7c]
mov dword [esp + eax + 0x178], edx
add edx, 1
mov dword [esp + eax + 0x17c], ecx
add eax, 0x10
cmp edx, ebx
jne 0x4365c2
mov edx, dword [esp + 0x390]
xor esi, esi
mov ebp, 0x4a2ef4
lea edi, [esp + 0x270]
test edx, edx
jg 0x43666d
jmp 0x436678
mov eax, dword [ebp]
shl eax, 4
cmp byte [0x4a2d14], 0
mov dword [esp + eax + 0x178], esi
jne 0x436628
cmp byte [0x4a0b60], 0
jne 0x436628
cmp dword [0x47f720], 2
jle 0x43665b
mov eax, dword [ebp]
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.Mapping_OpenCL_device__d_to_ADL_device__d
mov dword [esp + 4], 0x100
mov dword [esp + 0x10], eax
mov dword [esp], edi
call fcn.00471bd0
mov dword [esp + 4], edi
mov dword [esp], 3
call fcn.0042ace0
add esi, 1
add ebp, 0x408
cmp esi, dword [esp + 0x390]
je 0x436678
cmp byte [ebp - 8], 0
jne 0x436600
mov dword [ebp], esi
jmp 0x43665b
cmp byte [esp + 0x44], 0
jne 0x43725c
cmp byte [0x4a2d14], 0
jne 0x4366a2
cmp byte [0x4a0b60], 0
jne 0x4366a2
mov eax, dword [0x47f720]
test eax, eax
js 0x436817
lea esi, [esp + 0x270]
mov dword [esp + 4], esi
mov dword [esp], 0
mov dword [esp + 0x270], 0x4e524157
mov dword [esp + 0x274], 0x3a474e49
mov dword [esp + 0x278], 0x6d754e20
mov dword [esp + 0x27c], 0x20726562
mov dword [esp + 0x280], 0x4f20666f
mov dword [esp + 0x284], 0x436e6570
mov dword [esp + 0x288], 0x6e61204c
mov dword [esp + 0x28c], 0x44412064
mov dword [esp + 0x290], 0x6564204c
mov dword [esp + 0x294], 0x65636976
mov dword [esp + 0x298], 0x69642073
mov dword [esp + 0x29c], 0x6f6e2064
mov dword [esp + 0x2a0], 0x616d2074
mov dword [esp + 0x2a4], 0x21686374
mov byte [esp + 0x2a8], 0
call fcn.0042ace0
cmp byte [0x4a2d14], 0
jne 0x436771
cmp byte [0x4a0b60], 0
je 0x437355
mov dword [esp + 4], esi
mov dword [esp], 0
mov dword [esp + 0x270], 0x64726148
mov dword [esp + 0x274], 0x65726177
mov dword [esp + 0x278], 0x6e6f6d20
mov dword [esp + 0x27c], 0x726f7469
mov dword [esp + 0x280], 0x20676e69
mov dword [esp + 0x284], 0x2079616d
mov dword [esp + 0x288], 0x20544f4e
mov dword [esp + 0x28c], 0x6374616d
mov dword [esp + 0x290], 0x70752068
mov dword [esp + 0x294], 0x74697720
mov dword [esp + 0x298], 0x65642068
mov dword [esp + 0x29c], 0x65636976
mov word [esp + 0x2a0], 0x2173
mov byte [esp + 0x2a2], 0
call fcn.0042ace0
cmp ebx, dword [esp + 0x390]
mov edi, 0x4a313c
cmovg ebx, dword [esp + 0x390]
lea edx, [esp + 0x6c]
mov dword [esp + 0x40], 0
lea ebp, [esp + 0x270]
test ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], edx
jg 0x4368b0
jmp 0x435d74
cmp byte [0x4a2d14], 0
jne 0x43686b
cmp byte [0x4a0b60], 0
jne 0x43686b
cmp dword [0x47f720], 2
jle 0x436897
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Failed_to_ADL_Adapter_ID_Get._Error__d
mov dword [esp + 4], 0x100
mov dword [esp], ebp
call fcn.00471bd0
mov dword [esp + 4], ebp
mov dword [esp], 3
call fcn.0042ace0
add dword [esp + 0x40], 1
add edi, 0x408
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x40], ecx
je 0x437145
mov eax, dword [edi - 0x248]
mov edx, dword [0x4a0bf0]
shl eax, 4
lea eax, [esp + eax + 0x170]
imul ecx, dword [eax + 0xc], 0x624
mov eax, dword [eax + 8]
mov edx, dword [edx + ecx + 4]
mov dword [esp + 0x50], ecx
mov dword [edi - 0x24c], eax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [0x4a0bf8]
test eax, eax
jne 0x436850
cmp dword [edi - 0x2c4], 1
je 0x4370d1
cmp byte [0x4a2d14], 0
jne 0x436927
cmp byte [0x4a0b60], 0
jne 0x436927
cmp dword [0x47f720], 2
jle 0x43696a
mov eax, dword [esp + 0x50]
add eax, dword [0x4a0bf0]
mov edx, dword [esp + 0x40]
mov dword [esp + 8], str.GPU__d__s_hardware_monitoring_enabled
add eax, 0x118
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x100
mov dword [esp], ebp
call fcn.00471bd0
mov dword [esp + 4], ebp
mov dword [esp], 3
call fcn.0042ace0
mov eax, dword [edi - 0x350]
test eax, eax
je 0x43697c
mov dword [esp], eax
call fcn.0047a350
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x50]
add eax, dword [0x4a0bf0]
shl edx, 0xa
lea edx, [edx + ecx*8 + 0x4a2f40]
mov dword [esp + 0x4c], edx
mov ebx, edx
mov edx, dword [esp + 0x48]
add ebx, 8
add eax, 0x118
mov dword [edi - 0x350], eax
mov byte [edi - 0x1f8], 1
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [ebx + 0x1e0], ecx
mov byte [0x4a2d2a], 1
mov dword [ebx + 0xc], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
add eax, 0x1c
mov dword [esp], eax
call fcn.0047a360
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x174], 0
mov dword [ebx + 0x1e8], 0
add eax, 0x144
mov dword [ebx + 0x13c], 0x38
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [0x4a0bfc]
test eax, eax
je 0x436a94
cmp byte [0x4a2d14], 0
jne 0x436a38
cmp byte [0x4a0b60], 0
jne 0x436a38
cmp dword [0x47f720], 2
jle 0x436a94
mov dword [ebp], 0x6c696146
mov dword [ebp + 4], 0x74206465
mov dword [ebp + 8], 0x4441206f
mov dword [ebp + 0xc], 0x764f5f4c
mov dword [ebp + 0x10], 0x72647265
mov dword [ebp + 0x14], 0x35657669
mov dword [ebp + 0x18], 0x50444f5f
mov dword [ebp + 0x1c], 0x6d617261
mov dword [ebp + 0x20], 0x72657465
mov dword [ebp + 0x24], 0x65475f73
mov word [ebp + 0x28], 0x74
mov dword [esp + 4], ebp
mov dword [esp], 3
call fcn.0042ace0
mov esi, dword [ebx + 0x140]
sub esi, 1
lea eax, [esi + esi*2]
lea edx, [eax*4 + 0x14]
mov dword [esp], edx
mov dword [esp + 0x38], edx
call fcn.0047a2e8
mov edx, dword [esp + 0x38]
mov dword [eax], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x44], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], edx
call dword [0x4a0c00]
test eax, eax
je 0x436b61
cmp byte [0x4a2d14], 0
jne 0x436af9
cmp byte [0x4a0b60], 0
jne 0x436af9
cmp dword [0x47f720], 2
jle 0x436b61
mov dword [ebp], 0x6c696146
mov dword [ebp + 4], 0x74206465
mov dword [ebp + 8], 0x4441206f
mov dword [ebp + 0xc], 0x764f5f4c
mov dword [ebp + 0x10], 0x72647265
mov dword [ebp + 0x14], 0x35657669
mov dword [ebp + 0x18], 0x50444f5f
mov dword [ebp + 0x1c], 0x6f667265
mov dword [ebp + 0x20], 0x6e616d72
mov dword [ebp + 0x24], 0x654c6563
mov dword [ebp + 0x28], 0x736c6576
mov dword [ebp + 0x2c], 0x7465475f
mov byte [ebp + 0x30], 0
mov dword [esp + 4], ebp
mov dword [esp], 3
call fcn.0042ace0
mov ecx, dword [esp + 0x44]
lea eax, [esi + esi*2]
mov edx, dword [esp + 0x4c]
mov eax, dword [ecx + eax*4 + 8]
mov dword [ebx + 0x1d8], eax
mov dword [ebx + 0x1dc], eax
mov dword [edx + 8], 8
mov dword [ebx + 0x178], 0x18
mov dword [ebx + 0x1a0], 0x10
mov dword [ebx + 0x190], 0x10
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], 0
mov dword [esp], ecx
call dword [0x4a0c00]
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x174], eax
mov edx, dword [edi - 8]
test edx, edx
mov dword [esp + 0x4c], edx
je 0x436c9d
imul ecx, edx, 0x64
xor edx, edx
test esi, esi
jle 0x436bf2
lea esi, [esi]
cmp ecx, dword [eax + 8]
jge 0x436be8
mov dword [eax + 8], ecx
add edx, 1
add eax, 0xc
cmp esi, edx
jne 0x436be0
mov edx, dword [esp + 0x44]
lea eax, [esi + esi*2]
cmp byte [0x4a2d14], 0
mov dword [edx + eax*4 + 8], ecx
jne 0x436c18
cmp byte [0x4a0b60], 0
jne 0x436c18
cmp dword [0x47f720], 2
jle 0x436c58
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], str.Setting_GPU__d_engine_clock_to__d
mov dword [esp + 4], 0x100
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp], ebp
mov dword [esp + 0x38], ecx
call fcn.00471bd0
mov dword [esp + 4], ebp
mov dword [esp], 3
call fcn.0042ace0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [0x4a0c04]
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x1dc], ecx
mov eax, dword [edi - 4]
test eax, eax
je 0x436c8b
imul eax, eax, 0x64
mov dword [ebx + 0x1d8], eax
mov byte [ebx + 0x1c2], 1
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x437244
mov eax, dword [edi + 8]
test eax, eax
mov dword [esp + 0x4c], eax
je 0x436d4c
imul ecx, eax, 0x64
xor edx, edx
mov eax, dword [esp + 0x44]
test esi, esi
jle 0x436cd2
lea esi, [esi]
cmp ecx, dword [eax + 0xc]
jge 0x436cc8
mov dword [eax + 0xc], ecx
add edx, 1
add eax, 0xc
cmp esi, edx
jne 0x436cc0
mov edx, dword [esp + 0x44]
lea eax, [esi + esi*2]
cmp byte [0x4a2d14], 0
mov dword [edx + eax*4 + 0xc], ecx
jne 0x436cf8
cmp byte [0x4a0b60], 0
jne 0x436cf8
cmp dword [0x47f720], 2
jle 0x436d30
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov dword [esp + 8], str.Setting_GPU__d_memory_clock_to__d
mov dword [esp + 4], 0x100
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp], ebp
call fcn.00471bd0
mov dword [esp + 4], ebp
mov dword [esp], 3
call fcn.0042ace0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [0x4a0c04]
mov byte [ebx + 0x1c2], 1
fld dword [edi + 0x14]
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jp 0x436d5f
je 0x436e20
fnstcw word [esp + 0x5e]
fld dword [0x489f24]
xor edx, edx
fmul st(1)
test esi, esi
movzx eax, word [esp + 0x5e]
mov ah, 0xc
mov word [esp + 0x5c], ax
mov eax, dword [esp + 0x44]
fldcw word [esp + 0x5c]
fistp dword [esp + 0x58]
fldcw word [esp + 0x5e]
mov ecx, dword [esp + 0x58]
jle 0x436da3
cmp ecx, dword [eax + 0x10]
jge 0x436d99
mov dword [eax + 0x10], ecx
add edx, 1
add eax, 0xc
cmp esi, edx
jne 0x436d91
mov edx, dword [esp + 0x44]
lea eax, [esi + esi*2]
cmp byte [0x4a2d14], 0
mov dword [edx + eax*4 + 0x10], ecx
jne 0x436dc9
cmp byte [0x4a0b60], 0
jne 0x436dc9
cmp dword [0x47f720], 2
jle 0x436dff
mov ecx, dword [esp + 0x40]
fstp qword [esp + 0x10]
mov dword [esp + 8], str.Setting_GPU__d_voltage_to__.3f
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x100
mov dword [esp], ebp
call fcn.00471bd0
mov dword [esp + 4], ebp
mov dword [esp], 3
call fcn.0042ace0
jmp 0x436e01
fstp st(0)
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [0x4a0c04]
mov byte [ebx + 0x1c2], 1
jmp 0x436e22
fstp st(0)
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0
mov dword [esp], edx
mov dword [esp + 8], eax
call dword [0x4a0c00]
mov ecx, dword [esp + 0x44]
lea eax, [esi + esi*2]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x48]
mov edx, dword [eax + 8]
mov dword [ebx + 0x1b0], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x1b4], edx
mov edx, dword [esp + 0x50]
mov dword [ebx + 0x1b8], eax
mov eax, dword [0x4a0bf0]
mov eax, dword [eax + edx + 0x108]
mov dword [ebx + 0x10], eax
lea eax, [ebx + 0x178]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], ecx
call dword [0x4a0c08]
test eax, eax
je 0x4370c5
cmp byte [0x4a2d14], 0
jne 0x436eb9
cmp byte [0x4a0b60], 0
jne 0x436eb9
cmp dword [0x47f720], 2
jle 0x436f15
mov dword [ebp], 0x6c696146
mov dword [ebp + 4], 0x74206465
mov dword [ebp + 8], 0x4441206f
mov dword [ebp + 0xc], 0x764f5f4c
mov dword [ebp + 0x10], 0x72647265
mov dword [ebp + 0x14], 0x35657669
mov dword [ebp + 0x18], 0x6e61465f
mov dword [ebp + 0x1c], 0x65657053
mov dword [ebp + 0x20], 0x666e4964
mov dword [ebp + 0x24], 0x65475f6f
mov word [ebp + 0x28], 0x74
mov dword [esp + 4], ebp
mov dword [esp], 3
call fcn.0042ace0
lea eax, [ebx + 0x1a0]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 8]
mov dword [esp], eax
call dword [0x4a0c0c]
mov eax, dword [edi]
test eax, eax
jne 0x437130
mov dword [edi], 0x55
lea ecx, [esp + 0x68]
lea esi, [ebx + 0x1bc]
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov eax, dword [ebx + 8]
mov dword [esp], eax
call dword [0x4a0c10]
test eax, eax
je 0x436fdc
cmp byte [0x4a2d14], 0
jne 0x436f80
cmp byte [0x4a0b60], 0
jne 0x436f80
cmp dword [0x47f720], 2
jle 0x436fdc
mov dword [ebp], 0x6c696146
mov dword [ebp + 4], 0x74206465
mov dword [ebp + 8], 0x4441206f
mov dword [ebp + 0xc], 0x764f5f4c
mov dword [ebp + 0x10], 0x72647265
mov dword [ebp + 0x14], 0x35657669
mov dword [ebp + 0x18], 0x776f505f
mov dword [ebp + 0x1c], 0x6f437265
mov dword [ebp + 0x20], 0x6f72746e
mov dword [ebp + 0x24], 0x65675f6c
mov word [ebp + 0x28], 0x74
mov dword [esp + 4], ebp
mov dword [esp], 3
call fcn.0042ace0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4370f8
mov eax, dword [ebx + 0x1d0]
test eax, eax
jne 0x436ffb
mov dword [ebx + 0x1d0], 0x4b
mov eax, dword [ebx + 0x1d4]
test eax, eax
jne 0x43700f
mov dword [ebx + 0x1d4], 0x55
mov eax, dword [edi - 0x1fc]
test eax, eax
jne 0x437024
mov eax, dword [0x48341c]
mov dword [edi - 0x1fc], eax
cmp byte [0x4a2d2c], 0
je 0x437059
mov byte [ebx + 0x1c0], 1
mov eax, dword [edi]
mov edx, 0x32
cmp eax, 0x32
cmovge eax, edx
mov edx, dword [edi + 4]
cmp eax, edx
cmovl eax, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00435010
cmp byte [0x4a2d35], 0
je 0x437070
mov byte [ebx + 0x1c1], 1
mov byte [ebx + 0x1c2], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [ebx + 8]
mov dword [esp], eax
call dword [0x4a0c18]
mov edx, 0xffffffff
test eax, eax
jne 0x4370ba
fild dword [ebx + 4]
fdiv dword [0x489f24]
fnstcw word [esp + 0x5e]
movzx eax, word [esp + 0x5e]
mov ah, 0xc
mov word [esp + 0x5c], ax
fldcw word [esp + 0x5c]
fistp dword [esp + 0x58]
fldcw word [esp + 0x5e]
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x1c8], edx
jmp 0x436897
mov byte [ebx + 0x1e4], 1
jmp 0x436f15
mov dword [edi + 0x10], 0
mov dword [edi], 0
mov dword [edi + 0x14], 0
mov dword [edi + 8], 0
mov dword [edi - 8], 0
jmp 0x436897
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call dword [0x4a0c14]
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [ebx + 8]
mov dword [esp], eax
call dword [0x4a0c10]
mov byte [ebx + 0x1c2], 1
jmp 0x436fe7
mov edx, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00435010
jmp 0x436f43
xor ebp, ebp
mov eax, ebp
xor ebx, ebx
shl eax, 0xa
lea eax, [eax + ebp*8 + 0x4a2f40]
lea esi, [eax + 8]
add eax, 0x1c
mov dword [esp + 0x40], eax
nop
cmp ebx, ebp
je 0x4371a0
cmp byte [esi + 0x1e4], 0
jne 0x4371a0
mov eax, ebx
shl eax, 0xa
lea edx, [eax + ebx*8 + 0x4a2f40]
lea edi, [edx + 8]
cmp byte [edi + 0x1e4], 0
je 0x4371a0
mov eax, dword [esi + 0x10]
sub eax, dword [edi + 0x10]
mov ecx, eax
sar ecx, 0x1f
xor eax, ecx
sub eax, ecx
cmp eax, 1
je 0x4371b7
lea esi, [esi]
add ebx, 1
cmp ebx, dword [esp + 0x3c]
jne 0x437160
add ebp, 1
cmp ebp, dword [esp + 0x3c]
jne 0x437147
jmp 0x435d74
add edx, 0x1c
mov dword [esp + 4], edx
mov edx, dword [esp + 0x40]
mov dword [esp], edx
call fcn.0047a398
test eax, eax
jne 0x4371a0
cmp byte [0x4a2d14], 0
jne 0x4371e9
cmp byte [0x4a0b60], 0
jne 0x4371e9
cmp dword [0x47f720], 2
jle 0x437233
mov eax, dword [edi + 0x1e0]
lea ecx, [esp + 0x270]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x1e0]
mov dword [esp + 8], str.Dual_GPUs_detected:__d_and__d
mov dword [esp + 4], 0x100
mov dword [esp], ecx
mov dword [esp + 0xc], eax
call fcn.00471bd0
lea eax, [esp + 0x270]
mov dword [esp + 4], eax
mov dword [esp], 3
call fcn.0042ace0
mov dword [esi + 0x1e8], edi
mov dword [edi + 0x1e8], esi
jmp 0x4371a0
mov ecx, dword [esp + 0x40]
add eax, dword [edi - 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434830
jmp 0x436c9d
cmp byte [0x4a0be0], 0
je 0x436817
test ebx, ebx
je 0x436817
lea edx, [esp + 0x7c]
xor ebp, ebp
xor esi, esi
xor eax, eax
nop
lea esi, [esi]
cmp ebp, eax
je 0x437298
mov ecx, eax
mov edi, dword [edx - 8]
shl ecx, 4
cmp dword [esp + ecx + 0x74], edi
setl cl
movzx ecx, cl
add esi, ecx
add eax, 1
cmp eax, ebx
jne 0x437280
cmp esi, ebp
je 0x437316
cmp byte [0x4a2d14], 0
jne 0x4372be
cmp byte [0x4a0b60], 0
jne 0x4372be
cmp dword [0x47f720], 2
jle 0x437304
lea eax, [esp + 0x270]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 8], str.Mapping_device__d_to_GPU__d_according_to_Bus_Number_order
mov dword [esp + 4], 0x100
mov dword [esp], eax
mov dword [esp + 0x38], edx
call fcn.00471bd0
lea ecx, [esp + 0x270]
mov dword [esp + 4], ecx
mov dword [esp], 3
call fcn.0042ace0
mov edx, dword [esp + 0x38]
mov ecx, dword [edx]
shl esi, 4
lea eax, [esp + esi + 0x170]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ecx
add ebp, 1
add edx, 0x10
cmp ebp, ebx
jne 0x437277
jmp 0x436817
mov eax, dword [0x47f720]
test eax, eax
jns 0x43613d
jmp 0x4361f2
mov eax, dword [0x47f720]
test eax, eax
jns 0x436181
lea esi, [esi]
jmp 0x4361f2
mov eax, dword [0x47f720]
test eax, eax
jns 0x436771
jmp 0x436817
mov edi, dword [0x47f720]
test edi, edi
jns 0x436442
mov byte [esp + 0x44], 0
jmp 0x4365ba
mov ecx, dword [0x47f720]
test ecx, ecx
jns 0x43650c
jmp 0x437375
cmp byte [0x4a2d14], 0
jne 0x4373ae
cmp byte [0x4a0b60], 0
jne 0x4373ae
cmp dword [0x47f720], 0
js 0x435d74
lea eax, [esp + 0x270]
mov esi, str.Failed_to_init_adl_lock_in_init_adl
mov edi, eax
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0042ace0
jmp 0x435d74