Function at 0x140001130
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x1d8]
sub rsp, 0x2d8
mov rax, qword [0x140099110]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor ebx, ebx
mov byte [0x14009f464], 0
mov dword [0x14009f468], ebx
call fcn.140028bb0
test eax, eax
je 0x140001197
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.1400287a0
cmp byte [0x14009f464], bl
je 0x140001190
lea rdx, [rsp + 0x40]
lea rcx, str.NvAPI_Initialize_Error:__s_n
call fcn.1400010d0
xor al, al
jmp 0x14000153e
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.140028c60
test eax, eax
je 0x1400011d5
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.1400287a0
cmp byte [0x14009f464], bl
je 0x140001190
lea rdx, [rsp + 0x40]
lea rcx, str.NvAPI_SYS_GetDriverAndBranchVersion_Error:__s_n
call fcn.1400010d0
xor al, al
jmp 0x14000153e
cmp byte [0x14009f464], bl
je 0x140001217
mov r8d, dword [rsp + 0x38]
lea rcx, str.NVIDIA_driver_version_:__d._d_n
mov eax, 0x51eb851f
mul r8d
shr edx, 5
imul eax, edx, 0x64
sub r8d, eax
call fcn.1400010d0
cmp byte [0x14009f464], bl
je 0x140001217
lea rdx, [rbp - 0x80]
lea rcx, str.NVIDIA_driver_branch__:__s_n
call fcn.1400010d0
lea rcx, [rbp - 0x40]
call fcn.140028860
test eax, eax
je 0x140001254
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.1400287a0
cmp byte [0x14009f464], bl
je 0x140001190
lea rdx, [rsp + 0x40]
lea rcx, str.NvAPI_GetInterfaceVersion_Error:__s_n
call fcn.1400010d0
xor al, al
jmp 0x14000153e
cmp byte [0x14009f464], bl
mov qword [rsp + 0x2f0], rsi
mov qword [rsp + 0x2f8], rdi
mov qword [rsp + 0x300], r14
je 0x140001298
lea rdx, [rbp - 0x40]
lea rcx, str.NvAPI_InterfaceVersion:__s_n
call fcn.1400010d0
cmp byte [0x14009f464], bl
je 0x140001298
lea rcx, [0x140082434]
call fcn.1400010d0
mov edi, ebx
lea rsi, [0x14009fc70]
cmp edi, 0x80
jge 0x1400012c7
movsxd rax, edi
mov ecx, edi
lea rdx, [rsi + rax*8]
call fcn.140028290
test eax, eax
jne 0x1400012c1
inc dword [0x14009f468]
inc edi
test eax, eax
je 0x1400012a1
cmp dword [0x14009f468], ebx
lea rcx, str._nnvDisplayCount__0_n
je 0x1400012dd
lea rcx, str._nnvDisplayCount___0_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14009f468]
lea r14, [0x140000000]
mov edi, ebx
test eax, eax
je 0x140001335
nop word [rax + rax]
mov eax, edi
lea r8, [r14 + 0x9fa70]
lea rdx, [r14 + 0x9f470]
mov rcx, qword [rsi + rax*8]
lea r8, [r8 + rax*4]
lea rdx, [rdx + rax*8]
call fcn.140028930
test eax, eax
jne 0x14000140f
mov eax, dword [0x14009f468]
inc edi
cmp edi, eax
jb 0x140001300
mov edi, ebx
test eax, eax
je 0x14000151a
nop
mov ecx, edi
lea rdx, [r14 + 0x9f870]
lea rdx, [rdx + rcx*4]
mov rcx, qword [rsi + rcx*8]
call fcn.140028530
test eax, eax
jne 0x14000143b
mov eax, dword [0x14009f468]
inc edi
cmp edi, eax
jb 0x140001340
test eax, eax
jle 0x14000151a
mov qword [rsp + 0x2d0], r15
mov r15d, 0x100
mov ecx, ebx
call fcn.140001560
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x40]
call fcn.140001720
movzx r14d, byte [rbp + 0x49]
lea rdx, [rsp + 0x34]
movzx eax, byte [rbp + 0x48]
movzx ecx, r15w
imul r14d, ecx
lea rcx, [rbp + 0x40]
add r14w, ax
call fcn.140001720
movzx eax, byte [rbp + 0x4a]
lea rdx, [rbp]
movzx edi, byte [rbp + 0x4b]
movzx ecx, r15w
imul edi, ecx
mov rcx, qword [rsi]
add di, ax
call fcn.140028600
test eax, eax
je 0x140001467
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.1400287a0
cmp byte [0x14009f464], 0
je 0x140001500
lea r8, [rsp + 0x40]
mov edx, ebx
lea rcx, str.NvAPI_GetAssociatedNvidiaDisplayName___d__Error:__s_n
call fcn.1400010d0
jmp 0x140001500
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.1400287a0
cmp byte [0x14009f464], bl
je 0x140001460
lea rdx, [rsp + 0x40]
lea rcx, str.NvAPI_EnumNvidiaDisplayHandle_Error:__s_n
call fcn.1400010d0
xor al, al
jmp 0x140001526
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.1400287a0
cmp byte [0x14009f464], bl
je 0x140001460
lea rdx, [rsp + 0x40]
lea rcx, str.NvAPI_GetAssociatedDisplayOutputId_Error:__s_n
call fcn.1400010d0
xor al, al
jmp 0x140001526
cmp byte [0x14009f464], 0
je 0x140001500
mov edx, ebx
lea rcx, str.Display_Nr__d:_n
call fcn.1400010d0
cmp byte [0x14009f464], 0
je 0x140001500
movzx edx, r14w
mov ecx, edx
mov r9d, edx
shr ecx, 8
mov eax, edx
and ecx, 0x1f
shr r9d, 0xd
add ecx, 0x40
mov r8d, edx
shr r8d, 2
and eax, 3
add r9d, 0x40
shl eax, 3
and r8d, 0x1f
mov dword [rsp + 0x20], ecx
lea rcx, str.__Vendor__ID:__04X___c_c_c__n
or r9d, eax
add r8d, 0x40
call fcn.1400010d0
cmp byte [0x14009f464], 0
je 0x140001500
movzx edx, di
lea rcx, str.__Product_ID:__04X_n
call fcn.1400010d0
cmp byte [0x14009f464], 0
je 0x140001500
lea rdx, [rbp]
lea rcx, str.__Name______:__s_n
call fcn.1400010d0
inc ebx
add rsi, 8
cmp ebx, dword [0x14009f468]
jl 0x140001380
mov r15, qword [rsp + 0x2d0]
mov dword [0x14009f46c], 3
mov al, 1
mov rdi, qword [rsp + 0x2f8]
mov rsi, qword [rsp + 0x2f0]
mov r14, qword [rsp + 0x300]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14006e6d0
add rsp, 0x2d8
pop rbx
pop rbp
ret