Function at 0x1400036b0
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 [0x140066528]
xor edi, edi
cmp dword [0x14006168c], edi
mov dword [rsi + 0x78], edi
mov dword [rsi + 0x10], edi
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
jne 0x140003700
lea rdx, str.No_AMD_cards_in_the_list__ADL_library_will_not_be_used._n
lea ecx, [rdi + 2]
call fcn.1400054d0
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.ZecMiner64.exe__Co9eEk_rc_U8Qzt_M_rBCXNPgLr_62n_K__
nop word [rax + rax]
cmp dword [rax + rcx + 0x61950], edi
jne 0x140003754
cmp dword [rax + rcx + 0x61730], edi
jne 0x140003754
cmp dword [rax + rcx + 0x619d0], edi
jne 0x140003754
cmp dword [rax + rcx + 0x61830], 0xffffff9c
jne 0x140003754
add rax, 4
cmp rax, 0x80
jl 0x140003710
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 0x140003796
lea rcx, str.atiadlxy.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x140003796
lea rdx, str.AMD_ADL_library_not_found._n
xor ecx, ecx
call fcn.1400054d0
jmp 0x14000393f
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 [0x14005eb70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Adapter_NumberOfAdapters_Get
mov rcx, rbx
mov qword [0x14005eb90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Adapter_AdapterInfo_Get
mov rcx, rbx
mov qword [0x14005eb88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Adapter_Active_Get
mov rcx, rbx
mov qword [0x14005eb58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Overdrive_Caps
mov rcx, rbx
mov qword [0x14005eb68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL2_OverdriveN_CapabilitiesX2_Get
mov rcx, rbx
mov qword [0x14005eb80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005eb50], rax
mov rax, qword [0x14005eb70]
test rax, rax
je 0x14000392d
cmp qword [0x14005eb90], rdi
je 0x14000392d
cmp qword [0x14005eb88], rdi
je 0x14000392d
cmp qword [0x14005eb58], rdi
je 0x14000392d
cmp qword [0x14005eb68], rdi
je 0x14000392d
cmp qword [0x14005eb80], rdi
je 0x14000392d
lea rcx, [0x140001290]
mov edx, 1
call rax
test eax, eax
je 0x1400038aa
lea rdx, str.ADL_Initialization_Error__n
jmp 0x140003934
lea rcx, [rsi + 0x10]
call qword [0x14005eb88]
test eax, eax
je 0x1400038c1
lea rdx, str.Cannot_get_the_number_of_adapters__n
jmp 0x140003934
movsxd rax, dword [rsi + 0x10]
mov qword [rsp + 0x38], rbp
mov rbp, rdi
test eax, eax
jle 0x14000391d
mov rbx, rax
imul rbx, rbx, 0x624
mov rcx, rbx
call fcn.14002b4c4
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.140032380
mov edx, dword [rsi + 0x10]
mov rcx, rbp
imul edx, edx, 0x624
call qword [0x14005eb58]
test eax, eax
je 0x14000391d
lea rdx, str.adl_get_adapter_infor_returned_error__d_n
mov r8d, eax
mov ecx, 2
call fcn.1400054d0
cmp dword [rsi + 0x10], edi
mov qword [rsi], rbp
mov rbp, qword [rsp + 0x38]
setg al
jmp 0x140003941
lea rdx, str.ADLs_API_is_missing__n
xor ecx, ecx
call fcn.1400054d0
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