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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [r11 - 0x3e8]
sub rsp, 0x4c0
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
xor r12d, r12d
mov qword [r11 + 8], r14
xor edx, edx
mov qword [rsp + 0x60], r12
mov r8d, 0x208
mov dword [rsp + 0x68], r12d
lea rcx, [rbp - 0x70]
mov r15d, r12d
mov r14d, r12d
call fcn.1400a83f0
xor edx, edx
mov dword [rsp + 0x74], r12d
mov r8d, 0x208
mov dword [rsp + 0x6c], 0x208
lea rcx, [rbp + 0x1a0]
mov dword [rsp + 0x70], 0x208
call fcn.1400a83f0
lea rax, [rsp + 0x60]
mov esi, 1
mov r9d, esi
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMozillaFirefoxExtensionsInstall
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r13, str.https:__addons.mozilla.org_firefox_downloads_file_3962374_faronics_insight_v11_1.4.xpi
test eax, eax
jne 0x14002a5b8
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], r12
xor r9d, r9d
mov qword [rsp + 0x50], r12
xor r8d, r8d
mov qword [rsp + 0x48], r12
xor edx, edx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14002a5b8
mov ebx, r12d
cmp dword [rsp + 0x68], ebx
jbe 0x14002a5b8
movzx eax, r12w
lea rdi, [rbp + 0x1a0]
mov ecx, 0x104
mov dword [rsp + 0x6c], 0x208
rep stosw word [rdi], ax
movzx eax, r12w
lea rdi, [rbp - 0x70]
mov ecx, 0x104
mov dword [rsp + 0x70], 0x208
rep stosw word [rdi], ax
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x6c]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x74], r12d
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x1a0]
lea rax, [rsp + 0x74]
mov edx, ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14002a5a7
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.1400bc088
test eax, eax
je 0x14002a5b5
inc ebx
cmp ebx, dword [rsp + 0x68]
jb 0x14002a520
jmp 0x14002a5b8
mov r14d, esi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002a5c8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14d, r14d
mov r14, qword [rsp + 0x4f0]
jne 0x14002a736
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMozillaFirefoxExtensionsInstall
mov rcx, 0xffffffff80000002
mov ebx, r12d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002a68d
mov edi, r12d
nop dword [rax]
nop word [rax + rax]
mov r9d, 0xa
lea rdx, [rsp + 0x78]
xorps xmm0, xmm0
xor eax, eax
mov r8d, r9d
mov dword [rbp - 0x78], eax
mov ecx, edi
movups xmmword [rsp + 0x78], xmm0
call fcn.1400bc368
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x6c]
xor r8d, r8d
mov qword [rsp + 0x28], r12
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x14002a675
inc edi
cmp edi, 0x2710
jl 0x14002a620
jmp 0x14002a67a
mov r15d, edi
mov ebx, esi
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14002a728
xor eax, eax
lea rdx, [rsp + 0x78]
mov r9d, 0xa
mov dword [rbp - 0x78], eax
xorps xmm0, xmm0
test r15d, r15d
mov r8d, r9d
cmovne esi, r15d
mov ecx, esi
movups xmmword [rsp + 0x78], xmm0
call fcn.1400bc368
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rdx, str.SOFTWAREPoliciesMozillaFirefoxExtensionsInstall
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 6
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002a728
mov rcx, qword [rsp + 0x60]
lea r9d, [rax + 2]
mov dword [rsp + 0x28], 0xae
lea rdx, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x14002a72c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x14002a73a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14002a73a
movzx eax, sil
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret