Function at 0x18003a31c
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x9d0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0xf8], 0xfffffffffffffffe
mov qword [rbp + 0x9c8], rbx
mov qword [rbp + 0x9d0], rsi
mov qword [rbp + 0x9d8], rdi
mov rax, qword [0x1801563c0]
xor rax, rbp
mov qword [rbp + 0x980], rax
mov r12, rcx
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMozillaPlugins
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r13d, r13d
cmp eax, r13d
jne 0x18003ab49
mov esi, r13d
lea r9d, [r13 + 0x64]
lea r8, [rbp + 0x180]
xor edx, edx
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, r13d
jne 0x18003ab49
lea rdi, [0x18010d528]
lea r15d, [r13 + 0xf]
or r14, 0xffffffffffffffff
lea rbx, [0x18015f758]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x40]
call fcn.1800041c0
nop
mov rdx, rdi
lea rcx, [rbp + 0x28]
call fcn.1800041c0
nop
mov r8, qword [rbp + 0x40]
lea rdx, str.SOFTWAREMozillaPlugins_s
lea rcx, [rbp + 0x28]
call fcn.180008f64
mov rdx, rdi
lea rcx, [rbp + 8]
call fcn.1800041c0
nop
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r13d
jne 0x18003aaad
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.1800041c0
nop
mov rdx, rdi
lea rcx, [rbp]
call fcn.1800041c0
nop
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.1800041c0
nop
lea rdx, str.Path
lea rcx, [rbp + 0xf0]
call fcn.1800041c0
lea r9, [rbp + 8]
mov r8, rax
mov rdx, qword [rbp + 0x10]
lea rdi, [0x180163340]
mov rcx, rdi
call fcn.18001b3c0
lea rdx, str.Version
lea rcx, [rbp + 0xe8]
call fcn.1800041c0
lea r9, [rbp + 0x30]
mov r8, rax
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.18001b3c0
lea rdx, str.Description
lea rcx, [rbp + 0xe0]
call fcn.1800041c0
lea r9, [rbp]
mov r8, rax
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.18001b3c0
lea rdx, [0x18011cc78]
lea rcx, [rbp + 0xd8]
call fcn.1800041c0
lea r9, [rbp + 0x18]
mov r8, rax
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.18001b3c0
mov rdx, qword [rbp]
mov edi, dword [rdx - 8]
cmp edi, 0x64
jle 0x18003a589
lea ebx, [rdi - 0x64]
cmp ebx, r13d
jle 0x18003a582
cmp edi, 0x63
jle 0x18003a579
lea eax, [rbx + 0x63]
cmp eax, edi
jle 0x18003a525
lea ebx, [rdi - 0x63]
lea rcx, [rbp]
call fcn.180003f8c
mov edx, edi
sub edx, ebx
sub edx, 0x62
movsxd r8, edx
add r8, r8
movsxd rcx, ebx
mov rax, qword [rbp]
lea rdx, [rax + rcx*2 + 0xc6]
mov ecx, dword [rax - 4]
sub ecx, 0x62
movsxd rcx, ecx
add rcx, rcx
cmp rcx, r8
jb 0x18003a567
lea rcx, [rax + 0xc6]
call fcn.1800d47b0
sub edi, ebx
mov rax, qword [rbp]
mov dword [rax - 8], edi
lea rbx, [0x18015f758]
jmp 0x18003a589
lea rbx, [0x18015f758]
jmp 0x18003a589
lea rbx, [0x18015f758]
cmp qword [rbp + 0x18], r13
jne 0x18003a597
mov rdx, r13
jmp 0x18003a61b
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jle 0x18003a5b1
mov rdx, r13
jmp 0x18003a61b
movsxd rax, edx
add rax, rax
lea rcx, [r15 + rax]
cmp rcx, rax
ja 0x18003a5ca
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800f12f0
sub rsp, rcx
lea rdi, [rsp + 0x40]
cmp rdi, r13
je 0x18003a618
mov byte [rdi], r13b
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, r14d
mov r8, qword [rbp + 0x18]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb rdx, rdx
and rdx, rdi
jmp 0x18003a61b
mov rdx, r13
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x78], r13
mov byte [rbp + 0x68], r13b
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x60]
call fcn.180003768
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x128]
call fcn.180059a54
nop
cmp qword [rbp + 0x80], 0x10
jb 0x18003a669
mov rcx, qword [rbp + 0x68]
call fcn.1800d1290
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x78], r13
mov byte [rbp + 0x68], r13b
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jle 0x18003a692
mov rdx, r13
jmp 0x18003a6fc
movsxd rax, edx
add rax, rax
lea rcx, [r15 + rax]
cmp rcx, rax
ja 0x18003a6ab
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800f12f0
sub rsp, rcx
lea rdi, [rsp + 0x40]
cmp rdi, r13
je 0x18003a6f9
mov byte [rdi], r13b
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, r14d
mov r8, qword [rbp]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb rdx, rdx
and rdx, rdi
jmp 0x18003a6fc
mov rdx, r13
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xc8], r13
mov byte [rbp + 0xb8], r13b
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0xb0]
call fcn.180003768
nop
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x150]
call fcn.180059a54
nop
cmp qword [rbp + 0xd0], 0x10
jb 0x18003a759
mov rcx, qword [rbp + 0xb8]
call fcn.1800d1290
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xc8], r13
mov byte [rbp + 0xb8], r13b
cmp qword [rbp + 8], r13
jne 0x18003a77c
mov rdx, r13
jmp 0x18003a800
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jle 0x18003a796
mov rdx, r13
jmp 0x18003a800
movsxd rax, edx
add rax, rax
lea rcx, [r15 + rax]
cmp rcx, rax
ja 0x18003a7af
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800f12f0
sub rsp, rcx
lea rdi, [rsp + 0x40]
cmp rdi, r13
je 0x18003a7fd
mov byte [rdi], r13b
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, r14d
mov r8, qword [rbp + 8]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb rdx, rdx
and rdx, rdi
jmp 0x18003a800
mov rdx, r13
mov qword [rbp + 0xa8], r15
mov qword [rbp + 0xa0], r13
mov byte [rbp + 0x90], r13b
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x88]
call fcn.180003768
nop
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x100]
call fcn.180059a54
nop
cmp qword [rbp + 0xa8], 0x10
jb 0x18003a85d
mov rcx, qword [rbp + 0x90]
call fcn.1800d1290
mov qword [rbp + 0xa8], r15
mov qword [rbp + 0xa0], r13
mov byte [rbp + 0x90], r13b
lea rdx, [rbp + 0x130]
cmp qword [rbp + 0x148], 0x10
cmovae rdx, qword [rbp + 0x130]
lea rcx, [rbp + 0x58]
call fcn.180007f64
nop
lea rdx, [rbp + 0x158]
cmp qword [rbp + 0x170], 0x10
cmovae rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x50]
call fcn.180007f64
nop
lea rdx, [rbp + 0x108]
cmp qword [rbp + 0x120], 0x10
cmovae rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x48]
call fcn.180007f64
nop
lea rdi, [0x18010d528]
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.1800041c0
nop
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp + 0x48]
lea rdx, str._Addin_filename__s__ver__s__name__s__desc__s__type_plugin___
lea rcx, [rbp + 0x20]
call fcn.180008f64
lea rcx, [r12 + 0x18]
mov rax, qword [rcx]
mov r8, qword [rbp + 0x20]
mov edx, dword [rax - 8]
call fcn.180039144
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov edx, eax
lea rcx, [rbp + 0x20]
call fcn.180003e28
nop
mov rcx, qword [rbp + 0x20]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x18003a961
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
cmp eax, r13d
jg 0x18003a961
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x48]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x18003a983
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
cmp eax, r13d
jg 0x18003a983
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x50]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x18003a9a5
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
cmp eax, r13d
jg 0x18003a9a5
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x58]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x18003a9c7
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
cmp eax, r13d
jg 0x18003a9c7
call fcn.1800d1434
nop
cmp qword [rbp + 0x120], 0x10
jb 0x18003a9dd
mov rcx, qword [rbp + 0x108]
call fcn.1800d1290
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x118], r13
mov byte [rbp + 0x108], r13b
cmp qword [rbp + 0x170], 0x10
jb 0x18003aa08
mov rcx, qword [rbp + 0x158]
call fcn.1800d1290
mov qword [rbp + 0x170], r15
mov qword [rbp + 0x168], r13
mov byte [rbp + 0x158], r13b
cmp qword [rbp + 0x148], 0x10
jb 0x18003aa33
mov rcx, qword [rbp + 0x130]
call fcn.1800d1290
mov qword [rbp + 0x148], r15
mov qword [rbp + 0x140], r13
mov byte [rbp + 0x130], r13b
mov rcx, qword [rbp + 0x18]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x18003aa6a
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
cmp eax, r13d
jg 0x18003aa6a
call fcn.1800d1434
nop
mov rcx, qword [rbp]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x18003aa8c
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
cmp eax, r13d
jg 0x18003aa8c
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x30]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x18003aaad
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
cmp eax, r13d
jg 0x18003aaad
call fcn.1800d1434
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
mov r9d, 0x64
lea r8, [rbp + 0x180]
mov edx, esi
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, eax
mov rcx, qword [rbp + 8]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x18003aaf6
mov edx, r14d
lock xadd dword [rcx], edx
add edx, r14d
cmp edx, r13d
jg 0x18003aaf6
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x28]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x18003ab18
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
cmp eax, r13d
jg 0x18003ab18
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x40]
add rcx, 0xfffffffffffffff4
cmp rcx, rbx
je 0x18003ab39
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
cmp eax, r13d
jg 0x18003ab39
call fcn.1800d1434
cmp edi, r13d
lea rdi, [0x18010d528]
je 0x18003a3d1
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x980]
xor rcx, rbp
call fcn.1800d12b0
mov rbx, qword [rbp + 0x9c8]
mov rsi, qword [rbp + 0x9d0]
mov rdi, qword [rbp + 0x9d8]
lea rsp, [rbp + 0x990]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret