Function at 0x14000f370
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 [0x140139b38]
xor edi, edi
cmp dword [0x140136824], edi
mov dword [rsi + 0x78], edi
mov dword [rsi + 0x10], edi
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
jne 0x14000f3c0
lea rdx, str.No_AMD_cards_in_the_list__ADL_library_will_not_be_used._n
lea ecx, [rdi + 2]
call fcn.140010790
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_.t_bF._Ay7_Z__E9S6_euXX:_ghT:_5mi
nop word [rax + rax]
cmp dword [rax + rcx + 0x1368d0], edi
jne 0x14000f414
cmp dword [rax + rcx + 0x1366a0], edi
jne 0x14000f414
cmp dword [rax + rcx + 0x136950], edi
jne 0x14000f414
cmp dword [rax + rcx + 0x1367a0], 0xffffff9c
jne 0x14000f414
add rax, 4
cmp rax, 0x80
jl 0x14000f3d0
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 0x14000f456
lea rcx, str.atiadlxy.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x14000f456
lea rdx, str.AMD_ADL_library_not_found._n
xor ecx, ecx
call fcn.140010790
jmp 0x14000f5e5
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 [0x140132ea0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Adapter_NumberOfAdapters_Get
mov rcx, rbx
mov qword [0x140132eb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Adapter_AdapterInfo_Get
mov rcx, rbx
mov qword [0x140132eb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Adapter_Active_Get
mov rcx, rbx
mov qword [0x140132e90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ADL_Overdrive_Caps
mov rcx, rbx
mov qword [0x140132e98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, qword [0x140132ea0]
mov qword [0x140132ea8], rax
test r8, r8
je 0x14000f5d3
cmp qword [0x140132eb8], rdi
je 0x14000f5d3
cmp qword [0x140132eb0], rdi
je 0x14000f5d3
cmp qword [0x140132e90], rdi
je 0x14000f5d3
cmp qword [0x140132e98], rdi
je 0x14000f5d3
test rax, rax
je 0x14000f5d3
lea rcx, [0x14000d2d0]
mov edx, 1
call r8
test eax, eax
je 0x14000f550
lea rdx, str.ADL_Initialization_Error__n
jmp 0x14000f5da
lea rcx, [rsi + 0x10]
call qword [0x140132eb0]
test eax, eax
je 0x14000f567
lea rdx, str.Cannot_get_the_number_of_adapters__n
jmp 0x14000f5da
movsxd rax, dword [rsi + 0x10]
mov qword [rsp + 0x38], rbp
mov rbp, rdi
test eax, eax
jle 0x14000f5c3
mov rbx, rax
imul rbx, rbx, 0x624
mov rcx, rbx
call fcn.140089b68
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.140091e20
mov edx, dword [rsi + 0x10]
mov rcx, rbp
imul edx, edx, 0x624
call qword [0x140132e90]
test eax, eax
je 0x14000f5c3
lea rdx, str.adl_get_adapter_infor_returned_error__d_n
mov r8d, eax
mov ecx, 2
call fcn.140010790
cmp dword [rsi + 0x10], edi
mov qword [rsi], rbp
mov rbp, qword [rsp + 0x38]
setg al
jmp 0x14000f5e7
lea rdx, str.ADLs_API_is_missing__n
xor ecx, ecx
call fcn.140010790
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