Function at 0x180044c20
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.180050b10
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 [0x180142d48]
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.180011c30
mov rcx, rax
test rax, rax
je 0x180045277
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, [0x1800fb8e8]
lea rdi, [r13 - 1]
cmp rdx, 0x10000
jae 0x180044cc3
movzx edx, dx
lea rcx, [rsp + 0x48]
call fcn.180012460
jmp 0x180044cde
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x180044cc6
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.180013680
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 0x1800451ef
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x180045204
xor edx, edx
mov r8d, 0x14002
lea rcx, [rbp + 0x3d0]
call fcn.18009b170
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 0x1800451ef
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r13w
mov dword [rsp + 0x6c], 2
mov qword [rsp + 0x50], r13
lea rax, [rsp + 0x50]
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]
mov r15d, 1
test eax, eax
jne 0x180044ed1
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x180044ee6
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.18009b170
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 0x180044e48
lea rax, [rbp - 0x50]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180044e30
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.18000f050
cmp qword [rbp - 0x68], 0
jne 0x180044ed1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1c0]
call fcn.18009b170
mov edx, 0x104
lea rcx, [rbp + 0x1c0]
call fcn.18007d180
lea rax, [rbp + 0x1c0]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x180044e82
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x78]
call fcn.18000f050
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, r15d
xor r8d, r8d
lea rdx, str.local_m2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180044ee6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r13
lea rbx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rbx, qword [rbp - 0x78]
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x180045282
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
test rbx, rbx
je 0x180044f40
cmp rbx, 0x10000
jae 0x180044f31
movzx edx, bx
lea rcx, [rsp + 0x58]
call fcn.180012460
jmp 0x180044f54
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x180044f34
jmp 0x180044f43
mov eax, r13d
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180013680
nop
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x18004528d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x3d0]
cmp rcx, 0x10000
jae 0x180044f9d
lea rax, [rbp + 0x3d0]
movzx edx, ax
lea rcx, [rsp + 0x40]
call fcn.180012460
jmp 0x1800450e4
lea rcx, [rbp + 0x3d0]
mov rbx, rdi
nop word [rax + rax]
inc rbx
cmp word [rcx + rbx*2], 0
jne 0x180044fb0
test ebx, ebx
jne 0x18004501d
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1800450e4
cmp dword [rdx + 0x10], 0
jge 0x180044ff1
cmp dword [rax - 0xc], 0
jl 0x180045298
mov dword [rax - 0x10], r13d
mov rax, qword [rsp + 0x40]
mov word [rax], r13w
jmp 0x1800450e4
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180045006
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
jmp 0x1800450e4
mov r14d, dword [rax - 0x10]
lea rsi, [rbp + 0x3d0]
sub rsi, rax
sar rsi, 1
test ebx, ebx
js 0x1800452a3
sub r15d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, ebx
or ecx, r15d
jge 0x180045055
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1800125f0
mov rax, qword [rsp + 0x40]
movsxd rcx, ebx
cmp rsi, r14
ja 0x1800450ac
lea rdx, [rax + rsi*2]
lea rsi, [rcx + rcx]
test rsi, rsi
je 0x1800450ce
test rdx, rdx
jne 0x180045081
call fcn.18009e3ac
mov dword [rax], 0x16
call fcn.18009e25c
jmp 0x1800450c9
movsxd rcx, dword [rax - 0xc]
add rcx, rcx
cmp rcx, rsi
jae 0x18004509f
call fcn.18009e3ac
mov dword [rax], 0x22
call fcn.18009e25c
jmp 0x1800450c9
mov r8, rsi
mov rcx, rax
call fcn.18009ad00
jmp 0x1800450c9
lea rsi, [rcx + rcx]
movsxd rdx, dword [rax - 0xc]
add rdx, rdx
mov r9, rsi
lea r8, [rbp + 0x3d0]
mov rcx, rax
call fcn.180012740
mov rax, qword [rsp + 0x40]
cmp ebx, dword [rax - 0xc]
jg 0x18004526c
mov dword [rax - 0x10], ebx
mov rax, qword [rsp + 0x40]
mov word [rsi + rax], r13w
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.180082080
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsp + 0x48]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x180045156
cmp dword [rbx + 0x10], 0
jl 0x180045147
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x180045147
call fcn.180013250
mov rsi, rax
mov eax, edi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x18004513c
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x48], rax
jmp 0x180045156
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x48]
call fcn.180013680
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180045175
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180045194
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800451b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1800451ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800451ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180045266
call fcn.180050640
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x180045204
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r13
mov r8d, 0xfde9
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov rcx, r12
call fcn.180082ac0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x180045233
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, r12
mov rcx, qword [rbp + 0x143e0]
xor rcx, rsp
call fcn.180050ad0
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.18009e27c
nop
mov ecx, 0x80070057
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80070057
call fcn.180010480
int3
mov ecx, 0x80070057
call fcn.180010480
int3