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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400ec658]
xor rax, rsp
mov qword [rbp - 8], rax
xor r15d, r15d
lea rcx, [rbp - 0x28]
call fcn.14004a710
nop
lea r9, [rbp - 0x28]
mov rdi, qword [rbp - 0x28]
mov r14, qword [rbp - 0x10]
cmp r14, 8
cmovae r9, rdi
mov r11, qword [rbp - 0x18]
cmp r11, 5
jb 0x14004b3c2
lea r10, [r11 - 4]
lea r10, [r9 + r10*2]
mov rbx, r9
lea rsi, str.x64_
nop word [rax + rax]
mov rax, r10
sub rax, rbx
sar rax, 1
mov rcx, r15
je 0x14004b38a
cmp word [rbx], 0x5c
je 0x14004b387
cmp rax, 1
je 0x14004b38a
dec rax
add rbx, 2
cmp word [rbx], 0x5c
jne 0x14004b374
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x14004b3c2
mov edx, 5
mov rcx, rsi
mov r8, rbx
sub r8, rsi
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14004b3bc
add rcx, 2
sub rdx, 1
jne 0x14004b3a0
sub rbx, r9
sar rbx, 1
jmp 0x14004b3c9
add rbx, 2
jmp 0x14004b360
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14004b5df
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
cmp r11, rbx
cmovb rbx, r11
lea r15, [rbp - 0x28]
cmp r14, 8
cmovae r15, rdi
movabs r12, 0x7ffffffffffffffe
cmp rbx, r12
ja 0x14004b64b
mov esi, 7
lea r13d, [rsi + 3]
cmp rbx, 8
jae 0x14004b432
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rsi
add rbx, rbx
mov r8, rbx
mov rdx, r15
lea rcx, [rbp - 0x48]
call fcn.14008a2d0
xor eax, eax
mov word [rbp + rbx - 0x48], ax
jmp 0x14004b484
mov r14, rbx
or r14, rsi
cmp r14, r12
jbe 0x14004b442
mov r14, r12
jmp 0x14004b449
cmp r14, r13
cmovb r14, r13
lea rdx, [r14 + 1]
lea rcx, [rbp - 0x48]
call fcn.140028520
mov rdi, rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], r14
add rbx, rbx
mov r8, rbx
mov rdx, r15
mov rcx, rax
call fcn.14008a2d0
xor eax, eax
mov word [rbx + rdi], ax
mov r14, qword [rbp - 0x10]
mov rdi, qword [rbp - 0x28]
cmp r14, 8
jb 0x14004b4bf
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004b4b7
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b651
mov rcx, rdi
call fcn.140087fc8
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rbp - 0x28], xmm1
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x18], xmm0
movq rbx, xmm0
mov rax, r12
sub rax, rbx
cmp rax, r13
jb 0x14004b657
lea r15, [rbp - 0x28]
movq rcx, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 8
cmovae r15, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
lea r14, [rbx + 0xa]
lea rdi, [rbp - 0x48]
cmp r14, rsi
jbe 0x14004b546
mov rsi, r14
or rsi, 7
cmp rsi, r12
jbe 0x14004b52b
mov rsi, r12
jmp 0x14004b532
cmp rsi, r13
cmovb rsi, r13
lea rdx, [rsi + 1]
lea rcx, [rbp - 0x48]
call fcn.140028520
mov rdi, rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], rsi
add rbx, rbx
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call fcn.14008a2d0
movups xmm0, xmmword [str.cover.jpg]
movups xmmword [rdi + rbx], xmm0
mov eax, dword [0x1400b83a0]
mov dword [rdi + rbx + 0x10], eax
xor eax, eax
mov word [rdi + r14*2], ax
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14004b5d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b5d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b65d
call fcn.140087fc8
mov r14, qword [rbp - 0x10]
mov rdi, qword [rbp - 0x28]
jmp 0x14004b5e1
xor bl, bl
cmp r14, 8
jb 0x14004b618
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004b610
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b645
mov rcx, rdi
call fcn.140087fc8
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140088450
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14008e92c
nop
call fcn.1400282a0
nop
call fcn.14008e92c
int3
call fcn.1400282a0
int3
call fcn.14008e92c
int3