Function at 0x14004ebb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc78]
sub rsp, 0xd50
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401bbe90]
xor rax, rsp
mov qword [rbp + 0xc40], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x78], rcx
xor r13d, r13d
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x68], r13
mov r8d, dword [0x1401c3d80]
lea ecx, [r8 + 1]
imul ecx, r8d
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
cmp ecx, 3
jne 0x14004ec5b
mov ecx, 1
cmp r8d, ecx
jle 0x14004ec55
mov eax, r8d
cdq
idiv ecx
inc ecx
add ecx, edx
cmp ecx, r8d
jl 0x14004ec46
mov dword [0x1401c3d80], ecx
mov qword [rsp + 0x48], r13
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_firefox.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004eeaf
mov dword [rsp + 0x60], r13d
mov r15, qword [rsp + 0x48]
mov qword [rsp + 0x58], r15
mov word [rbp - 0x70], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x6e]
call fcn.1400d2f00
lea rcx, [0x1401bb9a8]
mov rax, qword [0x1401bb9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x3c], 0x800
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [0x14014c7f8]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or r12, 0xffffffffffffffff
test eax, eax
jne 0x14004ee4a
mov eax, dword [rsp + 0x70]
dec eax
cmp eax, 1
ja 0x14004ee4a
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x14004ed3c
test al, 1
jne 0x14004ee4a
shr rax, 1
cmp word [rbp + rax*2 - 0x72], 0
je 0x14004ed41
jmp 0x14004ee4a
mov word [rbp - 0x70], r13w
lea rax, [rbp - 0x70]
mov rdi, r12
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004ed50
test edi, edi
jne 0x14004edbf
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004ee4a
cmp dword [rdx + 0x10], 0
jge 0x14004ed93
cmp dword [rbx - 0xc], 0
jge 0x14004ed86
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x14004ee4a
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004eda3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov r15, qword [rsp + 0x48]
jmp 0x14004ee4a
mov r14d, dword [rbx - 0x10]
lea rsi, [rbp - 0x70]
sub rsi, rbx
sar rsi, 1
test edi, edi
jns 0x14004eddc
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14004edfe
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1400023b0
mov rbx, qword [rsp + 0x50]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp rsi, r14
lea r14, [rax + rax]
mov r9, r14
ja 0x14004ee22
lea r8, [rbx + rsi*2]
call fcn.1400ce2e4
jmp 0x14004ee2b
lea r8, [rbp - 0x70]
call fcn.1400ce4a4
cmp edi, dword [rbx - 0xc]
jg 0x14004ee3f
mov dword [rbx - 0x10], edi
mov word [r14 + rbx], r13w
mov rsi, qword [rsp + 0x30]
jmp 0x14004ee4a
mov ecx, 0x80070057
call fcn.140001920
int3
test r15, r15
je 0x14004ee5d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], r13d
lea rcx, [rbx - 0x18]
call fcn.140002410
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0x38], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x14004ee91
mov rcx, qword [rbx - 0x18]
mov r8, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004f0c7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r13
jmp 0x14004f0c7
mov eax, dword [0x1401c3d80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x11
sub ecx, edx
cmp ecx, 0xb
jne 0x14004eee1
call fcn.1400ce478
mov dword [0x1401c3d80], eax
lea rcx, [rsp + 0x40]
call fcn.140028910
nop
mov rcx, qword [rsp + 0x40]
mov r9d, dword [rcx - 0x10]
test r9d, r9d
je 0x14004f096
mov edi, dword [0x1401c3d80]
mov r8d, edi
imul r8d, edi
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe
sub r8d, edx
cmp r8d, 0xa
jne 0x14004efab
lea r11, [rbp + 0x790]
nop word [rax + rax]
movzx r14d, dil
sub r14b, r13b
mov ebx, 1
lea r15d, [rbx + 4]
xor r9d, r9d
mov eax, edi
cdq
idiv ebx
mov esi, edx
mov r10d, 1
mov eax, edi
cdq
idiv r10d
mov r8d, eax
movzx eax, sil
imul r8b
movzx r8d, al
movzx eax, r14b
imul r8b
mov byte [r11 + r9], al
inc r10d
inc r9
cmp r9, 0xf
jl 0x14004ef60
inc ebx
add r11, 0xf
dec r15
jne 0x14004ef50
inc r13d
cmp r13d, 0x10
jl 0x14004ef40
mov rsi, qword [rsp + 0x30]
mov r9d, dword [rcx - 0x10]
xor r13d, r13d
lea eax, [r9 - 1]
test eax, eax
js 0x14004f08b
cmp eax, r9d
jg 0x14004f08b
cdqe
cmp word [rcx + rax*2], 0x5c
je 0x14004efe0
mov r8d, 1
lea rdx, [0x14014ef10]
lea rcx, [rsp + 0x40]
call fcn.140010740
lea r8, str.Mozilla_Firefox_firefox.exe
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14001a660
nop
lea rcx, [rsp + 0x30]
call fcn.140028c90
test al, al
je 0x14004f03e
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.140002410
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0x38], 1
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004f03c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14004f0ad
mov ecx, dword [0x1401c3d80]
imul ecx, ecx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, 0xe
jne 0x14004f070
call fcn.1400ce478
mov dword [0x1401c3d80], eax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004f096
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14004f096
mov ecx, 0x80070057
call fcn.140001920
int3
lea rdx, [0x14014c7f8]
mov rcx, rsi
call fcn.140002110
mov dword [rsp + 0x38], 1
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004f0c7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov dword [rsp + 0x60], r13d
mov rax, rsi
mov rcx, qword [rbp + 0xc40]
xor rcx, rsp
call fcn.1400cdac0
lea r11, [rsp + 0xd50]
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