Function at 0x14001e304
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rbp + 0x1e0], rbx
mov rax, qword [0x140078790]
xor rax, rbp
mov qword [rbp + 0x190], rax
mov esi, r9d
mov edi, r8d
mov rbx, rdx
mov r14, rcx
mov r12, qword [rbp + 0x200]
mov r15, qword [rbp + 0x208]
xor r8d, r8d
lea rdx, str.CDPCacheNameTranslator::TranslateName
lea rcx, [rbp + 0xe0]
call fcn.14002de00
nop
xor r13d, r13d
test rbx, rbx
je 0x14001e943
cmp word [rbx], r13w
je 0x14001e943
xor edx, edx
lea r8d, [r13 + 8]
mov rcx, r12
call fcn.140034b00
xor edx, edx
lea r8d, [r13 + 4]
mov rcx, r15
call fcn.140034b00
nop
cmp edi, esi
jne 0x14001e3b9
mov rdx, r12
mov rcx, rbx
call fcn.1400179e4
mov ebx, eax
jmp 0x14001e933
lea rdx, str.SOFTWAREDigitalPersonaDPHOSTNameTranslator
lea rcx, [rbp + 8]
call fcn.140014804
nop
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.140014804
nop
lea rdx, [0x140054958]
lea rcx, [rbp + 0x78]
call fcn.140014804
nop
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 8]
call fcn.1400162e0
nop
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x88]
mov rcx, rax
call fcn.1400162e0
mov rbx, rax
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 8]
cmp rax, rbx
je 0x14001e442
lea rcx, [rbp + 8]
call fcn.14002107c
mov rax, qword [rbx]
mov qword [rbp + 8], rax
test rax, rax
je 0x14001e442
lock inc dword [rax + 0x10]
lea rcx, [rbp + 0x88]
call fcn.14002107c
nop
lea rcx, [rbp + 0x90]
call fcn.14002107c
nop
lea rcx, [rbp + 0x78]
call fcn.14002107c
nop
lea rcx, [rbp + 0x80]
call fcn.14002107c
mov qword [rbp + 0x40], r13
mov dword [rbp + 0x48], r13d
mov qword [rbp + 0x50], r13
mov dword [rbp + 4], 0x80070002
mov rax, qword [rbp + 8]
test rax, rax
je 0x14001e493
mov r8, qword [rax]
jmp 0x14001e496
mov r8, r13
mov rdx, 0xffffffff80000002
mov r9d, 0x2001f
lea rcx, [rbp + 0x40]
call fcn.14000bad4
test eax, eax
jne 0x14001e8f9
lea r8, str.Name_found...
xor edx, edx
lea rcx, [rbp + 0xe0]
call fcn.140030824
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rbp + 0x150]
call fcn.140034b00
mov r9d, esi
lea r8, [0x1400549a0]
mov edx, 0x20
lea rcx, [rbp + 0x150]
call fcn.140022704
mov dword [rbp], r13d
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x58]
xor r8d, r8d
lea rdx, [rbp + 0x150]
mov rdi, qword [rbp + 0x40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14001e529
jmp 0x14001e52f
cmp dword [rbp + 0x58], 3
jne 0x14001e527
cmp dword [rbp], r13d
je 0x14001e8fd
lea r8, str.Translated_Name_found...
xor edx, edx
lea rcx, [rbp + 0xe0]
call fcn.140030824
mov eax, dword [rbp]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14001e564
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140033c40
sub rsp, rcx
lea rbx, [rsp + 0x30]
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x5c]
xor r8d, r8d
lea rdx, [rbp + 0x150]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14001e5a3
jmp 0x14001e5b0
cmp dword [rbp + 0x5c], 3
jne 0x14001e71e
mov eax, r13d
test eax, eax
jne 0x14001e8fd
mov eax, dword [rbp]
mov dword [rbp + 0x98], eax
mov qword [rbp + 0xa0], rbx
mov dword [rbp + 0x60], r13d
mov qword [rbp + 0x68], r13
mov dword [rbp + 0x70], r13d
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x60]
call fcn.140018c60
nop
mov esi, dword [rbp + 0x60]
test esi, esi
je 0x14001e600
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14001e5fb
lea rcx, [rbx - 8]
jmp 0x14001e5fe
mov rcx, r13
jmp 0x14001e607
mov rcx, r13
mov rbx, qword [rbp + 0x68]
lea rax, [rcx + 8]
neg rcx
sbb rcx, rcx
and rcx, rax
call fcn.140012db8
mov dword [r15], eax
mov qword [rbp + 0x38], r13
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov qword [rbp + 0x30], r13
cmp esi, 1
jbe 0x14001e647
lea rax, [rbx + 0x10]
test rax, rax
je 0x14001e642
lea rcx, [rbx + 8]
jmp 0x14001e645
mov rcx, r13
jmp 0x14001e64a
mov rcx, r13
lea rax, [rcx + 8]
neg rcx
sbb rdx, rdx
and rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140018fcc
cmp dword [r15], r13d
jl 0x14001e66b
mov eax, dword [r14 + 8]
jmp 0x14001e690
cmp dword [r15], 0x8007054b
jne 0x14001e67a
mov eax, dword [r14 + 0x10]
jmp 0x14001e690
cmp dword [r15], 0x80070102
jne 0x14001e68c
mov eax, dword [r14 + 8]
mov dword [r15], r13d
jmp 0x14001e690
mov eax, dword [r14 + 0xc]
imul rcx, rax, 0x3e8
imul rax, rcx, 0x2710
mov qword [rbp + 0xb8], rax
mov r8d, dword [rbp + 0x34]
shl r8, 0x20
mov ecx, dword [rbp + 0x30]
or r8, rcx
add r8, rax
mov qword [rbp + 0xc0], r8
mov dword [rbp + 0xc8], r8d
mov rax, r8
shr rax, 0x20
cmp dword [rbp + 0x210], r13d
jne 0x14001e723
mov rdx, rax
shl rdx, 0x20
mov eax, r8d
or rdx, rax
mov ecx, dword [rbp + 0x3c]
shl rcx, 0x20
mov eax, dword [rbp + 0x38]
or rcx, rax
cmp rcx, rdx
jb 0x14001e723
cmp dword [r15], r13d
jl 0x14001e715
mov dword [rbp + 4], 0x80070102
lea r8, str.Translation_succeeded_but_expired...
xor edx, edx
lea rcx, [rbp + 0xe0]
call fcn.140030824
nop
lea rcx, [rbp + 0x60]
call fcn.1400174d8
jmp 0x14001e8fd
cmp esi, 2
jbe 0x14001e73c
lea rax, [rbx + 0x20]
test rax, rax
je 0x14001e737
lea rax, [rbx + 0x18]
jmp 0x14001e73a
mov rax, r13
jmp 0x14001e73f
mov rax, r13
test rax, rax
lea rdx, [rax + 8]
jne 0x14001e74b
mov rdx, r13
lea r15, vtable.CCryptBlob_struct__CRYPTOAPI_BLOB__class__heap_allocator_.0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x20], r13
lea rcx, [rbp + 0x10]
call fcn.140007fb0
nop
lea rax, vtable.CDPAnyBlob.0
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x28], 0x19
lea r14, vtable.CDPWStrBlob.0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x28], 6
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14001985c
mov rbx, qword [rbp + 0x20]
cmp dword [rbp + 0x18], r13d
je 0x14001e889
test rbx, rbx
je 0x14001e889
mov rcx, rbx
call fcn.140037f9c
test rax, rax
jne 0x14001e827
lea r8, str.Zero_length_name___
xor edx, edx
lea rcx, [rbp + 0xe0]
call fcn.140030824
nop
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x10], r15
mov rcx, rbx
call fcn.140009660
mov qword [rbp + 0x20], r13
mov dword [rbp + 0x18], r13d
lea rcx, [rbp + 0x60]
call fcn.1400174d8
nop
test rdi, rdi
je 0x14001e803
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x40], r13
mov dword [rbp + 0x48], r13d
lea rcx, [rbp + 8]
call fcn.14002107c
nop
lea rcx, [rbp + 0xe0]
call fcn.14002e7a8
mov eax, 0x8000ffff
jmp 0x14001e954
mov rdx, r12
mov rcx, rbx
call fcn.1400179e4
mov esi, eax
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x10], r15
mov rcx, rbx
call fcn.140009660
mov qword [rbp + 0x20], r13
mov dword [rbp + 0x18], r13d
lea rcx, [rbp + 0x60]
call fcn.1400174d8
nop
test rdi, rdi
je 0x14001e868
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x40], r13
mov dword [rbp + 0x48], r13d
lea rcx, [rbp + 8]
call fcn.14002107c
nop
lea rcx, [rbp + 0xe0]
call fcn.14002e7a8
mov eax, esi
jmp 0x14001e954
lea r8, str.Empty_name___
xor edx, edx
lea rcx, [rbp + 0xe0]
call fcn.140030824
nop
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x10], r15
test rbx, rbx
je 0x14001e8b4
mov rcx, rbx
call fcn.140009660
mov qword [rbp + 0x20], r13
mov dword [rbp + 0x18], r13d
lea rcx, [rbp + 0x60]
call fcn.1400174d8
nop
test rdi, rdi
je 0x14001e8d8
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x40], r13
mov dword [rbp + 0x48], r13d
lea rcx, [rbp + 8]
call fcn.14002107c
nop
lea rcx, [rbp + 0xe0]
call fcn.14002e7a8
mov eax, 0x8000ffff
jmp 0x14001e954
mov rdi, qword [rbp + 0x40]
test rdi, rdi
je 0x14001e90f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x40], r13
mov dword [rbp + 0x48], r13d
lea rcx, [rbp + 8]
call fcn.14002107c
nop
lea rcx, [rbp + 0xe0]
call fcn.14002e7a8
mov eax, dword [rbp + 4]
jmp 0x14001e954
lea rcx, [rbp + 0xe0]
call fcn.14002e7a8
mov eax, ebx
jmp 0x14001e954
lea rcx, [rbp + 0xe0]
call fcn.14002e7a8
mov eax, 0x80070057
mov rcx, qword [rbp + 0x190]
xor rcx, rbp
call fcn.140033cb0
mov rbx, qword [rbp + 0x1e0]
lea rsp, [rbp + 0x1a0]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret