Function at 0x140005d10
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, qword [0x14007d308]
xor edi, edi
cmp dword [0x140068088], edi
mov dword [rsi + 0x78], edi
mov dword [rsi + 0x10], edi
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
jne 0x140005d60
lea rdx, str.No_AMD_cards_in_the_list__ADL_library_will_not_be_used._n
lea ecx, [rdi + 2]
call fcn.14000ee60
mov al, 1
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
lea rcx, sym.NsGpuCNMiner.exe_8_e_FT___30Dcpnn_XO00j_y7o3WE34G6t9IPnCn
nop word [rax + rax]
cmp dword [rax + rcx + 0x68330], edi
jne 0x140005db4
cmp dword [rax + rcx + 0x68110], edi
jne 0x140005db4
cmp dword [rax + rcx + 0x683b0], edi
jne 0x140005db4
cmp dword [rax + rcx + 0x68210], 0xffffff9c
jne 0x140005db4
add rax, 4
cmp rax, 0x80
jl 0x140005d70
mov al, 1
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, str.atiadlxx.dll
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x140005df6
lea rcx, str.atiadlxy.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x140005df6
lea rdx, str.AMD_ADL_library_not_found._n
xor ecx, ecx
call fcn.14000ee60
jmp 0x140005f9f
lea rdx, str.ADL_Main_Control_Create
mov rcx, rbx
mov qword [rsi + 8], rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Main_Control_Destroy
mov rcx, rbx
mov qword [0x140065330], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Adapter_NumberOfAdapters_Get
mov rcx, rbx
mov qword [0x140065350], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Adapter_AdapterInfo_Get
mov rcx, rbx
mov qword [0x140065348], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Adapter_Active_Get
mov rcx, rbx
mov qword [0x140065318], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Overdrive_Caps
mov rcx, rbx
mov qword [0x140065328], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL2_OverdriveN_CapabilitiesX2_Get
mov rcx, rbx
mov qword [0x140065340], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140065310], rax
mov rax, qword [0x140065330]
test rax, rax
je 0x140005f8d
cmp qword [0x140065350], rdi
je 0x140005f8d
cmp qword [0x140065348], rdi
je 0x140005f8d
cmp qword [0x140065318], rdi
je 0x140005f8d
cmp qword [0x140065328], rdi
je 0x140005f8d
cmp qword [0x140065340], rdi
je 0x140005f8d
lea rcx, [0x140003770]
mov edx, 1
call rax
test eax, eax
je 0x140005f0a
lea rdx, str.ADL_Initialization_Error__n
jmp 0x140005f94
lea rcx, [rsi + 0x10]
call qword [0x140065348]
test eax, eax
je 0x140005f21
lea rdx, str.Cannot_get_the_number_of_adapters__n
jmp 0x140005f94
movsxd rax, dword [rsi + 0x10]
mov qword [rsp + 0x38], rbp
mov rbp, rdi
test eax, eax
jle 0x140005f7d
mov rbx, rax
imul rbx, rbx, 0x624
mov rcx, rbx
call fcn.14002edb0
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.140035a80
mov edx, dword [rsi + 0x10]
mov rcx, rbp
imul edx, edx, 0x624
call qword [0x140065318]
test eax, eax
je 0x140005f7d
lea rdx, str.adl_get_adapter_infor_returned_error__d_n
mov r8d, eax
mov ecx, 2
call fcn.14000ee60
cmp dword [rsi + 0x10], edi
mov qword [rsi], rbp
mov rbp, qword [rsp + 0x38]
setg al
jmp 0x140005fa1
lea rdx, str.ADLs_API_is_missing__n
xor ecx, ecx
call fcn.14000ee60
mov qword [rsi + 8], rdi
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret