Function at 0x1400b7cc0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1e0], rbx
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rdx
mov r15, rcx
test rdx, rdx
jne 0x1400b7d0e
xor al, al
jmp 0x1400b827e
lea rdx, [0x14048e4d0]
mov ecx, 0x438
call fcn.1401af050
mov qword [rsp + 0x70], rax
xor r13d, r13d
test rax, rax
je 0x1400b7d3d
lea edx, [r13 + 1]
mov rcx, rax
call fcn.14015b440
mov r14, rax
jmp 0x1400b7d40
mov r14, r13
test r14, r14
je 0x1400b827c
mov rax, qword [r14]
mov rdi, qword [rax + 0xd8]
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r13w
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400b7d70
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.14007ece0
nop
lea rdx, [rbp - 0x50]
mov rcx, r14
call rdi
nop
lea rcx, [rbp - 0x50]
call fcn.14007ec70
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_65f8c02bde276fc0e8bc70ce92e35b1e___bool__struct_ui::EventArgs____ptr64_.0
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r15
lea rax, [rbp + 0x10]
mov qword [rbp + 0x48], rax
lea rdx, [rbp + 0x10]
mov rcx, r14
call fcn.1400a7d40
nop
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400b7dd9
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
lea rax, [rbp + 0x10]
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x48], r13
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r13w
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.setting_layout_item.xml
lea rcx, [rbp - 0x50]
call fcn.14007ece0
nop
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.140144810
nop
lea rcx, [rbp - 0x50]
call fcn.14007ec70
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r13w
mov r8d, 9
lea rdx, str.ll_layout
lea rcx, [rbp - 0x30]
call fcn.14007ece0
nop
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov qword [rsp + 0x70], r13
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r8, qword [rbp - 0x30]
mov r10, qword [r14]
mov rax, r13
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [0x14014ffa0]
mov rcx, r14
call qword [r10 + 0x178]
mov dword [rsp + 0x20], r13d
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, rax
call fcn.1402dce2c
mov rdi, rax
lea rcx, [rbp - 0x30]
call fcn.14007ec70
test rdi, rdi
je 0x1400b7f5b
mov rcx, qword [rdi]
mov rsi, qword [rcx + 0x258]
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r13w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400b7ee1
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.14007ece0
nop
lea rdx, [rbp - 0x50]
mov rcx, rdi
call rsi
nop
lea rcx, [rbp - 0x50]
call fcn.14007ec70
mov rax, qword [rdi]
mov rsi, qword [rax + 0x88]
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r13w
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400b7f30
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.14007ece0
nop
lea rdx, [rbp - 0x50]
mov rcx, rdi
call rsi
nop
lea rcx, [rbp - 0x50]
call fcn.14007ec70
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r13w
mov r8d, 9
lea rdx, str.cl_layout
lea rcx, [rbp - 0x50]
call fcn.14007ece0
nop
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov qword [rsp + 0x70], r13
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r8, qword [rbp - 0x50]
mov r10, qword [r14]
mov rax, r13
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [0x14014ffa0]
mov rcx, r14
call qword [r10 + 0x178]
mov rsi, rax
lea rcx, [rbp - 0x50]
call fcn.14007ec70
test rsi, rsi
je 0x1400b8269
mov r8, rbx
lea rdx, str._s_thumb.png
lea rcx, [rbp + 0x10]
call fcn.1401349c0
nop
cmp qword [rax + 0x18], 8
jb 0x1400b7ff1
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.1400ac220
nop
lea rcx, [rbp + 0x10]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400b8212
mov r8, rbx
lea rdx, str._s.png
lea rcx, [rbp + 0x50]
call fcn.1401349c0
nop
cmp qword [rax + 0x18], 8
jb 0x1400b8042
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.1400ac220
nop
lea rcx, [rbp + 0x50]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400b8209
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
lea rbx, vtable.Gdiplus::Bitmap.0
mov qword [rbp + 0x50], rbx
mov qword [rsp + 0x70], r13
lea rdx, [rsp + 0x70]
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromFile]
mov edi, eax
mov r12, qword [rsp + 0x70]
mov qword [rbp + 0x58], r12
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x70], r13
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 0x26200a
xor r8d, r8d
mov edx, 0xa0
lea ecx, [rdx + 0x6c]
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov dword [rbp - 0x70], eax
mov r13, qword [rsp + 0x70]
mov qword [rbp - 0x78], r13
mov qword [rsp + 0x70], 0
lea rdx, [rsp + 0x70]
mov rcx, r13
call qword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov ebx, eax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x60], rax
mov dword [rsp + 0x78], 0
lea rdx, [rsp + 0x78]
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
cmovne edi, eax
mov dword [rsp + 0x7c], 0
lea rdx, [rsp + 0x7c]
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
cmovne edi, eax
mov dword [rbp + 0x60], edi
xor ecx, ecx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x50], 2
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], SHCreateDirectory
mov dword [rsp + 0x20], 0x10c
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rdi, qword [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipDrawImageRectRectI]
test eax, eax
cmovne ebx, eax
mov dword [rbp - 0x58], ebx
movups xmm0, xmmword [0x14040b100]
movups xmmword [rbp + 0x70], xmm0
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
xor r9d, r9d
lea r8, [rbp + 0x70]
mov rcx, r13
call qword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
test eax, eax
je 0x1400b81eb
mov dword [rbp - 0x70], eax
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
mov r8, qword [rbp]
lea rcx, [rbp - 0x30]
call fcn.14007ece0
nop
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
nop
mov rcx, r13
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
nop
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
nop
lea rcx, [rbp - 0x10]
call fcn.14007ec70
mov edx, 0xffffffff
mov rcx, rsi
call fcn.140156cc0
lea rcx, [rsi + 0x1c0]
lea rdx, [rbp - 0x30]
call fcn.14016c7b0
cmp dword [rsi + 0x234], 0
setne al
mov byte [rsi + 0xc1], al
cmp dword [rsi + 0x40], 0xfffffffe
je 0x1400b8256
cmp dword [rsi + 0x44], 0xfffffffe
je 0x1400b8256
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.SHELL32.dll_SHDoDragDrop]
jmp 0x1400b8260
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
nop
lea rcx, [rbp - 0x30]
call fcn.14007ec70
mov rcx, qword [r15 + 0x3e0]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + 0x270]
mov al, 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1401aed20
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret