Function at 0x14001d210
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 [0x1400a4650]
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 0x14001d279
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001d2ae
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.140006150
jmp 0x14001d495
mov dword [rsp + 0x30], 1
mov eax, 2
mov r13d, 0x104
mul r13
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.140023bb4
mov rbp, rax
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], r12
mov word [rsp + 0x68], r12w
cmp qword [r14 + 0x18], 8
jb 0x14001d2fd
mov rax, qword [r14]
jmp 0x14001d300
mov rax, r14
mov r15, qword [rsp + 0x58]
cmp qword [r15 + 0x18], 8
jb 0x14001d311
mov r8, qword [r15]
jmp 0x14001d314
mov r8, r15
cmp qword [rbx + 0x18], 8
jb 0x14001d320
mov rdx, qword [rbx]
jmp 0x14001d323
mov rdx, rbx
cmp qword [rdi + 0x18], 8
jb 0x14001d32f
mov rcx, qword [rdi]
jmp 0x14001d332
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 0x14001d351
mov r12, qword [r14]
jmp 0x14001d354
mov r12, r14
mov rcx, r15
call fcn.1400062a0
mov rdi, rax
mov rcx, rbx
call fcn.1400062a0
mov rbx, rax
mov rcx, qword [rsp + 0x38]
call fcn.1400062a0
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 0x14001d407
mov rcx, r15
call fcn.1400062a0
mov rcx, rbp
sub rax, rbp
nop word [rax + rax]
movzx r8d, word [rcx]
movzx edx, word [rcx + rax]
sub r8d, edx
jne 0x14001d3c5
add rcx, 2
test edx, edx
jne 0x14001d3b0
test r8d, r8d
je 0x14001d407
mov rcx, rbp
call fcn.1400439bc
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.140023bb4
mov rbp, rax
mov rbx, qword [rsp + 0x40]
jmp 0x14001d345
cmp word [rbp], 0
jne 0x14001d414
xor ebx, ebx
mov esi, ebx
jmp 0x14001d421
inc rsi
cmp word [rbp + rsi*2], 0
jne 0x14001d414
xor ebx, ebx
mov r8, rsi
mov rdx, rbp
lea rcx, [rsp + 0x68]
call fcn.140006150
mov rcx, rbp
call fcn.1400439bc
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 0x14001d480
mov r8, qword [rsp + 0x78]
inc r8
je 0x14001d488
add r8, r8
lea rdx, [rsp + 0x68]
mov rcx, r15
call fcn.140042a80
mov rcx, qword [rsp + 0x80]
jmp 0x14001d488
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.1400429e0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret