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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc710
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4ff5d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.00472090
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x14]
push eax
push str.CookiesPath
push str.RealMediaSDK
push SysReAllocStringLen
call fcn.00410b8e
add esp, 0x14
push 0
push 0x80
push 3
push 0
push 3
push 0x81
lea ecx, [ebp - 0x14]
call fcn.0040d5be
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x411689
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00472320
mov eax, dword [ebp - 0x4c]
jmp 0x411935
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
call fcn.00491370
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4116de
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00472320
mov eax, dword [ebp - 0x54]
jmp 0x411935
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x28]
push eax
call fcn.00493d40
add esp, 0xc
mov dword [ebp - 0x24], 0
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x18]
je 0x411754
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.00493e3a
add esp, 4
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00472320
mov eax, dword [ebp - 0x5c]
jmp 0x411935
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0040d50e
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x41190a
mov edx, dword [ebp + 8]
push edx
call fcn.00494920
add esp, 4
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4117bf
mov eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4117bf
mov edx, dword [ebp - 0x20]
movsx eax, byte [edx]
cmp eax, 0xd
je 0x4117b4
mov ecx, dword [ebp - 0x20]
movsx edx, byte [ecx]
cmp edx, 0xa
je 0x4117b4
mov eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
cmp ecx, 0x20
jne 0x4117bf
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
jmp 0x411783
lea ecx, [ebp - 0x3c]
call fcn.00472090
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0
je 0x411811
mov eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
test ecx, ecx
je 0x411811
mov edx, dword [ebp - 0x20]
movsx eax, byte [edx]
cmp eax, 0xd
je 0x411811
mov ecx, dword [ebp - 0x20]
movsx edx, byte [ecx]
cmp edx, 0xa
je 0x411811
mov eax, dword [ebp - 0x20]
mov cl, byte [eax]
mov byte [ebp - 0x6d], cl
movzx edx, byte [ebp - 0x6d]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00472820
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x4117cb
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00472340
mov byte [ebp - 4], 2
push 0x4d1d10
lea ecx, [ebp - 0x34]
call fcn.004727a0
push 0x26
lea ecx, [ebp - 0x3c]
call fcn.004720d0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], 1
jmp 0x41184d
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x2c]
jg 0x4118f2
mov ecx, dword [ebp - 0x40]
push ecx
push 0x26
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00472cc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.0040d5be
push eax
lea ecx, [ebp - 0x48]
call fcn.004721b0
test eax, eax
jl 0x4118e1
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004723d0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
push edx
call fcn.00493e3a
add esp, 4
mov dword [ebp - 0x64], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00472320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00472320
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00472320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00472320
mov eax, dword [ebp - 0x64]
jmp 0x411935
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00472320
jmp 0x411844
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00472320
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00472320
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00493e3a
add esp, 4
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00472320
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret