Function at 0x180090d30
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.1800a51e0
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 [0x180168908]
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.180009090
mov rcx, rax
test rax, rax
je 0x1800912c2
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [0x180112b94]
lea rdi, [r13 - 1]
cmp rdx, 0x10000
jae 0x180090dd3
movzx edx, dx
lea rcx, [rsp + 0x40]
call fcn.180012580
jmp 0x180090dee
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x180090dd6
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.180009210
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 0x180091245
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x18009125a
xor edx, edx
mov r8d, 0x14002
lea rcx, [rbp + 0x3d0]
call fcn.1800d4600
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 0x180091245
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 0x180090fe4
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x180090ff9
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], 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 0x180090f58
lea rax, [rbp - 0x50]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180090f40
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.180019da0
cmp qword [rbp - 0x68], 0
jne 0x180090fe4
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 0x180090f92
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 0x180090ff9
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.180009090
mov rcx, rax
test rax, rax
je 0x1800912cd
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
test rbx, rbx
je 0x18009105c
cmp rbx, 0x10000
jae 0x180091044
movzx edx, bx
lea rcx, [rsp + 0x58]
call fcn.180012580
jmp 0x180091070
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x180091050
jmp 0x18009105f
mov eax, r13d
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180009210
nop
call fcn.180009090
mov rcx, rax
test rax, rax
je 0x1800912d8
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x3d0]
cmp rax, 0x10000
jae 0x1800910b5
lea rax, [rbp + 0x3d0]
movzx edx, ax
lea rcx, [rsp + 0x50]
call fcn.180012580
jmp 0x1800910df
lea rcx, [rbp + 0x3d0]
mov rax, rdi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800910c0
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 0x1800911ac
cmp dword [rsi + 0x10], 0
jl 0x18009119a
mov rcx, qword [rbx]
cmp rcx, qword [rsi]
jne 0x18009119a
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx + 0x10], 0
jl 0x180091139
cmp rax, qword [rbx]
jne 0x180091139
lock inc dword [rbx + 0x10]
jmp 0x180091177
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 0x1800912e3
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 0x18009118f
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 0x1800911ac
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 0x1800911cb
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 0x1800911ea
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 0x180091209
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180091245
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180091240
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800912bc
call fcn.1800a4c5c
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18009125a
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.1800aaad0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x180091289
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.1800a5130
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.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