Function at 0x48e1d5
Capabilities:
Check if file exists

Disassembly:
push 0xb8
mov eax, 0x5e3cc8
call fcn.00592017
mov dword [ebp - 0x64], ecx
mov esi, dword [ebp + 8]
push 0x20d
push str.HuabaoInspireVideoWnd::ParseVideoInfo
push str.__s__d___ParseVideoInfo
call fcn.0040a649
xor ebx, ebx
xorps xmm0, xmm0
add esp, 0xc
movlpd qword [ebp - 0x74], xmm0
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 4], ebx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x48e21e
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48e4ca
cmp dword [esi + 0x14], 8
jb 0x48e235
mov esi, dword [esi]
sub esp, 0x18
lea ecx, [ebp - 0x6c]
push esi
call fcn.0045a53e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
js 0x48e4bf
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0045a588
mov edi, dword [ebp - 0x74]
mov eax, edi
or eax, dword [ebp - 0x70]
je 0x48e4bf
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x9c], ebx
sub esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
push 0xd
push dword [ebp - 0x6c]
call fcn.0045a5be
test eax, eax
js 0x48e481
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xbc], ebx
sub esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
push edi
push dword [ebp - 0x6c]
call fcn.0045a5be
test eax, eax
jns 0x48e2e8
mov edi, ebx
cmp dword [ebp - 0xc4], edi
je 0x48e463
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x48e463
call fcn.0045dd92
mov edi, eax
jmp 0x48e463
push 0x61ce3e
lea ecx, [ebp - 0x28]
call fcn.004045aa
push ebx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.00404ba6
push str.totalsize
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.00405401
mov edx, eax
mov ecx, edi
call fcn.00436afc
push str.bodylen
lea ecx, [ebp - 0x84]
call fcn.00405401
mov edx, eax
mov ecx, edi
call fcn.00436afc
push str.headlen
lea ecx, [ebp - 0x84]
call fcn.00405401
mov edx, eax
xor ecx, ecx
call fcn.00436afc
push str.pagesize
lea ecx, [ebp - 0x84]
call fcn.00405401
mov ecx, dword [ebp + 0xc]
mov edx, eax
call fcn.00436afc
push str.getfilesize
lea ecx, [ebp - 0x84]
call fcn.00405401
mov ecx, dword [ebp + 0x10]
mov edx, eax
call fcn.00436afc
lea ecx, [ebp - 0x48]
call fcn.00406b04
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00406b1f
push eax
lea ecx, [ebp - 0x28]
call fcn.00409145
lea ecx, [ebp - 0x60]
call fcn.00404812
push 0x18
call fcn.00590c07
mov edi, eax
lea eax, [ebp - 0x28]
pop ecx
push eax
mov ecx, edi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
call fcn.00404698
mov eax, dword [ebp - 0x64]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push ebx
push edi
push 0x590
push dword [eax + 8]
call esi
mov eax, dword [ebp - 0x64]
push 0xffffffffffffffff
push dword [eax + 0x1c4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0xc]
push dword [ebp - 0x74]
push dword [ebp - 0xc4]
push ecx
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.0048e4d4
mov eax, dword [ebp - 0x64]
push ebx
push edi
push 0x591
push dword [eax + 8]
call esi
lea ecx, [ebp - 0x48]
call fcn.004065e4
lea ecx, [ebp - 0x84]
call fcn.00404dbc
lea ecx, [ebp - 0x28]
call fcn.00404812
mov edi, ebx
cmp dword [ebp - 0xc4], edi
je 0x48e45d
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x48e45d
call fcn.0045dd92
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xbc], 0
je 0x48e481
push dword [ebp - 0xbc]
call esi
test eax, eax
jne 0x48e481
test edi, edi
js 0x48e481
call fcn.0045dd92
cmp dword [ebp - 0xa4], 0
je 0x48e4a1
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x48e4a1
call fcn.0045dd92
mov ebx, eax
cmp dword [ebp - 0x9c], 0
je 0x48e4bf
push dword [ebp - 0x9c]
call esi
test eax, eax
jne 0x48e4bf
test ebx, ebx
js 0x48e4bf
call fcn.0045dd92
cmp dword [ebp - 0x6c], 0
je 0x48e4ca
push dword [ebp - 0x6c]
call esi
xor eax, eax
call fcn.00591fc1
ret 0xc