Function at 0x180060174
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c8]
sub rsp, 0x2c8
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov rax, qword [0x1800c5470]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r15, r9
mov qword [rbp - 0x80], r9
mov r13, r8
mov r12, rdx
mov rsi, rcx
mov rax, qword [rbp + 0x230]
mov qword [rbp - 0x78], rax
xor ebx, ebx
mov dword [rdx], ebx
mov dword [r8], ebx
mov dword [r9], ebx
mov dword [rax], ebx
mov r15b, bl
cmp dword [rcx + 0x5c], ebx
jne 0x180060520
or r14d, 0xffffffff
mov edi, r14d
call fcn.1800197dc
test eax, eax
je 0x18006031d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x30], 0x208
lea edi, [rbx + 1]
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.MsgCenter
lea rcx, [rsp + 0x40]
call fcn.180056700
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, str.MontiorInfo
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1800602f1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
lea r8d, [rbx + 0x7c]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.18000b764
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
sub rax, rcx
sar rax, 3
cmp rax, 4
jb 0x1800602e3
mov rcx, qword [rcx]
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rsi + 0x5c], eax
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rsi + 0x68], eax
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rsi + 0x60], eax
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rsi + 0x64], eax
mov r15b, dil
jmp 0x1800602e5
mov edi, ebx
lea rcx, [rsp + 0x50]
call fcn.18000acdc
jmp 0x1800602f3
mov edi, ebx
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x180060314
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp edi, 1
je 0x180060520
cmp byte [rbp + 0x238], bl
jne 0x180060520
mov r15b, 1
mov qword [rsp + 0x68], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x68]
call fcn.180059878
mov r14, qword [rsp + 0x70]
mov rcx, r14
mov rbx, qword [rsp + 0x68]
sub rcx, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [rsi + 0x5c], edx
cmp rbx, r14
je 0x1800603c1
add rbx, 8
cmp byte [rbx + 8], 0
je 0x1800603b4
inc dword [rsi + 0x68]
movsd xmm0, qword [rbx]
call fcn.180077d64
cvttsd2si ecx, xmm0
mov eax, dword [rsi + 0x60]
cmp eax, ecx
cmovle eax, ecx
mov dword [rsi + 0x60], eax
test ecx, ecx
je 0x1800603b4
mov eax, dword [rsi + 0x64]
test eax, eax
jne 0x1800603ac
mov dword [rsi + 0x64], ecx
jmp 0x1800603b4
cmp eax, ecx
cmovge eax, ecx
mov dword [rsi + 0x64], eax
add rbx, 0x18
lea rax, [rbx - 8]
cmp rax, r14
jne 0x18006037b
or r14d, 0xffffffff
cmp edi, r14d
je 0x1800604b3
call fcn.18000a7ac
mov rcx, rax
test rax, rax
je 0x18006056c
mov rax, qword [rax]
call qword [rax + ILCombine]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov eax, dword [rsi + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsi + 0x60]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x68]
mov r8d, dword [rsi + 0x5c]
lea rdx, str._d_d_d_d
lea rcx, [rsp + 0x38]
call fcn.18000cf30
mov rbx, qword [rsp + 0x38]
mov eax, dword [rbx - 0x10]
lea edi, [rax*2 + 2]
mov dword [rsp + 0x20], 1
lea r9, str.MsgCenter
xor r8d, r8d
lea rdx, str.MsgCenter
lea rcx, [rsp + 0x48]
call fcn.180056700
nop
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
lea r9d, [r14 + 2]
lea r8, str.MontiorInfo
mov rdx, qword [rsp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x180060491
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x1800604b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x180060520
mov rcx, qword [rsp + 0x78]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x180060509
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180060566
mov rcx, r8
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
and qword [rsp + 0x78], 0
mov ecx, dword [rsi + 0x5c]
mov dword [r12], ecx
mov ecx, dword [rsi + 0x68]
mov dword [r13], ecx
mov ecx, dword [rsi + 0x60]
mov rax, qword [rbp - 0x80]
mov dword [rax], ecx
mov ecx, dword [rsi + 0x64]
mov rax, qword [rbp - 0x78]
mov dword [rax], ecx
mov al, r15b
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1800782d0
add rsp, 0x2c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180070720
nop
mov ecx, 0x80004005
call fcn.18000a540
int3