Function at 0x140053ed0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb58]
sub rsp, 0xc30
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401d5e90]
xor rax, rsp
mov qword [rbp + 0xb20], rax
mov r14, rcx
mov qword [rsp + 0x78], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
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
lea r9d, [r15 + 1]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140054257
mov dword [rsp + 0x60], r15d
mov r13, qword [rsp + 0x48]
mov qword [rsp + 0x58], r13
mov word [rbp + 0x320], r15w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x322]
call fcn.1400dc6e0
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov eax, dword [0x1401ddd80]
mov ecx, eax
imul ecx, eax
imul ecx, eax
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, 0x14
jne 0x140053ff3
mov eax, 1
lea edx, [rcx + 0x60]
mov r8d, eax
nop dword [rax]
lea ecx, [rax + r8]
lea r8d, [rax]
mov eax, ecx
dec edx
jns 0x140053fe0
mov dword [0x1401ddd80], ecx
mov dword [rsp + 0x34], 0x800
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x320]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [0x14016409c]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14005406d
mov eax, dword [rsp + 0x70]
dec eax
cmp eax, 1
jbe 0x140054041
mov edi, 0xd
jmp 0x14005406d
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x140054062
test al, 1
jne 0x14005405b
shr rax, 1
cmp word [rbp + rax*2 + 0x31e], 0
je 0x14005406a
mov edi, 0xd
jmp 0x14005406d
mov word [rbp + 0x320], r15w
mov edi, r15d
mov r8d, dword [0x1401ddd80]
lea ecx, [r8 + 2]
lea eax, [r8 + 1]
imul ecx, eax
imul ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
or rsi, 0xffffffffffffffff
cmp ecx, 8
jne 0x1400540e2
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x64
sub r8d, edx
add r8d, 0x141
movsxd rcx, r8d
mov eax, 4
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400d68e8
mov rcx, rax
call fcn.1400d834c
test edi, edi
jne 0x1400541f2
lea rax, [rbp + 0x320]
mov rdi, rsi
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400540f4
test edi, edi
jne 0x140054163
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400541f2
cmp dword [rdx + 0x10], 0
jge 0x140054137
cmp dword [rbx - 0xc], 0
jge 0x14005412a
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x1400541f2
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140054147
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 0x1400541f2
mov r12d, dword [rbx - 0x10]
lea r15, [rbp + 0x320]
sub r15, rbx
sar r15, 1
test edi, edi
jns 0x140054183
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 0x1400541a5
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140002860
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 0x1400541c9
lea r8, [rbx + r15*2]
call fcn.1400d7ac4
jmp 0x1400541d5
lea r8, [rbp + 0x320]
call fcn.1400d7bc0
cmp edi, dword [rbx - 0xc]
jg 0x1400541e7
mov dword [rbx - 0x10], edi
xor r15d, r15d
mov word [r12 + rbx], r15w
jmp 0x1400541f2
mov ecx, 0x80070057
call fcn.140001920
int3
test r13, r13
je 0x140054205
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.1400028c0
add rax, 0x18
mov qword [r14], rax
mov dword [rsp + 0x30], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x140054239
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 0x140054432
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r15
jmp 0x140054432
mov eax, dword [0x1401ddd80]
mov ecx, eax
imul ecx, eax
imul ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub ecx, eax
cmp ecx, 0xe
jne 0x140054288
inc dword [0x1401df3b0]
lea rcx, [rsp + 0x38]
call fcn.14002e9b0
nop
mov r11d, dword [0x1401ddd80]
mov ecx, r11d
imul ecx, r11d
imul ecx, r11d
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 7
sub ecx, edx
cmp ecx, 5
jne 0x1400542f2
mov r8d, r15d
lea r9, [rbp - 0x70]
mov r10d, r11d
nop dword [rax]
lea ecx, [r11 + r8]
mov eax, r10d
cdq
idiv ecx
mov dword [r9], edx
inc r8d
dec r10d
lea r9, [r9 + 4]
movsxd rax, r8d
cmp rax, 0xe2
jb 0x1400542d0
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax - 0x10]
test ecx, ecx
je 0x1400543bd
lea edx, [rcx - 1]
test edx, edx
js 0x1400543b2
cmp edx, ecx
jg 0x1400543b2
movsxd rcx, edx
cmp word [rax + rcx*2], 0x5c
je 0x140054336
mov r8d, 1
lea rdx, [0x14016408c]
lea rcx, [rsp + 0x38]
call fcn.1400114a0
lea r8, str.GoogleChromeApplicationchrome.exe
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.14001c2d0
nop
lea rcx, [rsp + 0x40]
call fcn.14002ed90
test al, al
je 0x140054397
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
call fcn.1400028c0
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 0x140054392
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140054418
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400543bd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400543bd
mov ecx, 0x80070057
call fcn.140001920
int3
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r14], rax
lea rdx, [0x1401640ac]
test rdx, 0xffffffffffff0000
jne 0x140054404
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x140054410
mov r8d, ebx
mov rdx, rax
mov rcx, r14
call fcn.140002a60
jmp 0x140054410
xor r8d, r8d
mov rcx, r14
call fcn.140002770
nop
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140054432
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 + 0xb20]
xor rcx, rsp
call fcn.1400d72a0
lea r11, [rsp + 0xc30]
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