Function at 0x140043c60
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 [0x1400df080]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x30]
call fcn.140043ac0
nop
lea rbx, [rbp - 0x30]
mov rdi, qword [rbp - 0x18]
cmp rdi, 8
setae r15b
mov r11, qword [rbp - 0x30]
cmovae rbx, r11
mov rsi, qword [rbp - 0x20]
cmp rsi, 5
jb 0x140043ee7
lea r14, [rsi - 4]
lea r14, [rbx + r14*2]
mov r8, rbx
xor r12d, r12d
lea r13, str.x64_
mov rax, r14
sub rax, r8
sar rax, 1
mov rcx, r12
je 0x140043cfe
cmp word [r8], 0x5c
je 0x140043cfb
cmp rax, 1
je 0x140043cfe
dec rax
add r8, 2
cmp word [r8], 0x5c
jne 0x140043ce7
mov rcx, r8
mov r8, rcx
test rcx, rcx
je 0x140043ee7
mov r9d, 5
mov rax, r13
movzx ecx, word [rcx]
mov edx, 0x5c
cmp cx, dx
jb 0x140043d45
mov r10, r8
sub r10, r13
cmp cx, dx
ja 0x140043d45
cmp r9, 1
je 0x140043d4b
dec r9
add rax, 2
movzx ecx, word [r10 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x140043d29
add r8, 2
jmp 0x140043cd2
sub r8, rbx
sar r8, 1
cmp r8, 0xffffffffffffffff
je 0x140043ee7
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x40], r12
mov ebx, 7
mov qword [rbp - 0x38], rbx
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rbp - 0x30]
test r15b, r15b
cmovne rdx, r11
lea rcx, [rbp - 0x50]
call fcn.140005660
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140043dc7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043dc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043f53
call fcn.1400761b0
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbp - 0x20], xmm1
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
movq r14, xmm1
sub rax, r14
cmp rax, 0xa
jb 0x140043f59
lea r15, [rbp - 0x30]
cmp qword [rbp - 0x38], 8
cmovae r15, qword [rbp - 0x50]
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
lea rsi, [r14 + 0xa]
lea rdi, [rbp - 0x50]
cmp rsi, 7
jbe 0x140043e4f
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x140043e2f
mov rbx, rcx
jmp 0x140043e3b
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x50]
call fcn.14001de20
mov rdi, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call fcn.1400785c0
movups xmm0, xmmword [str.cover.jpg]
movups xmmword [rbx + rdi], xmm0
mov eax, dword [0x1400c93b0]
mov dword [rbx + rdi + 0x10], eax
mov word [rdi + rsi*2], r12w
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140043edd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043ed8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043f5f
call fcn.1400761b0
mov rdi, qword [rbp - 0x18]
mov r11, qword [rbp - 0x30]
jmp 0x140043ee9
xor bl, bl
cmp rdi, 8
jb 0x140043f20
lea rdx, [rdi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140043f18
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043f4d
mov rcx, r11
call fcn.1400761b0
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140076190
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.14007cacc
nop
call fcn.14007cacc
nop
call fcn.140002550
int3
call fcn.14007cacc
int3