Function at 0x14004c630
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 - 0x8e8]
sub rsp, 0x9c0
mov qword [rbp - 0x68], 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 + 0x8b0], rax
mov r13, rcx
mov qword [rbp - 0x70], rcx
xor r12d, r12d
mov dword [rsp + 0x38], r12d
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
lea r9d, [r12 + 1]
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004c6c3
mov r15, qword [rsp + 0x60]
jmp 0x14004c733
mov qword [rsp + 0x70], r12
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004c6fa
mov r15, qword [rsp + 0x70]
jmp 0x14004c733
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x68]
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 0x14004cb12
mov r15, qword [rsp + 0x68]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r12d
mov word [rbp + 0xb0], r12w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0xb2]
call fcn.1400d0f20
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rax, [0x14014bc30]
test rax, 0xffffffffffff0000
jne 0x14004c7a3
movzx edi, ax
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14004c7bb
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140002690
jmp 0x14004c7b6
mov r8d, 3
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400023a0
mov rbx, qword [rsp + 0x30]
mov r9d, dword [0x1401bdd80]
lea ecx, [r9 + 2]
lea eax, [r9 + 1]
imul ecx, eax
imul ecx, r9d
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, 2
jne 0x14004c85f
mov esi, r12d
lea r14, [rbp - 0x60]
nop word [rax + rax]
mov r10d, r12d
lea edi, [r10 + 1]
lea ecx, [rsi + 1]
mov eax, r9d
cdq
idiv ecx
mov r8d, edx
mov ecx, r9d
sub ecx, esi
imul r8d, ecx
mov eax, r9d
cdq
idiv edi
add r8d, eax
sub r8d, r10d
mov dword [r14], r8d
mov edx, r8d
lea rcx, [0x140146c08]
call fcn.1400cc3f4
mov r10d, edi
add r14, 4
cmp edi, 6
jge 0x14004c84f
mov r9d, dword [0x1401bdd80]
jmp 0x14004c803
inc esi
cmp esi, 0xb
jge 0x14004c85f
mov r9d, dword [0x1401bdd80]
jmp 0x14004c800
mov dword [rsp + 0x58], 0x800
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, [0x140149910]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or rsi, 0xffffffffffffffff
test eax, eax
jne 0x14004c9e5
mov eax, dword [rsp + 0x5c]
dec eax
cmp eax, 1
ja 0x14004c9e5
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14004c8d3
test al, 1
jne 0x14004c9e5
shr rax, 1
cmp word [rbp + rax*2 + 0xae], 0
je 0x14004c8db
jmp 0x14004c9e5
mov word [rbp + 0xb0], r12w
lea rax, [rbp + 0xb0]
mov rdi, rsi
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004c8e5
test edi, edi
jne 0x14004c954
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004c9e5
cmp dword [rdx + 0x10], 0
jge 0x14004c928
cmp dword [rbx - 0xc], 0
jge 0x14004c91b
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x14004c9e5
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004c938
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 + 0x30], rbx
mov r15, qword [rsp + 0x40]
jmp 0x14004c9e5
mov r12d, dword [rbx - 0x10]
lea r14, [rbp + 0xb0]
sub r14, rbx
sar r14, 1
test edi, edi
jns 0x14004c974
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 0x14004c996
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140002490
mov rbx, qword [rsp + 0x30]
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 0x14004c9ba
lea r8, [rbx + r14*2]
call fcn.1400cc30c
jmp 0x14004c9c6
lea r8, [rbp + 0xb0]
call fcn.1400cc4cc
cmp edi, dword [rbx - 0xc]
jg 0x14004c9da
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r12 + rbx], ax
xor r12d, r12d
jmp 0x14004c9e5
mov ecx, 0x80070057
call fcn.140001920
int3
test r15, r15
je 0x14004c9f8
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], r12d
cmp dword [rbx - 0x10], 0
je 0x14004ca80
mov rcx, r12
lea rdx, [0x14014bc30]
nop dword [rax]
movzx eax, word [rbx + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x14004ca29
cmp rcx, 4
jne 0x14004ca10
mov eax, r12d
jmp 0x14004ca2e
sbb eax, eax
or eax, 1
test eax, eax
je 0x14004ca80
lea rcx, [rbx - 0x18]
call fcn.1400024f0
add rax, 0x18
mov qword [r13], rax
mov dword [rsp + 0x38], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x14004ca62
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 + 0x40]
test rcx, rcx
je 0x14004cb37
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r12
jmp 0x14004cb37
mov r8d, dword [0x1401bdd80]
mov ecx, r8d
imul ecx, r8d
mov eax, 0x6bca1af3
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub ecx, edx
cmp ecx, 0xc
jne 0x14004cace
mov r9d, r12d
test r8d, r8d
je 0x14004cac7
mov ecx, r8d
and ecx, 1
add r9d, ecx
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
jne 0x14004cab1
mov dword [0x1401bdd80], r9d
lea rax, [rsp + 0x78]
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x78]
call fcn.14004bac0
nop
mov rdx, rax
mov rcx, r13
call fcn.14004bf40
mov dword [rsp + 0x38], 1
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004ca62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14004ca62
lea rax, [rbp - 0x78]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x78]
call fcn.14004bac0
nop
mov rdx, rax
mov rcx, r13
call fcn.14004bf40
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x48], r12d
mov rax, r13
mov rcx, qword [rbp + 0x8b0]
xor rcx, rsp
call fcn.1400cbae0
lea r11, [rsp + 0x9c0]
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