Function at 0x403b0b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2001c
call fcn.00404930
push ebx
push esi
push 1
push 3
xor ebx, ebx
push 1
push SysReAllocString
mov dword [ebp - 0x10], ebx
call fcn.00401ad2
push eax
call fcn.0040285e
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
mov dword [ebp - 4], esi
je 0x403ffc
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [0x4052bc]
mov dword [ebp - 0x14], eax
cmp eax, edi
jle 0x403ff2
push ebx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x2001c]
push 0x20000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403ff2
mov eax, dword [ebp - 0xc]
lea esi, [ebp - 0x2001c]
add eax, 0xffffffec
cmp eax, ebx
jle 0x403ff2
cmp dword [esi], 0x4d46504d
je 0x403bba
inc esi
lea edx, [ebp - 0x2001c]
mov ecx, esi
sub ecx, edx
cmp ecx, eax
jl 0x403b9e
jmp 0x403ff2
mov eax, dword [esi + 8]
add esi, 8
push eax
add esi, 4
call fcn.00401b02
mov eax, dword [esi]
add esi, 4
push eax
call fcn.00401b12
mov eax, dword [esi]
add esi, 4
push eax
call fcn.00401b22
add esp, 0xc
call fcn.00401b0c
sub eax, ebx
je 0x403d36
dec eax
je 0x403bfe
dec eax
je 0x403d36
jmp 0x403ff2
push 3
call fcn.00401b32
test eax, eax
pop ecx
je 0x403ff2
push esi
call fcn.00403aee
mov esi, eax
lea edx, [ebp - 0x2001c]
mov eax, dword [esi]
add esi, 4
mov ecx, esi
mov dword [ebp - 8], eax
sub ecx, edx
add edi, ecx
push edi
push eax
push str.application_x_shockwave_flash
push str.http:__fmchost.metaproducts.com_fmc.swf
push ebx
call fcn.00403a91
movsx eax, byte [esi + 3]
push eax
call fcn.00401c11
push dword [ebp - 8]
call fcn.00403aee
add edi, eax
add esp, 0x20
cmp dword [ebp - 0x14], edi
jle 0x403ff2
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push edi
push dword [ebp - 4]
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x2001c]
push 0x20000
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403ff2
mov eax, dword [0x4052c0]
cmp dword [ebp - 0xc], eax
jle 0x403ff2
mov ecx, dword [ebp - 0x2001c]
add edi, eax
push edi
push ecx
push str.application_x_shockwave_flash
push str.http:__fmchost.metaproducts.com_fmcs.swf
push 1
mov dword [ebp - 8], ecx
call fcn.00403a91
push dword [ebp - 8]
call fcn.00403aee
add edi, eax
add esp, 0x18
cmp dword [ebp - 0x14], edi
jle 0x403ff2
push ebx
push ebx
push edi
push dword [ebp - 4]
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x2001c]
push 0x20000
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403ff2
mov eax, dword [0x4052c0]
cmp dword [ebp - 0xc], eax
jle 0x403ff2
mov esi, dword [ebp - 0x2001c]
add edi, eax
push edi
push esi
push str.video_flv
push 0x40638c
push 2
call fcn.00403a91
add esi, edi
add esp, 0x14
xor eax, eax
cmp esi, dword [ebp - 0x14]
setle al
mov dword [ebp - 0x10], eax
jmp 0x403ff2
mov eax, dword [esi]
push eax
mov dword [ebp - 0x1c], eax
call fcn.00401b32
test eax, eax
pop ecx
je 0x403ff2
lea eax, [ebp - 0x2001c]
sub esi, eax
lea esi, [edi + esi + 4]
cmp dword [ebp - 0x14], esi
jle 0x403ff2
xor edi, edi
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 8], edi
jle 0x403fdc
push esi
call fcn.00403aee
pop ecx
mov esi, eax
push ebx
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x2001c]
push 0x20000
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403fc8
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x4052c0]
jle 0x403fc8
lea ebx, [edi + edi*2]
shl ebx, 3
call fcn.00401bdb
mov ecx, dword [ebp - 0x2001c]
mov dword [eax + ebx + 0x10], ecx
mov eax, dword [0x4052c0]
push dword [ebp - 0x20018]
lea esi, [esi + eax*2]
lea eax, [ebp - 0x20014]
push edi
push eax
call fcn.00403984
push eax
call fcn.00403aee
mov edx, dword [0x4052c0]
mov ecx, dword [ebp + eax - 0x20014]
lea edi, [ebp + eax - 0x20014]
add edx, eax
add esp, 0x10
add edi, 4
add esi, edx
test ecx, ecx
je 0x403e24
push ecx
push dword [ebp - 8]
push edi
call fcn.004039c6
push eax
call fcn.00403aee
add esp, 0x10
add esi, eax
add edi, eax
jmp 0x403e2e
call fcn.00401bdb
and dword [eax + ebx + 4], 0
mov eax, dword [edi]
add esi, dword [0x4052c0]
add edi, 4
test eax, eax
je 0x403e56
push eax
push dword [ebp - 8]
push edi
call fcn.00403a0a
push eax
call fcn.00403aee
add esp, 0x10
add esi, eax
add edi, eax
jmp 0x403e60
call fcn.00401bdb
and dword [eax + ebx + 8], 0
mov eax, dword [edi]
add esi, dword [0x4052c0]
test eax, eax
je 0x403e86
push eax
add edi, 4
push dword [ebp - 8]
push edi
call fcn.00403a4d
push eax
call fcn.00403aee
add esp, 0x10
add esi, eax
jmp 0x403e90
call fcn.00401bdb
and dword [eax + ebx + 0xc], 0
xor eax, eax
cmp dword [ebp - 8], eax
jne 0x403fac
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push eax
push eax
push esi
push dword [ebp - 4]
call edi
lea eax, [ebp - 0xc]
push 0
push eax
lea eax, [ebp - 0x2001c]
push 0x20000
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403fd7
mov eax, dword [0x4052c0]
cmp dword [ebp - 0xc], eax
jle 0x403fd7
add esi, eax
mov eax, dword [ebp - 0x2001c]
test eax, eax
je 0x403f1c
lea eax, [eax + eax + 2]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCRT.dll_malloc]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20018]
mov dword [ebp - 0x18], eax
push ecx
push eax
call sub.MSVCRT.dll_memcpy
push dword [ebp - 0x18]
call fcn.00401bf1
push dword [ebp - 0x10]
call fcn.00403aee
add esp, 0x18
add esi, eax
push 0
push 0
push esi
push dword [ebp - 4]
call edi
lea eax, [ebp - 0xc]
push 0
push eax
lea eax, [ebp - 0x2001c]
push 0x20000
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403fd7
mov eax, dword [0x4052c0]
cmp dword [ebp - 0xc], eax
jle 0x403fd7
add esi, eax
mov eax, dword [ebp - 0x2001c]
test eax, eax
je 0x403f94
lea edi, [eax + eax + 2]
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
lea ecx, [ebp - 0x20018]
push edi
push ecx
push eax
mov dword [ebp - 0x18], eax
call sub.MSVCRT.dll_memcpy
push dword [ebp - 0x18]
call fcn.00401c01
push edi
call fcn.00403aee
add esp, 0x18
add esi, eax
jmp 0x403f96
xor edi, edi
push edi
call fcn.00403aee
movsx eax, byte [ebp + eax - 0x20015]
push eax
call fcn.00401c11
pop ecx
pop ecx
call fcn.00401bdb
mov dword [eax + ebx + 0x14], esi
call fcn.00401bdb
add esi, dword [eax + ebx + 0x10]
cmp dword [ebp - 0x14], esi
jl 0x403fd7
mov edi, dword [ebp - 8]
xor ebx, ebx
inc edi
cmp edi, dword [ebp - 0x1c]
mov dword [ebp - 8], edi
jl 0x403d6d
jmp 0x403fdc
mov edi, dword [ebp - 8]
xor ebx, ebx
xor eax, eax
cmp edi, ebx
setg al
cmp edi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
jge 0x403ff2
push edi
call fcn.00401be1
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, dword [ebp - 0x10]
pop esi
pop ebx
leave
ret