Function at 0x4170c7
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x80c
mov eax, 0x447d7f
call fcn.004444dc
mov dword [ebp - 0x818], ecx
mov eax, dword [ebp + 0x10]
xor esi, esi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x1ec
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x7fc]
push esi
push eax
mov dword [ebp - 0x810], ebx
mov dword [ebp - 0x800], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x804], esi
lea eax, [ebp - 0x7fc]
push esi
push 0x1ec
push eax
lea eax, [ebp - 0x804]
push eax
push esi
push edi
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x41719a
push 3
lea eax, [ebp - 0x90]
pop edi
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x94]
push edi
lea eax, [ebp - 0x7fc]
push eax
call fcn.00416318
mov dword [ebp - 4], esi
mov ebx, str.cpt_multi_monitor::get_monitor_name_from_edid
push dword [ebp - 0x94]
push str.UID:__s_n
push edi
push ebx
push str.C:jenkinsworkspacezoomciWindows_releaseAs_asCptHostwindowscpt_multi_monitor.cpp
call fcn.0043f6d4
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x94], eax
je 0x4171bd
push dword [ebp - 0x94]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x4171bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:__d_n
push 3
pop edi
push edi
mov ebx, str.cpt_multi_monitor::get_monitor_name_from_edid
push ebx
push str.C:jenkinsworkspacezoomciWindows_releaseAs_asCptHostwindowscpt_multi_monitor.cpp
call fcn.0043f6d4
add esp, 0x14
lea eax, [ebp - 0x808]
mov ecx, 0x100
push eax
push ecx
lea eax, [ebp - 0x610]
mov dword [ebp - 0x808], ecx
push eax
push dword [ebp - 0x800]
push dword [ebp - 0x810]
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
test eax, eax
je 0x41724c
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x94]
push edi
lea eax, [ebp - 0x610]
push eax
call fcn.00416318
mov dword [ebp - 4], 1
push dword [ebp - 0x94]
push str.InstanceId:__s_n
push edi
push ebx
push str.C:jenkinsworkspacezoomciWindows_releaseAs_asCptHostwindowscpt_multi_monitor.cpp
call fcn.0043f6d4
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x94], eax
je 0x41724c
push dword [ebp - 0x94]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
push 0x20019
push 1
push esi
push 1
push dword [ebp - 0x800]
push dword [ebp - 0x810]
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov dword [ebp - 0x810], eax
cmp eax, 0xffffffff
je 0x4172fc
lea ecx, [ebp - 0x800]
mov dword [ebp - 0x800], 0x400
push ecx
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x80c]
push ecx
push esi
push str.EDID
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4172ee
push dword [ebp - 0x814]
mov ecx, dword [ebp - 0x818]
lea eax, [ebp - 0x410]
push eax
call fcn.00417523
cmp dword [ebp - 0x800], 0
jbe 0x4172ee
movzx eax, byte [ebp + esi - 0x410]
push eax
push str._02x
push edi
push ebx
push str.C:jenkinsworkspacezoomciWindows_releaseAs_asCptHostwindowscpt_multi_monitor.cpp
call fcn.0043f6d4
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x800]
jb 0x4172c8
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x417317
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:_d_n
push edi
push ebx
push str.C:jenkinsworkspacezoomciWindows_releaseAs_asCptHostwindowscpt_multi_monitor.cpp
call fcn.0043f6d4
add esp, 0x14
call fcn.00444486
ret 0xc