Function at 0x14000898c
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2760]
mov eax, 0x2860
call fcn.14000ab30
sub rsp, rax
mov rax, qword [0x140015078]
xor rax, rsp
mov qword [rbp + 0x2750], rax
xor r15d, r15d
mov qword [rsp + 0x40], rcx
mov rsi, rcx
mov dword [rsp + 0x34], r15d
mov rcx, rdx
mov dword [rsp + 0x30], r15d
mov edi, r15d
mov qword [rsp + 0x38], r15
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x140008a71
mov rdx, rbx
lea rcx, str.WARNING:_Initialization_file__s_not_found.__Using_a_default_configuration._r_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
lea ecx, [r15 + 0x30]
call fcn.140009dfc
lea edi, [r15 + 0x10]
mov rbx, rax
lea ecx, [rdi - 0xc]
mov qword [rax], rdi
mov qword [rax + 8], r15
call fcn.140009dfc
test rax, rax
je 0x140008a35
mov dword [rax], r15d
jmp 0x140008a38
mov rax, r15
mov rcx, rdi
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], r15d
call fcn.140009e48
lea r8, str.default
mov qword [rbx + 0x20], rax
mov edx, 8
mov rcx, rax
call fcn.140001270
mov qword [rbx + 0x28], r15
mov qword [rsi + 0x28], rbx
mov qword [rsi + 0x30], rbx
jmp 0x140008cb9
mov qword [rsp + 0x28], rbx
lea r9, [rbp + 0x750]
lea r8, [0x14001272c]
mov dword [rsp + 0x20], 0x1000
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop dword [rax + rax]
test eax, eax
jne 0x140008abd
lea rcx, str.Parsing_error:_no_sections_found_in__s_r_n
mov rdx, rbx
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
xor eax, eax
jmp 0x140008cbe
cmp eax, 0xffe
jne 0x140008acd
lea rcx, str.Parsing_error:_too_many_section_names_were_found_in__s_r_n
jmp 0x140008aa7
cmp word [rbp + 0x750], r15w
je 0x140008cb1
mov r13, r15
movsxd rax, edi
lea r14, [rbp + 0x750]
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x50]
lea r8, [0x14001272c]
mov dword [rsp + 0x20], 0x400
lea rdx, str.Flags
lea r14, [r14 + rax*2]
mov rcx, r14
mov qword [rsp + 0x48], r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop dword [rax + rax]
lea rdx, [0x140012ae0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_wcstok]
nop dword [rax + rax]
mov rdi, rax
mov r12d, r15d
test rax, rax
je 0x140008bab
lea r14, str.IFILTER_INIT_CANON_PARAGRAPHS
mov rdx, qword [r14]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140008b82
inc r15d
lea rax, str.ABORT
add r14, 8
cmp r14, rax
jl 0x140008b4a
mov rdx, rdi
lea rcx, str.Parsing_error:_Illegal_Init_flag:__s_r_n
jmp 0x140008aaa
lea rdx, [0x140012ae0]
xor ecx, ecx
bts r12d, r15d
call qword [sym.imp.msvcrt.dll_wcstok]
nop dword [rax + rax]
xor r15d, r15d
mov rdi, rax
test rax, rax
jne 0x140008b43
mov r14, qword [rsp + 0x48]
mov r9, rbx
lea rdx, str.cAttributes
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
nop dword [rax + rax]
lea r9, [rsp + 0x38]
mov r8, rbx
mov r15d, eax
mov rdx, r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.140008cf0
test eax, eax
je 0x140008ab6
mov ecx, 0x30
call fcn.140009dfc
mov rcx, qword [rsp + 0x38]
mov rdi, rax
mov qword [rax + 8], rcx
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x18], ecx
mov ecx, 4
mov dword [rax], r12d
mov dword [rax + 4], r15d
call fcn.140009dfc
xor r15d, r15d
test rax, rax
je 0x140008c27
mov dword [rax], r15d
jmp 0x140008c2a
mov rax, r15
or r12, 0xffffffffffffffff
mov qword [rdi + 0x10], rax
mov rcx, r12
inc rcx
cmp word [r14 + rcx*2], r15w
jne 0x140008c35
inc rcx
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.140009e48
mov qword [rdi + 0x20], rax
mov rdx, r12
inc rdx
cmp word [r14 + rdx*2], r15w
jne 0x140008c5d
inc rdx
mov r8, r14
mov rcx, rax
call fcn.140001270
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rdi
mov qword [rax + 0x28], rdi
mov qword [rdi + 0x28], r15
mov edi, dword [rsp + 0x34]
movzx eax, word [rbp + r13*2 + 0x750]
inc edi
inc r13
test ax, ax
jne 0x140008c8b
mov dword [rsp + 0x34], edi
cmp word [rbp + r13*2 + 0x750], r15w
jne 0x140008ade
mov rax, qword [rsi + 0x28]
mov qword [rsi + 0x30], rax
mov eax, 1
mov rcx, qword [rbp + 0x2750]
xor rcx, rsp
call fcn.14000a1a0
mov rbx, qword [rsp + 0x28b0]
add rsp, 0x2860
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret