Function at 0x1800069c0
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.18000dfd0
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 0x18000718d
mov eax, dword [0x180039708]
test al, 1
jne 0x180006a61
or eax, 1
mov dword [0x180039708], eax
lea rcx, [0x180039210]
call fcn.180002f20
lea rcx, [0x180022bf0]
call fcn.18000af18
nop
xor ecx, ecx
call fcn.1800122d8
mov edx, eax
lea rcx, [0x180039210]
call fcn.180003910
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, [0x180024580]
lea rcx, [rbp + 0x38]
call fcn.180001c00
lea rdx, [rbp - 0x68]
lea rcx, [0x180039210]
call fcn.180003e80
nop
lea rdx, [rbp - 0x48]
lea rcx, [0x180039210]
call fcn.180003ec0
nop
cmp qword [rbp - 0x58], rdi
je 0x180007149
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
or r8d, 0xffffffff
lea rdx, str.6c007
lea rcx, str.OISet
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
je 0x180007149
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
lea r8, [rbp + 0x38]
lea rdx, str.6c007
lea rcx, str.OISet
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rdx, [rbp - 8]
lea rcx, [0x180039210]
call fcn.1800038d0
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.4866
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 0x180006c48
lea rcx, [rsp + 0x58]
cmp r10, rcx
ja 0x180006c48
lea rbx, [rsp + 0x58]
sub rbx, r10
mov r8, qword [rsp + 0x40]
cmp rax, r8
jne 0x180006c15
mov rcx, r8
sub rcx, rax
sar rcx, 5
cmp rcx, 1
jae 0x180006c15
sub rax, r10
sar rax, 5
movabs r9, 0x7ffffffffffffff
mov rcx, r9
sub rcx, rax
cmp rcx, 1
jae 0x180006bd9
lea rcx, str.vector_T__too_long
call fcn.18000a4ec
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.180002550
mov rax, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
and rbx, 0xffffffffffffffe0
add rbx, r10
test rax, rax
je 0x180006cf8
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x180006c3d
mov rcx, qword [rax]
jmp 0x180006c40
mov rcx, rax
mov rdx, rbx
jmp 0x180006ce8
mov r8, qword [rsp + 0x40]
cmp rax, r8
jne 0x180006cc3
mov rcx, r8
sub rcx, rax
sar rcx, 5
cmp rcx, 1
jae 0x180006cc3
sub rax, r10
sar rax, 5
movabs r9, 0x7ffffffffffffff
mov rcx, r9
sub rcx, rax
cmp rcx, 1
jae 0x180006c8c
lea rcx, str.vector_T__too_long
call fcn.18000a4ec
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.180002550
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x180006cf8
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x180006ce0
mov rcx, qword [rax]
jmp 0x180006ce3
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 0x180006d1e
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, [0x1800245a4]
lea rcx, [rsp + 0x58]
call fcn.180001980
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.180008f00
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180006d76
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, [0x1800245a8]
lea rcx, [rsp + 0x78]
call fcn.180001980
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x28]
call fcn.180002890
nop
mov r8, qword [rbp - 0x70]
cmp r8, 8
jb 0x180006dd1
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 0x180006e62
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.1800055f0
nop
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rdx, qword [rbp - 8]
lea rcx, [rsp + 0x58]
call fcn.1800055f0
nop
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x58]
lea rcx, [0x180039210]
call fcn.1800031e0
nop
lea rcx, [rsp + 0x58]
call fcn.180001290
nop
lea rcx, [rbp + 0x18]
jmp 0x180007124
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.18000dfd0
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.7e094
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 0x180006ed5
mov r8, rdi
jmp 0x180006eeb
lea rax, [rbp + 0x160]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180006ee0
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x58]
call fcn.180001980
nop
cmp qword [rsp + 0x68], 0
je 0x180006f20
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 0x180006f8a
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, [0x1800245b0]
call fcn.180002050
mov rax, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x180006f80
lea rax, [rsp + 0x58]
cmp rax, rdx
je 0x180006f80
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x58]
call fcn.180001840
nop
lea rcx, [rsp + 0x78]
call fcn.180002000
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 0x18000711f
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
mov r8d, esi
lea rdx, str.010d0
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.180001ea0
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.4866
lea rcx, [rsp + 0x78]
call fcn.180001980
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180008f00
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, [0x1800245a4]
lea rcx, [rsp + 0x78]
call fcn.180001980
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180008f00
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, [0x1800245d0]
lea rcx, [rsp + 0x78]
call fcn.180001980
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.180002890
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.1800055f0
nop
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x58]
lea rcx, [0x180039210]
call fcn.1800031e0
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.180002000
nop
lea rcx, [rbp - 8]
call fcn.180001290
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x180007163
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 0x18000718d
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.180001ad0
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.18000b040
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