Function at 0x14004dad0
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 - 0x7e8]
sub rsp, 0x8c0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1401bce90]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r13, rcx
mov qword [rbp - 0x70], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov esi, r14d
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x70], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 1]
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004db76
mov dword [rsp + 0x48], r14d
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x40], rsi
jmp 0x14004dcf9
mov qword [rsp + 0x68], r14
lea rax, [rsp + 0x68]
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]
mov r8d, eax
test eax, eax
jne 0x14004dbbb
mov dword [rsp + 0x48], r14d
mov r8d, r14d
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x40], rsi
mov ebx, dword [0x1401c4d60]
mov ecx, ebx
imul ecx, ebx
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
sub ecx, eax
cmp ecx, 2
jne 0x14004dc3d
movsd xmm3, qword [0x1401542b8]
xorps xmm2, xmm2
movd xmm4, ebx
cvtdq2pd xmm4, xmm4
movsd xmm5, qword [0x1401542e0]
movsd xmm6, qword [0x1401542b0]
nop word [rax + rax]
addsd xmm2, xmm3
movaps xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x14004dc29
subsd xmm2, xmm3
divsd xmm3, xmm5
movaps xmm1, xmm2
mulsd xmm1, xmm2
movaps xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmm6
ja 0x14004dc10
test r8d, r8d
je 0x14004dcff
call fcn.14004b460
test al, al
jne 0x14004dc69
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov qword [rsp + 0x60], r14
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 0x14004dcc2
mov eax, r14d
test rsi, rsi
je 0x14004dcaf
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x40], rsi
test eax, eax
je 0x14004dcf9
lea rax, [rbp - 0x80]
mov qword [rsp + 0x78], rax
lea rcx, [rbp - 0x80]
call fcn.14004c890
nop
mov rdx, rax
mov rcx, r13
call fcn.14004cd30
mov dword [rsp + 0x30], 1
test rsi, rsi
je 0x14004e05c
mov rcx, rsi
jmp 0x14004e051
mov ebx, dword [0x1401c4d60]
mov word [rbp - 0x60], r14w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x5e]
call fcn.1400d3710
mov ecx, ebx
imul ecx, ebx
imul ecx, ebx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub ecx, edx
cmp ecx, 6
jne 0x14004dd40
inc ebx
mov dword [0x1401c4d60], ebx
lea rcx, [0x1401bc9a8]
mov rax, qword [0x1401bc9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea r15, [0x140152530]
test r15, 0xffffffffffff0000
jne 0x14004dd8c
movzx edi, r15w
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14004dda4
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400025a0
jmp 0x14004dd9f
mov r8d, 3
mov rdx, r15
lea rcx, [rsp + 0x38]
call fcn.1400022b0
mov rbx, qword [rsp + 0x38]
mov dword [rsp + 0x58], 0x800
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, [0x1401501f0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or r12, 0xffffffffffffffff
test eax, eax
jne 0x14004df1f
mov eax, dword [rsp + 0x5c]
dec eax
cmp eax, 1
ja 0x14004df1f
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14004de12
test al, 1
jne 0x14004df1f
shr rax, 1
cmp word [rbp + rax*2 - 0x62], 0
je 0x14004de17
jmp 0x14004df1f
mov word [rbp - 0x60], r14w
lea rax, [rbp - 0x60]
mov rdi, r12
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004de20
test edi, edi
jne 0x14004de8f
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004df1f
cmp dword [rdx + 0x10], 0
jge 0x14004de63
cmp dword [rbx - 0xc], 0
jge 0x14004de56
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x14004df1f
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004de73
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 0x14004df1f
mov r15d, dword [rbx - 0x10]
lea r14, [rbp - 0x60]
sub r14, rbx
sar r14, 1
test edi, edi
jns 0x14004deac
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 0x14004dece
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.1400023a0
mov rbx, qword [rsp + 0x38]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r14, r15
lea r15, [rax + rax]
mov r9, r15
ja 0x14004def2
lea r8, [rbx + r14*2]
call fcn.1400ceaf4
jmp 0x14004defb
lea r8, [rbp - 0x60]
call fcn.1400cebf0
cmp edi, dword [rbx - 0xc]
jg 0x14004df14
mov dword [rbx - 0x10], edi
xor r14d, r14d
mov word [r15 + rbx], r14w
lea r15, [0x140152530]
jmp 0x14004df1f
mov ecx, 0x80070057
call fcn.140001920
int3
test rsi, rsi
je 0x14004df32
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
cmp dword [rbx - 0x10], 0
je 0x14004df94
mov rcx, r14
movzx eax, word [rbx + rcx*2]
inc rcx
cmp ax, word [r15 + rcx*2 - 2]
jne 0x14004df5a
cmp rcx, 4
jne 0x14004df40
mov eax, r14d
jmp 0x14004df5f
sbb eax, eax
or eax, 1
test eax, eax
je 0x14004df94
lea rcx, [rbx - 0x18]
call fcn.140002400
add rax, 0x18
mov qword [r13], rax
mov dword [rsp + 0x30], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x14004e047
mov rcx, qword [rbx - 0x18]
lea rdx, [rbx - 0x18]
jmp 0x14004e040
mov esi, dword [0x1401c4d60]
lea ecx, [rsi + 2]
lea eax, [rsi + 1]
imul ecx, eax
imul ecx, esi
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 0x14004e00b
mov r8d, 0xa5
mov r11d, r14d
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
test edi, edi
jle 0x14004e003
mov eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
mov r9d, r14d
mov r10, rdi
test eax, eax
jle 0x14004dffb
mov ecx, r9d
mov edx, eax
add r8d, ecx
dec ecx
dec rdx
jne 0x14004dff1
add r9d, r11d
dec r10
jne 0x14004dfe8
inc r11d
cmp r11d, r8d
jl 0x14004dfd3
lea rax, [rsp + 0x78]
mov qword [rbp - 0x68], rax
lea rcx, [rsp + 0x78]
call fcn.14004c890
nop
mov rdx, rax
mov rcx, r13
call fcn.14004cd30
mov dword [rsp + 0x30], 1
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004e047
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004e05c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
mov rax, r13
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400ce2d0
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret