Function at 0x140005328
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1401110c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, r9
mov rsi, r8
mov rbx, rcx
xor r14d, r14d
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140005367
mov rcx, qword [rdx]
mov r9, qword [rdx + 0x10]
add r9, rcx
cmp qword [rdx + 0x18], 0xf
jbe 0x140005378
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
cmp rdx, r9
jne 0x1400053a0
movdqa xmm0, xmmword [0x140100520]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r14w
jmp 0x1400053ad
sub r9, rdx
lea rcx, [rbp - 0x31]
call fcn.14001e470
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400053ba
mov rcx, qword [rbx]
mov r9, qword [rbx + 0x10]
add r9, rcx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400053cb
mov rbx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
cmp rbx, r9
jne 0x1400053f3
movdqa xmm0, xmmword [0x140100520]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r14w
jmp 0x140005403
sub r9, rbx
mov rdx, rbx
lea rcx, [rbp - 0x51]
call fcn.14001e470
nop
mov rcx, rdi
mov ebx, 7
cmp qword [rdi + 0x18], rbx
jbe 0x140005414
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r15d, 0x1000
cmp eax, 0xffffffff
jne 0x140005517
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x41]
sub rax, rcx
cmp rax, 1
jb 0x1400055fd
lea rax, [rbp - 0x51]
cmp qword [rbp - 0x39], rbx
cmova rax, qword [rbp - 0x51]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [0x1400f0678]
lea rcx, [rbp + 0xf]
call fcn.14001dddc
nop
mov r8d, 1
lea rdx, [0x1400f0674]
lea rcx, [rbp + 0xf]
call fcn.14001a09c
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov word [rax], r14w
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.140005230
mov rdx, qword [rbp + 7]
cmp rdx, rbx
jbe 0x1400054fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, r15
jb 0x1400054f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005603
call fcn.140086f90
movdqa xmm0, xmmword [0x140100520]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r14w
lea rcx, [rbp + 0xf]
call fcn.14001ab34
cmp qword [rdi + 0x18], rbx
jbe 0x140005520
mov rdi, qword [rdi]
cmp qword [rsi + 0x18], rbx
jbe 0x140005529
mov rsi, qword [rsi]
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], rbx
cmova rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], rbx
cmova rcx, qword [rbp - 0x51]
mov r9, rdi
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, rbx
jbe 0x14000558b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, r15
jb 0x140005586
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005609
call fcn.140086f90
movdqa xmm0, xmmword [0x140100520]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r14w
mov rdx, qword [rbp - 0x19]
cmp rdx, rbx
jbe 0x1400055d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, r15
jb 0x1400055cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400055f7
call fcn.140086f90
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140086f70
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14008e080
nop
call fcn.140001ab4
nop
call fcn.14008e080
nop
call fcn.14008e080
int3