Function at 0x140033af0
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 [0x1400df080]
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 0x140033b46
mov rsi, qword [r14]
cmp rdi, 8
jae 0x140033b5f
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x70], 7
jmp 0x140033ba7
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.14001de20
mov qword [rsp + 0x58], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1400785c0
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 0x140033bbf
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140033be2
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r15], xmm0
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [r15 + 0x10], xmm0
jmp 0x140033d8b
mov ecx, 0x400
mov r12d, 0x200
call fcn.1400767e0
mov rbx, rax
xor edx, edx
mov r8d, 0x400
mov rcx, rax
call fcn.140078c70
mov qword [rsp + 0x30], rbx
mov rbp, 0xffffffffffffffff
mov r15, qword [rsp + 0x40]
mov rax, r13
cmp qword [r13 + 0x18], 8
jb 0x140033c24
mov rax, qword [r13]
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x140033c31
mov r8, qword [r14]
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140033c3e
mov rdx, qword [r15]
mov r9, qword [rsp + 0x48]
mov rcx, r9
cmp qword [r9 + 0x18], 8
jb 0x140033c50
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 0x140033d44
mov r8, rbp
inc r8
cmp word [rbx + r8*2], 0
jne 0x140033c73
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140005660
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x140033c98
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 0x140033cf0
test rcx, rcx
je 0x140033d44
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140033cf0
sub r9, rax
cmp dx, r8w
ja 0x140033cf0
cmp rcx, 1
je 0x140033d44
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140033cd2
add r12d, r12d
cmp r12d, 0x6400000
ja 0x140033d44
mov ecx, r12d
mov eax, 2
mul rcx
mov rsi, rax
cmovo rsi, rbp
mov rcx, rsi
call fcn.1400767e0
mov rdi, rax
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.140078c70
mov rcx, rbx
mov rbx, rdi
mov qword [rsp + 0x30], rbx
test rcx, rcx
je 0x140033c16
call fcn.1400761b0
jmp 0x140033c16
mov r15, qword [rsp + 0x50]
nop dword [rax]
inc rbp
cmp word [rbx + rbp*2], 0
jne 0x140033d50
mov r8, rbp
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140005660
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [r15 + 0x10], xmm1
test rbx, rbx
je 0x140033d8b
mov rcx, rbx
call fcn.1400761b0
nop
mov rax, r15
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140076190
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret