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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
mov eax, dword [0x4b5320]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc34], ecx
xor ebx, ebx
xor eax, eax
mov word [ebp - 0x41c], bx
mov ecx, 0x103
lea edi, [ebp - 0x41a]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
push ebx
stosw word es:[edi], ax
lea eax, [ebp - 0x41c]
push eax
push 0x208
push ebx
push ecx
push ebx
call dword [0x4b5464]
test eax, eax
je 0x440401
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea edx, [ebp - 0x41c]
push edx
call dword [0x4b53fc]
mov esi, eax
cmp esi, 0xffffffff
je 0x440401
push ebx
push esi
mov dword [ebp - 0xc30], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + 2]
push eax
call fcn.0048c325
add esp, 4
push 0
lea ecx, [ebp - 0xc30]
push ecx
push edi
mov ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44028e
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
xor ebx, ebx
jmp 0x4402a3
xor eax, eax
mov ecx, dword [ebp - 0xc30]
lea edx, [eax + ebx]
inc eax
cmp eax, 2
mov byte [edx + ecx], 0
jl 0x440290
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x440401
lea edx, [ebp - 0xa2c]
push edx
mov edx, dword [ebp + 8]
push 0
lea eax, [ebp - 0xc2c]
push eax
lea ecx, [ebp - 0xc]
push ecx
push edx
call dword [sym.imp.MSVCR71.dll__wsplitpath]
lea eax, [ebp - 0xa2c]
push str..m3u
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
neg eax
lea ecx, [ebp - 0xc]
sbb eax, eax
push ecx
lea edx, [ebp - 0x41c]
inc eax
push edx
mov dword [ebp + 8], eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
lea eax, [ebp - 0xc2c]
push eax
lea ecx, [ebp - 0x41c]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscat]
mov edx, dword [ebp - 0xc30]
add esp, 0x2c
mov word [ebp - 0x82c], 0
xor eax, eax
mov ecx, 0x103
lea edi, [ebp - 0x82a]
rep stosd dword es:[edi], eax
push 0
push edx
push ebx
stosw word es:[edi], ax
call dword [0x4b5398]
test eax, eax
je 0x440348
push 0x49ba7c
push ebx
jmp 0x440379
call dword [0x4b26bc]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.0048c3e0
mov eax, esp
push edi
push esi
push ebx
push eax
call fcn.00401060
push 0x49ba7c
push eax
call dword [sym.imp.MSVCR71.dll_wcstok]
mov esi, eax
add esp, 8
test esi, esi
je 0x4403f8
mov eax, dword [ebp + 8]
test eax, eax
je 0x440395
cmp word [esi], 0x23
je 0x4403e2
mov edi, dword [0x4b5464]
push 0
lea eax, [ebp - 0x82c]
push eax
push 0x208
push 0
push esi
push 0
call edi
test eax, eax
jne 0x4403d0
push eax
lea ecx, [ebp - 0x82c]
push ecx
push 0x208
push eax
push esi
lea edx, [ebp - 0x41c]
push edx
call edi
test eax, eax
je 0x4403e2
mov ecx, dword [ebp - 0xc34]
lea eax, [ebp - 0x82c]
push eax
call fcn.0043ff80
push 0x49ba7c
push 0
call dword [sym.imp.MSVCR71.dll_wcstok]
mov esi, eax
add esp, 8
test esi, esi
jne 0x440388
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
lea esp, [ebp - 0xc40]
mov ecx, dword [ebp - 4]
call fcn.0048c3c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4