Function at 0x140032b30
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, 0x88
mov rax, qword [0x1400da080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, r9
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rdx
mov r15, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x30], rcx
mov r14, qword [rsp + 0xf0]
mov rdi, qword [r14 + 0x10]
mov rsi, r14
cmp qword [r14 + 0x18], 8
jb 0x140032b86
mov rsi, qword [r14]
cmp rdi, 8
jae 0x140032b9f
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x70], 7
jmp 0x140032be7
mov rbx, rdi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x58]
call fcn.14001d7c0
mov qword [rsp + 0x58], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1400766b0
mov qword [rsp + 0x70], rbx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x68], rdi
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x140032bff
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140032c22
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r15], xmm0
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [r15 + 0x10], xmm0
jmp 0x140032dcb
mov ecx, 0x400
mov r12d, 0x200
call fcn.1400748d0
mov rbx, rax
xor edx, edx
mov r8d, 0x400
mov rcx, rax
call fcn.140076d60
mov qword [rsp + 0x30], rbx
mov rbp, 0xffffffffffffffff
mov r15, qword [rsp + 0x40]
mov rax, r13
cmp qword [r13 + 0x18], 8
jb 0x140032c64
mov rax, qword [r13]
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x140032c71
mov r8, qword [r14]
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140032c7e
mov rdx, qword [r15]
mov r9, qword [rsp + 0x48]
mov rcx, r9
cmp qword [r9 + 0x18], 8
jb 0x140032c90
mov rcx, qword [r9]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r12 - 1]
cmp eax, ecx
jb 0x140032d84
mov r8, rbp
inc r8
cmp word [rbx + r8*2], 0
jne 0x140032cb3
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140005030
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x140032cd8
mov rax, qword [r14]
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r9, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
cmp rcx, qword [r14 + 0x10]
jne 0x140032d30
test rcx, rcx
je 0x140032d84
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140032d30
sub r9, rax
cmp dx, r8w
ja 0x140032d30
cmp rcx, 1
je 0x140032d84
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140032d12
add r12d, r12d
cmp r12d, 0x6400000
ja 0x140032d84
mov ecx, r12d
mov eax, 2
mul rcx
mov rsi, rax
cmovo rsi, rbp
mov rcx, rsi
call fcn.1400748d0
mov rdi, rax
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.140076d60
mov rcx, rbx
mov rbx, rdi
mov qword [rsp + 0x30], rbx
test rcx, rcx
je 0x140032c56
call fcn.1400742a0
jmp 0x140032c56
mov r15, qword [rsp + 0x50]
nop dword [rax]
inc rbp
cmp word [rbx + rbp*2], 0
jne 0x140032d90
mov r8, rbp
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140005030
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [r15 + 0x10], xmm1
test rbx, rbx
je 0x140032dcb
mov rcx, rbx
call fcn.1400742a0
nop
mov rax, r15
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140074280
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret