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

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xc08]
sub rsp, 0xcf0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x1801548a8]
xor rax, rsp
mov qword [rbp + 0xbe0], rax
xor r12d, r12d
mov dword [rsp + 0x6c], r12d
call fcn.18000a5b0
mov rcx, rax
test rax, rax
je 0x1800836c2
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [0x1801016dc]
lea rdi, [r12 - 1]
cmp rdx, 0x10000
jae 0x1800831db
movzx edx, dx
lea rcx, [rsp + 0x40]
call fcn.18000b100
jmp 0x1800831f8
mov rax, rdi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x1800831e0
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.18000b4d0
nop
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, [0x1801117d0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180083645
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x18008365a
xor edx, edx
mov r8d, 0x802
lea rcx, [rbp + 0x3d0]
call fcn.1800c61d0
mov dword [rsp + 0x68], 0x800
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0xffff
lea r8, str.VipLevel
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x180083645
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r12w
mov dword [rsp + 0x6c], 1
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SOFTWAREComMaster
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800833e4
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1800833f9
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.1800c61d0
mov dword [rsp + 0x70], 0x208
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0xffff
lea r8, str.local_m2
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x180083358
lea rax, [rbp - 0x50]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x180083340
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.18001b400
cmp qword [rbp - 0x68], 0
jne 0x1800833e4
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1c0]
call fcn.1800c61d0
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.1800a0060
lea rax, [rbp + 0x1c0]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x180083392
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x78]
call fcn.18001b400
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
mov eax, dword [rbp - 0x68]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.local_m2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800833f9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r12
lea rbx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rbx, qword [rbp - 0x78]
call fcn.18000a5b0
mov rcx, rax
test rax, rax
je 0x1800836cd
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
test rbx, rbx
je 0x18008345c
cmp rbx, 0x10000
jae 0x180083444
movzx edx, bx
lea rcx, [rsp + 0x58]
call fcn.18000b100
jmp 0x180083470
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x180083450
jmp 0x18008345f
mov eax, r12d
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.18000b4d0
nop
call fcn.18000a5b0
mov rcx, rax
test rax, rax
je 0x1800836d8
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x3d0]
cmp rax, 0x10000
jae 0x1800834b5
lea rax, [rbp + 0x3d0]
movzx edx, ax
lea rcx, [rsp + 0x50]
call fcn.18000b100
jmp 0x1800834df
lea rcx, [rbp + 0x3d0]
mov rax, rdi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800834c0
mov r8d, eax
lea rdx, [rbp + 0x3d0]
lea rcx, [rsp + 0x50]
call fcn.18000b4d0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.180097850
nop
mov r14, qword [rax]
lea rbx, [r14 - 0x18]
mov rsi, qword [rsp + 0x40]
add rsi, 0xffffffffffffffe8
cmp rbx, rsi
je 0x1800835ac
cmp dword [rsi + 0x10], 0
jl 0x18008359a
mov rcx, qword [rbx]
cmp rcx, qword [rsi]
jne 0x18008359a
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx + 0x10], 0
jl 0x180083539
cmp rax, qword [rbx]
jne 0x180083539
lock inc dword [rbx + 0x10]
jmp 0x180083577
lea r15, [rbx + 8]
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [r15]
call qword [rax]
mov rbx, rax
test rax, rax
je 0x1800836e3
mov eax, dword [r15]
mov dword [rbx + 8], eax
mov eax, dword [r15]
inc eax
movsxd rdx, eax
add rdx, rdx
lea rcx, [rbx + 0x18]
mov r9, rdx
mov r8, r14
call fcn.18000d490
mov eax, edi
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x18008358f
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x40], rax
jmp 0x1800835ac
mov r8d, dword [r14 - 0x10]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.18000b4d0
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800835cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800835ea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180083609
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180083645
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083640
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800836bc
call fcn.1800965cc
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18008365a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r12
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1800ce3d0
mov esi, eax
inc eax
cmp eax, 2
cmova esi, r12d
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x18008368a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, esi
mov rcx, qword [rbp + 0xbe0]
xor rcx, rsp
call fcn.180096b80
lea r11, [rsp + 0xcf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1800c9338
nop
mov ecx, 0x80004005
call fcn.180009b50
nop
mov ecx, 0x80004005
call fcn.180009b50
nop
mov ecx, 0x80004005
call fcn.180009b50
nop
call fcn.18000b860
int3