Function at 0x1400265b0
Capabilities:
Create thread
Query or enumerate registry value
Set console window title

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140108708]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xor esi, esi
mov rcx, qword [0x14010ccc0]
test rcx, rcx
je 0x1400265fd
call fcn.14009b1f0
mov qword [0x14010ccc0], rsi
mov dword [rbp - 0x50], esi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalNGXCore
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400266b4
mov dword [rbp - 0x4c], 4
mov dword [rbp - 0x48], esi
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LogLevel
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp - 0x48]
test eax, eax
cmovne ecx, esi
mov dword [0x14010cc94], ecx
mov dword [rbp - 0x4c], 4
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.EnableConsoleLogging
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp - 0x50]
test eax, eax
cmovne ecx, esi
mov dword [rbp - 0x50], ecx
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
lea rdx, [rbp - 0x30]
call fcn.140025f40
or rbx, 0xffffffffffffffff
test al, al
je 0x140026731
lea r8d, [rbx + 2]
lea rdx, [0x1400eed34]
lea rcx, [rbp - 0x30]
call fcn.14001b440
cmp word [rdi], 0
jne 0x1400266f4
mov r8, rsi
jmp 0x14002670b
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140026700
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.14001b440
lea rdi, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdi, qword [rbp - 0x30]
mov dword [0x14010cc94], 0x100
jmp 0x140026742
mov eax, dword [0x14010cc94]
test eax, eax
cmovs eax, esi
mov dword [0x14010cc94], eax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140026120]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14010cca8], rax
mov ecx, dword [0x14010cc94]
test ecx, ecx
je 0x140026843
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov qword [0x14010ccb8], rax
mov qword [0x14010ccd0], rsi
cmp ecx, 2
jl 0x1400267e5
cmp byte [0x14010cc90], 0
je 0x1400267bf
mov byte [0x14010cc93], 0
lea r9, str.Warning:_UWP_compliant_mode_enabled._Console_logging_disabled.
lea r8, str.ngx::util::setLogFilename
mov edx, 0x1ad
lea rcx, str.C:_dvs_p4_build_sw_rel_gpu_drv_r560_r560_88_drivers_ngx_common_nvngx_util_log.cpp
call fcn.1400268e0
jmp 0x1400267e5
cmp dword [rbp - 0x50], 0
jbe 0x1400267e5
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, [0x1400ef0e4]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov byte [0x14010cc93], 1
cmp byte [0x14010cc93], 0
sete byte [0x14010cc92]
test rdi, rdi
je 0x140026843
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140026800
test rbx, rbx
je 0x140026843
mov rcx, rdi
call fcn.140026340
mov qword [0x14010ccc0], rax
test rax, rax
setne bl
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14002683e
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.14001b320
movzx eax, bl
jmp 0x14002685f
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14002685d
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.14001b320
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140077880
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret