Function at 0x414d60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4082
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
push eax
mov dword [ebp - 0x38], esi
call fcn.004024a0
xor ebx, ebx
push 0x8c
mov dword [ebp - 4], ebx
mov dword [esi], vtable.KPageFileAsso.1.0
mov dword [esi + 8], vtable.KPageFileAsso.0
mov dword [esi + 0x1c], ebx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
push esi
mov ecx, eax
mov dword [esi + 0x14], eax
call fcn.00412620
cmp byte [0x560715], bl
jne 0x414e4c
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push ebx
call eax
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push ebx
call eax
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push ebx
call eax
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push ebx
call eax
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push ebx
call eax
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x4c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push ebx
call eax
push ebx
lea ecx, [ebp - 0x34]
push str.File_Associations
push ecx
call fcn.00411790
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QWidget::setWindowTitle_class_QString_const__]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push str.KsomiscShowPdfAssociate
lea ecx, [ebp - 0x34]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 2
call dword [sym.imp.ksolite.dll_bool___cdecl_krt::product::isSupported_class_QString_const__]
add esp, 4
test al, al
lea ecx, [ebp - 0x34]
sete byte [ebp - 0x2d]
mov byte [ebp - 4], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [ebp - 0x2d], bl
je 0x414e90
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x68]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push ebx
call eax
lea ecx, [ebp - 0x2c]
push str.photo
push ecx
call fcn.00438010
add esp, 8
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
jae 0x414eb1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x414ecb
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 0x6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push ebx
call edx
call fcn.00413cb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x94]
push ebx
call eax
test eax, eax
je 0x414eef
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push ebx
call eax
mov ecx, esi
call fcn.00414cc0
push 1
call fcn.0045b550
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x70]
push ebx
push str.1onEpubCheckChanged_bool_
push esi
push str.2toggled_bool_
push edx
call dword [sym.imp.QtCore4.dll_public:_static_bool___cdecl_QObject::connect_class_QObject_const___char_const___class_QObject_const___char_const___enum_Qt::ConnectionType_]
add esp, 0x18
cmp dword [ebp - 0x18], 8
jb 0x414f2b
mov eax, dword [ebp - 0x2c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret 4