Function at 0x1400d8ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rcx, qword [0x14018ddf0]
mov word [rsp + 0x60], cx
lea eax, [rcx + 2]
mov word [rsp + 0x62], ax
mov rax, qword [str.SystemCurrentControlSetControlNetworkProviderOrder]
mov qword [rsp + 0x68], rax
cmp rcx, 0xfffe
ja 0x1400d90b3
xor r8d, r8d
lea rax, [rsp + 0x50]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
lea rcx, [r8 - 3]
call fcn.1400da6c0
test eax, eax
js 0x1400d90b3
lea r8, [rbp - 0x50]
mov qword [rsp + 0x148], rbx
mov edx, 0x20019
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
test rcx, rcx
je 0x1400d8b50
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x1400d90ab
mov rcx, qword [0x140196670]
lea rax, str.ProviderOrder
mov qword [rsp + 0x140], rsi
mov r8d, 0x100
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x120], r14
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x118], r15
xor r15d, r15d
mov qword [rbp + 0x78], r15
mov dword [rsp + 0x70], 0x1c001a
mov qword [rsp + 0x78], rax
lea esi, [r15 + 0x10]
mov dword [rbp + 0x60], 0x100
lea edx, [rsi - 0xc]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
nop dword [rax]
lea rax, [rbp + 0x60]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x70]
mov eax, dword [rbp + 0x60]
mov r8d, 2
mov rcx, r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov edi, eax
test eax, eax
jns 0x1400d8c2b
mov rcx, qword [0x140196670]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp edi, 0x80000005
jne 0x1400d8c27
mov r8d, dword [rbp + 0x60]
mov edx, 4
mov rcx, qword [0x140196670]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
add esi, 0xffffffff
jne 0x1400d8bc0
jmp 0x1400d8c2b
mov rbx, qword [rbp + 0x60]
test edi, edi
js 0x1400d8c74
mov ecx, dword [rbx + 4]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x1400d8c3f
cmp ecx, 7
jne 0x1400d8c62
mov eax, dword [rbx + 8]
cmp eax, 2
jb 0x1400d8c56
lea rdx, [rax - 2]
lea rcx, [rbx + 0xc]
call sym.ProcessHacker.exe_PhCreateStringEx
jmp 0x1400d8c5b
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov qword [rbp + 0x78], rax
mov r15, rax
mov rcx, qword [0x140196670]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtClose]
test r15, r15
je 0x1400d908b
lock bts qword [0x140193930], 0
mov qword [rsp + 0x130], r12
jae 0x1400d8ca8
lea rcx, [0x140193930]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockExclusive
xor r14d, r14d
lea rsi, [0x140193890]
or r12, 0xffffffffffffffff
mov ebx, r14d
cmp dword [0x140193938], r14d
jbe 0x1400d8cef
mov eax, ebx
mov rcx, qword [rsi + rax*8]
lea rdi, [rsi + rax*8]
add rcx, 0xfffffffffffffff0
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d8ce2
call fcn.1400c8bc0
inc ebx
mov qword [rdi], r14
cmp ebx, dword [0x140193938]
jb 0x1400d8cc2
mov rdx, qword [0x140196800]
mov ecx, 0x28
mov dword [0x140193938], r14d
call sym.ProcessHacker.exe_PhCreateObject
mov r8, rax
mov eax, 0x16
lea rcx, [r8 + 0x10]
mov qword [r8 + 8], rcx
mov qword [r8], rax
mov word [rcx + 0x16], r14w
movups xmm0, xmmword [str.DeviceMup]
mov rdx, qword [r8 + 8]
movups xmmword [rdx], xmm0
mov ecx, dword [0x140169b58]
mov dword [rdx + 0x10], ecx
movzx ecx, word [0x140169b5c]
mov word [rdx + 0x14], cx
mov ecx, dword [0x140193938]
movups xmm0, xmmword [r15]
movq rbx, xmm0
mov qword [rsi + rcx*8], r8
inc ecx
movaps xmmword [rsp + 0x30], xmm0
mov dword [0x140193938], ecx
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x1400d903a
mov qword [rsp + 0x128], r13
mov r13, qword [rbp + 0x60]
nop dword [rax + rax]
cmp ecx, 0x10
je 0x1400d902e
mov edx, 0x2c
movdqa xmmword [rbp - 0x60], xmm0
xor r8d, r8d
lea rcx, [rsp + 0x30]
call sym.ProcessHacker.exe_PhFindCharInStringRef
mov rsi, qword [rsp + 0x38]
cmp rax, 0xffffffffffffffff
jne 0x1400d8db8
mov rdi, rbx
mov qword [rsp + 0x38], r14
mov rbx, r14
jmp 0x1400d8dd3
mov rbx, qword [rbp - 0x60]
lea rdi, [rax + rax]
lea rax, [rsi + 2]
sub rbx, rdi
add rax, rdi
mov qword [rsp + 0x38], rax
sub rbx, 2
mov qword [rsp + 0x30], rbx
test rdi, rdi
je 0x1400d9019
mov rbx, qword [0x14018ddc0]
mov rdx, qword [0x140196800]
add rbx, rdi
add rbx, qword [0x14018de20]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
xor r15d, r15d
mov qword [rbp + 0x70], rax
mov r14, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r15w
mov rbx, qword [rax + 8]
mov r8, qword [0x14018de20]
mov rcx, rbx
mov rdx, qword [str.SystemCurrentControlSetServices_]
call fcn.14010e700
add rbx, qword [0x14018de20]
mov r8, rdi
mov rcx, rbx
mov rdx, rsi
call fcn.14010e700
mov r8, qword [0x14018ddc0]
lea rcx, [rdi + rbx]
mov rdx, qword [str.NetworkProvider]
call fcn.14010e700
movzx eax, word [r14]
mov word [rbp - 0x80], ax
add ax, 2
cmp qword [r14], 0xfffe
mov word [rbp - 0x7e], ax
mov rax, qword [r14 + 8]
mov qword [rbp - 0x78], rax
ja 0x1400d8ffb
lea rax, [rsp + 0x58]
xor r8d, r8d
lea r9, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
lea rcx, [r15 - 3]
call fcn.1400da6c0
test eax, eax
js 0x1400d8ffb
lea r8, [rbp - 0x20]
mov edx, 0x20019
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
test rcx, rcx
je 0x1400d8ed3
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x1400d8ffb
mov rcx, qword [0x140196670]
lea rax, str.DeviceName
mov r14, qword [rsp + 0x48]
mov esi, 0x10
mov r8d, 0x100
mov dword [rbp - 0x70], 0x160014
mov qword [rbp - 0x68], rax
mov dword [rbp + 0x68], 0x100
lea edx, [rsi - 0xc]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
nop word [rax + rax]
mov ecx, dword [rbp + 0x68]
lea rax, [rbp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x70]
mov dword [rsp + 0x20], ecx
mov r9, rdi
mov rcx, r14
mov r8d, 2
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov ebx, eax
test eax, eax
jns 0x1400d8f84
mov rcx, qword [0x140196670]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp ebx, 0x80000005
jne 0x1400d8f87
mov r8d, dword [rbp + 0x68]
mov edx, 4
mov rcx, qword [0x140196670]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
add esi, 0xffffffff
jne 0x1400d8f20
mov r13, rdi
test ebx, ebx
js 0x1400d8fec
mov ecx, dword [r13 + 4]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x1400d8f9c
cmp ecx, 7
jne 0x1400d8fbc
mov eax, dword [r13 + 8]
cmp eax, 2
jb 0x1400d8fb4
lea rdx, [rax - 2]
lea rcx, [r13 + 0xc]
call sym.ProcessHacker.exe_PhCreateStringEx
jmp 0x1400d8fb9
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov r15, rax
mov rcx, qword [0x140196670]
mov r8, r13
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test r15, r15
je 0x1400d8fec
mov ecx, dword [0x140193938]
lea rdx, [0x140193890]
mov qword [rdx + rcx*8], r15
inc ecx
mov dword [0x140193938], ecx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
mov r14, qword [rbp + 0x70]
lea rcx, [r14 - 0x10]
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d9011
call fcn.1400c8bc0
mov rbx, qword [rsp + 0x30]
xor r14d, r14d
test rbx, rbx
je 0x1400d902e
movaps xmm0, xmmword [rsp + 0x30]
mov ecx, dword [0x140193938]
jmp 0x1400d8d80
mov r15, qword [rbp + 0x78]
mov r13, qword [rsp + 0x128]
mov rdx, r12
lock xadd qword [0x140193930], rdx
movzx eax, dl
and al, 6
cmp al, 2
jne 0x1400d906e
lea rax, [rdx - 1]
lea rdx, [rax + 4]
lock cmpxchg qword [0x140193930], rdx
jne 0x1400d906e
lea rcx, [0x140193930]
call fcn.1400dd200
lea rcx, [r15 - 0x10]
lock xadd dword [rcx + 8], r12d
cmp r12d, 1
mov r12, qword [rsp + 0x130]
jne 0x1400d908b
call fcn.1400c8bc0
mov r14, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x138]
mov rsi, qword [rsp + 0x140]
mov r15, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x148]
add rsp, 0x150
pop rbp
ret