Function at 0x180007670
Capabilities:
Check if file exists
Get common file path
Get program files directory
Get startup folder
Query or enumerate registry value
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x9f0]
sub rsp, 0xaf0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xb20], rbx
mov rax, qword [0x180044360]
xor rax, rsp
mov qword [rbp + 0x9e0], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x40], esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.1800199d0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3b0]
call fcn.1800199d0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.1800199d0
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
xor r8d, r8d
lea rdx, [0x18003266c]
lea rcx, [rsp + 0x70]
call fcn.180002000
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x7d0]
call fcn.1800199d0
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
xor r8d, r8d
lea rdx, [0x18003266c]
lea rcx, [rsp + 0x50]
call fcn.180002000
nop
xor r9d, r9d
lea r8d, [rsi + 0x2c]
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rbp - 0x70]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180007770
mov eax, dword [0x180032cb4]
mov dword [rcx], eax
lea rcx, [rbp - 0x70]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180007790
movups xmm1, xmmword [str.PuddingZip]
movups xmmword [rcx], xmm1
mov edx, dword [0x180032db8]
mov dword [rcx + 0x10], edx
movzx r8d, word [0x180032dbc]
mov word [rcx + 0x14], r8w
lea rcx, [rbp - 0x70]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1800077c2
mov dword [rcx], eax
lea rax, [rbp - 0x70]
sub rax, 2
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x1800077d6
movups xmmword [rax], xmm1
mov dword [rax + 0x10], edx
mov word [rax + 0x14], r8w
lea rcx, [rbp - 0x70]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1800077f3
movsd xmm0, qword [str..ini]
movsd qword [rcx], xmm0
movzx eax, word [0x180032dc8]
mov word [rcx + 8], ax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x3b0]
lea r8, [0x18003266c]
lea rdx, str.InstallPath
lea rcx, str.Globals
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rbp + 0x3b0], 0
jne 0x180007856
mov r8, rsi
jmp 0x18000786c
lea rax, [rbp + 0x3b0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180007861
lea rdx, [rbp + 0x3b0]
lea rcx, [rsp + 0x70]
call fcn.180002000
cmp qword [rbp - 0x80], 0
je 0x18000793d
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000793d
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180001ec0
mov r8d, 9
lea rdx, str.PDZip.exe
lea rcx, [rsp + 0x50]
call fcn.180006450
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000793d
lea rax, [rsp + 0x70]
lea rcx, [rdi + 8]
cmp rcx, rax
je 0x18000790d
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
call fcn.180001ec0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x180007925
mov rax, qword [rbx]
jmp 0x180007928
mov rax, rbx
mov word [rax], si
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.180005da0
jmp 0x180007c2f
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x5c2]
call fcn.1800199d0
movups xmm0, xmmword [str.SOFTWARE_]
movaps xmmword [rbp + 0x5c0], xmm0
mov eax, dword [0x180032e08]
mov dword [rbp + 0x5d0], eax
lea rcx, [rbp + 0x5c0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180007976
movups xmm0, xmmword [str.PuddingZip]
movups xmmword [rcx], xmm0
mov eax, dword [0x180032db8]
mov dword [rcx + 0x10], eax
movzx eax, word [0x180032dbc]
mov word [rcx + 0x14], ax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x5c0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180007ab9
mov dword [rsp + 0x30], 0x104
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x7d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.InstallPath
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180007ab9
cmp word [rbp + 0x7d0], ax
jne 0x180007a19
mov r8, rsi
jmp 0x180007a2f
lea rax, [rbp + 0x7d0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180007a24
lea rdx, [rbp + 0x7d0]
lea rcx, [rsp + 0x70]
call fcn.180002000
cmp qword [rbp - 0x80], 0
je 0x180007ab9
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180007ab9
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180001ec0
mov r8d, 9
lea rdx, str.PDZip.exe
lea rcx, [rsp + 0x50]
call fcn.180006450
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180007ab9
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1800078ee
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
lea r8d, [r9 + 0x2a]
lea rdx, [rbp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rbp + 0x1a0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180007ae5
mov eax, dword [0x180032cb4]
mov dword [rcx], eax
lea rdx, [rbp + 0x1a0]
sub rdx, 2
lea rdx, [rdx + 2]
cmp word [rdx], 0
jne 0x180007b02
movups xmm0, xmmword [str.PuddingZip]
movups xmmword [rdx], xmm0
mov ecx, dword [0x180032db8]
mov dword [rdx + 0x10], ecx
movzx ecx, word [0x180032dbc]
mov word [rdx + 0x14], cx
lea rcx, [rbp + 0x1a0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180007b35
mov dword [rcx], eax
cmp word [rbp + 0x1a0], 0
jne 0x180007b50
mov r8, rsi
jmp 0x180007b6b
lea rax, [rbp + 0x1a0]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180007b60
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x70]
call fcn.180002000
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180007be2
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180001ec0
mov r8d, 9
lea rdx, str.PDZip.exe
lea rcx, [rsp + 0x50]
call fcn.180006450
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800078ee
lea rdx, [rdi + 0x48]
add rdi, 8
cmp rdi, rdx
je 0x180007bfe
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rdi
call fcn.180001ec0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x180007c16
mov rax, qword [rbx]
jmp 0x180007c19
mov rax, rbx
mov word [rax], si
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.180001ec0
nop
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x180007c4c
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.180002150
mov word [rsp + 0x50], si
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x180007c7b
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.180002150
mov rax, rbx
mov rcx, qword [rbp + 0x9e0]
xor rcx, rsp
call fcn.180017a50
mov rbx, qword [rsp + 0xb20]
add rsp, 0xaf0
pop rdi
pop rsi
pop rbp
ret