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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
lea ecx, [ebp - 8]
call fcn.0043f500
push 0
lea eax, [ebp - 8]
push eax
push str.CookiesPath
push str.RealMediaSDK
push 0x80000001
call fcn.00402bf4
add esp, 0x14
push 0
push 0x80
push 3
push 0
push 3
push 0x81
lea ecx, [ebp - 8]
call fcn.00401029
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x403e5c
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 8]
call fcn.0043f790
mov eax, dword [ebp - 0x40]
jmp 0x4040ac
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.0045e88c
add esp, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x403ea7
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 8]
call fcn.0043f790
mov eax, dword [ebp - 0x48]
jmp 0x4040ac
mov dword [ebp - 0x18], 0
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0xc]
je 0x403f01
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0045efef
add esp, 4
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 8]
call fcn.0043f790
mov eax, dword [ebp - 0x50]
jmp 0x4040ac
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00401000
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x404088
mov eax, dword [ebp + 8]
push eax
call fcn.0045f9f0
add esp, 4
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x403f6c
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
je 0x403f6c
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0xd
je 0x403f61
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 0xa
je 0x403f61
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
cmp edx, 0x20
jne 0x403f6c
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x403f30
lea ecx, [ebp - 0x30]
call fcn.0043f500
cmp dword [ebp - 0x14], 0
je 0x403fba
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
je 0x403fba
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0xd
je 0x403fba
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 0xa
je 0x403fba
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 0x61], dl
movzx eax, byte [ebp - 0x61]
push eax
lea ecx, [ebp - 0x30]
call fcn.0043fc90
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x403f74
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x28]
call fcn.0043f7b0
push 0x47eaa0
lea ecx, [ebp - 0x28]
call fcn.0043fc10
push 0x26
lea ecx, [ebp - 0x30]
call fcn.0043f540
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], 1
jmp 0x403ff2
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x20]
jg 0x404078
mov edx, dword [ebp - 0x34]
push edx
push 0x26
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00440130
lea ecx, [ebp - 0x28]
call fcn.00401029
push eax
lea ecx, [ebp - 0x3c]
call fcn.0043f620
test eax, eax
jl 0x40406b
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0043f840
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.0045efef
add esp, 4
mov dword [ebp - 0x58], 1
lea ecx, [ebp - 0x3c]
call fcn.0043f790
lea ecx, [ebp - 0x28]
call fcn.0043f790
lea ecx, [ebp - 0x30]
call fcn.0043f790
lea ecx, [ebp - 8]
call fcn.0043f790
mov eax, dword [ebp - 0x58]
jmp 0x4040ac
lea ecx, [ebp - 0x3c]
call fcn.0043f790
jmp 0x403fe9
lea ecx, [ebp - 0x28]
call fcn.0043f790
lea ecx, [ebp - 0x30]
call fcn.0043f790
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
push edx
call fcn.0045efef
add esp, 4
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 8]
call fcn.0043f790
mov eax, dword [ebp - 0x60]
mov esp, ebp
pop ebp
ret