Function at 0x140004f9c
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 0x140004fdb
mov rcx, qword [rdx]
mov r9, qword [rdx + 0x10]
add r9, rcx
cmp qword [rdx + 0x18], 0xf
jbe 0x140004fec
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
cmp rdx, r9
jne 0x140005014
movdqa xmm0, xmmword [0x1400fbca0]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r14w
jmp 0x140005021
sub r9, rdx
lea rcx, [rbp - 0x31]
call fcn.14001dfc0
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000502e
mov rcx, qword [rbx]
mov r9, qword [rbx + 0x10]
add r9, rcx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000503f
mov rbx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
cmp rbx, r9
jne 0x140005067
movdqa xmm0, xmmword [0x1400fbca0]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r14w
jmp 0x140005077
sub r9, rbx
mov rdx, rbx
lea rcx, [rbp - 0x51]
call fcn.14001dfc0
nop
mov rcx, rdi
mov ebx, 7
cmp qword [rdi + 0x18], rbx
jbe 0x140005088
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r15d, 0x1000
cmp eax, 0xffffffff
jne 0x14000518b
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x41]
sub rax, rcx
cmp rax, 1
jb 0x140005271
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, [0x1400ee5d8]
lea rcx, [rbp + 0xf]
call fcn.14001d92c
nop
mov r8d, 1
lea rdx, [0x1400ee5d4]
lea rcx, [rbp + 0xf]
call fcn.140019c88
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.140004ea4
mov rdx, qword [rbp + 7]
cmp rdx, rbx
jbe 0x140005170
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, r15
jb 0x14000516b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005277
call fcn.1400862a0
movdqa xmm0, xmmword [0x1400fbca0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r14w
lea rcx, [rbp + 0xf]
call fcn.14001a720
cmp qword [rdi + 0x18], rbx
jbe 0x140005194
mov rdi, qword [rdi]
cmp qword [rsi + 0x18], rbx
jbe 0x14000519d
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 0x1400051ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, r15
jb 0x1400051fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000527d
call fcn.1400862a0
movdqa xmm0, xmmword [0x1400fbca0]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], r14w
mov rdx, qword [rbp - 0x19]
cmp rdx, rbx
jbe 0x140005248
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, r15
jb 0x140005243
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000526b
call fcn.1400862a0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140086280
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14008d390
nop
call fcn.140001724
nop
call fcn.14008d390
nop
call fcn.14008d390
int3