Function at 0x180006a40
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.18000e020
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 0x18000720d
mov eax, dword [0x180039708]
test al, 1
jne 0x180006ae1
or eax, 1
mov dword [0x180039708], eax
lea rcx, [0x180039210]
call fcn.180002f70
lea rcx, [0x180022c60]
call fcn.18000af90
nop
xor ecx, ecx
call fcn.180012328
mov edx, eax
lea rcx, [0x180039210]
call fcn.180003960
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, [0x180024590]
lea rcx, [rbp + 0x38]
call fcn.180001c50
lea rdx, [rbp - 0x68]
lea rcx, [0x180039210]
call fcn.180003ed0
nop
lea rdx, [rbp - 0x48]
lea rcx, [0x180039210]
call fcn.180003f10
nop
cmp qword [rbp - 0x58], rdi
je 0x1800071c9
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
or r8d, 0xffffffff
lea rdx, str.7c1e4
lea rcx, str.OvIImgSet
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
je 0x1800071c9
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
lea r8, [rbp + 0x38]
lea rdx, str.7c1e4
lea rcx, str.OvIImgSet
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rdx, [rbp - 8]
lea rcx, [0x180039210]
call fcn.180003920
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.222f
lea rcx, [rsp + 0x58]
call fcn.1800019d0
nop
lea rcx, [rsp + 0x58]
mov r10, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
cmp rcx, rax
jae 0x180006cc8
lea rcx, [rsp + 0x58]
cmp r10, rcx
ja 0x180006cc8
lea rbx, [rsp + 0x58]
sub rbx, r10
mov r8, qword [rsp + 0x40]
cmp rax, r8
jne 0x180006c95
mov rcx, r8
sub rcx, rax
sar rcx, 5
cmp rcx, 1
jae 0x180006c95
sub rax, r10
sar rax, 5
movabs r9, 0x7ffffffffffffff
mov rcx, r9
sub rcx, rax
cmp rcx, 1
jae 0x180006c59
lea rcx, str.vector_T__too_long
call fcn.18000a56c
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.1800025a0
mov rax, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
and rbx, 0xffffffffffffffe0
add rbx, r10
test rax, rax
je 0x180006d78
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x180006cbd
mov rcx, qword [rax]
jmp 0x180006cc0
mov rcx, rax
mov rdx, rbx
jmp 0x180006d68
mov r8, qword [rsp + 0x40]
cmp rax, r8
jne 0x180006d43
mov rcx, r8
sub rcx, rax
sar rcx, 5
cmp rcx, 1
jae 0x180006d43
sub rax, r10
sar rax, 5
movabs r9, 0x7ffffffffffffff
mov rcx, r9
sub rcx, rax
cmp rcx, 1
jae 0x180006d0c
lea rcx, str.vector_T__too_long
call fcn.18000a56c
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.1800025a0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x180006d78
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x180006d60
mov rcx, qword [rax]
jmp 0x180006d63
mov rcx, rax
lea rdx, [rsp + 0x58]
mov word [rcx], di
mov rcx, rax
call fcn.180001330
mov rax, qword [rsp + 0x38]
add rax, 0x20
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180006d9e
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.180001b20
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
mov r8d, 1
lea rdx, [0x1800245b4]
lea rcx, [rsp + 0x58]
call fcn.1800019d0
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.180008f80
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180006df6
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.180001b20
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
mov esi, 3
mov r8d, esi
lea rdx, [0x1800245b8]
lea rcx, [rsp + 0x78]
call fcn.1800019d0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x28]
call fcn.1800028e0
nop
mov r8, qword [rbp - 0x70]
cmp r8, 8
jb 0x180006e51
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.180001b20
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 0x180006ee2
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.180005670
nop
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rdx, qword [rbp - 8]
lea rcx, [rsp + 0x58]
call fcn.180005670
nop
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x58]
lea rcx, [0x180039210]
call fcn.180003230
nop
lea rcx, [rsp + 0x58]
call fcn.1800012e0
nop
lea rcx, [rbp + 0x18]
jmp 0x1800071a4
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.18000e020
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.63fd8
lea rcx, str.OvIImgSet
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 0x180006f55
mov r8, rdi
jmp 0x180006f6b
lea rax, [rbp + 0x160]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180006f60
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x58]
call fcn.1800019d0
nop
cmp qword [rsp + 0x68], 0
je 0x180006fa0
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 0x18000700a
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, [0x1800245c0]
call fcn.1800020a0
mov rax, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x180007000
lea rax, [rsp + 0x58]
cmp rax, rdx
je 0x180007000
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x58]
call fcn.180001890
nop
lea rcx, [rsp + 0x78]
call fcn.180002050
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 0x18000719f
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
mov r8d, esi
lea rdx, str.3f71d
lea rcx, str.OvIImgSet
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.180001ef0
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.222f
lea rcx, [rsp + 0x78]
call fcn.1800019d0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180008f80
nop
lea rcx, [rsp + 0x78]
call fcn.1800012e0
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
mov r8d, 1
lea rdx, [0x1800245b4]
lea rcx, [rsp + 0x78]
call fcn.1800019d0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180008f80
nop
lea rcx, [rsp + 0x78]
call fcn.1800012e0
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
mov r8, rsi
lea rdx, [0x1800245e0]
lea rcx, [rsp + 0x78]
call fcn.1800019d0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.1800028e0
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.180001cb0
lea rcx, [rbp + 0x18]
call fcn.1800012e0
nop
lea rcx, [rsp + 0x78]
call fcn.1800012e0
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.180005670
nop
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x58]
lea rcx, [0x180039210]
call fcn.180003230
nop
lea rcx, [rbp + 0x18]
call fcn.1800012e0
nop
lea rcx, [rsp + 0x58]
call fcn.1800012e0
nop
lea rcx, [rbp - 0x28]
call fcn.1800012e0
nop
lea rcx, [rsp + 0x30]
call fcn.180002050
nop
lea rcx, [rbp - 8]
call fcn.1800012e0
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x1800071e3
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.180001b20
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rdi
mov word [rbp - 0x48], di
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x18000720d
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.180001b20
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.18000b0c0
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