Function at 0x14004e060
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 - 0x7d8]
sub rsp, 0x8b0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401bbe90]
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 0x14004e102
mov dword [rsp + 0x48], r14d
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x40], rsi
jmp 0x14004e28e
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 ebx, eax
test eax, eax
jne 0x14004e146
mov dword [rsp + 0x48], r14d
mov ebx, r14d
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x40], rsi
call fcn.14004b700
test al, al
jne 0x14004e160
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov dword [0x1401c3d80], eax
jmp 0x14004e167
mov r8d, dword [0x1401c3d80]
test ebx, ebx
je 0x14004e28e
mov ecx, r8d
imul ecx, r8d
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
cmp ecx, 5
jne 0x14004e1fe
mov ecx, r14d
mov eax, 0x24168e19
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe3
mov eax, r8d
sub eax, edx
cmp eax, 2
je 0x14004e1f8
nop dword [rax + rax]
mov eax, r8d
or eax, 0xffffffcf
add r8d, eax
inc ecx
mov eax, r8d
imul eax, r8d
cmp ecx, eax
jg 0x14004e1f8
mov eax, 0x24168e19
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe3
mov eax, r8d
sub eax, edx
cmp eax, 2
jne 0x14004e1c0
mov dword [0x1401c3d80], ecx
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 0x14004e257
mov eax, r14d
test rsi, rsi
je 0x14004e244
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 0x14004e28e
lea rax, [rbp - 0x80]
mov qword [rsp + 0x78], rax
lea rcx, [rbp - 0x80]
call fcn.14004d040
nop
mov rdx, rax
mov rcx, r13
call fcn.14004d610
mov dword [rsp + 0x30], 1
test rsi, rsi
je 0x14004e5ae
mov rcx, rsi
jmp 0x14004e5a3
mov word [rbp - 0x60], r14w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x5e]
call fcn.1400d2f00
lea rcx, [0x1401bb9a8]
mov rax, qword [0x1401bb9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea r12, [0x140151480]
test r12, 0xffffffffffff0000
jne 0x14004e2f0
movzx edi, r12w
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14004e308
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400025b0
jmp 0x14004e303
mov r8d, 3
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.1400022c0
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, [0x14014f150]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or r15, 0xffffffffffffffff
test eax, eax
jne 0x14004e481
mov eax, dword [rsp + 0x5c]
dec eax
cmp eax, 1
ja 0x14004e481
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14004e376
test al, 1
jne 0x14004e481
shr rax, 1
cmp word [rbp + rax*2 - 0x62], 0
je 0x14004e37b
jmp 0x14004e481
mov word [rbp - 0x60], r14w
lea rax, [rbp - 0x60]
mov rdi, r15
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004e382
test edi, edi
jne 0x14004e3f1
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004e481
cmp dword [rdx + 0x10], 0
jge 0x14004e3c5
cmp dword [rbx - 0xc], 0
jge 0x14004e3b8
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x14004e481
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004e3d5
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 0x14004e481
mov r12d, dword [rbx - 0x10]
lea r14, [rbp - 0x60]
sub r14, rbx
sar r14, 1
test edi, edi
jns 0x14004e40e
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 0x14004e430
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.1400023b0
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 0x14004e454
lea r8, [rbx + r14*2]
call fcn.1400ce2e4
jmp 0x14004e45d
lea r8, [rbp - 0x60]
call fcn.1400ce4a4
cmp edi, dword [rbx - 0xc]
jg 0x14004e476
mov dword [rbx - 0x10], edi
xor r14d, r14d
mov word [r12 + rbx], r14w
lea r12, [0x140151480]
jmp 0x14004e481
mov ecx, 0x80070057
call fcn.140001920
int3
test rsi, rsi
je 0x14004e494
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 0x14004e504
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rbx + rcx*2]
inc rcx
cmp ax, word [r12 + rcx*2 - 2]
jne 0x14004e4ca
cmp rcx, 4
jne 0x14004e4b0
mov eax, r14d
jmp 0x14004e4cf
sbb eax, eax
or eax, 1
test eax, eax
je 0x14004e504
lea rcx, [rbx - 0x18]
call fcn.140002410
add rax, 0x18
mov qword [r13], rax
mov dword [rsp + 0x30], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x14004e599
mov rcx, qword [rbx - 0x18]
lea rdx, [rbx - 0x18]
jmp 0x14004e592
mov ecx, dword [0x1401c3d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x38e38e39
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub r8d, eax
cmp r8d, 3
jne 0x14004e55d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [0x1401c3d80]
mov edx, 7
test rax, rax
cmove ecx, edx
mov dword [0x1401c3d80], ecx
lea rax, [rsp + 0x78]
mov qword [rbp - 0x68], rax
lea rcx, [rsp + 0x78]
call fcn.14004d040
nop
mov rdx, rax
mov rcx, r13
call fcn.14004d610
mov dword [rsp + 0x30], 1
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004e599
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 0x14004e5ae
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.1400cdac0
lea r11, [rsp + 0x8b0]
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