Function at 0x140049e80
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 - 0x898]
sub rsp, 0x970
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401ace90]
xor rax, rsp
mov qword [rbp + 0x860], rax
mov r13, rcx
mov qword [rbp - 0x68], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov esi, r15d
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x60]
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]
or r14, 0xffffffffffffffff
test eax, eax
jne 0x140049f21
mov dword [rsp + 0x48], r15d
mov rsi, qword [rsp + 0x60]
jmp 0x14004a135
mov eax, dword [0x1401b4d80]
mov ecx, eax
imul ecx, eax
imul ecx, eax
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, 4
jne 0x140049fa5
mov rax, qword [str.uwG25lKyFI0Lb7]
mov qword [rbp - 0x80], rax
mov eax, dword [0x1401433c8]
mov dword [rbp - 0x78], eax
movzx eax, word [0x1401433cc]
mov word [rbp - 0x74], ax
movzx eax, byte [0x1401433ce]
mov byte [rbp - 0x72], al
lea rax, [rbp - 0x80]
mov rcx, r14
nop word [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140049f80
mov eax, 4
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.1400c7228
mov rcx, rax
call fcn.1400c8c8c
mov qword [rsp + 0x68], r15
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]
test eax, eax
jne 0x140049fe4
mov dword [rsp + 0x48], r15d
mov rsi, qword [rsp + 0x68]
jmp 0x14004a135
mov qword [rsp + 0x78], r15
lea rax, [rsp + 0x78]
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]
mov ebx, eax
test eax, eax
jne 0x14004a028
mov dword [rsp + 0x48], r15d
mov ebx, r15d
mov rsi, qword [rsp + 0x78]
mov qword [rsp + 0x40], rsi
mov r8d, dword [0x1401b4d80]
mov ecx, r8d
imul ecx, r8d
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, 0x13
jne 0x14004a065
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov r8d, dword [0x1401b4d80]
test ebx, ebx
je 0x14004a13a
lea ecx, [r8 + 2]
lea eax, [r8 + 1]
imul ecx, eax
imul ecx, r8d
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub ecx, eax
cmp ecx, 9
jne 0x14004a0fe
mov ecx, r15d
mov eax, 0xb40b40b5
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x5b
mov eax, r8d
sub eax, edx
cmp eax, 0x31
je 0x14004a0f8
nop
mov eax, r8d
or eax, 0xffffffc0
add r8d, eax
inc ecx
mov eax, r8d
imul eax, r8d
cmp ecx, eax
jg 0x14004a0f8
mov eax, 0xb40b40b5
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x5b
mov eax, r8d
sub eax, edx
cmp eax, 0x31
jne 0x14004a0c0
mov dword [0x1401b4d80], ecx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x70]
call fcn.140048f00
nop
mov rdx, rax
mov rcx, r13
call fcn.140049390
mov dword [rsp + 0x30], 1
test rsi, rsi
je 0x14004a45e
mov rcx, rsi
jmp 0x14004a453
mov qword [rsp + 0x40], rsi
mov word [rbp + 0x60], r15w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x62]
call fcn.1400cd020
lea rcx, str._k_f_
mov rax, qword [str._k_f_]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea r12, [0x140143140]
test r12, 0xffffffffffff0000
jne 0x14004a19c
movzx edi, r12w
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14004a1b4
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400026c0
jmp 0x14004a1af
mov r8d, 3
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.1400023d0
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, [0x140140dd8]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14004a225
mov eax, dword [rsp + 0x5c]
dec eax
cmp eax, 1
jbe 0x14004a1ff
mov edi, 0xd
jmp 0x14004a225
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14004a21d
test al, 1
jne 0x14004a216
shr rax, 1
cmp word [rbp + rax*2 + 0x5e], 0
je 0x14004a222
mov edi, 0xd
jmp 0x14004a225
mov word [rbp + 0x60], r15w
mov edi, r15d
mov r8d, dword [0x1401b4d80]
mov ecx, r8d
imul ecx, r8d
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xf
sub ecx, edx
cmp ecx, 0xb
jne 0x14004a28e
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x64
sub r8d, edx
add r8d, 0x2f4
movsxd rcx, r8d
mov eax, 4
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.1400c7228
mov rcx, rax
call fcn.1400c8c8c
test edi, edi
jne 0x14004a39f
lea rax, [rbp + 0x60]
mov rdi, r14
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004a2a0
test edi, edi
jne 0x14004a30f
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14004a39f
cmp dword [rdx + 0x10], 0
jge 0x14004a2e3
cmp dword [rbx - 0xc], 0
jge 0x14004a2d6
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x14004a39f
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004a2f3
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 0x14004a39f
mov r12d, dword [rbx - 0x10]
lea r15, [rbp + 0x60]
sub r15, rbx
sar r15, 1
test edi, edi
jns 0x14004a32c
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 0x14004a34e
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.1400024c0
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 0x14004a372
lea r8, [rbx + r15*2]
call fcn.1400c8404
jmp 0x14004a37b
lea r8, [rbp + 0x60]
call fcn.1400c8500
cmp edi, dword [rbx - 0xc]
jg 0x14004a394
mov dword [rbx - 0x10], edi
xor r15d, r15d
mov word [r12 + rbx], r15w
lea r12, [0x140143140]
jmp 0x14004a39f
mov ecx, 0x80070057
call fcn.140001920
int3
test rsi, rsi
je 0x14004a3b2
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
cmp dword [rbx - 0x10], 0
je 0x14004a40d
mov rcx, r15
movzx eax, word [rbx + rcx*2]
inc rcx
cmp ax, word [r12 + rcx*2 - 2]
jne 0x14004a3da
cmp rcx, 4
jne 0x14004a3c0
mov eax, r15d
jmp 0x14004a3df
sbb eax, eax
or eax, 1
test eax, eax
je 0x14004a40d
lea rcx, [rbx - 0x18]
call fcn.140002520
add rax, 0x18
mov qword [r13], rax
mov dword [rsp + 0x30], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x14004a449
mov rcx, qword [rbx - 0x18]
lea rdx, [rbx - 0x18]
jmp 0x14004a442
lea rax, [rsp + 0x70]
mov qword [rbp - 0x60], rax
lea rcx, [rsp + 0x70]
call fcn.140048f00
nop
mov rdx, rax
mov rcx, r13
call fcn.140049390
mov dword [rsp + 0x30], 1
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004a449
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 0x14004a45e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
mov rax, r13
mov rcx, qword [rbp + 0x860]
xor rcx, rsp
call fcn.1400c7be0
lea r11, [rsp + 0x970]
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