Function at 0x14004e930
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 - 0xca8]
sub rsp, 0xd80
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401bee90]
xor rax, rsp
mov qword [rbp + 0xc70], rax
mov r13, rcx
mov qword [rsp + 0x60], rcx
mov qword [rbp - 0x70], rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov esi, r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 1]
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r8d, eax
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x14004e9de
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x30], r15d
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x48], rsi
mov r11d, dword [0x1401c6d80]
lea ecx, [r11 + 2]
lea eax, [r11 + 1]
imul ecx, eax
imul ecx, r11d
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
cmp ecx, 8
jne 0x14004eb04
mov r10d, r15d
mov eax, r11d
cdq
sub eax, edx
sar eax, 1
mov r12d, eax
mov eax, 0x55555556
imul r11d
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
mov eax, r11d
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x34], eax
mov eax, 0x66666667
imul r11d
mov r14d, edx
sar r14d, 1
mov eax, r14d
shr eax, 0x1f
add r14d, eax
lea r9, [rbp + 0x351]
mov r13d, dword [rsp + 0x34]
nop dword [rax]
movzx r8d, r11b
sub r8b, r10b
mov ebx, 1
lea edi, [rbx + 0xa]
nop
mov eax, r11d
cdq
idiv ebx
movzx eax, r11b
imul r8b
movzx ecx, al
movzx eax, dl
imul cl
mov byte [r9 - 1], al
movzx eax, dl
imul r8b
movzx ecx, al
movzx eax, r12b
imul cl
mov byte [r9], al
movzx eax, r15b
imul r8b
movzx ecx, al
movzx eax, dl
imul cl
mov byte [r9 + 1], al
movzx eax, r13b
imul r8b
movzx ecx, al
movzx eax, dl
imul cl
mov byte [r9 + 2], al
movzx eax, dl
imul r8b
movzx ecx, al
movzx eax, r14b
imul cl
mov byte [r9 + 3], al
inc ebx
add r9, 5
dec rdi
jne 0x14004ea80
inc r10d
cmp r10d, 5
jl 0x14004ea70
mov r13, qword [rsp + 0x60]
xor r15d, r15d
cmp dword [rsp + 0x30], 0
je 0x14004ec40
mov qword [rsp + 0x70], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14014fc20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004eb6c
mov eax, r15d
test rsi, rsi
je 0x14004eb55
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x48], rsi
test eax, eax
je 0x14004ec40
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004ebfa
mov eax, r15d
test rsi, rsi
je 0x14004ebb2
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x48], rsi
test eax, eax
jne 0x14004ebfa
mov r8d, dword [0x1401c6d80]
lea ecx, [r8 + 1]
imul ecx, r8d
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xb
sub ecx, edx
cmp ecx, 7
jne 0x14004ec40
dec r8d
mov dword [0x1401c6d80], r8d
jmp 0x14004ec40
lea rax, [rbp - 0x80]
mov qword [rsp + 0x78], rax
lea rcx, [rbp - 0x80]
call fcn.14004dda0
nop
mov rdx, rax
mov rcx, r13
call fcn.14004e200
mov dword [rsp + 0x40], 1
test rsi, rsi
je 0x14004ec33
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov rax, r13
jmp 0x14004efe6
mov word [rbp + 0x470], r15w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x472]
call fcn.1400d1cf0
lea rcx, [0x1401be9a8]
mov rax, qword [0x1401be9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea r12, [0x14014fd50]
test r12, 0xffffffffffff0000
jne 0x14004ecb1
movzx edi, r12w
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14004ed22
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400026e0
mov rbx, qword [rsp + 0x38]
jmp 0x14004ed22
mov r14d, dword [rbx - 0x10]
mov rdi, r12
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 0x14004ece4
mov edx, 3
lea rcx, [rsp + 0x38]
call fcn.1400024e0
mov rbx, qword [rsp + 0x38]
movsxd rdx, dword [rbx - 0xc]
mov r9d, 6
mov rcx, rbx
add rdx, rdx
cmp rdi, r14
ja 0x14004ed04
lea r8, [rbx + rdi*2]
call fcn.1400cd0d4
jmp 0x14004ed0c
mov r8, r12
call fcn.1400cd294
cmp dword [rbx - 0xc], 3
jl 0x14004efdb
mov dword [rbx - 0x10], 3
mov word [rbx + 6], r15w
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x470]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, [0x14014fd40]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14004ed9c
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
jbe 0x14004ed70
mov edi, 0xd
jmp 0x14004ed9c
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14004ed91
test al, 1
jne 0x14004ed8a
shr rax, 1
cmp word [rbp + rax*2 + 0x46e], 0
je 0x14004ed99
mov edi, 0xd
jmp 0x14004ed9c
mov word [rbp + 0x470], r15w
mov edi, r15d
mov r11d, dword [0x1401c6d80]
mov eax, r11d
imul eax, r11d
imul eax, r11d
and eax, 0x8000000f
jge 0x14004edbc
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 0xa
jne 0x14004edf2
mov r8d, r15d
lea r9, [rbp - 0x60]
mov r10d, r11d
nop dword [rax + 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, 0xe9
jb 0x14004edd0
or r14, 0xffffffffffffffff
test edi, edi
jne 0x14004ef0e
lea rax, [rbp + 0x470]
mov rdi, r14
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004ee10
test edi, edi
jne 0x14004ee7f
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004ef0e
cmp dword [rdx + 0x10], 0
jge 0x14004ee53
cmp dword [rbx - 0xc], 0
jge 0x14004ee46
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x14004ef0e
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004ee63
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 + 0x48]
jmp 0x14004ef0e
mov r12d, dword [rbx - 0x10]
lea r15, [rbp + 0x470]
sub r15, rbx
sar r15, 1
test edi, edi
jns 0x14004ee9f
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 0x14004eec1
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.1400024e0
mov rbx, qword [rsp + 0x38]
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 0x14004eee5
lea r8, [rbx + r15*2]
call fcn.1400cd0d4
jmp 0x14004eef1
lea r8, [rbp + 0x470]
call fcn.1400cd294
cmp edi, dword [rbx - 0xc]
jg 0x14004ef03
mov dword [rbx - 0x10], edi
xor r15d, r15d
mov word [r12 + rbx], r15w
jmp 0x14004ef0e
mov ecx, 0x80070057
call fcn.140001920
int3
test rsi, rsi
je 0x14004ef21
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
cmp dword [rbx - 0x10], 0
je 0x14004efa4
mov rcx, r15
lea rdx, [0x14014fd38]
nop word [rax + rax]
movzx eax, word [rbx + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x14004ef59
cmp rcx, 4
jne 0x14004ef40
mov eax, r15d
jmp 0x14004ef5e
sbb eax, eax
or eax, 1
test eax, eax
je 0x14004efa4
lea rcx, [rbx - 0x18]
call fcn.140002540
add rax, 0x18
mov qword [r13], rax
mov dword [rsp + 0x40], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x14004ef91
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 + 0x48]
test rcx, rcx
je 0x14004ec33
jmp 0x14004ec28
lea rax, [rsp + 0x78]
mov qword [rbp - 0x68], rax
lea rcx, [rsp + 0x78]
call fcn.14004dda0
nop
mov rdx, rax
mov rcx, r13
call fcn.14004e200
mov dword [rsp + 0x40], 1
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004ef91
mov rcx, qword [rdx]
jmp 0x14004ef8a
mov ecx, 0x80070057
call fcn.140001920
nop
mov rcx, qword [rbp + 0xc70]
xor rcx, rsp
call fcn.1400cc8b0
lea r11, [rsp + 0xd80]
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