Function at 0x180007100
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 [0x18003c0b0]
xor rax, rsp
mov qword [rbp + 0x370], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x50]
call fcn.18000e710
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 0x180007957
mov eax, dword [0x18003d848]
test al, 1
jne 0x1800071a1
or eax, 1
mov dword [0x18003d848], eax
lea rcx, [0x18003d350]
call fcn.1800036b0
lea rcx, [0x180026110]
call fcn.18000b6b0
nop
xor ecx, ecx
call fcn.1800133f8
mov edx, eax
lea rcx, [0x18003d350]
call fcn.1800040a0
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, [0x180028660]
lea rcx, [rbp + 0x38]
call fcn.1800020a0
lea rdx, [rbp - 0x68]
lea rcx, [0x18003d350]
call fcn.180004610
nop
lea rdx, [rbp - 8]
lea rcx, [0x18003d350]
call fcn.180004650
nop
cmp qword [rbp - 0x58], rdi
jne 0x180007216
mov ecx, 0x92
call fcn.180002420
jmp 0x180007913
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
or r8d, 0xffffffff
lea rdx, str.4cc2d
lea rcx, str.OISet
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
jne 0x180007251
mov edx, eax
mov ecx, 0x93
call fcn.180002420
jmp 0x180007913
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
lea r8, [rbp + 0x38]
lea rdx, str.4cc2d
lea rcx, str.OISet
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rdx, [rbp - 0x28]
lea rcx, [0x18003d350]
call fcn.180004060
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
mov r8d, 4
lea rdx, str.85f4
lea rcx, [rsp + 0x58]
call fcn.180001d10
nop
lea rcx, [rsp + 0x58]
mov r10, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
cmp rcx, rax
jae 0x1800073a2
lea rcx, [rsp + 0x58]
cmp r10, rcx
ja 0x1800073a2
lea rbx, [rsp + 0x58]
sub rbx, r10
mov r8, qword [rsp + 0x40]
cmp rax, r8
jne 0x18000736f
mov rcx, r8
sub rcx, rax
sar rcx, 5
cmp rcx, 1
jae 0x18000736f
sub rax, r10
sar rax, 5
movabs r9, 0x7ffffffffffffff
mov rcx, r9
sub rcx, rax
cmp rcx, 1
jae 0x180007333
lea rcx, str.vector_T__too_long
call fcn.18000ac84
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.180001650
mov rax, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
and rbx, 0xffffffffffffffe0
add rbx, r10
test rax, rax
je 0x180007452
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x180007397
mov rcx, qword [rax]
jmp 0x18000739a
mov rcx, rax
mov rdx, rbx
jmp 0x180007442
mov r8, qword [rsp + 0x40]
cmp rax, r8
jne 0x18000741d
mov rcx, r8
sub rcx, rax
sar rcx, 5
cmp rcx, 1
jae 0x18000741d
sub rax, r10
sar rax, 5
movabs r9, 0x7ffffffffffffff
mov rcx, r9
sub rcx, rax
cmp rcx, 1
jae 0x1800073e6
lea rcx, str.vector_T__too_long
call fcn.18000ac84
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.180001650
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x180007452
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rdi
cmp qword [rax + 0x18], 8
jb 0x18000743a
mov rcx, qword [rax]
jmp 0x18000743d
mov rcx, rax
lea rdx, [rsp + 0x58]
mov word [rcx], di
mov rcx, rax
call fcn.1800014a0
mov rax, qword [rsp + 0x38]
add rax, 0x20
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180007478
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.180001ee0
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
mov r8d, 1
lea rdx, [0x180028684]
lea rcx, [rsp + 0x58]
call fcn.180001d10
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.180002000
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x1800074d0
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.180001ee0
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
mov esi, 3
mov r8d, esi
lea rdx, [0x180028688]
lea rcx, [rsp + 0x78]
call fcn.180001d10
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x48]
call fcn.180002eb0
nop
mov r8, qword [rbp - 0x70]
cmp r8, 8
jb 0x18000752b
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.180001ee0
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800075e6
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r8, qword [rbp - 0x48]
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov ecx, 0x94
call fcn.180002420
mov dword [rsp + 0x4c], 0xbb8
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp + 0x18]
call fcn.180005d30
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea rcx, [rsp + 0x58]
call fcn.180005d30
nop
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x58]
lea rcx, [0x18003d350]
call fcn.180003970
nop
lea rcx, [rsp + 0x58]
call fcn.180001450
nop
lea rcx, [rbp + 0x18]
jmp 0x1800078ee
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.18000e710
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, [0x180027660]
lea rdx, str.600af
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 0x180007659
mov r8, rdi
jmp 0x18000766f
lea rax, [rbp + 0x160]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180007664
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x58]
call fcn.180001d10
nop
cmp qword [rsp + 0x68], 0
je 0x1800076a4
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 0x18000770e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rdi
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rcx, qword [rbp - 8]
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [0x180028690]
call fcn.180002920
mov rax, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x180007704
lea rax, [rsp + 0x58]
cmp rax, rdx
je 0x180007704
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x58]
call fcn.180001bd0
nop
lea rcx, [rsp + 0x78]
call fcn.1800028d0
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 0x1800078cd
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
mov r8d, esi
lea rdx, str.36ccc
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.180001290
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.85f4
lea rcx, [rsp + 0x78]
call fcn.180001d10
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180002000
nop
lea rcx, [rsp + 0x78]
call fcn.180001450
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
mov r8d, 1
lea rdx, [0x180028684]
lea rcx, [rsp + 0x78]
call fcn.180001d10
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180002000
nop
lea rcx, [rsp + 0x78]
call fcn.180001450
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rdi
mov word [rsp + 0x78], di
mov r8, rsi
lea rdx, [0x1800286b0]
lea rcx, [rsp + 0x78]
call fcn.180001d10
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.180002eb0
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.180002580
lea rcx, [rbp + 0x18]
call fcn.180001450
nop
lea rcx, [rsp + 0x78]
call fcn.180001450
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r8, qword [rbp - 0x48]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov ecx, 0x94
call fcn.180002420
imul eax, ebx, 0x3e8
mov dword [rsp + 0x4c], eax
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp + 0x18]
call fcn.180005d30
nop
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x58]
lea rcx, [0x18003d350]
call fcn.180003970
nop
lea rcx, [rbp + 0x18]
call fcn.180001450
jmp 0x1800078e9
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov ecx, 0x95
call fcn.180002420
nop
lea rcx, [rsp + 0x58]
call fcn.180001450
nop
lea rcx, [rbp - 0x48]
call fcn.180001450
nop
lea rcx, [rsp + 0x30]
call fcn.1800028d0
nop
lea rcx, [rbp - 0x28]
call fcn.180001450
nop
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x18000792d
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.180001ee0
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], rdi
mov word [rbp - 8], di
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x180007957
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.180001ee0
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.18000b7e0
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