Function at 0x1800912f0
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 [0x180168908]
xor rax, rsp
mov qword [rbp + 0xbe0], rax
xor r12d, r12d
mov dword [rsp + 0x6c], r12d
call fcn.180009090
mov rcx, rax
test rax, rax
je 0x180091862
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [0x180112b94]
lea rdi, [r12 - 1]
cmp rdx, 0x10000
jae 0x18009137b
movzx edx, dx
lea rcx, [rsp + 0x40]
call fcn.180012580
jmp 0x180091398
mov rax, rdi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x180091380
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.180009210
nop
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, [0x180122d58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800917e5
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x1800917fa
xor edx, edx
mov r8d, 0x802
lea rcx, [rbp + 0x3d0]
call fcn.1800d4600
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 0x1800917e5
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 0x180091584
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x180091599
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.1800d4600
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 0x1800914f8
lea rax, [rbp - 0x50]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x1800914e0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.180019da0
cmp qword [rbp - 0x68], 0
jne 0x180091584
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1c0]
call fcn.1800d4600
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.1800b0e10
lea rax, [rbp + 0x1c0]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x180091532
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x78]
call fcn.180019da0
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 0x180091599
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.180009090
mov rcx, rax
test rax, rax
je 0x18009186d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
test rbx, rbx
je 0x1800915fc
cmp rbx, 0x10000
jae 0x1800915e4
movzx edx, bx
lea rcx, [rsp + 0x58]
call fcn.180012580
jmp 0x180091610
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1800915f0
jmp 0x1800915ff
mov eax, r12d
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180009210
nop
call fcn.180009090
mov rcx, rax
test rax, rax
je 0x180091878
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x3d0]
cmp rax, 0x10000
jae 0x180091655
lea rax, [rbp + 0x3d0]
movzx edx, ax
lea rcx, [rsp + 0x50]
call fcn.180012580
jmp 0x18009167f
lea rcx, [rbp + 0x3d0]
mov rax, rdi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x180091660
mov r8d, eax
lea rdx, [rbp + 0x3d0]
lea rcx, [rsp + 0x50]
call fcn.180009210
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.1800aa1b0
nop
mov r14, qword [rax]
lea rbx, [r14 - 0x18]
mov rsi, qword [rsp + 0x40]
add rsi, 0xffffffffffffffe8
cmp rbx, rsi
je 0x18009174c
cmp dword [rsi + 0x10], 0
jl 0x18009173a
mov rcx, qword [rbx]
cmp rcx, qword [rsi]
jne 0x18009173a
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx + 0x10], 0
jl 0x1800916d9
cmp rax, qword [rbx]
jne 0x1800916d9
lock inc dword [rbx + 0x10]
jmp 0x180091717
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 0x180091883
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.180009440
mov eax, edi
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x18009172f
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 0x18009174c
mov r8d, dword [r14 - 0x10]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.180009210
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x18009176b
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 0x18009178a
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 0x1800917a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1800917e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800917e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009185c
call fcn.1800a4c5c
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1800917fa
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r12
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1800dccf4
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 0x18009182a
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.1800a5130
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.1800d79f8
nop
mov ecx, 0x80004005
call fcn.180008c20
nop
mov ecx, 0x80004005
call fcn.180008c20
nop
mov ecx, 0x80004005
call fcn.180008c20
nop
call fcn.180009380
int3