Function at 0x140092f9c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x6b0
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov rdi, qword [rcx + 0x110]
xor r13d, r13d
mov rbx, rcx
mov ebp, r13d
mov qword [rsp + 0x38], rdi
cmp rdi, r13
jne 0x140092fee
xor eax, eax
jmp 0x140093aa4
mov rax, qword [rdi + 8]
cmp qword [rax + 0x38], r13
je 0x140092fe7
mov qword [rcx + 0x120], r13
lea rax, [rcx + 0x510]
mov edx, 0xfa
add rcx, 0x128
mov r12d, 1
mov dword [rcx], r13d
mov qword [rax], r13
add rax, 8
add rcx, 4
sub rdx, r12
jne 0x140093018
lea rcx, str.atiadlxx.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x118], rax
cmp rax, r13
jne 0x140093058
lea rcx, str.atiadlxy.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x118], rax
mov rcx, qword [rbx + 0x118]
cmp rcx, r13
je 0x140093a89
lea rdx, str.ADL_Main_Control_Create
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Main_Control_Destroy
mov qword [rbx + 0x1c80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Adapter_NumberOfAdapters_Get
mov qword [rbx + 0x1c88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Adapter_AdapterInfo_Get
mov qword [rbx + 0x1c90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Adapter_Active_Get
mov qword [rbx + 0x1c98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Display_ColorCaps_Get
mov qword [rbx + 0x1ca0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Display_Color_Get
mov qword [rbx + 0x1ca8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Display_Color_Set
mov qword [rbx + 0x1cb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Display_DisplayInfo_Get
mov qword [rbx + 0x1cb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Adapter_MemoryInfo_Get
mov qword [rbx + 0x1cc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Adapter_MemoryInfo3_Get
mov qword [rbx + 0x1cc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Adapter_ClockInfo_Get
mov qword [rbx + 0x1cd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_Main_Control_Create
mov qword [rbx + 0x1cd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_Main_Control_Destroy
mov qword [rbx + 0x1ce0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_Adapter_Active_Get
mov qword [rbx + 0x1ce8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_Adapter_PMLog_Support_Get
mov qword [rbx + 0x1cf0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_Adapter_PMLog_Start
mov qword [rbx + 0x1cf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_Adapter_PMLog_Stop
mov qword [rbx + 0x1d00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_Desktop_Device_Create
mov qword [rbx + 0x1d08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_Desktop_Device_Destroy
mov qword [rbx + 0x1d10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
mov qword [rbx + 0x1d18], rax
lea rdx, str.ADL2_New_QueryPMLogData_Get
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_Adapter_VideoBiosInfo_Get
mov qword [rbx + 0x1d20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_Adapter_Graphic_Core_Info_Get
mov qword [rbx + 0x1d28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Overdrive5_Temperature_Get
mov qword [rbx + 0x1d30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Overdrive5_FanSpeedInfo_Get
mov qword [rbx + 0x1d38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Overdrive5_FanSpeed_Get
mov qword [rbx + 0x1d40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Overdrive5_CurrentActivity_Get
mov qword [rbx + 0x1d48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Overdrive5_ODParameters_Get
mov qword [rbx + 0x1d50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Overdrive5_ODPerformanceLevels_Get
mov qword [rbx + 0x1d58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Overdrive5_PowerControl_Get
mov qword [rbx + 0x1d60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Overdrive6_CurrentStatus_Get
mov qword [rbx + 0x1d68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL_Overdrive6_FanSpeed_Get
mov qword [rbx + 0x1d70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_Overdrive6_CurrentPower_Get
mov qword [rbx + 0x1d78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_Overdrive8_Init_Setting_Get
mov qword [rbx + 0x1d80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_Overdrive8_Init_SettingX2_Get
mov qword [rbx + 0x1d88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_OverdriveN_Capabilities_Get
mov qword [rbx + 0x1d90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_OverdriveN_CapabilitiesX2_Get
mov qword [rbx + 0x1d98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x118]
lea rdx, str.ADL2_OverdriveN_PowerLimit_Get
mov qword [rbx + 0x1da0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x1da8], rax
mov rax, qword [rbx + 0x1c80]
cmp rax, r13
je 0x140093a89
lea rcx, [0x140092aa8]
mov edx, r12d
call rax
cmp eax, r13d
jne 0x140093a89
mov rdx, qword [rbx + 0x1c90]
mov eax, r13d
mov dword [rsp + 0x30], eax
cmp rdx, r13
je 0x1400934a6
lea rcx, [rsp + 0x30]
call rdx
mov eax, dword [rsp + 0x30]
mov r9, qword [rbx + 0x1ce0]
cmp r9, r13
je 0x1400934ca
lea r8, [rbx + 0x120]
lea rcx, [0x140092aa8]
mov edx, r12d
call r9
mov eax, dword [rsp + 0x30]
cmp eax, r13d
jle 0x140093a7b
movsxd rcx, eax
mov ebp, r12d
imul rcx, rcx, 0x624
call fcn.140158508
movsxd r8, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
mov r12, rax
imul r8, r8, 0x624
call fcn.140158a90
mov r11, qword [rbx + 0x1c98]
cmp r11, r13
je 0x14009351a
mov edx, dword [rsp + 0x30]
mov rcx, r12
imul edx, edx, 0x624
call r11
cmp dword [rsp + 0x30], r13d
mov r15d, r13d
jle 0x140093a6c
lea r13, [r12 + 0x110]
xor ecx, ecx
mov rax, qword [rbx + 0x1ca0]
mov r14d, dword [r13 - 0x10c]
cmp rax, rcx
je 0x140093a54
mov dword [rsp + 0x34], ecx
lea rdx, [rsp + 0x34]
mov ecx, r14d
call rax
xor ecx, ecx
cmp eax, ecx
jne 0x140093a54
mov r9d, dword [r13]
mov r8d, dword [r13 - 4]
mov edx, dword [r13 - 8]
mov rcx, rdi
call fcn.140056364
xor ecx, ecx
mov rdi, rax
cmp rax, rcx
je 0x140093a4f
mov rcx, rax
call fcn.140061f7c
cmp eax, 0x1002
jne 0x140093a4d
mov r8d, r14d
mov rdx, rbx
mov rcx, rdi
call fcn.14005fbb0
movsxd rax, r15d
lea rcx, [rdi + 0x20]
imul rax, rax, 0x624
lea r8, [rax + r12 + 0x118]
mov edx, 0x100
call fcn.140158644
mov rcx, rdi
call fcn.14005fc94
xor edx, edx
mov r14, rax
cmp rax, rdx
je 0x1400938d3
mov rax, qword [rax + 0x28]
mov r8d, 0x687f
cmp word [rax + 0xa], r8w
jne 0x140093627
movzx edx, byte [rax + 0x10]
sub edx, 0xc0
je 0x14009360a
sub edx, 1
je 0x14009360a
cmp edx, 2
jne 0x140093625
lea r8, str.AMD_Radeon_RX_Vega_56
jmp 0x140093611
lea r8, str.AMD_Radeon_RX_Vega_64
lea rcx, [rdi + 0x20]
mov edx, 0x100
call fcn.140158644
mov r8d, 0x687f
xor edx, edx
mov rax, qword [r14 + 0x28]
movzx ecx, word [rax + 0xa]
mov eax, 0x7340
cmp ecx, eax
jg 0x1400937b9
je 0x1400937fb
mov eax, 0x164e
cmp ecx, eax
jg 0x14009378f
je 0x1400937fb
sub ecx, 0x1506
je 0x1400937fb
sub ecx, 0xb9
je 0x1400937fb
sub ecx, 0x1e
je 0x140093680
sub ecx, 0x59
je 0x140093680
cmp ecx, 2
jne 0x1400938d3
cmp qword [rbx + 0x1d10], rdx
je 0x1400938d3
cmp qword [rbx + 0x1cf8], rdx
je 0x1400938d3
cmp qword [rbx + 0x1d00], rdx
je 0x1400938d3
cmp qword [rbx + 0x1d08], rdx
je 0x1400938d3
mov rdx, rbx
mov rcx, rdi
call fcn.14005fc14
movsxd rbp, eax
xor eax, eax
lea r14, [rbx + rbp*4 + 0x128]
cmp dword [r14], eax
jne 0x1400938d3
mov rcx, qword [rbx + 0x120]
mov r8, r14
mov edx, ebp
call qword [rbx + 0x1d10]
xor ecx, ecx
cmp eax, ecx
jne 0x1400938d3
mov rcx, qword [rbx + 0x120]
lea r8, [rsp + 0x460]
mov edx, ebp
call qword [rbx + 0x1cf8]
xor r8d, r8d
cmp eax, r8d
jne 0x1400938d3
movzx eax, word [rsp + 0x460]
mov rcx, r8
cmp ax, r8w
je 0x140093745
mov rdx, r8
inc rcx
mov word [rsp + rdx + 0x160], ax
lea rdx, [rcx + rcx]
mov ax, word [rsp + rdx + 0x460]
cmp ax, r8w
jne 0x140093728
mov eax, dword [r14]
mov rcx, qword [rbx + 0x120]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x160]
mov edx, ebp
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x360], 0x3e8
call qword [rbx + 0x1d00]
xor ecx, ecx
cmp eax, ecx
jne 0x1400938d3
mov rax, qword [rsp + 0x50]
mov qword [rbx + rbp*8 + 0x510], rax
jmp 0x1400938d3
cmp ecx, 0x1681
je 0x1400937fb
cmp ecx, 0x66af
je 0x140093680
cmp ecx, r8d
je 0x140093680
cmp ecx, 0x731f
je 0x1400937fb
jmp 0x1400938d3
mov eax, 0x73ff
cmp ecx, eax
jg 0x1400937e0
je 0x1400937fb
sub ecx, 0x73a5
je 0x1400937fb
sub ecx, 0xa
je 0x1400937fb
sub ecx, 0x10
je 0x1400937fb
sub ecx, 0x20
je 0x1400937fb
cmp ecx, 0x10
jmp 0x1400937b2
sub ecx, 0x743f
je 0x1400937fb
sub ecx, 0xd
je 0x1400937fb
sub ecx, 0x32
je 0x1400937fb
cmp ecx, 2
jne 0x1400938d3
cmp qword [rbx + 0x120], rdx
je 0x1400938d3
cmp qword [rbx + 0x1cf8], rdx
je 0x1400938d3
cmp qword [rbx + 0x1d20], rdx
je 0x1400938d3
mov rdx, rbx
mov rcx, rdi
call fcn.14005fc14
movsxd r14, eax
xor eax, eax
mov rbp, r14
cmp qword [rbx + r14*8 + 0xce0], rax
jne 0x1400938d3
mov ecx, 0x240
call fcn.14013f12c
mov edx, r14d
mov qword [rbx + r14*8 + 0xce0], rax
mov rcx, qword [rbx + 0x120]
mov r8, rax
call qword [rbx + 0x1cf8]
xor ecx, ecx
cmp eax, ecx
jne 0x1400938bc
cmp qword [rbx + r14*8 + 0x14b0], rcx
jne 0x1400938d3
mov ecx, 0x804
call fcn.14013f12c
mov edx, r14d
mov qword [rbx + r14*8 + 0x14b0], rax
mov rcx, qword [rbx + 0x120]
mov r8, rax
call qword [rbx + 0x1d20]
xor r14d, r14d
cmp eax, r14d
je 0x1400938d3
mov rcx, qword [rbx + rbp*8 + 0x14b0]
call fcn.14013f178
mov qword [rbx + rbp*8 + 0x14b0], r14
jmp 0x1400938d3
mov rcx, qword [rbx + r14*8 + 0xce0]
call fcn.14013f178
xor eax, eax
mov qword [rbx + r14*8 + 0xce0], rax
xor ebp, ebp
cmp qword [rbx + 0x1d88], rbp
je 0x140093920
lea rcx, [rsp + 0x160]
xor edx, edx
mov r8d, 0x278
call fcn.140158a90
mov rdx, rbx
mov rcx, rdi
mov dword [rsp + 0x160], 0x27
call fcn.14005fc14
mov rcx, qword [rbx + 0x120]
lea r8, [rsp + 0x160]
mov edx, eax
call qword [rbx + 0x1d88]
cmp qword [rbx + 0x1d28], rbp
je 0x14009394b
mov rdx, rbx
mov rcx, rdi
call fcn.14005fc14
mov rcx, qword [rbx + 0x120]
lea r8, [rsp + 0x160]
mov edx, eax
call qword [rbx + 0x1d28]
cmp qword [rbx + 0x1d30], rbp
je 0x140093990
mov rdx, rbx
mov rcx, rdi
call fcn.14005fc14
mov rcx, qword [rbx + 0x120]
lea r8, [rsp + 0x50]
mov edx, eax
call qword [rbx + 0x1d30]
cmp eax, ebp
jne 0x140093990
mov eax, dword [rsp + 0x60]
mov dword [rdi + 0x4c8], eax
mov eax, dword [rsp + 0x58]
imul eax, dword [rsp + 0x54]
mov dword [rdi + 0x4cc], eax
cmp qword [rbx + 0x1d98], rbp
je 0x1400939d0
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8d, 0xa4
call fcn.140158a90
mov rdx, rbx
mov rcx, rdi
call fcn.14005fc14
mov rcx, qword [rbx + 0x120]
lea r8, [rsp + 0x90]
mov edx, eax
call qword [rbx + 0x1d98]
cmp qword [rbx + 0x1da0], rbp
je 0x140093a10
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8d, 0xd0
call fcn.140158a90
mov rdx, rbx
mov rcx, rdi
call fcn.14005fc14
mov rcx, qword [rbx + 0x120]
lea r8, [rsp + 0x90]
mov edx, eax
call qword [rbx + 0x1da0]
cmp qword [rbx + 0x1da8], rbp
je 0x140093a48
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0xc]
call fcn.140158a90
mov rdx, rbx
mov rcx, rdi
call fcn.14005fc14
mov rcx, qword [rbx + 0x120]
lea r8, [rsp + 0x40]
mov edx, eax
call qword [rbx + 0x1da8]
mov ebp, 1
xor ecx, ecx
mov rdi, qword [rsp + 0x38]
inc r15d
add r13, 0x624
cmp r15d, dword [rsp + 0x30]
jl 0x140093532
xor r13d, r13d
cmp r12, r13
je 0x140093aa2
mov rcx, r12
call fcn.140158604
jmp 0x140093aa2
mov rax, qword [rbx + 0x1c88]
cmp rax, r13
je 0x140093a89
call rax
mov rcx, qword [rbx + 0x118]
cmp rcx, r13
je 0x140093aa2
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x118], r13
mov eax, ebp
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.140156fd0
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret