Function at 0x14005bde0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1400b8080]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r9, rdx
mov rdi, rcx
xor r14d, r14d
lea r8, [rcx + 0x478]
mov rcx, rdx
mov r11, qword [rdx + 0x18]
cmp r11, 7
jbe 0x14005be30
mov rcx, qword [rdx]
mov r10, r8
cmp qword [r8 + 0x18], 7
jbe 0x14005be3d
mov r10, qword [r8]
mov rdx, qword [r8 + 0x10]
cmp rdx, qword [r9 + 0x10]
jne 0x14005be68
test rdx, rdx
je 0x14005be64
sub r10, rcx
nop
movzx eax, word [rcx]
cmp word [r10 + rcx], ax
jne 0x14005be68
add rcx, 2
sub rdx, 1
jne 0x14005be50
xor al, al
jmp 0x14005be6a
mov al, 1
test al, al
je 0x14005c0ed
cmp r8, r9
je 0x14005bec4
mov rax, r9
cmp r11, 7
jbe 0x14005be83
mov rax, qword [r9]
mov rdx, qword [r9 + 0x10]
mov rcx, qword [r8 + 0x18]
cmp rdx, rcx
ja 0x14005beb9
mov rsi, r8
cmp rcx, 7
jbe 0x14005be9c
mov rsi, qword [r8]
mov qword [r8 + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.140087290
mov word [rbx + rsi], r14w
jmp 0x14005bec4
mov r9, rax
mov rcx, r8
call fcn.140002c40
mov rcx, qword [rdi + 0x470]
mov esi, 1
test rcx, rcx
je 0x14005bee3
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
mov qword [rdi + 0x470], r14
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x61]
call fcn.140002800
nop
lea rcx, [rbp - 0x61]
cmp qword [rbp - 0x49], 7
cmova rcx, qword [rbp - 0x61]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14005c095
mov rdx, qword [rdi + 0x30]
add rdx, 0x178
lea rcx, [rbp - 1]
call fcn.140002800
nop
lea rdx, [0x1400b8cd8]
lea rcx, [rbp - 0x21]
call fcn.140002800
nop
lea r9, [rbp - 1]
lea r8, [rbp - 0x21]
lea rcx, [rbp - 0x41]
call fcn.140029460
nop
lea rdx, [rbp - 0x61]
cmp qword [rbp - 0x49], 7
cmova rdx, qword [rbp - 0x61]
mov r8, qword [rbp - 0x51]
lea rcx, [rbp - 0x41]
call fcn.140008390
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp - 0x49]
cmp rdx, 7
jbe 0x14005bfba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bfb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c1f1
call fcn.140061530
movups xmmword [rbp - 0x61], xmm6
movups xmmword [rbp - 0x51], xmm7
mov rdx, qword [rbp - 0x29]
cmp rdx, 7
jbe 0x14005c002
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bffd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c1f7
call fcn.140061530
movdqa xmm0, xmmword [0x1400a4610]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r14w
mov rdx, qword [rbp - 9]
cmp rdx, 7
jbe 0x14005c055
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c04f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c1fd
call fcn.140061530
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x14005c095
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c090
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c1e5
call fcn.140061530
lea rcx, [rbp - 0x61]
cmp qword [rbp - 0x49], 7
cmova rcx, qword [rbp - 0x61]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14005c11b
mov rdx, qword [rbp - 0x49]
cmp rdx, 7
jbe 0x14005c0ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c0e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c1eb
call fcn.140061530
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140061510
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
mov qword [rbp - 0x69], rax
test rax, rax
je 0x14005c15c
lea rcx, [rbp - 0x61]
cmp qword [rbp - 0x49], 7
cmova rcx, qword [rbp - 0x61]
lea rax, vtable.Gdiplus::Image.0
mov qword [rbx], rax
lea rdx, [rbx + 8]
mov qword [rdx], r14
call qword [sym.imp.gdiplus.dll_GdipLoadImageFromFile]
mov dword [rbx + 0x10], eax
jmp 0x14005c15f
mov rbx, r14
mov qword [rdi + 0x470], rbx
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x10], r14d
test eax, eax
jne 0x14005c1a1
mov edx, 3
cmp byte [rdi + 0x459], al
cmovne edx, esi
mov rbx, qword [rdi + 0x470]
mov rcx, qword [rbx + 8]
call qword [sym.imp.gdiplus.dll_GdipImageRotateFlip]
test eax, eax
je 0x14005c197
mov dword [rbx + 0x10], eax
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x58]
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 7
jbe 0x14005c0ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c0e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c1eb
jmp 0x14005c0e8
call fcn.14006a6c0
nop
call fcn.14006a6c0
nop
call fcn.14006a6c0
nop
call fcn.14006a6c0
nop
call fcn.14006a6c0
int3