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

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
mov rax, qword [0x140283aa8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r8d, 0x200
lea rdx, [rbp - 0x40]
lea rcx, str.atiadlxx.dll
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14007e97c
mov edx, 0xa0
mov qword [rsp + 0x300], rbx
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
lea rdx, str.ADL_Main_Control_Create
mov rcx, rdi
mov rbx, rax
mov qword [rax], rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.ADL_Adapter_NumberOfAdapters_Get
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.ADL_Adapter_AdapterInfo_Get
mov qword [rbx + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.ADL_Adapter_ID_Get
mov qword [rbx + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.ADL_Overdrive5_Temperature_Get
mov qword [rbx + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.ADL_Overdrive5_FanSpeed_Get
mov qword [rbx + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.ADL_Main_Control_Refresh
mov qword [rbx + 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.ADL_Main_Control_Destroy
mov qword [rbx + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.ADL2_Main_Control_Create
mov qword [rbx + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.ADL_Main_Control_Destroy
mov qword [rbx + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.ADL2_Overdrive6_CurrentPower_Get
mov qword [rbx + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.ADL2_Main_Control_Refresh
mov qword [rbx + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, qword [rbx + 0x40]
mov qword [rbx + 0x98], rax
test r8, r8
je 0x14007e995
cmp qword [rbx + 0x78], 0
je 0x14007e995
cmp qword [rbx + 0x70], 0
je 0x14007e995
cmp qword [rbx + 0x48], 0
je 0x14007e995
cmp qword [rbx + 0x50], 0
je 0x14007e995
cmp qword [rbx + 0x58], 0
je 0x14007e995
cmp qword [rbx + 0x60], 0
je 0x14007e995
cmp qword [rbx + 0x68], 0
je 0x14007e995
cmp qword [rbx + 0x80], 0
je 0x14007e995
test rax, rax
je 0x14007e995
cmp qword [rbx + 0x88], 0
je 0x14007e995
cmp qword [rbx + 0x90], 0
je 0x14007e995
mov qword [rsp + 0x308], rsi
lea rcx, [0x14007e390]
mov qword [rsp + 0x310], r12
mov edx, 1
mov qword [rsp + 0x2d8], r14
mov qword [rsp + 0x2d0], r15
call r8
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
xor r12d, r12d
lea r8, [rbx + 0x28]
lea rcx, [0x14007e390]
mov qword [rbx + 0x28], r12
lea edx, [r12 + 1]
call qword [rbx + 0x80]
mov rcx, qword [rbx + 0x28]
call qword [rbx + 0x98]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], r12d
call qword [rbx + 0x48]
movsxd rcx, dword [rsp + 0x30]
lea edx, [r12 + 4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov dword [rbx + 8], r12d
mov r15d, r12d
mov qword [rbx + 0x18], rax
mov eax, dword [rsp + 0x30]
test eax, eax
jle 0x14007e6c7
mov dword [rbx + 0xc], eax
movsxd rax, dword [rsp + 0x30]
imul rcx, rax, 0x624
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 0x20], rax
xor edx, edx
movsxd rcx, dword [rsp + 0x30]
imul r8, rcx, 0x624
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbx + 0x20]
mov dword [rax], 8
imul edx, dword [rsp + 0x30], 0x624
mov rcx, qword [rbx + 0x20]
call qword [rbx + 0x50]
mov edi, r12d
cmp dword [rsp + 0x30], r12d
jle 0x14007e6c7
mov esi, r12d
nop dword [rax]
mov rax, qword [rbx + 0x20]
lea rdx, [rsp + 0x38]
mov r14d, dword [rsi + rax + 4]
mov ecx, r14d
mov dword [rsp + 0x38], r12d
call qword [rbx + 0x58]
test eax, eax
jne 0x14007e6b8
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 8]
mov dword [rax + rcx*4], r14d
mov eax, dword [rsp + 0x38]
cmp eax, r15d
je 0x14007e6b8
inc dword [rbx + 8]
mov r15d, eax
inc edi
add rsi, 0x624
cmp edi, dword [rsp + 0x30]
jl 0x14007e680
movsxd rcx, dword [rbx + 8]
mov edx, 4
mov qword [rsp + 0x2e0], r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbx + 0x30], rax
cmp dword [rbx + 8], r12d
jle 0x14007e949
xorps xmm0, xmm0
mov dword [rbx + 0x10], r12d
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x68], r12
movdqu xmmword [rsp + 0x58], xmm0
call fcn.14006c910
mov r14, qword [rsp + 0x60]
mov rax, r12
mov r15, qword [rsp + 0x58]
xorps xmm0, xmm0
sub r14, r15
mov qword [rsp + 0x38], rax
sar r14, 3
mov esi, r12d
mov qword [rsp + 0x50], rax
movdqu xmmword [rsp + 0x40], xmm0
test r14, r14
je 0x14007e799
nop word [rax + rax]
lea rcx, [r15 + rax*8]
lea rdx, [rbp - 0x68]
call fcn.140073a80
cmp qword [rbp - 0x50], 0x10
lea rcx, [rbp - 0x68]
mov rdi, qword [rbp - 0x58]
mov r8d, 0x23
cmovae rcx, qword [rbp - 0x68]
cmp rdi, r8
cmovb r8, rdi
test r8, r8
je 0x14007e781
lea rdx, str.AMD_Accelerated_Parallel_Processing
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14007e787
cmp rdi, 0x23
je 0x14007e7f9
lea rcx, [rbp - 0x68]
call fcn.14001e690
inc esi
mov eax, esi
cmp rax, r14
jb 0x14007e740
mov rdi, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
movsxd rcx, dword [rbx + 0x10]
mov edx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbx + 0x38], rax
cmp dword [rbx + 8], r12d
jle 0x14007e8e8
sub r13, rdi
sar r13, 4
xor r15d, r15d
nop word [rax + rax]
xor r14d, r14d
test r13, r13
je 0x14007e8d2
xor esi, esi
nop
mov rax, rsi
add rax, rax
mov rdi, qword [rdi + rax*8]
test rdi, rdi
je 0x14007e838
mov rcx, rdi
call fcn.140080f40
jmp 0x14007e83a
mov eax, esi
lea r8, [rsp + 0x40]
lea rcx, [r15 + rax*8]
call fcn.14006c6a0
mov r13, qword [rsp + 0x48]
lea rcx, [rbp - 0x68]
mov rdi, qword [rsp + 0x40]
mov rax, r13
sub rax, rdi
sar rax, 4
mov dword [rbx + 0x10], eax
call fcn.14001e690
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
jmp 0x14007e7a3
xor eax, eax
test eax, eax
jne 0x14007e9ab
lea r9, [rbp - 0x68]
mov qword [rsp + 0x20], 0
mov edx, 0x4037
lea r8d, [rax + 0x18]
mov rcx, rdi
call fcn.140080d10
test eax, eax
jne 0x14007e8b1
cmp dword [rbp - 0x68], 1
jne 0x14007e8b1
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [r15 + rax]
movsx eax, byte [rbp - 0x53]
imul rcx, rcx, 0x624
add rcx, qword [rbx + 0x20]
cmp dword [rcx + 0x108], eax
jne 0x14007e8b1
movsx eax, byte [rbp - 0x52]
cmp dword [rcx + 0x10c], eax
jne 0x14007e8b1
movsx eax, byte [rbp - 0x51]
cmp dword [rcx + 0x110], eax
jne 0x14007e8b1
mov rax, qword [rbx + 0x30]
mov dword [r15 + rax], r14d
mov rax, qword [rbx + 0x38]
mov dword [rax + rsi*4], r12d
test rdi, rdi
je 0x14007e8be
mov rcx, rdi
call fcn.140080ec0
mov rdi, qword [rsp + 0x40]
inc r14d
mov esi, r14d
cmp rsi, r13
jb 0x14007e7e0
inc r12d
add r15, 4
cmp r12d, dword [rbx + 8]
jl 0x14007e7d0
mov r15, qword [rsp + 0x58]
test rdi, rdi
je 0x14007e930
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
cmp rsi, r14
je 0x14007e91c
nop dword [rax]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14007e913
cmp byte [rdi + 8], 0
je 0x14007e913
call fcn.140080ec0
add rdi, 0x10
cmp rdi, r14
jne 0x14007e900
mov r8, qword [rsp + 0x38]
mov rdx, rsi
sub r8, rsi
sar r8, 4
call fcn.14001f3d0
test r15, r15
je 0x14007e949
mov r8, qword [rsp + 0x68]
mov rdx, r15
sub r8, r15
sar r8, 3
call fcn.14001f4b0
mov r13, qword [rsp + 0x2e0]
mov rax, rbx
mov r14, qword [rsp + 0x2d8]
mov r12, qword [rsp + 0x310]
mov rsi, qword [rsp + 0x308]
mov r15, qword [rsp + 0x2d0]
mov rbx, qword [rsp + 0x300]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401aad60
add rsp, 0x2e8
pop rdi
pop rbp
ret
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
jmp 0x14007e974
xor ecx, ecx
mov dword [rbp - 0x78], eax
mov qword [rsp + 0x78], rcx
lea rax, str.Retain_Object
mov qword [rbp - 0x80], rcx
lea rdx, [0x140271cb8]
lea rcx, vtable.cl::Error.0
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3