Function at 0x140050e70
Capabilities:
Get disk size
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 - 0x888]
sub rsp, 0x960
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp + 0x850], rax
mov r13, rcx
mov qword [rbp - 0x70], rcx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
lea rax, [rsp + 0x60]
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 0x140050f05
mov rsi, qword [rsp + 0x60]
jmp 0x140050fae
mov ecx, dword [0x1401cbd80]
imul ecx, ecx
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, 0xb
jne 0x140050f3e
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov qword [rsp + 0x70], r14
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 0x140050f75
mov rsi, qword [rsp + 0x70]
jmp 0x140050fae
mov qword [rsp + 0x68], r14
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 0x14005127e
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x48], r14d
mov word [rbp + 0x50], r14w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x52]
call fcn.1400d6ac0
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea r12, [0x140158fc0]
test r12, 0xffffffffffff0000
jne 0x14005101a
movzx edi, r12w
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x140051032
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400025b0
jmp 0x14005102d
mov r8d, 3
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.1400022c0
mov rbx, qword [rsp + 0x30]
mov dword [rsp + 0x58], 0x800
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, [0x140156ca8]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or r15, 0xffffffffffffffff
test eax, eax
jne 0x1400511af
mov eax, dword [rsp + 0x5c]
dec eax
cmp eax, 1
ja 0x1400511af
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1400510a0
test al, 1
jne 0x1400511af
shr rax, 1
cmp word [rbp + rax*2 + 0x4e], 0
je 0x1400510a5
jmp 0x1400511af
mov word [rbp + 0x50], r14w
lea rax, [rbp + 0x50]
mov rdi, r15
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400510b0
test edi, edi
jne 0x14005111f
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400511af
cmp dword [rdx + 0x10], 0
jge 0x1400510f3
cmp dword [rbx - 0xc], 0
jge 0x1400510e6
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x1400511af
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051103
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 rsi, qword [rsp + 0x40]
jmp 0x1400511af
mov r12d, dword [rbx - 0x10]
lea r14, [rbp + 0x50]
sub r14, rbx
sar r14, 1
test edi, edi
jns 0x14005113c
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 0x14005115e
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1400023b0
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 0x140051182
lea r8, [rbx + r14*2]
call fcn.1400d1ea4
jmp 0x14005118b
lea r8, [rbp + 0x50]
call fcn.1400d2064
cmp edi, dword [rbx - 0xc]
jg 0x1400511a4
mov dword [rbx - 0x10], edi
xor r14d, r14d
mov word [r12 + rbx], r14w
lea r12, [0x140158fc0]
jmp 0x1400511af
mov ecx, 0x80070057
call fcn.140001920
int3
test rsi, rsi
je 0x1400511c2
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 0x140051241
mov rcx, r14
movzx eax, word [rbx + rcx*2]
inc rcx
cmp ax, word [r12 + rcx*2 - 2]
jne 0x1400511ea
cmp rcx, 4
jne 0x1400511d0
mov eax, r14d
jmp 0x1400511ef
sbb eax, eax
or eax, 1
test eax, eax
je 0x140051241
lea rcx, [rbx - 0x18]
call fcn.140002410
add rax, 0x18
mov qword [r13], rax
mov dword [rsp + 0x38], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x140051223
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 0x1400512d9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
jmp 0x1400512d9
lea rax, [rsp + 0x78]
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x78]
call fcn.14004fe40
nop
mov rdx, rax
mov rcx, r13
call fcn.140050570
mov dword [rsp + 0x38], 1
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051223
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140051223
mov ecx, dword [0x1401cbd80]
lea r8d, [rcx + 1]
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, 0x10
jne 0x1400512b4
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
lea rax, [rbp - 0x78]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x78]
call fcn.14004fe40
nop
mov rdx, rax
mov rcx, r13
call fcn.140050570
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x48], r14d
mov rax, r13
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.1400d1680
lea r11, [rsp + 0x960]
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