Function at 0x1400518c0
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 [0x1401cee90]
xor rax, rsp
mov qword [rbp + 0x790], rax
mov r14, rcx
mov qword [rbp - 0x80], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
call fcn.14004fd80
test al, al
jne 0x14005193f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0xcccccccd
mul r8d
shr edx, 6
lea ecx, [rdx + rdx*4]
shl ecx, 4
sub r8d, ecx
lea eax, [r8 + 1]
mov dword [0x1401d6d80], eax
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140051b9d
mov dword [rsp + 0x60], r15d
mov r13, qword [rsp + 0x48]
mov qword [rsp + 0x58], r13
mov word [rbp - 0x70], r15w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x6e]
call fcn.1400da240
lea rcx, str.D_r_
mov rax, qword [str.D_r_]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
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, [0x14015da64]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or rsi, 0xffffffffffffffff
test eax, eax
jne 0x140051b38
mov eax, dword [rsp + 0x70]
dec eax
cmp eax, 1
ja 0x140051b38
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x140051a2f
test al, 1
jne 0x140051b38
shr rax, 1
cmp word [rbp + rax*2 - 0x72], 0
je 0x140051a34
jmp 0x140051b38
mov word [rbp - 0x70], r15w
lea rax, [rbp - 0x70]
mov rdi, rsi
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140051a40
test edi, edi
jne 0x140051aaf
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140051b38
cmp dword [rdx + 0x10], 0
jge 0x140051a83
cmp dword [rbx - 0xc], 0
jge 0x140051a76
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x140051b38
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051a93
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 0x140051b38
mov r12d, dword [rbx - 0x10]
lea r15, [rbp - 0x70]
sub r15, rbx
sar r15, 1
test edi, edi
jns 0x140051acc
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 0x140051aee
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002760
mov rbx, qword [rsp + 0x50]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r15, r12
lea r12, [rax + rax]
mov r9, r12
ja 0x140051b12
lea r8, [rbx + r15*2]
call fcn.1400d562c
jmp 0x140051b1b
lea r8, [rbp - 0x70]
call fcn.1400d57ec
cmp edi, dword [rbx - 0xc]
jg 0x140051b2d
mov dword [rbx - 0x10], edi
xor r15d, r15d
mov word [r12 + rbx], r15w
jmp 0x140051b38
mov ecx, 0x80070057
call fcn.140001920
int3
test r13, r13
je 0x140051b4b
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
lea rcx, [rbx - 0x18]
call fcn.1400027c0
add rax, 0x18
mov qword [r14], rax
mov dword [rsp + 0x30], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x140051b7f
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 0x140051ce8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r15
jmp 0x140051ce8
lea rcx, [rsp + 0x38]
call fcn.14002ce00
nop
mov rax, qword [rsp + 0x38]
mov edx, dword [rax - 0x10]
test edx, edx
je 0x140051c73
lea ecx, [rdx - 1]
test ecx, ecx
js 0x140051c68
cmp ecx, edx
jg 0x140051c68
movsxd rcx, ecx
cmp word [rax + rcx*2], 0x5c
je 0x140051bec
mov r8d, 1
lea rdx, [0x14015da24]
lea rcx, [rsp + 0x38]
call fcn.140010c10
lea r8, str.GoogleChromeApplicationchrome.exe
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.14001b580
nop
lea rcx, [rsp + 0x40]
call fcn.14002d3e0
test al, al
je 0x140051c4d
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
call fcn.1400027c0
add rax, 0x18
mov qword [r14], rax
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051c48
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140051cce
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051c73
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140051c73
mov ecx, 0x80070057
call fcn.140001920
int3
lea rcx, str.D_r_
mov rax, qword [str.D_r_]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r14], rax
lea rdx, [0x14015d9f4]
test rdx, 0xffffffffffff0000
jne 0x140051cba
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x140051cc6
mov r8d, ebx
mov rdx, rax
mov rcx, r14
call fcn.140002960
jmp 0x140051cc6
xor r8d, r8d
mov rcx, r14
call fcn.140002670
nop
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051ce8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov dword [rsp + 0x60], r15d
mov rax, r14
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.1400d4e00
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