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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1400a1650]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, r9
mov qword [rsp + 0x40], rbx
mov rdi, r8
mov qword [rsp + 0x38], r8
mov r15, rdx
mov qword [rsp + 0x48], rdx
mov r14, rcx
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x58], rax
xor r12d, r12d
mov dword [rsp + 0x50], r12d
cmp qword [rcx + 0x18], 8
jb 0x14001aef9
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001af2e
mov qword [r15 + 0x18], 7
mov qword [r15 + 0x10], r12
mov word [r15], r12w
mov r8d, 0x19
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, r15
call fcn.1400060f0
jmp 0x14001b115
mov dword [rsp + 0x30], 1
mov eax, 2
mov r13d, 0x104
mul r13
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.14002182c
mov rbp, rax
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], r12
mov word [rsp + 0x68], r12w
cmp qword [r14 + 0x18], 8
jb 0x14001af7d
mov rax, qword [r14]
jmp 0x14001af80
mov rax, r14
mov r15, qword [rsp + 0x58]
cmp qword [r15 + 0x18], 8
jb 0x14001af91
mov r8, qword [r15]
jmp 0x14001af94
mov r8, r15
cmp qword [rbx + 0x18], 8
jb 0x14001afa0
mov rdx, qword [rbx]
jmp 0x14001afa3
mov rdx, rbx
cmp qword [rdi + 0x18], 8
jb 0x14001afaf
mov rcx, qword [rdi]
jmp 0x14001afb2
mov rcx, rdi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp qword [r14 + 0x18], 8
jb 0x14001afd1
mov r12, qword [r14]
jmp 0x14001afd4
mov r12, r14
mov rcx, r15
call fcn.140006240
mov rdi, rax
mov rcx, rbx
call fcn.140006240
mov rbx, rax
mov rcx, qword [rsp + 0x38]
call fcn.140006240
mov rcx, rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r13d
mov r9, rbp
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r13 - 1]
cmp eax, ecx
jb 0x14001b087
mov rcx, r15
call fcn.140006240
mov rcx, rbp
sub rax, rbp
nop word [rax + rax]
movzx r8d, word [rcx]
movzx edx, word [rcx + rax]
sub r8d, edx
jne 0x14001b045
add rcx, 2
test edx, edx
jne 0x14001b030
test r8d, r8d
je 0x14001b087
mov rcx, rbp
call fcn.140041658
mov ebx, dword [rsp + 0x30]
inc ebx
mov dword [rsp + 0x30], ebx
imul r13d, ebx, 0x104
mov ecx, r13d
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14002182c
mov rbp, rax
mov rbx, qword [rsp + 0x40]
jmp 0x14001afc5
cmp word [rbp], 0
jne 0x14001b094
xor ebx, ebx
mov esi, ebx
jmp 0x14001b0a1
inc rsi
cmp word [rbp + rsi*2], 0
jne 0x14001b094
xor ebx, ebx
mov r8, rsi
mov rdx, rbp
lea rcx, [rsp + 0x68]
call fcn.1400060f0
mov rcx, rbp
call fcn.140041658
mov r15, qword [rsp + 0x48]
mov qword [r15 + 0x18], 7
mov qword [r15 + 0x10], rbx
mov word [r15], bx
mov rcx, qword [rsp + 0x80]
cmp rcx, 8
jae 0x14001b100
mov r8, qword [rsp + 0x78]
inc r8
je 0x14001b108
add r8, r8
lea rdx, [rsp + 0x68]
mov rcx, r15
call fcn.140040700
mov rcx, qword [rsp + 0x80]
jmp 0x14001b108
mov rax, qword [rsp + 0x68]
mov qword [r15], rax
mov rax, qword [rsp + 0x78]
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], rcx
mov rax, r15
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140040660
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret