Function at 0x1400ffad0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x9f0]
sub rsp, 0xaf0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x9e0], rax
mov r15, r8
mov r14, rdx
lea rdx, str.CBaseDlgPrinterSelectDirect::IsPortLinkedWithIPAddress
lea rcx, [rsp + 0x50]
call fcn.14001abe0
nop
lea r12, [0x1402a8360]
lea rsi, [0x1402bbdb0]
mov rbx, qword [0x1402a8360]
cmp rbx, r12
je 0x1400ffbad
test byte [rbx + 0x1c], 1
je 0x1400ffb69
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x21
lea r8, [0x14025f850]
mov rcx, qword [rbx + 0x10]
call fcn.140001ad0
mov rbx, qword [0x1402a8360]
cmp rbx, r12
je 0x1400ffbad
test byte [rbx + 0x1c], 1
je 0x1400ffbad
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x22
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r8, [0x14025f850]
mov rcx, qword [rbx + 0x10]
call fcn.14002fbe0
mov rbx, qword [0x1402a8360]
xor edi, edi
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x48], rdi
xor edx, edx
mov r8d, 0x618
lea rcx, [rbp + 0x3c0]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1b0]
call fcn.1401e7e40
test r14, r14
je 0x1400ffe59
test r15, r15
je 0x1400ffe59
mov qword [rsp + 0x30], r14
lea rax, str.Standard_TCP_IP_PortPorts_
mov qword [rsp + 0x28], rax
lea rax, str.SystemCurrentControlSetControlPrintMonitors_
mov qword [rsp + 0x20], rax
lea r9, [0x14025b2e0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov edx, 0x30c
lea rcx, [rbp + 0x3c0]
call fcn.140051530
lea r8, str.IPAddress
mov edx, 0x104
lea rcx, [rbp - 0x60]
call fcn.1401ebfa8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x3c0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400ffdbc
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x40], 0x208
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ffce0
lea rax, [rbp + 0x1b0]
inc rbx
cmp word [rax + rbx*2], di
jne 0x1400ffcd2
test rbx, rbx
jne 0x1400ffd36
lea r8, str.HostName
mov edx, 0x104
lea rcx, [rbp - 0x60]
call fcn.1401ebfa8
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x40], 0x208
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ffd5c
mov rdx, r15
lea rcx, [rbp + 0x1b0]
call fcn.1401ecc18
test eax, eax
jne 0x1400ffdaf
lea edi, [rax + 1]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400ffe0f
mov rax, qword [0x1402a8360]
cmp rax, r12
je 0x1400ffdaf
test byte [rax + 0x1c], 2
je 0x1400ffdaf
mov rbx, rsi
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rsp + 0x50]
call fcn.14001b0b0
mov edx, 0x23
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x14025f850]
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400ffe0f
mov rbx, qword [0x1402a8360]
cmp rbx, r12
je 0x1400ffe16
test byte [rbx + 0x1c], 2
je 0x1400ffe16
mov rbx, rsi
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rsp + 0x50]
call fcn.14001b0b0
mov edx, 0x24
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x14025f850]
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rbx, qword [0x1402a8360]
mov byte [rsp + 0x58], 1
cmp rbx, r12
je 0x1400ffe59
test byte [rbx + 0x1c], 1
je 0x1400ffe59
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x25
mov dword [rsp + 0x20], edi
lea r8, [0x14025f850]
mov rcx, qword [rbx + 0x10]
call fcn.140001b40
mov rbx, qword [0x1402a8360]
lea rax, vtable.WppTrace.0
mov qword [rsp + 0x50], rax
cmp byte [rsp + 0x58], 0
jne 0x1400ffeb5
cmp rbx, r12
je 0x1400ffeb5
test byte [rbx + 0x1c], 1
je 0x1400ffeb5
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
cmp qword [0x1402bbdc8], 8
cmovae rsi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rcx
mov r9, rsi
lea r8, [0x140252818]
mov rcx, qword [rbx + 0x10]
call fcn.140006c90
lea rcx, [rbp - 0x80]
call fcn.1400048a0
lea rcx, [rsp + 0x60]
call fcn.1400048a0
mov eax, edi
mov rcx, qword [rbp + 0x9e0]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0xaf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret