Function at 0x48de01
Capabilities:
Check if file exists

Disassembly:
push 0x80
mov eax, 0x5e3c67
call fcn.00592017
mov edi, ecx
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x1c4], eax
test eax, eax
jne 0x48de3f
push 0x1d2
push str.HuabaoInspireVideoWnd::InitData
push str.__s__d___create_m_hNewMemoryEvent_failed
call fcn.0040a649
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov esi, str.inspirevideo
mov dword [ebp - 4], ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0052f9f0
mov ecx, eax
call fcn.0052fea0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00404812
test bl, bl
je 0x48dec7
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.0052f9f0
mov ecx, eax
call fcn.0052fd40
push eax
lea ecx, [ebp - 0x58]
call fcn.0040b0ac
lea ecx, [ebp - 0x70]
call fcn.0040b67b
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00404812
jmp 0x48dec9
xor ebx, ebx
push 0x61ce3e
lea ecx, [ebp - 0x88]
call fcn.004045aa
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
lea eax, [ebp - 0x58]
lea esi, [ebp - 0x88]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x70]
call fcn.00430a1c
add esp, 0x18
mov edx, esi
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.00416758
lea ecx, [ebp - 0x70]
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 - 0x70]
call fcn.00430aaf
add esp, 0x18
lea esi, [edi + 0x1d0]
mov ecx, esi
push eax
call fcn.0040b0ac
lea ecx, [ebp - 0x70]
call fcn.0040b67b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x48df59
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48df80
push 0x1dd
push str.HuabaoInspireVideoWnd::InitData
push str.__s__d__file_path_is_not_exists
call fcn.0040a649
add esp, 0xc
jmp 0x48e03a
mov dword [ebp - 0x1c], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 5
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x8c], ebx
jb 0x48dfa1
mov eax, dword [esi]
push eax
push 0x1e3
push str.HuabaoInspireVideoWnd::InitData
push str.__s__d__OnReadingConfig__s
call fcn.0040a649
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x48dfc1
mov esi, dword [esi]
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
lea edx, [ebp - 0x18]
call fcn.0041e235
pop ecx
test eax, eax
je 0x48e01b
cmp dword [ebp - 0x8c], 0
je 0x48e01b
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.0040464f
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x1e8]
call fcn.00404698
lea ecx, [ebp - 0x40]
call fcn.00404812
jmp 0x48e032
push 0x1e5
push str.HuabaoInspireVideoWnd::InitData
push str.__s__d__Read_file_error
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.0041e3ba
lea ecx, [ebp - 0x88]
call fcn.00404812
lea ecx, [ebp - 0x58]
call fcn.0040b67b
call fcn.00591fc1
ret