Function at 0x14004bac0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7c8]
sub rsp, 0x8a0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401b5e90]
xor rax, rsp
mov qword [rbp + 0x790], rax
mov r15, rcx
mov qword [rbp - 0x80], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x68], r14
mov eax, dword [0x1401bdd80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
lea edi, [r14 + 1]
cmp ecx, 0xd
jne 0x14004bb73
mov r8d, edi
mov eax, edi
mov edx, 0x88
nop word [rax + rax]
lea ecx, [rax + r8]
lea r8d, [rax]
mov eax, ecx
dec edx
jns 0x14004bb60
mov dword [0x1401bdd80], ecx
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004bdff
mov dword [rsp + 0x60], r14d
mov r13, qword [rsp + 0x48]
mov qword [rsp + 0x58], r13
mov word [rbp - 0x70], r14w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x6e]
call fcn.1400d0f20
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
call fcn.14004a770
mov dword [rsp + 0x34], 0x800
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [0x140146fd8]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r8d, eax
test eax, eax
jne 0x14004bc5c
mov eax, dword [rsp + 0x70]
dec eax
cmp eax, 1
jbe 0x14004bc35
mov r8d, 0xd
jmp 0x14004bc5c
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x14004bc54
test al, 1
jne 0x14004bc4c
shr rax, 1
cmp word [rbp + rax*2 - 0x72], 0
je 0x14004bc59
mov r8d, 0xd
jmp 0x14004bc5c
mov word [rbp - 0x70], r14w
mov r8d, r14d
mov edx, dword [0x1401bdd80]
lea ecx, [rdx + 2]
lea eax, [rdx + 1]
imul ecx, eax
imul ecx, edx
and ecx, 0x8000000f
jge 0x14004bc7d
dec ecx
or ecx, 0xfffffff0
inc ecx
cmp ecx, 0xb
jne 0x14004bc8d
test edx, edx
cmove edx, edi
mov dword [0x1401bdd80], edx
or rsi, 0xffffffffffffffff
test r8d, r8d
jne 0x14004bd9e
lea rax, [rbp - 0x70]
mov rdi, rsi
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004bca1
test edi, edi
jne 0x14004bd10
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004bd99
cmp dword [rdx + 0x10], 0
jge 0x14004bce4
cmp dword [rbx - 0xc], 0
jge 0x14004bcd7
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x14004bd99
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004bcf4
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 r13, qword [rsp + 0x48]
jmp 0x14004bd99
mov r12d, dword [rbx - 0x10]
lea r14, [rbp - 0x70]
sub r14, rbx
sar r14, 1
test edi, edi
jns 0x14004bd2d
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 0x14004bd4f
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002490
mov rbx, qword [rsp + 0x50]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r14, r12
lea r12, [rax + rax]
mov r9, r12
ja 0x14004bd73
lea r8, [rbx + r14*2]
call fcn.1400cc30c
jmp 0x14004bd7c
lea r8, [rbp - 0x70]
call fcn.1400cc4cc
cmp edi, dword [rbx - 0xc]
jg 0x14004bd8e
mov dword [rbx - 0x10], edi
xor r14d, r14d
mov word [r12 + rbx], r14w
jmp 0x14004bd99
mov ecx, 0x80070057
call fcn.140001920
int3
mov edi, 1
test r13, r13
je 0x14004bdb1
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], r14d
lea rcx, [rbx - 0x18]
call fcn.1400024f0
add rax, 0x18
mov qword [r15], rax
mov dword [rsp + 0x30], edi
lock add dword [rbx - 8], 0xffffffff
jg 0x14004bde1
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 0x14004bef8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r14
jmp 0x14004bef8
lea rcx, [rsp + 0x38]
call fcn.140029610
nop
mov rax, qword [rsp + 0x38]
mov edx, dword [rax - 0x10]
test edx, edx
je 0x14004becb
lea ecx, [rdx - 1]
test ecx, ecx
js 0x14004bec0
cmp ecx, edx
jg 0x14004bec0
movsxd rcx, ecx
cmp word [rax + rcx*2], 0x5c
je 0x14004be4b
mov r8d, edi
lea rdx, [0x1401496d0]
lea rcx, [rsp + 0x38]
call fcn.140010970
lea r8, str.GoogleChromeApplicationchrome.exe
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.14001aed0
nop
lea rcx, [rsp + 0x40]
call fcn.140029ae0
test al, al
je 0x14004bea5
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
call fcn.1400024f0
add rax, 0x18
mov qword [r15], rax
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004bea3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14004bede
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004becb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14004becb
mov ecx, 0x80070057
call fcn.140001920
int3
lea rdx, [0x140146fd8]
mov rcx, r15
call fcn.1400021f0
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004bef8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov dword [rsp + 0x60], r14d
mov rax, r15
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.1400cbae0
lea r11, [rsp + 0x8a0]
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