Function at 0x1401930a0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r9, rdx
mov rdi, rcx
lea rbx, [rcx + 0x478]
mov rax, rdx
mov rsi, qword [rdx + 0x18]
cmp rsi, 8
jb 0x1401930f6
mov rax, qword [rdx]
mov r10, rbx
cmp qword [rbx + 0x18], 8
jb 0x140193103
mov r10, qword [rbx]
mov rcx, qword [rbx + 0x10]
mov r11, qword [rdx + 0x10]
cmp rcx, r11
jne 0x140193150
test rcx, rcx
je 0x14019338c
movzx edx, word [r10]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140193150
sub r10, rax
cmp dx, r8w
ja 0x140193150
cmp rcx, 1
je 0x14019338c
dec rcx
add rax, 2
movzx edx, word [r10 + rax]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x14019312e
cmp rbx, r9
je 0x14019316c
cmp rsi, 8
jb 0x14019315e
mov r9, qword [r9]
mov r8, r11
mov rdx, r9
mov rcx, rbx
call fcn.14007ece0
mov rcx, qword [rdi + 0x470]
xor esi, esi
lea r14d, [rsi + 1]
test rcx, rcx
je 0x14019318d
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
mov qword [rdi + 0x470], rsi
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14007eaa0
nop
lea rcx, [rsp + 0x30]
cmp qword [rbp - 0x71], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1401932db
mov rdx, qword [rdi + 0x30]
add rdx, 0x178
lea rcx, [rbp - 0x29]
call fcn.14007eaa0
nop
lea rdx, [0x140481ca8]
lea rcx, [rbp - 0x49]
call fcn.14007eaa0
nop
mov rdx, qword [rbp - 0x31]
mov rax, rdx
mov r9, qword [rbp - 0x39]
sub rax, r9
mov rcx, qword [rbp - 0x11]
mov r8, qword [rbp - 0x19]
cmp r8, rax
jbe 0x14019321d
mov rax, rcx
sub rax, r8
cmp rax, r9
jb 0x14019321d
lea r8, [rbp - 0x49]
cmp rdx, 8
cmovae r8, qword [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.14008d210
jmp 0x140193233
lea rdx, [rbp - 0x29]
cmp rcx, 8
cmovae rdx, qword [rbp - 0x29]
lea rcx, [rbp - 0x49]
call fcn.14007e3d0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x59], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rsp + 0x30]
cmp qword [rbp - 0x71], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rbp - 0x79]
lea rcx, [rbp - 0x69]
call fcn.14007e3d0
movups xmm7, xmmword [rax]
movups xmmword [rbp - 9], xmm7
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rcx, [rsp + 0x30]
call fcn.14007ec70
movups xmmword [rsp + 0x30], xmm7
movups xmmword [rbp - 0x79], xmm6
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], si
lea rcx, [rbp - 9]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x69]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x49]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x29]
call fcn.14007ec70
lea rcx, [rsp + 0x30]
cmp qword [rbp - 0x71], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140193382
mov ecx, ILCombine
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14019333d
lea rcx, [rsp + 0x30]
cmp qword [rbp - 0x71], 8
cmovae rcx, qword [rsp + 0x30]
lea rax, vtable.Gdiplus::Image.0
mov qword [rbx], rax
lea rdx, [rbx + 8]
mov qword [rdx], rsi
call qword [sym.imp.gdiplus.dll_GdipLoadImageFromFile]
mov dword [rbx + 0x10], eax
jmp 0x140193340
mov rbx, rsi
mov qword [rdi + 0x470], rbx
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x10], esi
test eax, eax
jne 0x140193382
mov edx, 3
cmp byte [rdi + 0x459], al
cmovne edx, r14d
mov rbx, qword [rdi + 0x470]
mov rcx, qword [rbx + 8]
call qword [sym.imp.gdiplus.dll_GdipImageRotateFlip]
test eax, eax
je 0x140193378
mov dword [rbx + 0x10], eax
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.SHELL32.dll_SHDoDragDrop]
nop
lea rcx, [rsp + 0x30]
call fcn.14007ec70
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401aed20
lea r11, [rsp + 0x100]
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