Function at 0x180013730
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xfd0]
mov eax, 0x10d0
call fcn.18002c3d0
sub rsp, rax
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rbp + 0xfc0], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.18002ddc0
xor edx, edx
lea rcx, [rbp + 0x990]
mov r8d, 0x208
call fcn.18002ddc0
xor edx, edx
lea rcx, [rbp + 0x780]
mov r8d, 0x208
call fcn.18002ddc0
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.18002ddc0
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.18002ddc0
xor edx, edx
lea rcx, [rbp + 0xdb0]
mov r8d, 0x208
call fcn.18002ddc0
xor r9d, r9d
lea rdx, [rbp + 0x570]
xor ecx, ecx
lea r8d, [r9 + 0x2c]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rbp + 0x570]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x180013800
mov eax, dword [0x18004abac]
mov dword [rcx], eax
lea rcx, [rbp + 0x570]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x180013820
movups xmm1, xmmword [0x18004aa00]
movups xmmword [rcx], xmm1
lea rcx, [rbp + 0x570]
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x180013840
mov dword [rcx], eax
lea rax, [rbp + 0x570]
sub rax, 2
nop dword [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x180013860
lea rcx, [rbp + 0x570]
sub rcx, 2
movups xmmword [rax], xmm1
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x180013880
movzx eax, word [0x18004abb8]
lea r9, [rbp + 0x990]
movsd xmm0, qword [0x18004abb0]
lea r8, [0x180049cd0]
movsd qword [rcx], xmm0
lea rdx, str.InstallPath
mov word [rcx + 8], ax
lea rax, [rbp + 0x570]
mov qword [rsp + 0x28], rax
lea rcx, str.GDGlobalCfg
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
movzx eax, word [rbp + rcx + 0x990]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1800138e0
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], bx
jne 0x180013900
test eax, eax
jle 0x180013a21
mov rcx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rsp + rcx + 0x40]
mov word [rbp + rcx + 0x150], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180013920
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180013a21
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.18002ddc0
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x150]
mov word [rbp + rcx + 0x360], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180013970
lea rcx, [rbp + 0x360]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180013994
mov eax, dword [0x180049ce8]
movups xmm0, xmmword [str.GDeZip.exe]
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
movzx eax, word [0x180049cec]
mov word [rcx + 0x14], ax
lea rcx, [rbp + 0x360]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180013a21
cmp word [rsp + 0x40], bx
jne 0x1800139d9
mov r8, rbx
jmp 0x1800139ec
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x1800139e2
lea rcx, [rdi + 0x60]
lea rdx, [rsp + 0x40]
call fcn.18000a8d0
cmp word [rbp + 0x150], bx
je 0x180013f1a
lea rax, [rbp + 0x150]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180013a12
jmp 0x180013f1a
xor edx, edx
lea rcx, [rbp + 0xba2]
mov r8d, 0x206
call fcn.18002ddc0
mov eax, dword [0x18004acd8]
movups xmm0, xmmword [str.SOFTWARE_]
mov dword [rbp + 0xbb0], eax
lea rax, [rbp + 0xba0]
sub rax, 2
movaps xmmword [rbp + 0xba0], xmm0
nop word [rax + rax]
cmp word [rax + 2], bx
lea rax, [rax + 2]
jne 0x180013a60
movups xmm0, xmmword [0x18004aa00]
mov r9d, 0x20019
lea rdx, [rbp + 0xba0]
xor r8d, r8d
mov rcx, 0xffffffff80000002
movups xmmword [rax], xmm0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180013c1f
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.InstallPath
lea rax, [rbp + 0xdb0]
mov dword [rsp + 0x30], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180013c1f
mov rcx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbp + rcx + 0xdb0]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180013af0
mov rcx, rbx
nop dword [rax]
movzx eax, word [rsp + rcx + 0x40]
mov word [rbp + rcx + 0x150], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180013b10
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180013c1f
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.18002ddc0
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x150]
mov word [rbp + rcx + 0x360], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180013b60
lea rcx, [rbp + 0x360]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180013b84
mov eax, dword [0x180049ce8]
movups xmm0, xmmword [str.GDeZip.exe]
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
movzx eax, word [0x180049cec]
mov word [rcx + 0x14], ax
lea rcx, [rbp + 0x360]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180013c1f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rsp + 0x40], bx
jne 0x180013bd4
mov r8, rbx
jmp 0x180013bea
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x180013be0
lea rcx, [rdi + 0x60]
lea rdx, [rsp + 0x40]
call fcn.18000a8d0
cmp word [rbp + 0x150], bx
je 0x180013f1a
lea rax, [rbp + 0x150]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180013c10
jmp 0x180013f1a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
lea rdx, [rbp + 0x780]
xor ecx, ecx
lea r8d, [r9 + 0x2a]
call fcn.180019ac0
lea rcx, [rbp + 0x780]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180013c50
mov eax, dword [0x18004abac]
mov dword [rcx], eax
lea rcx, [rbp + 0x780]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180013c70
movups xmm0, xmmword [0x18004aa00]
movups xmmword [rcx], xmm0
lea rcx, [rbp + 0x780]
sub rcx, 2
nop
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180013c90
mov dword [rcx], eax
mov rcx, rbx
nop
movzx eax, word [rbp + rcx + 0x780]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180013ca0
mov rcx, rbx
nop dword [rax]
movzx eax, word [rsp + rcx + 0x40]
mov word [rbp + rcx + 0x150], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180013cc0
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180013dc1
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.18002ddc0
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x150]
mov word [rbp + rcx + 0x360], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180013d10
lea rcx, [rbp + 0x360]
sub rcx, 2
cmp word [rcx + 2], bx
lea rcx, [rcx + 2]
jne 0x180013d34
mov eax, dword [0x180049ce8]
movups xmm0, xmmword [str.GDeZip.exe]
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
movzx eax, word [0x180049cec]
mov word [rcx + 0x14], ax
lea rcx, [rbp + 0x360]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180013dc1
cmp word [rsp + 0x40], bx
jne 0x180013d79
mov r8, rbx
jmp 0x180013d8c
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x180013d82
lea rcx, [rdi + 0x60]
lea rdx, [rsp + 0x40]
call fcn.18000a8d0
cmp word [rbp + 0x150], bx
je 0x180013f1a
lea rax, [rbp + 0x150]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180013db2
jmp 0x180013f1a
lea rcx, [rbp + 0x990]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], bx
jne 0x180013dd0
test eax, eax
jle 0x180013e8f
lea rcx, [rbp + 0x990]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180013e8f
mov rcx, rbx
nop dword [rax]
movzx eax, word [rbp + rcx + 0x990]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180013e00
mov rcx, rbx
nop dword [rax]
movzx eax, word [rsp + rcx + 0x40]
mov word [rbp + rcx + 0x150], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180013e20
cmp word [rsp + 0x40], bx
jne 0x180013e42
mov r8, rbx
jmp 0x180013e5a
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x180013e50
lea rcx, [rdi + 0x60]
lea rdx, [rsp + 0x40]
call fcn.18000a8d0
cmp word [rbp + 0x150], bx
je 0x180013f1a
lea rax, [rbp + 0x150]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180013e80
jmp 0x180013f1a
mov rcx, rbx
movzx eax, word [rbp + rcx + 0x780]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180013e92
mov rcx, rbx
nop dword [rax + rax]
movzx eax, word [rsp + rcx + 0x40]
mov word [rbp + rcx + 0x150], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180013eb0
cmp word [rsp + 0x40], bx
jne 0x180013ed2
mov r8, rbx
jmp 0x180013eea
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x180013ee0
lea rcx, [rdi + 0x60]
lea rdx, [rsp + 0x40]
call fcn.18000a8d0
cmp word [rbp + 0x150], bx
je 0x180013f1a
lea rax, [rbp + 0x150]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180013f10
mov r8, rbx
lea rdx, [rbp + 0x150]
lea rcx, [rdi + 0xa0]
call fcn.18000a8d0
mov rcx, qword [rbp + 0xfc0]
xor rcx, rsp
call fcn.18002bf10
lea r11, [rsp + 0x10d0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret