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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
push rbp
push r14
push r15
lea rbp, [r11 - 0x3d8]
sub rsp, 0x4c0
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
xor r15d, r15d
mov qword [r11 + 8], rsi
xor edx, edx
mov qword [rsp + 0x60], r15
mov r8d, 0x208
mov dword [rsp + 0x68], r15d
lea rcx, [rbp - 0x70]
mov r14d, r15d
mov esi, r15d
call fcn.1400a83f0
xor edx, edx
mov dword [rsp + 0x74], r15d
mov r8d, 0x208
mov dword [rsp + 0x6c], 0x208
lea rcx, [rbp + 0x1a0]
mov dword [rsp + 0x70], 0x208
call fcn.1400a83f0
lea rax, [rsp + 0x60]
xor r8d, r8d
lea r9d, [r15 + 1]
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREPoliciesMozillaFirefoxExtensionsLocked
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r12, str.6d7fe032_3d1b_4646_b51d_c2ff32fe44c5
test eax, eax
jne 0x14002a91a
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], r15
xor r9d, r9d
mov qword [rsp + 0x50], r15
xor r8d, r8d
mov qword [rsp + 0x48], r15
xor edx, edx
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14002a91a
mov ebx, r15d
cmp dword [rsp + 0x68], ebx
jbe 0x14002a91a
nop dword [rax]
movzx eax, r15w
lea rdi, [rbp + 0x1a0]
mov ecx, 0x104
mov dword [rsp + 0x6c], 0x208
rep stosw word [rdi], ax
movzx eax, r15w
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], r15d
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], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14002a907
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.1400bc088
test eax, eax
je 0x14002a915
inc ebx
cmp ebx, dword [rsp + 0x68]
jb 0x14002a880
jmp 0x14002a91a
mov esi, 1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002a92a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov rsi, qword [rsp + 0x4e0]
jne 0x14002aa88
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], r15
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMozillaFirefoxExtensionsLocked
mov rcx, 0xffffffff80000002
mov ebx, r15d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002a9e0
mov edi, r15d
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], r15
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x14002a9c5
inc edi
cmp edi, 0x2710
jl 0x14002a970
jmp 0x14002a9cd
mov r14d, edi
mov ebx, 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14002aa7e
xor eax, eax
lea rdx, [rsp + 0x78]
mov ecx, 1
mov dword [rbp - 0x78], eax
mov r9d, 0xa
xorps xmm0, xmm0
test r14d, r14d
mov r8d, r9d
movups xmmword [rsp + 0x78], xmm0
cmovne ecx, r14d
call fcn.1400bc368
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rdx, str.SOFTWAREPoliciesMozillaFirefoxExtensionsLocked
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 6
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002aa7e
mov rcx, qword [rsp + 0x60]
lea r9d, [rax + 1]
mov dword [rsp + 0x28], 0x4e
lea rdx, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x14002aa82
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x14002aa8a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret