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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x838]
sub rsp, 0x930
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x18006e080]
xor rax, rsp
mov qword [rbp + 0x820], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1f0]
call fcn.180032950
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.180032950
mov qword [rsp + 0x50], 7
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov word [rsp + 0x38], r14w
xor r8d, r8d
lea rdi, [0x18004e740]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.180004c30
nop
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.180004c30
nop
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.180004c30
nop
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.180004c30
nop
xor r9d, r9d
lea r8d, [r14 + 0x2c]
lea rdx, [rbp + 0x1f0]
xor ecx, ecx
call fcn.180005b80
lea rcx, [rbp + 0x1f0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180002774
mov eax, dword [0x18004e7b0]
mov dword [rcx], eax
lea rcx, [rbp + 0x1f0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180002791
movups xmm2, xmmword [str.WindowsResetMaster]
movups xmmword [rcx], xmm2
movups xmm3, xmmword [0x18004e768]
movups xmmword [rcx + 0x10], xmm3
mov edx, dword [0x18004e778]
mov dword [rcx + 0x20], edx
movzx r8d, word [0x18004e77c]
mov word [rcx + 0x24], r8w
lea rcx, [rbp + 0x1f0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1800027d1
mov dword [rcx], eax
lea rax, [rbp + 0x1f0]
sub rax, 2
nop dword [rax + rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x1800027f0
movups xmmword [rax], xmm2
movups xmmword [rax + 0x10], xmm3
mov dword [rax + 0x20], edx
mov word [rax + 0x24], r8w
lea rcx, [rbp + 0x1f0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180002814
movsd xmm0, qword [str..ini]
movsd qword [rcx], xmm0
movzx eax, word [0x18004e7c0]
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.UsrPath
lea rcx, str.Globals
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rbp - 0x20]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180002870
test eax, eax
jle 0x1800028f6
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800028f6
cmp word [rbp - 0x20], 0
jne 0x180002898
mov r8, r14
jmp 0x1800028ab
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1800028a0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.180004c30
cmp word [rbp - 0x20], 0
jne 0x1800028c5
mov r8, r14
jmp 0x1800028db
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800028d0
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x20]
call fcn.180004c30
mov byte [rbx + 0xa], 1
cmp byte [rbx + 0xb], 0
je 0x180002cf1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x610]
call fcn.180032950
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x400]
call fcn.180032950
cmp qword [rbx + 0x90], 0
jne 0x180002957
mov r8d, 0x104
lea rdx, [rbp + 0x400]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rbp + 0x400]
call fcn.180032108
mov word [rax + 2], r14w
jmp 0x180002983
lea rcx, [rbx + 0x80]
cmp qword [rcx + 0x18], 8
jb 0x180002968
mov rcx, qword [rcx]
lea rdx, [rbp + 0x400]
nop
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x180002970
lea r9, str.WindowsResetMaster.ini
lea r8, [rbp + 0x400]
lea rdx, str._s_s
lea rcx, [rbp + 0x610]
call fcn.180004fc0
lea rax, [rbp + 0x610]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x20]
mov r8, rdi
lea rdx, str.UsrPath
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 0x1800029e0
test eax, eax
jle 0x180002a66
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180002a66
cmp word [rbp - 0x20], 0
jne 0x180002a08
mov r8, r14
jmp 0x180002a1b
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180002a10
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.180004c30
cmp word [rbp - 0x20], 0
jne 0x180002a34
mov r8, r14
jmp 0x180002a4b
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180002a40
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x20]
call fcn.180004c30
mov byte [rbx + 0xa], 1
cmp byte [rbx + 0xb], 0
je 0x180002cf1
lea r8, [rbx + 0xa0]
cmp qword [r8 + 0x18], 8
jb 0x180002a77
mov r8, qword [r8]
lea r9, str.WindowsResetMaster.ini
lea rdx, str._s_s
lea rcx, [rbp + 0x610]
call fcn.180004fc0
lea rax, [rbp + 0x610]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp - 0x20]
mov r8, rdi
lea rdx, str.UsrPath
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 0x180002ad0
test eax, eax
jle 0x180002b56
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180002b56
cmp word [rbp - 0x20], 0
jne 0x180002af8
mov r8, r14
jmp 0x180002b0b
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180002b00
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x68]
call fcn.180004c30
cmp word [rbp - 0x20], 0
jne 0x180002b24
mov r8, r14
jmp 0x180002b3b
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180002b30
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x20]
call fcn.180004c30
mov byte [rbx + 0xa], 1
cmp byte [rbx + 0xb], 0
je 0x180002cf1
mov qword [rsp + 0x20], rdi
lea r9, str.UsrPath
lea r8, str.AppInfo
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.180001980
nop
lea rcx, [rsp + 0x58]
mov rdi, qword [rsp + 0x70]
cmp rdi, 8
cmovae rcx, qword [rsp + 0x58]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x180002b90
test eax, eax
jle 0x180002bff
lea rcx, [rsp + 0x58]
cmp rdi, 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180002bfa
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.180004af0
lea rcx, [rbx + 0x20]
lea rax, [rsp + 0x58]
cmp rcx, rax
je 0x180002bec
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x58]
call fcn.180004af0
mov byte [rbx + 0xa], 1
cmp byte [rbx + 0xb], 0
je 0x180002cbf
mov rdi, qword [rsp + 0x70]
cmp byte [rbx + 0xb], 0
je 0x180002cc4
cmp byte [rbx + 0xa], 0
je 0x180002cc4
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.1800045a0
test eax, eax
je 0x180002c48
mov byte [rbx + 0xc], 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.1800045a0
test eax, eax
je 0x180002c7d
mov byte [rbx + 0xc], 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.1800045a0
test eax, eax
je 0x180002cc4
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.180001870
mov rdi, qword [rsp + 0x70]
cmp rdi, 8
jb 0x180002cdd
lea r8, [rdi + 1]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.180004d80
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
mov r8, qword [rbp - 0x70]
cmp r8, 8
jb 0x180002d0d
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.180004d80
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x180002d39
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.180004d80
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x180002d64
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.180004d80
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x180002d92
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.180004d80
mov rcx, qword [rbp + 0x820]
xor rcx, rsp
call fcn.1800118e0
lea r11, [rsp + 0x930]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret