Function at 0x1800125c0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x180082098]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x2d8]
mov r13d, r8d
movzx ebx, byte [rsp + 0x2d0]
mov esi, edx
mov rbp, rcx
mov qword [rsp + 0x48], rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
mov r15d, r9d
call fcn.180039590
xor dil, dil
xor r12b, r12b
cmp r13d, 0x14
jg 0x18001262d
cmp r15d, 0x14
jle 0x180012630
mov dil, 1
lea eax, [rsi - 0x3eb]
cmp eax, 0xb
ja case.0x180012650.1006
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x12a0c]
add rcx, rdx
jmp rcx
test bl, bl
je 0x180012662
lea rdx, str.IDR_PNG_MENU_CONVERT2_WORD_13X13
jmp 0x18001280e
lea rax, str.IDR_PNG_MENU_CONVERT2_WORD_32X32
lea rdx, str.IDR_PNG_MENU_CONVERT2_WORD_16X16
jmp 0x180012807
test bl, bl
je 0x180012685
lea rdx, str.IDR_PNG_MENU_CONVERT2_EXCEL_13X13
jmp 0x18001280e
lea rax, str.IDR_PNG_MENU_CONVERT2_EXCEL_32X32
lea rdx, str.IDR_PNG_MENU_CONVERT2_EXCEL_16X16
jmp 0x180012807
test bl, bl
je 0x1800126a8
lea rdx, [0x180060850]
jmp 0x18001280e
lea rax, [0x180060890]
lea rdx, [0x1800608d0]
jmp 0x180012807
test bl, bl
je 0x1800126cb
lea rdx, [0x180060910]
jmp 0x18001280e
lea rax, [0x180060950]
lea rdx, [0x180060990]
jmp 0x180012807
test bl, bl
je 0x1800126ee
lea rdx, [0x1800609d0]
jmp 0x18001280e
lea rax, [0x180060a10]
lea rdx, [0x180060a50]
jmp 0x180012807
test bl, bl
je 0x180012711
lea rdx, [0x180060a90]
jmp 0x18001280e
lea rax, [0x180060ad0]
lea rdx, [0x180060b10]
jmp 0x180012807
test bl, bl
je 0x180012734
lea rdx, [0x180060b50]
jmp 0x18001280e
lea rax, [0x180060b90]
lea rdx, [0x180060bd0]
jmp 0x180012807
test bl, bl
je 0x180012757
lea rdx, [0x180060c10]
jmp 0x18001280e
lea rax, [0x180060c50]
lea rdx, [0x180060c90]
jmp 0x180012807
test bl, bl
je 0x18001277a
lea rdx, [0x180060cd0]
jmp 0x18001280e
lea rax, [0x180060d00]
lea rdx, [0x180060d30]
jmp 0x180012807
test bl, bl
je 0x180012797
lea rdx, [0x180060d60]
jmp 0x18001280e
lea rax, str.IDR_PNG_MENU_COMPRESS_PDF_32X32
lea rdx, [0x180060de0]
jmp 0x180012807
mov r12b, 1
test bl, bl
je 0x1800127c1
lea rdx, [rbp + 0xc0]
cmp qword [rdx + 0x18], 8
jb 0x18001280e
mov rdx, qword [rdx]
jmp 0x18001280e
test dil, dil
je 0x1800127d9
lea rdx, [rbp + 0x100]
cmp qword [rdx + 0x18], 8
jb 0x18001280e
mov rdx, qword [rdx]
jmp 0x18001280e
lea rdx, [rbp + 0xe0]
cmp qword [rdx + 0x18], 8
jb 0x18001280e
mov rdx, qword [rdx]
jmp 0x18001280e
test bl, bl
je 0x1800127f9
lea rdx, [0x180060e20]
jmp 0x18001280e
lea rax, str.IDR_PNG_MENU_PDF_32X32
lea rdx, [0x180060e80]
test dil, dil
cmovne rdx, rax
lea rcx, [rsp + 0x50]
call fcn.18000de50
xor esi, esi
movzx eax, dil
test bl, bl
mov qword [rsp + 0x40], rsi
mov r14d, esi
mov edi, esi
cmove r14d, eax
test r12b, r12b
je 0x180012982
lea rcx, [rsp + 0x50]
mov ebp, 0x8007000e
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800129d2
lea ecx, [rsi + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rsi, rax
test rax, rax
je 0x18001297e
lea rax, vtable.Gdiplus::Bitmap.0
xor r12d, r12d
lea rdx, [rsp + 0x40]
mov qword [rsi], rax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x40], r12
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov rdx, qword [rsp + 0x40]
mov qword [rsi + 8], rdx
mov dword [rsi + 0x10], r12d
test eax, eax
jne 0x180012970
test r14b, r14b
je 0x180012932
lea ecx, [rdi + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
test rax, rax
je 0x1800128ce
mov rcx, rsi
call fcn.180011110
mov r9d, eax
mov r8d, r15d
mov edx, r13d
mov rcx, rbx
call fcn.18000f760
mov rdi, rax
test rdi, rdi
je 0x180012970
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], r12
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov rbx, qword [rsp + 0x40]
mov edx, 4
mov rcx, rbx
call sub.gdiplus.dll_GdipSetSmoothingMode
mov edx, 7
mov rcx, rbx
call sub.gdiplus.dll_GdipSetInterpolationMode
mov rdx, qword [rsi + 8]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], r15d
mov rcx, rbx
mov dword [rsp + 0x20], r13d
call sub.gdiplus.dll_GdipDrawImageRectI
mov rcx, rbx
mov ebp, r12d
call sub.gdiplus.dll_GdipDeleteGraphics
jmp 0x180012970
mov rcx, rsi
call fcn.180011110
mov rcx, rsi
mov edi, eax
call fcn.1800109b0
mov rcx, rsi
mov ebx, eax
call fcn.180011140
mov r9d, eax
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov dword [rsp + 0x20], ebx
xor edx, edx
mov rcx, rsi
call fcn.180010780
test rax, rax
mov rdi, rax
cmovne ebp, r12d
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [r8]
xor esi, esi
jmp 0x1800129bd
mov rdx, qword [0x180084e50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [0x180060eb0]
mov byte [rsp + 0x30], r14b
lea r8, [rsp + 0x50]
mov dword [rsp + 0x28], r15d
mov rcx, rbp
mov dword [rsp + 0x20], r13d
call fcn.180012340
mov rdi, qword [rsp + 0x40]
mov ebp, eax
test ebp, ebp
jne 0x1800129d2
test rdi, rdi
je 0x1800129d2
mov rax, qword [rsp + 0x48]
mov qword [rax], rdi
mov eax, ebp
jmp 0x1800129df
mov rax, qword [rsp + 0x48]
mov qword [rax], rsi
mov eax, 0x8007000e
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18001b2e0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret