Function at 0x140004ffc
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 [0x14010c0c0]
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 0x14000503b
mov rcx, qword [rdx]
mov r9, qword [rdx + 0x10]
add r9, rcx
cmp qword [rdx + 0x18], 0xf
jbe 0x14000504c
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
cmp rdx, r9
jne 0x140005074
movdqa xmm0, xmmword [0x1400fc480]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r14w
jmp 0x140005081
sub r9, rdx
lea rcx, [rbp - 0x31]
call fcn.14001e020
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000508e
mov rcx, qword [rbx]
mov r9, qword [rbx + 0x10]
add r9, rcx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000509f
mov rbx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
cmp rbx, r9
jne 0x1400050c7
movdqa xmm0, xmmword [0x1400fc480]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r14w
jmp 0x1400050d7
sub r9, rbx
mov rdx, rbx
lea rcx, [rbp - 0x51]
call fcn.14001e020
nop
mov rcx, rdi
mov ebx, 7
cmp qword [rdi + 0x18], rbx
jbe 0x1400050e8
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r15d, 0x1000
cmp eax, 0xffffffff
jne 0x1400051eb
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x41]
sub rax, rcx
cmp rax, 1
jb 0x1400052d1
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, [0x1400ef5d8]
lea rcx, [rbp + 0xf]
call fcn.14001d98c
nop
mov r8d, 1
lea rdx, [0x1400ef5d4]
lea rcx, [rbp + 0xf]
call fcn.140019ce8
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.140004f04
mov rdx, qword [rbp + 7]
cmp rdx, rbx
jbe 0x1400051d0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, r15
jb 0x1400051cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400052d7
call fcn.1400864f0
movdqa xmm0, xmmword [0x1400fc480]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r14w
lea rcx, [rbp + 0xf]
call fcn.14001a780
cmp qword [rdi + 0x18], rbx
jbe 0x1400051f4
mov rdi, qword [rdi]
cmp qword [rsi + 0x18], rbx
jbe 0x1400051fd
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 0x14000525f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, r15
jb 0x14000525a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400052dd
call fcn.1400864f0
movdqa xmm0, xmmword [0x1400fc480]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r14w
mov rdx, qword [rbp - 0x19]
cmp rdx, rbx
jbe 0x1400052a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, r15
jb 0x1400052a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400052cb
call fcn.1400864f0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400864d0
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14008d5e0
nop
call fcn.140001784
nop
call fcn.14008d5e0
nop
call fcn.14008d5e0
int3