Function at 0x180014530
Capabilities:
Get common file path
Query or enumerate registry value
Read .ini file

Disassembly:
push rbp
lea rbp, [rsp - 0x1020]
mov eax, 0x1120
call fcn.180030320
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1138], rbx
mov qword [rsp + 0x1140], rdi
mov rax, qword [0x1800a4830]
xor rax, rsp
mov qword [rbp + 0x1010], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5c0]
call fcn.18004fb10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x7d0]
call fcn.18004fb10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x9e0]
call fcn.18004fb10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.18004fb10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.18004fb10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xe00]
call fcn.18004fb10
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xbf2]
call fcn.18004fb10
movups xmm0, xmmword [str.SOFTWARE_]
movaps xmmword [rbp + 0xbf0], xmm0
mov eax, dword [0x18006f110]
mov dword [rbp + 0xc00], eax
lea rax, [rbp + 0xbf0]
sub rax, 2
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x180014622
movups xmm0, xmmword [str.GoodZip]
movups xmmword [rax], xmm0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0xbf0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x1800147f5
mov dword [rsp + 0x38], 0x208
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xe00]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.InstallPath
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800147f5
mov ecx, ebx
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0xe00]
mov word [rbp + rcx - 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1800146b0
mov rcx, rbx
nop dword [rax]
movzx eax, word [rbp + rcx - 0x70]
mov word [rbp + rcx + 0x1a0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1800146d0
lea rcx, [rbp + 0x1a0]
call fcn.180019910
test al, al
je 0x1800147f5
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3b0]
call fcn.18004fb10
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x1a0]
mov word [rbp + rcx + 0x3b0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180014720
lea rcx, [rbp + 0x3b0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], bx
jne 0x180014744
movups xmm0, xmmword [str.GDeZip.exe]
movups xmmword [rcx], xmm0
mov eax, dword [0x18006de68]
mov dword [rcx + 0x10], eax
movzx eax, word [0x18006de6c]
mov word [rcx + 0x14], ax
lea rcx, [rbp + 0x3b0]
call fcn.180019910
test al, al
je 0x1800147f5
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rbp - 0x70], bx
jne 0x180014791
mov r8, rbx
jmp 0x1800147aa
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x1800147a0
lea rcx, [rdi + 0x60]
lea rdx, [rbp - 0x70]
call fcn.18000ae80
cmp word [rbp + 0x1a0], bx
je 0x1800147da
lea rax, [rbp + 0x1a0]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1800147d0
lea rcx, [rdi + 0xa0]
mov r8, rbx
lea rdx, [rbp + 0x1a0]
call fcn.18000ae80
jmp 0x180014d8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
lea r8d, [r9 + 0x2c]
lea rdx, [rbp + 0x5c0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rbp + 0x5c0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], bx
jne 0x180014821
mov eax, dword [0x18006effc]
mov dword [rcx], eax
lea rcx, [rbp + 0x5c0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], bx
jne 0x180014840
movups xmm1, xmmword [str.GoodZip]
movups xmmword [rcx], xmm1
lea rcx, [rbp + 0x5c0]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], bx
jne 0x180014860
mov dword [rcx], eax
lea rax, [rbp + 0x5c0]
sub rax, 2
lea rax, [rax + 2]
cmp word [rax], bx
jne 0x180014876
movups xmmword [rax], xmm1
lea rcx, [rbp + 0x5c0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], bx
jne 0x180014890
movsd xmm0, qword [0x18006f000]
movsd qword [rcx], xmm0
movzx eax, word [0x18006f008]
mov word [rcx + 8], ax
lea rax, [rbp + 0x5c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x7d0]
lea r8, [0x18006de50]
lea rdx, str.InstallPath
lea rcx, str.GDGlobalCfg
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rcx, rbx
nop dword [rax]
movzx eax, word [rbp + rcx + 0x7d0]
mov word [rbp + rcx - 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1800148f0
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], bx
jne 0x180014910
test eax, eax
jle 0x180014a2f
mov rcx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbp + rcx - 0x70]
mov word [rbp + rcx + 0x1a0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180014930
lea rcx, [rbp + 0x1a0]
call fcn.180019910
test al, al
je 0x180014a2f
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3b0]
call fcn.18004fb10
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x1a0]
mov word [rbp + rcx + 0x3b0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180014980
lea rcx, [rbp + 0x3b0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], bx
jne 0x1800149a4
movups xmm0, xmmword [str.GDeZip.exe]
movups xmmword [rcx], xmm0
mov eax, dword [0x18006de68]
mov dword [rcx + 0x10], eax
movzx eax, word [0x18006de6c]
mov word [rcx + 0x14], ax
lea rcx, [rbp + 0x3b0]
call fcn.180019910
test al, al
je 0x180014a2f
cmp word [rbp - 0x70], bx
jne 0x1800149e6
mov r8, rbx
jmp 0x1800149fa
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], bx
jne 0x1800149f0
lea rcx, [rdi + 0x60]
lea rdx, [rbp - 0x70]
call fcn.18000ae80
cmp word [rbp + 0x1a0], bx
je 0x1800147da
lea rax, [rbp + 0x1a0]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180014a20
jmp 0x1800147da
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x40], bx
mov r8d, 7
lea rdx, str.roaming
lea rcx, [rsp + 0x40]
call fcn.18000ae80
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.18001a850
nop
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
lea rdx, [rbp + 0x9e0]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x180014a80
lea rax, [rbp + 0x9e0]
sub rax, 2
nop
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x180014aa0
movups xmm0, xmmword [str.GoodZip]
movups xmmword [rax], xmm0
lea rcx, [rbp + 0x9e0]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180014ac0
mov eax, dword [0x18006effc]
mov dword [rcx], eax
mov rcx, rbx
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x9e0]
mov word [rbp + rcx - 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180014ae0
mov rcx, rbx
nop dword [rax]
movzx eax, word [rbp + rcx - 0x70]
mov word [rbp + rcx + 0x1a0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180014b00
lea rcx, [rbp + 0x1a0]
call fcn.180019910
test al, al
je 0x180014c00
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3b0]
call fcn.18004fb10
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x1a0]
mov word [rbp + rcx + 0x3b0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180014b50
lea rcx, [rbp + 0x3b0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180014b74
movups xmm0, xmmword [str.GDeZip.exe]
movups xmmword [rcx], xmm0
mov eax, dword [0x18006de68]
mov dword [rcx + 0x10], eax
movzx eax, word [0x18006de6c]
mov word [rcx + 0x14], ax
lea rcx, [rbp + 0x3b0]
call fcn.180019910
test al, al
je 0x180014c00
cmp word [rbp - 0x70], 0
jne 0x180014bb8
mov r8, rbx
jmp 0x180014bcb
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180014bc0
lea rcx, [rdi + 0x60]
lea rdx, [rbp - 0x70]
call fcn.18000ae80
cmp word [rbp + 0x1a0], 0
je 0x180014d5a
lea rax, [rbp + 0x1a0]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180014bf1
jmp 0x180014d5a
lea rcx, [rbp + 0x7d0]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180014c10
test eax, eax
jle 0x180014cd0
lea rcx, [rbp + 0x7d0]
call fcn.180019910
test al, al
je 0x180014cd0
mov rcx, rbx
nop dword [rax]
movzx eax, word [rbp + rcx + 0x7d0]
mov word [rbp + rcx - 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180014c40
mov rcx, rbx
nop dword [rax]
movzx eax, word [rbp + rcx - 0x70]
mov word [rbp + rcx + 0x1a0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180014c60
cmp word [rbp - 0x70], ax
jne 0x180014c81
mov r8, rbx
jmp 0x180014c9b
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180014c90
lea rcx, [rdi + 0x60]
lea rdx, [rbp - 0x70]
call fcn.18000ae80
cmp word [rbp + 0x1a0], 0
je 0x180014d5a
lea rax, [rbp + 0x1a0]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180014cc1
jmp 0x180014d5a
mov rcx, rbx
movzx eax, word [rbp + rcx + 0x9e0]
mov word [rbp + rcx - 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180014cd3
mov rcx, rbx
nop dword [rax]
movzx eax, word [rbp + rcx - 0x70]
mov word [rbp + rcx + 0x1a0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180014cf0
cmp word [rbp - 0x70], ax
jne 0x180014d11
mov r8, rbx
jmp 0x180014d2b
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180014d20
lea rcx, [rdi + 0x60]
lea rdx, [rbp - 0x70]
call fcn.18000ae80
cmp word [rbp + 0x1a0], 0
je 0x180014d5a
lea rax, [rbp + 0x1a0]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180014d50
mov r8, rbx
lea rdx, [rbp + 0x1a0]
lea rcx, [rdi + 0xa0]
call fcn.18000ae80
nop
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x180014d8d
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.18000afd0
mov rcx, qword [rbp + 0x1010]
xor rcx, rsp
call fcn.18002fe60
lea r11, [rsp + 0x1120]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret