Function at 0x41b2ff
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc18
mov al, byte [0x450890]
push ebx
push esi
push edi
push 0x40
mov byte [ebp - 0x114], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
or dword [ebp - 4], 0xffffffff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp + 8]
xor esi, esi
push 0x44d3e0
push edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.MSVCRT.dll__mbsstr]
pop ecx
test eax, eax
pop ecx
je 0x41b388
push esi
xor ebx, ebx
push esi
push 0x18
inc ebx
call fcn.004394a8
mov esi, 0x45db60
push eax
push esi
push edi
push dword [0x45b980]
call fcn.004186ed
add esp, 0x1c
test eax, eax
jne 0x41b37a
push dword [ebp + 0xc]
push esi
call fcn.0041b2ff
pop ecx
mov ebx, eax
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, ebx
jmp 0x41b73d
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x103
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [ebp + 8]
push 0x44c34c
push edi
and byte [eax - 1], 0
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
pop ecx
cmp ebx, esi
pop ecx
mov dword [ebp - 0x10], ebx
je 0x41b3e9
push 2
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call esi
add esp, 0x1c
cmp edi, 0xffffffff
jne 0x41b3f1
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
xor eax, eax
inc eax
jmp 0x41b73d
call fcn.0043051a
test eax, eax
je 0x41b40a
xor esi, esi
inc esi
cmp dword [ebp + 0xc], esi
jge 0x41b40a
call fcn.004305d0
mov dword [ebp - 0xc], esi
mov esi, dword [sym.imp.MSVCRT.dll_strncmp]
mov edi, dword [sym.imp.USER32.dll_CharNextA]
mov ebx, dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [ebp - 0x10]
push eax
test byte [eax + 0xc], 0x10
jne 0x41b6f7
and byte [ebp - 0xc18], 0
lea eax, [ebp - 0xc18]
push 0x7ff
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
and byte [ebp - 0x419], 0
add esp, 0xc
cmp byte [ebp - 0xc18], 0
je 0x41b41c
push 7
lea eax, [ebp - 0xc18]
push str.EXTM3U
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x41b476
mov dword [ebp - 8], 1
jmp 0x41b41c
lea eax, [ebp - 0xc18]
mov dword [ebp + 8], eax
mov cl, byte [eax]
cmp cl, 0x20
je 0x41b48b
cmp cl, 9
jne 0x41b490
push eax
call edi
jmp 0x41b47c
mov cl, byte [eax]
cmp cl, 0x23
je 0x41b670
cmp cl, 0xa
je 0x41b670
cmp cl, 0xd
je 0x41b670
test cl, cl
je 0x41b670
lea eax, [ebp - 0xc18]
push eax
call sub.MSVCRT.dll_strlen
lea eax, [ebp + eax - 0xc19]
pop ecx
cmp byte [eax], 0xa
jne 0x41b4d1
and byte [eax], 0
push 4
push str.ASF
push dword [ebp + 8]
call esi
add esp, 0xc
test eax, eax
jne 0x41b4f6
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
cmp eax, 4
pop ecx
jbe 0x41b4f6
add dword [ebp + 8], 4
push 2
push 0x44d7bc
push dword [ebp + 8]
call esi
add esp, 0xc
test eax, eax
je 0x41b5d8
mov eax, dword [ebp + 8]
push 2
inc eax
push 0x44d7b8
push eax
call esi
add esp, 0xc
test eax, eax
je 0x41b5d8
mov eax, dword [ebp + 8]
push 2
inc eax
push 0x44d7b4
push eax
call esi
add esp, 0xc
test eax, eax
je 0x41b5d8
push 0x44d3e0
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__mbsstr]
pop ecx
test eax, eax
pop ecx
jne 0x41b5d8
mov eax, dword [ebp + 8]
cmp byte [eax], 0x5c
jne 0x41b592
mov cl, byte [ebp - 0x218]
push 0x1fe
push eax
mov byte [ebp - 0x418], cl
mov cl, byte [ebp - 0x217]
lea eax, [ebp - 0x416]
push eax
mov byte [ebp - 0x417], cl
call ebx
add esp, 0xc
and byte [ebp - 0x219], 0
jmp 0x41b5cf
lea eax, [ebp - 0x218]
push eax
call sub.MSVCRT.dll_strlen
cmp byte [ebp + eax - 0x219], 0x5c
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x418]
je 0x41b5c0
push str._s_s
jmp 0x41b5c5
push 0x44be50
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x418]
mov dword [ebp + 8], eax
cmp byte [ebp - 0x114], 0
je 0x41b606
push dword [ebp - 4]
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call fcn.00430720
add esp, 0xc
or dword [ebp - 4], 0xffffffff
and byte [ebp - 0x114], 0
jmp 0x41b41c
cmp dword [ebp - 8], 0
je 0x41b665
push 0x44b7f4
push dword [ebp + 8]
call fcn.00439351
pop ecx
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x41b633
push 1
push dword [ebp + 8]
call fcn.0041b2ff
jmp 0x41b658
push 0x44b7f0
push dword [ebp + 8]
call fcn.00439351
pop ecx
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x41b65b
push 1
push dword [ebp + 8]
call fcn.004337f7
pop ecx
jmp 0x41b66d
push dword [ebp + 8]
call fcn.004309f3
jmp 0x41b66d
push dword [ebp + 8]
call fcn.00430867
pop ecx
jmp 0x41b5f6
cmp dword [ebp - 8], 0
je 0x41b5f6
push 8
push str.EXTINF:
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x41b5f6
add dword [ebp + 8], 8
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
pop ecx
mov cl, byte [eax]
cmp cl, 0x30
jl 0x41b6ab
cmp cl, 0x39
jle 0x41b6b0
cmp cl, 0x2d
jne 0x41b6b8
push eax
call edi
mov dword [ebp + 8], eax
jmp 0x41b69f
cmp byte [eax], 0
je 0x41b5f6
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [eax + ecx - 1]
cmp byte [eax], 0xa
jne 0x41b6d7
and byte [eax], 0
push 0x103
push dword [ebp + 8]
call edi
push eax
lea eax, [ebp - 0x114]
push eax
call ebx
add esp, 0xc
and byte [ebp - 0x11], 0
jmp 0x41b41c
call dword [sym.imp.MSVCRT.dll_fclose]
xor esi, esi
pop ecx
cmp dword [ebp - 0xc], esi
je 0x41b73b
push esi
call fcn.0042fd1e
cmp byte [0x45dea4], 0
pop ecx
je 0x41b720
push 0xfffe7960
call fcn.004311db
pop ecx
push 0x45bbe0
push 0x45c0c0
call fcn.00430cb4
cmp dword [ebp + 0xc], esi
pop ecx
pop ecx
jne 0x41b73b
call fcn.0042fb16
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret