Function at 0x1800029f0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r15
lea rbp, [rax - 0x848]
sub rsp, 0x930
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800444d0]
xor rax, rsp
mov qword [rbp + 0x820], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1f0]
call fcn.180013050
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.180013050
mov qword [rsp + 0x50], 7
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
xor r8d, r8d
lea rdi, [0x18002d818]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.180001bd0
nop
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r15
mov word [rbp - 0x48], r15w
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.180001bd0
nop
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r15
mov word [rbp - 0x68], r15w
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.180001bd0
nop
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r15
mov word [rsp + 0x78], r15w
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.180001bd0
nop
xor r9d, r9d
lea r8d, [r15 + 0x2c]
lea rdx, [rbp + 0x1f0]
xor ecx, ecx
call fcn.1800091b0
lea rcx, [rbp + 0x1f0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180002b03
mov eax, dword [0x18002d81c]
mov dword [rcx], eax
lea rcx, [rbp + 0x1f0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180002b20
movups xmm1, xmmword [str.PuddingZip]
movups xmmword [rcx], xmm1
mov edx, dword [0x18002d6c8]
mov dword [rcx + 0x10], edx
movzx r8d, word [0x18002d6cc]
mov word [rcx + 0x14], r8w
lea rcx, [rbp + 0x1f0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180002b55
mov dword [rcx], eax
lea rax, [rbp + 0x1f0]
sub rax, 2
nop dword [rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x180002b70
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 0x180002b90
movsd xmm0, qword [0x18002d820]
movsd qword [rcx], xmm0
movzx eax, word [0x18002d828]
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, rdi
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 0x180002bf0
test eax, eax
jle 0x180002c76
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180002c76
cmp word [rbp - 0x20], 0
jne 0x180002c18
mov r8, r15
jmp 0x180002c2b
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180002c20
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.180001bd0
cmp word [rbp - 0x20], 0
jne 0x180002c45
mov r8, r15
jmp 0x180002c5b
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180002c50
lea rcx, [rbx + 0x10]
lea rdx, [rbp - 0x20]
call fcn.180001bd0
mov byte [rbx + 2], 1
cmp byte [rbx + 3], 0
je 0x180003060
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x400]
call fcn.180013050
cmp qword [rbx + 0x60], 0
jne 0x180002cc0
mov r8d, 0x104
lea rdx, [rbp + 0x400]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rbp + 0x400]
call fcn.18001468c
mov word [rax + 2], r15w
jmp 0x180002cf3
lea rcx, [rbx + 0x50]
cmp qword [rcx + 0x18], 8
jb 0x180002cce
mov rcx, qword [rcx]
lea rdx, [rbp + 0x400]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x180002ce0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x610]
call fcn.180013050
lea r9, str.PuddingZip.ini
lea r8, [rbp + 0x400]
lea rdx, str._s_s
lea rcx, [rbp + 0x610]
call fcn.180001e50
lea rax, [rbp + 0x610]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x20]
mov r8, rdi
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 0x180002d60
test eax, eax
jle 0x180002de6
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180002de6
cmp word [rbp - 0x20], 0
jne 0x180002d88
mov r8, r15
jmp 0x180002d9b
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180002d90
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.180001bd0
cmp word [rbp - 0x20], 0
jne 0x180002db4
mov r8, r15
jmp 0x180002dcb
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180002dc0
lea rcx, [rbx + 0x10]
lea rdx, [rbp - 0x20]
call fcn.180001bd0
mov byte [rbx + 2], 1
cmp byte [rbx + 3], 0
je 0x180003060
lea r8, [rbx + 0x70]
cmp qword [r8 + 0x18], 8
jb 0x180002df4
mov r8, qword [r8]
lea r9, str.PuddingZip.ini
lea rdx, str._s_s
lea rcx, [rbp + 0x610]
call fcn.180001e50
lea rax, [rbp + 0x610]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x20]
mov r8, rdi
lea rdx, str.CfgRootPath
lea rcx, str.AppInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rbp - 0x20]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x180002e45
test eax, eax
jle 0x180002ec7
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180002ec7
cmp word [rbp - 0x20], 0
jne 0x180002e6d
mov r8, r15
jmp 0x180002e80
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180002e75
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x68]
call fcn.180001bd0
cmp word [rbp - 0x20], 0
jne 0x180002e99
mov r8, r15
jmp 0x180002eac
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180002ea1
lea rcx, [rbx + 0x10]
lea rdx, [rbp - 0x20]
call fcn.180001bd0
mov byte [rbx + 2], 1
cmp byte [rbx + 3], 0
je 0x180003060
mov qword [rsp + 0x20], rdi
lea r9, str.CfgRootPath
lea r8, str.AppInfo
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.180002490
nop
lea rcx, [rsp + 0x58]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x70]
cmp rdi, 8
cmovae rcx, rsi
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x180002f03
test eax, eax
jle 0x180002f80
lea rcx, [rsp + 0x58]
cmp rdi, 8
cmovae rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180002f76
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.180001a90
lea rcx, [rbx + 0x10]
lea rax, [rsp + 0x58]
cmp rcx, rax
je 0x180002f5d
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x58]
call fcn.180001a90
mov byte [rbx + 2], 1
cmp byte [rbx + 3], 0
jne 0x180002f76
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x58]
jmp 0x180003035
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x58]
cmp byte [rbx + 3], 0
je 0x180003035
cmp byte [rbx + 2], 0
je 0x180003035
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r8, qword [rbp - 0x48]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov r9, qword [rbp - 0x38]
mov rdx, qword [rsp + 0x48]
call fcn.1800045c0
test eax, eax
je 0x180002fc9
mov byte [rbx + 4], 1
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r8, qword [rbp - 0x68]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov r9, qword [rbp - 0x58]
mov rdx, qword [rsp + 0x48]
call fcn.1800045c0
test eax, eax
je 0x180002ffe
mov byte [rbx + 4], 1
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r8, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov r9, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x48]
call fcn.1800045c0
test eax, eax
je 0x180003035
mov byte [rbx + 4], 1
cmp rdi, 8
jb 0x18000304c
lea r8, [rdi + 1]
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.180001d20
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r15
mov word [rsp + 0x58], r15w
mov r8, qword [rbp - 0x70]
cmp r8, 8
jb 0x18000307c
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.180001d20
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r15
mov word [rsp + 0x78], r15w
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x1800030a8
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.180001d20
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r15
mov word [rbp - 0x68], r15w
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1800030d3
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.180001d20
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r15
mov word [rbp - 0x48], r15w
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180003101
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.180001d20
mov rcx, qword [rbp + 0x820]
xor rcx, rsp
call fcn.1800112b0
lea r11, [rsp + 0x930]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret