Function at 0x140001cd0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
jmp 0x140001cd0
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa00
mov rax, qword [0x140042258]
xor rax, rsp
mov qword [rsp + 0x9f0], rax
mov rsi, rcx
lea rcx, str.Entering_EnumPrintPortMonitorReg___n
call fcn.140004ea0
movzx eax, byte [0x140036de2]
lea rcx, [rsp + 0xb1]
xor ebp, ebp
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0xb0], al
mov dword [rsp + 0x64], 0x104
mov edi, ebp
call fcn.140006730
lea r8, str.SystemCurrentControlSetControlPrintMonitorsHP_Standard_TCP_IP_PortPorts
lea rcx, [rsp + 0x1c0]
mov edx, 0x104
mov dword [rsp + 0x68], 0x104
call fcn.140006270
lea r11, [rsp + 0x80]
lea rdx, [rsp + 0x1c0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
movzx r11d, byte [0x140036de2]
lea rcx, [rsp + 0x2d1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x2d0], r11b
call fcn.140006730
mov rcx, qword [rsp + 0x80]
lea rax, [rsp + 0x90]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x2d0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xa4]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xa8]
mov dword [rsp + 0x78], 0x104
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x98]
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x9c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov r11d, dword [rsp + 0x60]
test r11d, r11d
je 0x14000206c
mov qword [rsp + 0xa10], rbx
mov ebx, ebp
test r11d, r11d
je 0x140002064
nop word [rax + rax]
mov rcx, qword [rsp + 0x80]
lea rax, [rsp + 0x90]
lea r9, [rsp + 0x7c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x3e0]
mov edx, ebx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x7c], 0xff
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x140002058
lea r8, [rsp + 0x1c0]
lea rcx, [rsp + 0x5f0]
mov edx, 0x400
call fcn.140006270
lea r8, [0x140037084]
lea rcx, [rsp + 0x5f0]
mov edx, 0x400
call fcn.14000647c
lea r8, [rsp + 0x3e0]
lea rcx, [rsp + 0x5f0]
mov edx, 0x400
call fcn.14000647c
lea rdx, [rsp + 0x5f0]
lea rcx, str.__Port_to_compare_IPv6_address__s_n
call fcn.140004ea0
lea r11, [rsp + 0x70]
lea rdx, [rsp + 0x5f0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001f90
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x64]
lea rdx, str.DeviceGUID
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001f90
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x64]
lea rdx, str.DeviceGUID
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r8, qword [0x140042028]
lea rax, [rsp + 0xb0]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001fb5
inc rax
test ecx, ecx
jne 0x140001fa2
test edx, edx
jne 0x140002058
lea rcx, str.__Compare_DeviceGUID_n
call fcn.140004ea0
mov rcx, qword [rsp + 0x70]
lea r11, [rsp + 0x68]
mov qword [rsp + 0x28], r11
lea rdx, str.IPv6AddressEx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140002058
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
lea rdx, str.IPv6AddressEx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4e0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsp + 0x4e0]
mov rdx, rsi
sub rdx, r11
movzx ecx, byte [r11]
movzx eax, byte [r11 + rdx]
sub ecx, eax
jne 0x140002045
inc r11
test eax, eax
jne 0x140002031
test ecx, ecx
jne 0x140002058
lea edi, [rcx + 1]
lea rcx, str.__IPv6_addresses_compare_so_this_is_the_one_well_use_n
call fcn.140004ea0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x140001e60
mov rbx, qword [rsp + 0xa10]
lea rcx, str.Leaving_EnumPrintPortMonitorReg___n
call fcn.140004ea0
mov eax, edi
mov rcx, qword [rsp + 0x9f0]
xor rcx, rsp
call fcn.140006700
lea r11, [rsp + 0xa00]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret