Function at 0x140052ed0
Capabilities:
Get installed programs
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x888]
sub rsp, 0x960
mov qword [rbp - 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 + 0x850], rax
mov r13, rcx
mov qword [rbp - 0x70], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov ecx, dword [0x1401d6d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub r8d, edx
cmp r8d, 4
jne 0x140052f5d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401d6d80], eax
mov rsi, r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov edi, 1
mov r9d, edi
xor r8d, r8d
lea rdx, [0x14015fc70]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140052fb5
mov dword [rsp + 0x48], r12d
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x40], rsi
jmp 0x140053102
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x140052ff6
mov dword [rsp + 0x48], r12d
mov ebx, r12d
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x40], rsi
mov r8d, dword [0x1401d6d80]
lea ecx, [r8 + 1]
imul ecx, r8d
mov eax, 0x30c30c31
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
sub ecx, edx
cmp ecx, 4
jne 0x140053031
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov r8d, dword [0x1401d6d80]
test ebx, ebx
je 0x140053102
lea ecx, [r8 + 2]
lea eax, [r8 + 1]
imul ecx, eax
imul ecx, r8d
and ecx, 0x8000000f
jge 0x140053057
dec ecx
or ecx, 0xfffffff0
inc ecx
cmp ecx, 9
jne 0x14005306a
test r8d, r8d
cmove r8d, edi
mov dword [0x1401d6d80], r8d
mov qword [rsp + 0x70], r12
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400530c0
mov eax, r12d
test rsi, rsi
je 0x1400530ad
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], r12d
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x40], rsi
test eax, eax
je 0x140053102
lea rax, [rbp - 0x80]
mov qword [rsp + 0x78], rax
lea rcx, [rbp - 0x80]
call fcn.1400518c0
nop
mov rdx, rax
mov rcx, r13
call fcn.1400525c0
mov dword [rsp + 0x30], edi
test rsi, rsi
je 0x1400530f5
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], r12d
mov rax, r13
jmp 0x140053428
mov word [rbp + 0x50], r12w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x52]
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 + 0x38], rbx
lea r15, [0x14015fd20]
test r15, 0xffffffffffff0000
jne 0x14005316d
movzx edi, r15w
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x1400531de
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140002960
mov rbx, qword [rsp + 0x38]
jmp 0x1400531de
mov r14d, dword [rbx - 0x10]
mov rdi, r15
sub rdi, rbx
sar rdi, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 3
or eax, ecx
jge 0x1400531a0
mov edx, 3
lea rcx, [rsp + 0x38]
call fcn.140002760
mov rbx, qword [rsp + 0x38]
movsxd rdx, dword [rbx - 0xc]
mov r9d, 6
mov rcx, rbx
add rdx, rdx
cmp rdi, r14
ja 0x1400531c0
lea r8, [rbx + rdi*2]
call fcn.1400d562c
jmp 0x1400531c8
mov r8, r15
call fcn.1400d57ec
cmp dword [rbx - 0xc], 3
jl 0x14005341d
mov dword [rbx - 0x10], 3
mov word [rbx + 6], r12w
mov dword [rsp + 0x58], 0x800
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, str.Version
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or r15, 0xffffffffffffffff
test eax, eax
jne 0x14005335a
mov eax, dword [rsp + 0x5c]
dec eax
cmp eax, 1
ja 0x14005335a
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14005324c
test al, 1
jne 0x14005335a
shr rax, 1
cmp word [rbp + rax*2 + 0x4e], 0
je 0x140053251
jmp 0x14005335a
mov word [rbp + 0x50], r12w
lea rax, [rbp + 0x50]
mov rdi, r15
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140053260
test edi, edi
jne 0x1400532cf
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14005335a
cmp dword [rdx + 0x10], 0
jge 0x1400532a3
cmp dword [rbx - 0xc], 0
jge 0x140053296
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x14005335a
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400532b3
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 + 0x38], rbx
mov rsi, qword [rsp + 0x40]
jmp 0x14005335a
mov r12d, dword [rbx - 0x10]
lea r14, [rbp + 0x50]
sub r14, rbx
sar r14, 1
test edi, edi
jns 0x1400532ec
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 0x14005330e
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.140002760
mov rbx, qword [rsp + 0x38]
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 0x140053332
lea r8, [rbx + r14*2]
call fcn.1400d562c
jmp 0x14005333b
lea r8, [rbp + 0x50]
call fcn.1400d57ec
cmp edi, dword [rbx - 0xc]
jg 0x14005334f
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r12 + rbx], ax
xor r12d, r12d
jmp 0x14005335a
mov ecx, 0x80070057
call fcn.140001920
int3
test rsi, rsi
je 0x14005336d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], r12d
cmp dword [rbx - 0x10], 0
je 0x1400533e6
mov rcx, r12
lea rdx, [0x14015feb8]
movzx eax, word [rbx + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x14005339b
cmp rcx, 4
jne 0x140053382
mov eax, r12d
jmp 0x1400533a0
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400533e6
lea rcx, [rbx - 0x18]
call fcn.1400027c0
add rax, 0x18
mov qword [r13], rax
mov dword [rsp + 0x30], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x1400533d3
mov rcx, qword [rbx - 0x18]
lea rdx, [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400530f5
jmp 0x1400530ea
lea rax, [rsp + 0x78]
mov qword [rbp - 0x68], rax
lea rcx, [rsp + 0x78]
call fcn.1400518c0
nop
mov rdx, rax
mov rcx, r13
call fcn.1400525c0
mov dword [rsp + 0x30], 1
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400533d3
mov rcx, qword [rdx]
jmp 0x1400533cc
mov ecx, 0x80070057
call fcn.140001920
nop
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.1400d4e00
lea r11, [rsp + 0x960]
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