Function at 0x49087a
Capabilities:
Check if file exists

Disassembly:
push 0xc0
mov eax, 0x5e5c13
call fcn.00593b07
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x74], 7
xor ecx, ecx
mov dword [ebp - 0x78], eax
mov word [ebp - 0x88], cx
mov esi, str.mangotv
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.005314e0
mov ecx, eax
call fcn.00531990
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00404812
test bl, bl
je 0x49091b
push esi
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.005314e0
mov ecx, eax
call fcn.00531830
push eax
lea ecx, [ebp - 0x88]
call fcn.0040b0ac
lea ecx, [ebp - 0x70]
call fcn.0040b67e
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00404812
jmp 0x49091d
xor ebx, ebx
push 0x61ee2e
lea ecx, [ebp - 0xb8]
call fcn.004045aa
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
lea eax, [ebp - 0x88]
lea esi, [ebp - 0xb8]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x28]
call fcn.00430a1f
add esp, 0x18
mov edx, esi
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.0041675b
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00404812
sub esp, 0x18
mov eax, esi
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404267
lea ecx, [ebp - 0x40]
call fcn.00430ab2
add esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4909c3
push 0x7f
push str.MangoTvFrame::ParaseMangoTvData
push str.__s__d__file_path_is_not_exists
call fcn.0040a649
add esp, 0xc
jmp 0x490b68
mov dword [ebp - 0x64], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov esi, str.MangoTvFrame::ParaseMangoTvData
mov dword [ebp - 0xbc], ebx
cmovae eax, dword [ebp - 0x40]
push eax
push 0x85
push esi
push str.__s__d__OnReadingConfig__s
call fcn.0040a649
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x60]
push eax
call fcn.0041e238
add esp, 0x14
test eax, eax
je 0x490b4d
cmp dword [ebp - 0xbc], 0
je 0x490b4d
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
push dword [ebp - 0x60]
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], bl
call fcn.0040464f
push 0x61ee2e
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.004045aa
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call fcn.004166a4
lea eax, [ebp - 0xa0]
push eax
lea ecx, [edi + 0x1a8]
call fcn.00404698
push ebx
lea ecx, [ebp - 0xcc]
call fcn.00404ba6
mov byte [ebp - 4], 9
lea eax, [ebp - 0xcc]
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
push eax
call fcn.004368f3
pop ecx
lea ecx, [ebp - 0xcc]
call fcn.004056d7
test al, al
jne 0x490ad2
push 0x93
push esi
push str.__s__d__Value_is_not_object
call fcn.0040a649
add esp, 0xc
jmp 0x490b2d
push str.data
lea ecx, [ebp - 0xcc]
call fcn.00405401
push eax
lea ecx, [ebp - 0x20]
call fcn.00404cc0
push str.current
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00405401
lea edx, [edi + 0x1c4]
mov ecx, eax
call fcn.00436e86
push 0x633e58
lea ecx, [ebp - 0x20]
call fcn.00405401
lea edx, [edi + 0x1c0]
mov ecx, eax
call fcn.00436e86
lea ecx, [ebp - 0x20]
mov bl, 1
call fcn.00404dbc
lea ecx, [ebp - 0xcc]
call fcn.00404dbc
lea ecx, [ebp - 0xa0]
call fcn.00404812
lea ecx, [ebp - 0x58]
call fcn.00404812
jmp 0x490b60
push 0x87
push esi
push str.__s__d__Read_file_error
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.0041e3bd
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0xb8]
call fcn.00404812
lea ecx, [ebp - 0x88]
call fcn.0040b67e
mov al, bl
call fcn.00593ab1
ret