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

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x143f0]
mov eax, 0x144f0
call fcn.180096b10
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x14528], rbx
mov qword [rsp + 0x14530], rsi
mov qword [rsp + 0x14538], rdi
mov rax, qword [0x1801548a8]
xor rax, rsp
mov qword [rbp + 0x143e0], rax
mov r12, rcx
mov qword [rsp + 0x78], rcx
xor r13d, r13d
mov dword [rsp + 0x6c], r13d
call fcn.18000a5b0
mov rcx, rax
test rax, rax
je 0x180083122
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [0x1801016dc]
lea rdi, [r13 - 1]
cmp rdx, 0x10000
jae 0x180082c33
movzx edx, dx
lea rcx, [rsp + 0x40]
call fcn.18000b100
jmp 0x180082c4e
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x180082c36
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.18000b4d0
nop
mov qword [rsp + 0x60], r13
lea rax, [rsp + 0x60]
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 0x1800830a5
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x1800830ba
xor edx, edx
mov r8d, 0x14002
lea rcx, [rbp + 0x3d0]
call fcn.1800c61d0
mov dword [rsp + 0x68], 0x14000
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 0xffff
lea r8, str.vipinfo
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1800830a5
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r13w
mov dword [rsp + 0x6c], 2
mov qword [rsp + 0x48], r13
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 0x180082e44
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x180082e59
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], r13
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 0x180082db8
lea rax, [rbp - 0x50]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180082da0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.18001b400
cmp qword [rbp - 0x68], 0
jne 0x180082e44
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 0x180082df2
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 0x180082e59
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r13
lea rbx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rbx, qword [rbp - 0x78]
call fcn.18000a5b0
mov rcx, rax
test rax, rax
je 0x18008312d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
test rbx, rbx
je 0x180082ebc
cmp rbx, 0x10000
jae 0x180082ea4
movzx edx, bx
lea rcx, [rsp + 0x58]
call fcn.18000b100
jmp 0x180082ed0
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x180082eb0
jmp 0x180082ebf
mov eax, r13d
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.18000b4d0
nop
call fcn.18000a5b0
mov rcx, rax
test rax, rax
je 0x180083138
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x3d0]
cmp rax, 0x10000
jae 0x180082f15
lea rax, [rbp + 0x3d0]
movzx edx, ax
lea rcx, [rsp + 0x50]
call fcn.18000b100
jmp 0x180082f3f
lea rcx, [rbp + 0x3d0]
mov rax, rdi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x180082f20
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 0x18008300c
cmp dword [rsi + 0x10], 0
jl 0x180082ffa
mov rcx, qword [rbx]
cmp rcx, qword [rsi]
jne 0x180082ffa
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx + 0x10], 0
jl 0x180082f99
cmp rax, qword [rbx]
jne 0x180082f99
lock inc dword [rbx + 0x10]
jmp 0x180082fd7
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 0x180083143
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 0x180082fef
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 0x18008300c
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 0x18008302b
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 0x18008304a
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 0x180083069
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1800830a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800830a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008311c
call fcn.1800965cc
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1800830ba
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r13
mov r8d, 0xfde9
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, r12
call fcn.180098170
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1800830e9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rax, r12
mov rcx, qword [rbp + 0x143e0]
xor rcx, rsp
call fcn.180096b80
lea r11, [rsp + 0x144f0]
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
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