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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800b44b0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
mov qword [rbp + 7], rcx
xor ebx, ebx
mov qword [rbp - 0x49], rbx
mov dword [rbp - 0x41], ebx
mov qword [rbp - 0x39], rbx
mov r9d, 0x2001f
lea r8, str.SYSTEMCurrentControlSetControlSession_Manager
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x49]
call fcn.180011a00
test eax, eax
je 0x180016eda
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x180016ec1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x49], rbx
mov dword [rbp - 0x41], ebx
cmp qword [rsi + 0x18], 8
jb 0x180016ed3
mov rcx, qword [rsi]
call fcn.180022e04
xor al, al
jmp 0x180017198
mov dword [rbp - 0x51], ebx
mov dword [rbp - 0x55], ebx
lea rax, [rbp - 0x55]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x51]
xor r8d, r8d
lea rdx, str.PendingFileRenameOperations
mov r14, qword [rbp - 0x49]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x180016f17
test r14, r14
je 0x180016ec1
mov rcx, r14
jmp 0x180016eb7
mov word [rbp - 0x59], bx
mov edx, dword [rbp - 0x55]
add edx, 0x10
shr rdx, 1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rbx
lea r8, [rbp - 0x59]
lea rcx, [rbp - 0x19]
call fcn.180016560
nop
mov word [rbp - 0x59], bx
mov edx, dword [rbp - 0x55]
add edx, 0x10
shr rdx, 1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rbx
lea r8, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.180016560
nop
lea rax, [rbp - 0x55]
mov qword [rsp + 0x28], rax
mov r13, qword [rbp - 0x19]
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x51]
xor r8d, r8d
lea rdx, str.PendingFileRenameOperations
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x180016fd6
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x180016fac
call fcn.180022e04
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rbx
test r13, r13
je 0x180016fc5
mov rcx, r13
call fcn.180022e04
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rbx
test r14, r14
je 0x180016ec1
mov rcx, r14
jmp 0x180016eb7
mov rdi, r13
mov r15d, ebx
mov r12, qword [rbp - 0x31]
cmp word [r13], r15w
je 0x180017145
xor r13b, r13b
nop
mov qword [rbp + 0x1f], rbx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], rbx
mov word [rbp + 0xf], bx
cmp word [rdi], 0
jne 0x180017013
mov r8, rbx
jmp 0x18001702b
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x180017020
mov rdx, rdi
lea rcx, [rbp + 0xf]
call fcn.1800046a0
nop
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x180017040
cmp qword [rsi + 0x18], 8
jb 0x180017056
mov rdx, qword [rsi]
jmp 0x180017059
mov rdx, rsi
mov r9, qword [rsi + 0x10]
xor r8d, r8d
lea rcx, [rbp + 0xf]
call fcn.180018260
cmp rax, 0xffffffffffffffff
jne 0x18001708a
movsxd r8, ebx
movsxd rax, r15d
lea rcx, [r12 + rax*2]
mov rdx, rdi
call fcn.180025328
add r15d, 2
add r15d, ebx
jmp 0x18001708d
mov r13b, 1
lea eax, [rbx + 2]
movsxd rcx, eax
lea rdi, [rdi + rcx*2]
cmp qword [rbp + 0x27], 8
jb 0x1800170a7
mov rcx, qword [rbp + 0xf]
call fcn.180022e04
mov qword [rbp + 0x27], 7
xor ebx, ebx
mov qword [rbp + 0x1f], rbx
mov word [rbp + 0xf], bx
cmp word [rdi], bx
jne 0x180016ff0
test r13b, r13b
mov r13, qword [rbp - 0x19]
je 0x180017145
lea eax, [r15*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov r9d, dword [rbp - 0x51]
xor r8d, r8d
lea rdx, str.PendingFileRenameOperations
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x180017145
test r12, r12
je 0x180017110
mov rcx, r12
call fcn.180022e04
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rbx
mov rcx, r13
call fcn.180022e04
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rbx
test r14, r14
je 0x180017136
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x49], rbx
mov dword [rbp - 0x41], ebx
mov rcx, rsi
call fcn.18005da90
xor al, al
jmp 0x1800171a7
test r12, r12
je 0x18001715e
mov rcx, r12
call fcn.180022e04
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rbx
mov rcx, r13
call fcn.180022e04
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rbx
test r14, r14
je 0x180017184
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x49], rbx
mov dword [rbp - 0x41], ebx
cmp qword [rsi + 0x18], 8
jb 0x180017196
mov rcx, qword [rsi]
call fcn.180022e04
mov al, 1
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], rbx
mov word [rsi], bx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180022a00
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret