Function at 0x140055160
Capabilities:
Get installed programs
Query or enumerate registry value

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1030]
mov eax, 0x1130
call fcn.1400dc350
sub rsp, rax
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1168], rbx
mov qword [rsp + 0x1170], rsi
mov qword [rsp + 0x1178], rdi
mov rax, qword [0x1401d5e90]
xor rax, rsp
mov qword [rbp + 0x1020], rax
mov r13, rcx
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x60], rcx
xor r15d, r15d
mov dword [rsp + 0x54], r15d
mov eax, dword [0x1401ddd80]
mov ecx, eax
imul ecx, eax
imul ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 7
sub ecx, edx
cmp ecx, 5
jne 0x140055228
lea ecx, [r15 + 0x28]
call fcn.1400d68e8
mov rdi, rax
mov ebx, r15d
nop
call fcn.1400d7b94
add eax, dword [0x1401ddd80]
mov dword [rdi + rbx*4], eax
inc rbx
cmp rbx, 0xa
jl 0x140055200
mov eax, dword [rdi + 0x24]
mov dword [0x1401ddd80], eax
mov rcx, rdi
call fcn.1400d834c
mov r14, r15
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005527e
mov dword [rsp + 0x60], r15d
mov r14, qword [rsp + 0x78]
mov qword [rsp + 0x58], r14
jmp 0x140055603
mov ecx, dword [0x1401ddd80]
mov r8d, ecx
imul r8d, ecx
mov eax, 0x30c30c31
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
sub r8d, edx
cmp r8d, 0x14
jne 0x140055319
mov esi, r15d
lea rdi, [rbp - 0x50]
mov r9d, r15d
nop word [rax + rax]
lea ebx, [r9 + 1]
lea r8d, [rsi + 1]
mov eax, ecx
cdq
idiv r8d
mov r8d, edx
mov eax, ecx
sub eax, esi
imul r8d, eax
mov eax, ecx
cdq
idiv ebx
add r8d, eax
sub r8d, r9d
mov dword [rdi], r8d
mov edx, r8d
lea rcx, [0x14016410c]
call fcn.1400d7c60
mov r9d, ebx
add rdi, 4
cmp ebx, 0xb
jge 0x14005530a
mov ecx, dword [0x1401ddd80]
jmp 0x1400552c0
inc esi
cmp esi, 0x1e
jge 0x140055319
mov ecx, dword [0x1401ddd80]
jmp 0x1400552b0
mov qword [rbp - 0x80], r15
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140165ff0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005535a
mov dword [rsp + 0x60], r15d
mov r14, qword [rbp - 0x80]
mov qword [rsp + 0x58], r14
jmp 0x140055603
mov r11d, dword [0x1401ddd80]
lea ecx, [r11 + 2]
lea eax, [r11 + 1]
imul ecx, eax
imul ecx, r11d
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, 0xc
jne 0x1400554ed
mov r10d, r15d
mov dword [rsp + 0x40], r15d
mov eax, r11d
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x48], eax
mov eax, 0x55555556
imul r11d
mov r12d, edx
shr r12d, 0x1f
add r12d, edx
mov eax, r11d
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x50], eax
mov eax, 0x66666667
imul r11d
mov r15d, edx
sar r15d, 1
mov eax, r15d
shr eax, 0x1f
add r15d, eax
mov eax, 0x2aaaaaab
imul r11d
mov r13d, edx
shr r13d, 0x1f
add r13d, edx
mov eax, 0x92492493
imul r11d
lea esi, [r11 + rdx]
sar esi, 2
mov eax, esi
shr eax, 0x1f
add esi, eax
lea r9, [rbp + 0xce1]
mov r14d, dword [rsp + 0x48]
movzx r8d, r11b
sub r8b, r10b
mov ebx, 1
lea edi, [rbx + 0xc]
mov r10d, dword [rsp + 0x50]
nop word [rax + rax]
mov eax, r11d
cdq
idiv ebx
movzx eax, r8b
imul r11b
movzx ecx, al
movzx eax, dl
imul cl
mov byte [r9 - 1], al
movzx eax, r8b
imul r14b
movzx ecx, al
movzx eax, dl
imul cl
mov byte [r9], al
movzx eax, r8b
imul r12b
movzx ecx, al
movzx eax, dl
imul cl
mov byte [r9 + 1], al
movzx eax, r10b
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, r15b
imul cl
mov byte [r9 + 3], al
movzx eax, dl
imul r8b
movzx ecx, al
movzx eax, r13b
imul cl
mov byte [r9 + 4], al
movzx eax, sil
imul r8b
movzx ecx, al
movzx eax, dl
imul cl
mov byte [r9 + 5], al
inc ebx
add r9, 7
dec rdi
jne 0x140055430
mov r10d, dword [rsp + 0x40]
inc r10d
mov dword [rsp + 0x40], r10d
cmp r10d, 9
jl 0x140055410
mov r14, qword [rsp + 0x58]
mov r13, qword [rsp + 0x70]
xor r15d, r15d
mov qword [rsp + 0x70], r15
lea rax, [rsp + 0x70]
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 r9d, eax
test eax, eax
jne 0x140055532
mov dword [rsp + 0x60], r15d
mov r9d, r15d
mov r14, qword [rsp + 0x70]
mov qword [rsp + 0x58], r14
mov ecx, dword [0x1401ddd80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x66666667
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
shl ecx, 2
mov eax, r8d
sub eax, ecx
cmp eax, 1
jne 0x14005556f
inc dword [0x1401df394]
test r9d, r9d
je 0x1400555b9
lea rax, [rbp - 0x70]
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x70]
call fcn.140053ed0
nop
mov rdx, rax
mov rcx, r13
call fcn.140054470
mov dword [rsp + 0x54], 1
test r14, r14
je 0x1400555ac
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov rax, r13
jmp 0x1400559e4
mov eax, 0xb21642c9
imul r8d
add edx, r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub r8d, edx
cmp r8d, 0xf
jne 0x140055603
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov word [rbp + 0x4e0], r15w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x4e2]
call fcn.1400dc6e0
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
lea r12, [0x140166138]
test r12, 0xffffffffffff0000
jne 0x140055674
movzx edi, r12w
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x1400556e4
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140002a60
mov rbx, qword [rsp + 0x48]
jmp 0x1400556e4
mov esi, 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 0x1400556a6
mov edx, 3
lea rcx, [rsp + 0x48]
call fcn.140002860
mov rbx, qword [rsp + 0x48]
movsxd rdx, dword [rbx - 0xc]
mov r9d, 6
mov rcx, rbx
add rdx, rdx
cmp rdi, rsi
ja 0x1400556c6
lea r8, [rbx + rdi*2]
call fcn.1400d7ac4
jmp 0x1400556ce
mov r8, r12
call fcn.1400d7bc0
cmp dword [rbx - 0xc], 3
jl 0x1400559d9
mov dword [rbx - 0x10], 3
mov word [rbx + 6], r15w
mov dword [rsp + 0x40], 0x800
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x4e0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.Version
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or rsi, 0xffffffffffffffff
test eax, eax
jne 0x14005586e
mov eax, dword [rsp + 0x50]
dec eax
cmp eax, 1
ja 0x14005586e
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140055758
test al, 1
jne 0x14005586e
shr rax, 1
cmp word [rbp + rax*2 + 0x4de], 0
je 0x140055760
jmp 0x14005586e
mov word [rbp + 0x4e0], r15w
lea rax, [rbp + 0x4e0]
mov rdi, rsi
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140055770
test edi, edi
jne 0x1400557df
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14005586e
cmp dword [rdx + 0x10], 0
jge 0x1400557b3
cmp dword [rbx - 0xc], 0
jge 0x1400557a6
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x14005586e
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400557c3
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 + 0x48], rbx
mov r14, qword [rsp + 0x58]
jmp 0x14005586e
mov r12d, dword [rbx - 0x10]
lea r15, [rbp + 0x4e0]
sub r15, rbx
sar r15, 1
test edi, edi
jns 0x1400557ff
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 0x140055821
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140002860
mov rbx, qword [rsp + 0x48]
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 0x140055845
lea r8, [rbx + r15*2]
call fcn.1400d7ac4
jmp 0x140055851
lea r8, [rbp + 0x4e0]
call fcn.1400d7bc0
cmp edi, dword [rbx - 0xc]
jg 0x140055863
mov dword [rbx - 0x10], edi
xor r15d, r15d
mov word [r12 + rbx], r15w
jmp 0x14005586e
mov ecx, 0x80070057
call fcn.140001920
int3
test r14, r14
je 0x140055881
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
cmp dword [rbx - 0x10], 0
je 0x140055904
mov rcx, r15
lea rdx, [0x140166120]
nop word [rax + rax]
movzx eax, word [rbx + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x1400558b9
cmp rcx, 4
jne 0x1400558a0
mov eax, r15d
jmp 0x1400558be
sbb eax, eax
or eax, 1
test eax, eax
je 0x140055904
lea rcx, [rbx - 0x18]
call fcn.1400028c0
add rax, 0x18
mov qword [r13], rax
mov dword [rsp + 0x54], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x1400558f1
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 + 0x58]
test rcx, rcx
je 0x1400555ac
jmp 0x1400555a1
mov r8d, dword [0x1401ddd80]
mov ecx, r8d
imul ecx, r8d
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, 0xc
jne 0x14005599d
lea ecx, [r8 + 1]
imul ecx, r8d
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub ecx, edx
cmp ecx, 9
jne 0x14005595f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileType]
mov r8d, dword [0x1401ddd80]
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x64
sub r8d, edx
add r8d, 0x2f4
movsxd rcx, r8d
mov eax, 4
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400d68e8
mov rcx, rax
call fcn.1400d834c
lea rax, [rbp - 0x78]
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x78]
call fcn.140053ed0
nop
mov rdx, rax
mov rcx, r13
call fcn.140054470
mov dword [rsp + 0x54], 1
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400558f1
mov rcx, qword [rdx]
jmp 0x1400558ea
mov ecx, 0x80070057
call fcn.140001920
nop
mov rcx, qword [rbp + 0x1020]
xor rcx, rsp
call fcn.1400d72a0
lea r11, [rsp + 0x1130]
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