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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov r13, r8
lea rdx, str.OperateReg::CheckRegSubKeyExistUnderAppointKey
lea rcx, [rbp - 0x50]
call fcn.14001abe0
nop
lea rsi, [0x1402a8360]
lea r12, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x1400086c3
test byte [rcx + 0x1c], 1
je 0x14000868b
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, recv
lea r8, [0x140251f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x1400086c3
test byte [rcx + 0x1c], 1
je 0x1400086c3
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, recv
mov qword [rsp + 0x20], r13
lea r8, [0x140251f68]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rax, vtable.CMap_class_ATL::CStringT_unsigned_short_int__class_StrTraitMFC_unsigned_short_int__class_ATL::ChTraitsCRT_unsigned_short_int_____unsigned_short_int_const____ptr64__unsigned_char____ptr64__unsigned_char____ptr64_.0
mov qword [rsp + 0x68], rax
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], reloc.COMCTL32.dll_InitCommonControls
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x14026f400]
movdqa xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
lfence
lea ecx, [r15 + 0x48]
call fcn.1401baa78
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x60], r15
test r13, r13
je 0x140008a18
mov rcx, qword [rbp - 0x80]
mov rax, rcx
neg rax
sbb rdi, rdi
test rcx, rcx
je 0x140008890
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140008b0a
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov r9, qword [rsp + 0x70]
test r9, r9
je 0x140008b15
mov rsi, rdi
test rdi, rdi
je 0x140008b15
mov r8d, dword [rsp + 0x78]
cmp rdi, 0xffffffffffffffff
jne 0x1400087b0
mov ecx, r15d
test r8d, r8d
je 0x1400087b0
mov eax, ecx
mov rsi, qword [r9 + rax*8]
test rsi, rsi
jne 0x1400087b0
inc ecx
cmp ecx, r8d
jb 0x140008795
test rsi, rsi
je 0x140008b15
mov rdi, qword [rsi + 0x10]
test rdi, rdi
jne 0x1400087e0
xor edx, edx
mov eax, dword [rsi + 0x18]
div r8d
inc edx
cmp edx, r8d
jae 0x1400087e0
nop dword [rax + rax]
mov rdi, qword [r9 + rdx*8]
test rdi, rdi
jne 0x1400087e0
inc edx
cmp edx, r8d
jb 0x1400087d0
mov rdx, qword [rsi]
lea rcx, [rdx - 0x18]
lea r14, [rbx - 0x18]
cmp rcx, r14
je 0x14000884b
cmp dword [r14 + 0x10], 0
jl 0x140008838
mov rax, qword [r14]
cmp qword [rcx], rax
jne 0x140008838
call fcn.140004d00
mov rbx, rax
mov eax, 0xffffffff
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x14000882d
lfence
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
add rbx, 0x18
mov qword [rsp + 0x40], rbx
jmp 0x14000884b
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140004e60
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14000885a
call fcn.1400079c0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140008880
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
test rdi, rdi
jne 0x140008741
lea rsi, [0x1402a8360]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400088fb
mov edi, r15d
mov edx, dword [rsp + 0x78]
test edx, edx
je 0x1400088f1
mov eax, edi
mov rbx, qword [rcx + rax*8]
test rbx, rbx
je 0x1400088eb
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400088d9
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400088b0
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
inc edi
cmp edi, edx
jb 0x1400088a5
call fcn.1400079c0
mov qword [rsp + 0x70], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov rcx, qword [rbp - 0x70]
call fcn.1401bc020
mov qword [rbp - 0x70], r15
mov rbx, qword [rbp - 0x60]
mov r8, qword [rbx + 8]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.140008f00
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rbp - 0x58], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, r13
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008a0f
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp]
call fcn.1401e7e40
mov dword [rsp + 0x48], 0x410
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140008a18
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x48]
lea r8, [rbp]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140008a18
mov ecx, r15d
mov edx, 1
cmp eax, 0x103
cmove ecx, edx
test ecx, ecx
je 0x140008a18
mov dword [rsp + 0x50], 0x410
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140008a02
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
lea r8, [rbp]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
setne r15b
jmp 0x140008a18
mov eax, MsiOpenDatabaseW
test eax, eax
setne r15b
jmp 0x140008a18
cmp eax, 2
jne 0x140008a18
lea r15d, [rax - 1]
mov byte [rbp - 0x48], 1
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x140008a5c
test byte [rcx + 0x1c], 1
je 0x140008a5c
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, send
mov dword [rsp + 0x20], r15d
lea r8, [0x140251f68]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rcx, [rsp + 0x60]
call fcn.140007a90
nop
lea rax, vtable.WppTrace.0
mov qword [rbp - 0x50], rax
cmp byte [rbp - 0x48], 0
jne 0x140008ac5
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x140008ac5
test byte [rcx + 0x1c], 1
je 0x140008ac5
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
cmp qword [0x1402bbdc8], 8
cmovae r12, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], r8
mov r9, r12
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp - 0x20]
call fcn.1400048a0
lea rcx, [rbp - 0x40]
call fcn.1400048a0
mov eax, r15d
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001470
nop
call fcn.1401bb848
int3