Function at 0x1800073f0
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x848]
sub rsp, 0x930
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18005d3f0]
xor rax, rsp
mov qword [rbp + 0x820], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1f0]
call fcn.18001f6b0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.18001f6b0
mov qword [rsp + 0x58], 7
xor r15d, r15d
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
xor r8d, r8d
lea r14, [0x18003f874]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.180002310
nop
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r15
mov word [rbp - 0x40], r15w
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.180002310
nop
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r15
mov word [rbp - 0x60], r15w
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x60]
call fcn.180002310
nop
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r15
mov word [rbp - 0x80], r15w
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.180002310
nop
xor bl, bl
mov rcx, rdi
call fcn.1800083d0
test al, al
je 0x18000754b
mov qword [rsp + 0x30], r15
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1800068d0
test al, al
je 0x18000754b
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x20], rax
mov esi, 1
mov r9d, esi
mov r8, qword [rsp + 0x30]
lea edx, [rsi + 0x2b]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
movzx ebx, bl
test eax, eax
cmove ebx, esi
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x180007561
xor r9d, r9d
lea r8d, [r9 + 0x2c]
lea rdx, [rbp + 0x1f0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rbp + 0x1f0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180007570
mov eax, dword [0x18003ff24]
mov dword [rcx], eax
lea rcx, [rbp + 0x1f0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180007590
movups xmm1, xmmword [str.PuddingZip]
movups xmmword [rcx], xmm1
mov edx, dword [0x18003fee8]
mov dword [rcx + 0x10], edx
movzx r8d, word [0x18003feec]
mov word [rcx + 0x14], r8w
lea rcx, [rbp + 0x1f0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1800075c5
mov dword [rcx], eax
lea rax, [rbp + 0x1f0]
sub rax, 2
nop dword [rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x1800075e0
movups xmmword [rax], xmm1
mov dword [rax + 0x10], edx
mov word [rax + 0x14], r8w
lea rcx, [rbp + 0x1f0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180007600
movsd xmm0, qword [0x18003ff28]
movsd qword [rcx], xmm0
movzx eax, word [0x18003ff30]
mov word [rcx + 8], ax
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x20]
mov r8, r14
lea rdx, str.CfgRootPath
lea rcx, str.Globals
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rbp - 0x20]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180007660
test eax, eax
jle 0x1800076e6
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800076e6
cmp word [rbp - 0x20], 0
jne 0x180007688
mov r8, r15
jmp 0x18000769b
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180007690
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.180002310
cmp word [rbp - 0x20], 0
jne 0x1800076b5
mov r8, r15
jmp 0x1800076cb
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800076c0
lea rcx, [rdi + 0x30]
lea rdx, [rbp - 0x20]
call fcn.180002310
mov byte [rdi + 2], 1
cmp byte [rdi + 4], 0
je 0x180007a8b
mov r8d, 0x104
lea rdx, [rbp + 0x610]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rbp + 0x610]
call fcn.180020efc
mov word [rax + 2], r15w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x400]
call fcn.18001f6b0
lea r9, str.PuddingZip.ini
lea r8, [rbp + 0x610]
lea rdx, str._s_s
lea rcx, [rbp + 0x400]
call fcn.180009f60
lea rax, [rbp + 0x400]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x20]
mov r8, r14
lea rdx, str.CfgRootPath
lea rcx, str.AppInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rbp - 0x20]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x180007780
test eax, eax
jle 0x180007806
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180007806
cmp word [rbp - 0x20], 0
jne 0x1800077a8
mov r8, r15
jmp 0x1800077bb
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1800077b0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.180002310
cmp word [rbp - 0x20], 0
jne 0x1800077d4
mov r8, r15
jmp 0x1800077eb
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800077e0
lea rcx, [rdi + 0x30]
lea rdx, [rbp - 0x20]
call fcn.180002310
mov byte [rdi + 2], 1
cmp byte [rdi + 4], 0
je 0x180007a8b
lea r8, [rdi + 0x90]
cmp qword [r8 + 0x18], 8
jb 0x180007817
mov r8, qword [r8]
lea r9, str.PuddingZip.ini
lea rdx, str._s_s
lea rcx, [rbp + 0x400]
call fcn.180009f60
lea rax, [rbp + 0x400]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x20]
mov r8, r14
lea rdx, str.CfgRootPath
lea rcx, str.AppInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rbp - 0x20]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180007870
test eax, eax
jle 0x1800078f6
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800078f6
cmp word [rbp - 0x20], 0
jne 0x180007898
mov r8, r15
jmp 0x1800078ab
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1800078a0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.180002310
cmp word [rbp - 0x20], 0
jne 0x1800078c4
mov r8, r15
jmp 0x1800078db
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800078d0
lea rcx, [rdi + 0x30]
lea rdx, [rbp - 0x20]
call fcn.180002310
mov byte [rdi + 2], 1
cmp byte [rdi + 4], 0
je 0x180007a8b
mov qword [rsp + 0x20], r14
lea r9, str.CfgRootPath
lea r8, str.AppInfo
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.180006510
nop
lea rcx, [rsp + 0x60]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x78]
cmp rbx, 8
cmovae rcx, rsi
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x180007932
test eax, eax
jle 0x1800079ae
lea rcx, [rsp + 0x60]
cmp rbx, 8
cmovae rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800079a4
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1800021d0
lea rcx, [rdi + 0x30]
lea rax, [rsp + 0x60]
cmp rcx, rax
je 0x18000798b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x60]
call fcn.1800021d0
mov byte [rdi + 2], 1
cmp byte [rdi + 4], 0
jne 0x1800079a4
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x60]
jmp 0x180007a60
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x60]
cmp byte [rdi + 4], 0
je 0x180007a60
cmp byte [rdi + 2], 0
je 0x180007a60
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov r9, qword [rbp - 0x30]
mov r14, qword [rsp + 0x50]
mov rdx, r14
call fcn.180009730
test eax, eax
je 0x1800079fa
mov byte [rdi + 5], 1
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov r9, qword [rbp - 0x50]
mov rdx, r14
call fcn.180009730
test eax, eax
je 0x180007a2d
mov byte [rdi + 5], 1
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r8, qword [rbp - 0x80]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov r9, qword [rbp - 0x70]
mov rdx, r14
call fcn.180009730
test eax, eax
je 0x180007a60
mov byte [rdi + 5], 1
cmp rbx, 8
jb 0x180007a77
lea r8, [rbx + 1]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.180002460
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x180007aa5
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.180002460
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r15
mov word [rbp - 0x80], r15w
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x180007ad0
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.180002460
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r15
mov word [rbp - 0x60], r15w
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x180007afb
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.180002460
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r15
mov word [rbp - 0x40], r15w
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x180007b29
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.180002460
mov rcx, qword [rbp + 0x820]
xor rcx, rsp
call fcn.18001d7b0
lea r11, [rsp + 0x930]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret