Function at 0x14000546c
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 [0x1401060c0]
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 0x1400054ab
mov rcx, qword [rdx]
mov r9, qword [rdx + 0x10]
add r9, rcx
cmp qword [rdx + 0x18], 0xf
jbe 0x1400054bc
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
cmp rdx, r9
jne 0x1400054e4
movdqa xmm0, xmmword [0x1400f5f70]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r14w
jmp 0x1400054f1
sub r9, rdx
lea rcx, [rbp - 0x31]
call fcn.14001f008
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400054fe
mov rcx, qword [rbx]
mov r9, qword [rbx + 0x10]
add r9, rcx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000550f
mov rbx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
cmp rbx, r9
jne 0x140005537
movdqa xmm0, xmmword [0x1400f5f70]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r14w
jmp 0x140005547
sub r9, rbx
mov rdx, rbx
lea rcx, [rbp - 0x51]
call fcn.14001f008
nop
mov rcx, rdi
mov ebx, 7
cmp qword [rdi + 0x18], rbx
jbe 0x140005558
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r15d, 0x1000
cmp eax, 0xffffffff
jne 0x14000565b
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x41]
sub rax, rcx
cmp rax, 1
jb 0x140005741
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, [0x1400e8bc8]
lea rcx, [rbp + 0xf]
call fcn.14001e710
nop
mov r8d, 1
lea rdx, [0x1400e8bc4]
lea rcx, [rbp + 0xf]
call fcn.14001a684
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.140005374
mov rdx, qword [rbp + 7]
cmp rdx, rbx
jbe 0x140005640
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, r15
jb 0x14000563b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005747
call fcn.140082e60
movdqa xmm0, xmmword [0x1400f5f70]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r14w
lea rcx, [rbp + 0xf]
call fcn.14001b284
cmp qword [rdi + 0x18], rbx
jbe 0x140005664
mov rdi, qword [rdi]
cmp qword [rsi + 0x18], rbx
jbe 0x14000566d
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 0x1400056cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, r15
jb 0x1400056ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000574d
call fcn.140082e60
movdqa xmm0, xmmword [0x1400f5f70]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r14w
mov rdx, qword [rbp - 0x19]
cmp rdx, rbx
jbe 0x140005718
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, r15
jb 0x140005713
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000573b
call fcn.140082e60
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140082e40
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140089d74
nop
call fcn.140001a54
nop
call fcn.140089d74
nop
call fcn.140089d74
int3