Function at 0x14003b8b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x760]
sub rsp, 0x860
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rbp + 0x750], rax
mov qword [rsp + 0x50], r9
mov r12, r8
mov r15, rdx
mov r13, rcx
mov edi, 0x1ec
mov r8d, edi
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, r12
mov rcx, r15
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x14003b9a3
lea rax, [rbp + 0x158]
mov qword [rbp + 0x150], rax
lea edi, [rbx + 3]
mov r8d, edi
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x150]
call fcn.140013994
nop
mov rax, qword [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, str.UID:__s_n
mov r8d, edi
lea rdx, str.cpt_multi_monitor::get_monitor_name_from_edid
lea rcx, str.c:jenkinsworkspaceClientClientWindows_release_as_asCptHostwindowscpt_multi_monitor.cpp
call fcn.140075ffc
nop
lea rax, [rbp + 0x158]
mov rcx, qword [rbp + 0x150]
cmp rcx, rax
je 0x14003b9cf
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14003b9cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, str.ERROR:__d_n
mov edi, 3
mov r8d, edi
lea rdx, str.cpt_multi_monitor::get_monitor_name_from_edid
lea rcx, str.c:jenkinsworkspaceClientClientWindows_release_as_asCptHostwindowscpt_multi_monitor.cpp
call fcn.140075ffc
mov r9d, 0x100
mov dword [rsp + 0x48], r9d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x550]
mov rdx, r12
mov rcx, r15
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
test eax, eax
je 0x14003ba63
lea rax, [rbp + 0x158]
mov qword [rbp + 0x150], rax
mov r8d, edi
lea rdx, [rbp + 0x550]
lea rcx, [rbp + 0x150]
call fcn.140013994
nop
mov rax, qword [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, str.InstanceId:__s_n
mov r8d, edi
lea rdx, str.cpt_multi_monitor::get_monitor_name_from_edid
lea rcx, str.c:jenkinsworkspaceClientClientWindows_release_as_asCptHostwindowscpt_multi_monitor.cpp
call fcn.140075ffc
nop
lea rax, [rbp + 0x158]
mov rcx, qword [rbp + 0x150]
cmp rcx, rax
je 0x14003ba63
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [rsp + 0x28], 0x20019
mov eax, 1
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, eax
mov rdx, r12
mov rcx, r15
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14003bb25
mov dword [rsp + 0x40], 0x400
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, str.EDID
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003bb1a
mov r8, qword [rsp + 0x50]
lea rdx, [rbp + 0x150]
mov rcx, r13
call fcn.14003bed4
cmp dword [rsp + 0x40], ebx
jbe 0x14003bb1a
mov eax, ebx
movzx ecx, byte [rbp + rax + 0x150]
mov dword [rsp + 0x20], ecx
lea r9, str._02x
mov r8d, edi
lea rdx, str.cpt_multi_monitor::get_monitor_name_from_edid
lea rcx, str.c:jenkinsworkspaceClientClientWindows_release_as_asCptHostwindowscpt_multi_monitor.cpp
call fcn.140075ffc
inc ebx
cmp ebx, dword [rsp + 0x40]
jb 0x14003bae7
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003bb4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, str.ERROR:_d_n
mov r8d, edi
lea rdx, str.cpt_multi_monitor::get_monitor_name_from_edid
lea rcx, str.c:jenkinsworkspaceClientClientWindows_release_as_asCptHostwindowscpt_multi_monitor.cpp
call fcn.140075ffc
mov rcx, qword [rbp + 0x750]
xor rcx, rsp
call fcn.14007e630
mov rbx, qword [rsp + 0x890]
add rsp, 0x860
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret