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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x388]
sub rsp, 0x480
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1800380b0]
xor rax, rsp
mov qword [rbp + 0x370], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x50]
call fcn.18000e180
mov r8d, 0x104
lea rdx, [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, str.explorer.exe
lea rcx, [rbp + 0x50]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x18000733d
mov eax, dword [0x180039708]
test al, 1
jne 0x180006c11
or eax, 1
mov dword [0x180039708], eax
lea rcx, [0x180039210]
call fcn.1800030e0
lea rcx, [0x180022cd0]
call fcn.18000b130
nop
xor ecx, ecx
call fcn.180012488
mov edx, eax
lea rcx, [0x180039210]
call fcn.180003ad0
mov ebx, eax
xor edi, edi
mov word [rbp + 0x38], di
xor eax, eax
mov qword [rbp + 0x3a], rax
mov qword [rbp + 0x42], rax
mov word [rbp + 0x4a], ax
mov r8d, ebx
lea rdx, [0x180024588]
lea rcx, [rbp + 0x38]
call fcn.180001c00
lea rdx, [rbp - 0x68]
lea rcx, [0x180039210]
call fcn.180004040
nop
lea rdx, [rbp - 0x48]
lea rcx, [0x180039210]
call fcn.180004080
nop
cmp qword [rbp - 0x58], rdi
je 0x1800072f9
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
or r8d, 0xffffffff
lea rdx, str.03241
lea rcx, str.OISet
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
je 0x1800072f9
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
lea r8, [rbp + 0x38]
lea rdx, str.03241
lea rcx, str.OISet
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rdx, [rbp - 8]
lea rcx, [0x180039210]
call fcn.180003a90
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
lea r8d, [rdi + 4]
lea rdx, str.6d28
lea rcx, [rsp + 0x58]
call fcn.180001980
nop
lea rcx, [rsp + 0x58]
mov r10, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
cmp rcx, rax
jae 0x180006df8
lea rcx, [rsp + 0x58]
cmp r10, rcx
ja 0x180006df8
lea rbx, [rsp + 0x58]
sub rbx, r10
mov r8, qword [rsp + 0x40]
cmp rax, r8
jne 0x180006dc5
mov rcx, r8
sub rcx, rax
sar rcx, 5
cmp rcx, 1
jae 0x180006dc5
sub rax, r10
sar rax, 5
movabs r9, 0x7ffffffffffffff
mov rcx, r9
sub rcx, rax
cmp rcx, 1
jae 0x180006d89
lea rcx, str.vector_T__too_long
call fcn.18000a704
int3
lea rdx, [rax + 1]
sub r8, r10
sar r8, 5
mov rax, r8
shr rax, 1
sub r9, rax
add rax, r8
mov rcx, rdi
cmp r9, r8
cmovae rcx, rax
cmp rcx, rdx
cmovae rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.1800025f0
mov rax, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
and rbx, 0xffffffffffffffe0
add rbx, r10
test rax, rax
je 0x180006ea8
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x180006ded
mov rcx, qword [rax]
jmp 0x180006df0
mov rcx, rax
mov rdx, rbx
jmp 0x180006e98
mov r8, qword [rsp + 0x40]
cmp rax, r8
jne 0x180006e73
mov rcx, r8
sub rcx, rax
sar rcx, 5
cmp rcx, 1
jae 0x180006e73
sub rax, r10
sar rax, 5
movabs r9, 0x7ffffffffffffff
mov rcx, r9
sub rcx, rax
cmp rcx, 1
jae 0x180006e3c
lea rcx, str.vector_T__too_long
call fcn.18000a704
int3
lea rdx, [rax + 1]
sub r8, r10
sar r8, 5
mov rax, r8
shr rax, 1
sub r9, rax
add rax, r8
mov rcx, rdi
cmp r9, r8
cmovae rcx, rax
cmp rcx, rdx
cmovae rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.1800025f0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x180006ea8
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x180006e90
mov rcx, qword [rax]
jmp 0x180006e93
mov rcx, rax
lea rdx, [rsp + 0x58]
mov word [rcx], di
mov rcx, rax
call fcn.1800012e0
mov rax, qword [rsp + 0x38]
add rax, 0x20
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180006ece
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.180001ad0
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
mov r8d, 1
lea rdx, [0x1800245ac]
lea rcx, [rsp + 0x58]
call fcn.180001980
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1800090b0
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180006f26
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.180001ad0
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
mov esi, 3
mov r8d, esi
lea rdx, [0x1800245b0]
lea rcx, [rsp + 0x78]
call fcn.180001980
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x28]
call fcn.180002940
nop
mov r8, qword [rbp - 0x70]
cmp r8, 8
jb 0x180006f81
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.180001ad0
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rcx, qword [rbp - 8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180007012
mov dword [rsp + 0x4c], 0xbb8
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea rcx, [rbp + 0x18]
call fcn.1800057a0
nop
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rdx, qword [rbp - 8]
lea rcx, [rsp + 0x58]
call fcn.1800057a0
nop
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x58]
lea rcx, [0x180039210]
call fcn.1800033a0
nop
lea rcx, [rsp + 0x58]
call fcn.180001290
nop
lea rcx, [rbp + 0x18]
jmp 0x1800072d4
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.18000e180
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rax, qword [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x160]
lea r8, [0x1800235f0]
lea rdx, str.bad3d
lea rcx, str.OISet
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
cmp word [rbp + 0x160], 0
jne 0x180007085
mov r8, rdi
jmp 0x18000709b
lea rax, [rbp + 0x160]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180007090
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x58]
call fcn.180001980
nop
cmp qword [rsp + 0x68], 0
je 0x1800070d0
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000713a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rdi
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [0x1800245b8]
call fcn.180002160
mov rax, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x180007130
lea rax, [rsp + 0x58]
cmp rax, rdx
je 0x180007130
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x58]
call fcn.180001840
nop
lea rcx, [rsp + 0x78]
call fcn.180002110
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800072cf
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
mov r8d, esi
lea rdx, str.0635d
lea rcx, str.OISet
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
test eax, eax
cmove ebx, esi
movzx r9d, byte [rsp + 0x48]
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.180001fb0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rcx
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
mov r8d, 4
lea rdx, str.6d28
lea rcx, [rsp + 0x78]
call fcn.180001980
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1800090b0
nop
lea rcx, [rsp + 0x78]
call fcn.180001290
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
mov r8d, 1
lea rdx, [0x1800245ac]
lea rcx, [rsp + 0x78]
call fcn.180001980
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1800090b0
nop
lea rcx, [rsp + 0x78]
call fcn.180001290
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
mov r8, rsi
lea rdx, [0x1800245d8]
lea rcx, [rsp + 0x78]
call fcn.180001980
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.180002940
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.180001c60
lea rcx, [rbp + 0x18]
call fcn.180001290
nop
lea rcx, [rsp + 0x78]
call fcn.180001290
imul eax, ebx, 0x3e8
mov dword [rsp + 0x4c], eax
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea rcx, [rbp + 0x18]
call fcn.1800057a0
nop
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x58]
lea rcx, [0x180039210]
call fcn.1800033a0
nop
lea rcx, [rbp + 0x18]
call fcn.180001290
nop
lea rcx, [rsp + 0x58]
call fcn.180001290
nop
lea rcx, [rbp - 0x28]
call fcn.180001290
nop
lea rcx, [rsp + 0x30]
call fcn.180002110
nop
lea rcx, [rbp - 8]
call fcn.180001290
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x180007313
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.180001ad0
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rdi
mov word [rbp - 0x48], di
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x18000733d
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.180001ad0
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.18000b260
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret