Function at 0x1400b1d10
Capabilities:
Link many functions at runtime
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x1402cf480]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r8d, 0x200
lea rdx, [rbp + 0x70]
lea rcx, str.atiadlxx.dll
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x1400b1e80
lea rdx, str.e_91m_X
lea rcx, [rsp + 0x58]
call fcn.14008dbb0
lea rdx, str.Failed_to_obtain_all_required_ADL_function_pointers
lea rcx, [rsp + 0x68]
call fcn.140035180
nop
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140033df0
lea rcx, [rbp + 0x50]
call fcn.14008df10
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x1400b1ded
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b1de8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b1de8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fb494
lea rcx, [rsp + 0x58]
call fcn.140004870
nop
lea rdx, str.e_91m_X
lea rcx, [rsp + 0x58]
call fcn.14008dbb0
lea rdx, str.AMD_hardware_monitoring_disabled
lea rcx, [rsp + 0x68]
call fcn.140035180
nop
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140033df0
lea rcx, [rbp + 0x50]
call fcn.14008df10
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x1400b1e70
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b1e6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b1e6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fb494
lea rcx, [rsp + 0x58]
call fcn.140004870
nop
jmp 0x1400b22b9
mov edx, 0x88
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
mov qword [rax], rdi
lea rdx, str.ADL_Main_Control_Create
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
mov qword [rbx + 0x28], rax
lea rdx, str.ADL_Adapter_NumberOfAdapters_Get
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
mov qword [rbx + 0x30], rax
lea rdx, str.ADL_Adapter_AdapterInfo_Get
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov qword [rbx + 0x38], rax
lea rdx, str.ADL_Adapter_ID_Get
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
mov qword [rbx + 0x40], rax
lea rdx, str.ADL_Overdrive5_Temperature_Get
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
mov qword [rbx + 0x48], rax
lea rdx, str.ADL_Overdrive5_FanSpeed_Get
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
mov qword [rbx + 0x50], rax
lea rdx, str.ADL_Main_Control_Refresh
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov qword [rbx + 0x58], rax
lea rdx, str.ADL_Main_Control_Destroy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [rbx + 0x60], rax
lea rdx, str.ADL2_Main_Control_Create
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
mov qword [rbx + 0x68], rax
lea rdx, str.ADL_Main_Control_Destroy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
mov qword [rbx + 0x70], rax
lea rdx, str.ADL2_Overdrive6_CurrentPower_Get
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
mov qword [rbx + 0x78], rax
lea rdx, str.ADL2_Main_Control_Refresh
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x80], rax
mov r8, qword [rsp + 0x28]
test r8, r8
je 0x1400b21a1
test rsi, rsi
je 0x1400b21a1
test r14, r14
je 0x1400b21a1
test r15, r15
je 0x1400b21a1
test r12, r12
je 0x1400b21a1
test r13, r13
je 0x1400b21a1
cmp qword [rsp + 0x30], 0
je 0x1400b21a1
cmp qword [rsp + 0x38], 0
je 0x1400b21a1
cmp qword [rsp + 0x40], 0
je 0x1400b21a1
test rax, rax
je 0x1400b21a1
cmp qword [rsp + 0x48], 0
je 0x1400b21a1
cmp qword [rsp + 0x50], 0
je 0x1400b21a1
mov edx, 1
lea rcx, [0x1400b1d00]
call r8
call qword [rbx + 0x58]
xor r12d, r12d
mov qword [rbx + 0x20], r12
lea r8, [rbx + 0x20]
lea edx, [r12 + 1]
lea rcx, [0x1400b1d00]
call qword [rbx + 0x68]
mov rcx, qword [rbx + 0x20]
call qword [rbx + 0x80]
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x20]
call qword [rbx + 0x30]
movsxd rcx, dword [rsp + 0x20]
lea edx, [r12 + 4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbx + 0x10], rax
mov dword [rbx + 8], r12d
mov r15d, r12d
movsxd rax, dword [rsp + 0x20]
test eax, eax
jle 0x1400b2199
mov dword [rbx + 0xc], eax
imul rcx, rax, 0x624
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 0x18], rax
movsxd rcx, dword [rsp + 0x20]
imul r8, rcx, 0x624
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbx + 0x18]
mov dword [rax], 8
imul edx, dword [rsp + 0x20], 0x624
mov rcx, qword [rbx + 0x18]
call qword [rbx + gethostname]
test eax, eax
je 0x1400b2145
lea rdx, str.e_91m_X
lea rcx, [rsp + 0x58]
call fcn.14008dbb0
lea rdx, str.Failed_to_obtain_using_adlAdapterAdapterInfoGet__.
lea rcx, [rsp + 0x68]
call fcn.140035180
lea rcx, [rsp + 0x58]
call fcn.14002f1c0
lea rdx, str.e_91m_X
lea rcx, [rsp + 0x58]
call fcn.14008dbb0
lea rdx, str.AMD_hardware_monitoring_disabled
lea rcx, [rsp + 0x68]
call fcn.140035180
lea rcx, [rsp + 0x58]
call fcn.14002f1c0
jmp 0x1400b22a7
mov edi, r12d
cmp dword [rsp + 0x20], r12d
jle 0x1400b2199
mov rsi, r12
mov rax, qword [rbx + 0x18]
mov r14d, dword [rax + rsi + 4]
mov dword [rsp + 0x28], r12d
lea rdx, [rsp + 0x28]
mov ecx, r14d
call qword [rbx + 0x40]
test eax, eax
jne 0x1400b218a
movsxd rcx, dword [rbx + 8]
mov rax, qword [rbx + 0x10]
mov dword [rax + rcx*4], r14d
mov eax, dword [rsp + 0x28]
cmp eax, r15d
je 0x1400b218a
mov r15d, eax
inc dword [rbx + 8]
inc edi
add rsi, 0x624
cmp edi, dword [rsp + 0x20]
jl 0x1400b2152
mov rax, rbx
jmp 0x1400b22bb
lea rdx, str.e_91m_X
lea rcx, [rsp + 0x58]
call fcn.14008dbb0
lea rdx, str.Failed_to_obtain_all_required_ADL_function_pointers
lea rcx, [rsp + 0x68]
call fcn.140035180
nop
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140033df0
lea rcx, [rbp + 0x50]
call fcn.14008df10
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x1400b2219
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b2214
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b2214
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fb494
lea rcx, [rsp + 0x58]
call fcn.140004870
nop
lea rdx, str.e_91m_X
lea rcx, [rsp + 0x58]
call fcn.14008dbb0
lea rdx, str.AMD_hardware_monitoring_disabled
lea rcx, [rsp + 0x68]
call fcn.140035180
nop
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140033df0
lea rcx, [rbp + 0x50]
call fcn.14008df10
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x1400b229c
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b2297
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b2297
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fb494
lea rcx, [rsp + 0x58]
call fcn.140004870
nop
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1401fb000
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret