Function at 0x10028f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, ecx
lea ebx, [ebx]
mov al, byte [esi]
cmp al, 0x20
je 0x10028f2a
cmp al, 9
jne 0x10028f2d
inc esi
jmp 0x10028f20
push esi
call dword [sym.imp.msvcrt.dll_strlen]
add esp, 4
test eax, eax
je 0x10028f60
lea ecx, [esi - 1]
mov edx, 1
add ecx, eax
sub edx, esi
mov al, byte [ecx]
cmp al, 0x20
je 0x10028f55
cmp al, 9
je 0x10028f55
cmp al, 0xd
jne 0x10028f60
mov byte [ecx], 0
dec ecx
lea eax, [edx + ecx]
test eax, eax
jne 0x10028f47
mov ecx, str.EXTM3U
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10028f87
test dl, dl
je 0x10028f83
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10028f87
add eax, 2
add ecx, 2
test dl, dl
jne 0x10028f67
xor eax, eax
jmp 0x10028f8c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10028fa1
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov byte [eax + 0xc], 1
xor eax, eax
pop ebx
ret 8
mov ecx, esi
mov edx, str.EXT_X_VERSION:
mov ebx, 0xb
lea ecx, [ecx]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10028ff0
add ecx, 4
add edx, 4
sub ebx, 4
jae 0x10028fb0
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x10028ff0
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10028ff0
lea eax, [edi + 0x3c]
push eax
lea eax, [esi + 0xf]
push 0x10055198
push eax
call dword [sym.imp.msvcrt.dll_sscanf]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov ecx, esi
mov edx, str.EXT_X_MEDIA:
mov ebx, 9
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10029190
add ecx, 4
add edx, 4
sub ebx, 4
jae 0x10029000
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10029190
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.msvcrt.dll_malloc]
push 0x74
mov dword [eax + 8], 1
call ebp
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10029398
mov dword [ebx + 4], 0x10059da0
lea eax, [esi + 0xd]
mov dword [ebx + 8], 0
mov ecx, edi
mov dword [ebx + 0xc], 0
mov word [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x10059da0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov word [ebx + 0x20], 0
mov dword [ebx + 0x24], 0x10059da0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov word [ebx + 0x30], 0
mov dword [ebx + 0x34], 0x10059da0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov word [ebx + 0x40], 0
mov dword [ebx + 0x44], 0x10059da0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov word [ebx + 0x50], 0
mov dword [ebx + 0x54], 0x10059da0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov word [ebx + 0x60], 0
push ebx
mov dword [ebx + 0x64], 0x10059da0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov word [ebx + 0x70], 0
push eax
mov word [ebx], 0
mov byte [ebx + 2], 0
call fcn.10028340
mov eax, dword [edi + 0x44]
cmp dword [edi + 0x18], eax
jne 0x1002917b
add eax, 5
xor ecx, ecx
mov dword [edi + 0x44], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call ebp
mov esi, eax
add esp, 4
test esi, esi
je 0x100293a1
mov ebp, dword [edi + 0x10]
test ebp, ebp
je 0x10029178
mov eax, dword [edi + 0x18]
shl eax, 2
push eax
push ebp
push esi
call sub.msvcrt.dll_memcpy
push ebp
mov dword [edi + 0x10], esi
call dword [sym.imp.msvcrt.dll_free]
mov ecx, dword [edi + 0x18]
add esp, 0x10
mov eax, dword [edi + 0x10]
mov dword [eax + ecx*4], ebx
inc dword [edi + 0x18]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov dword [edi + 0x10], esi
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x10]
mov dword [eax + ecx*4], ebx
inc dword [edi + 0x18]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov ebp, dword [esp + 0x18]
mov ebx, dword [ebp + 0x40]
test ebx, ebx
jne 0x100292c7
mov ecx, esi
lea edi, [ebx + 0xe]
mov edx, str.EXT_X_STREAM_INF:
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10029398
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100291b0
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x10029398
push 0x80
mov dword [ebp + 8], 1
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
test eax, eax
je 0x10029391
mov dword [eax], 0x10055284
mov dword [eax + 4], 0x10059da0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov word [eax + 0x10], 0
mov dword [eax + 0x1c], 0x10059da0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov word [eax + 0x28], 0
mov dword [eax + 0x2c], 0x10059da0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov word [eax + 0x38], 0
mov dword [eax + 0x3c], 0x10059da0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov word [eax + 0x48], 0
mov dword [eax + 0x4c], 0x10059da0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov word [eax + 0x58], 0
mov dword [eax + 0x5c], 0x10059da0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov word [eax + 0x68], 0
mov dword [eax + 0x6c], 0x10059da0
mov dword [eax + 0x70], 0
mov dword [eax + 0x74], 0
mov word [eax + 0x78], 0
push eax
mov dword [ebp + 0x40], eax
lea eax, [esi + 0x12]
push eax
call fcn.10028960
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
cmp byte [esi], 0x23
je 0x10029398
push esi
call dword [sym.imp.msvcrt.dll_strlen]
mov ecx, eax
mov byte [ebx + 0x10], 0
add esp, 4
mov dword [esp + 0x18], ecx
test ecx, ecx
jle 0x10029318
lea eax, [ecx + 1]
cmp dword [ebx + 0xc], eax
jae 0x10029301
push eax
lea ecx, [ebx + 4]
call fcn.10003580
test eax, eax
je 0x10029318
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 4]
push ecx
push esi
mov dword [ebx + 8], ecx
push eax
mov byte [ecx + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x10029325
mov eax, dword [ebx + 4]
mov dword [ebx + 8], 0
mov byte [eax], 0
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x40]
cmp dword [edi + 0x14], eax
jne 0x10029381
add eax, 5
xor ecx, ecx
mov dword [edi + 0x40], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x100293b8
mov ebx, dword [edi + 0xc]
test ebx, ebx
je 0x1002937e
mov eax, dword [edi + 0x14]
shl eax, 2
push eax
push ebx
push esi
call sub.msvcrt.dll_memcpy
push ebx
mov dword [edi + 0xc], esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 0x10
jmp 0x10029381
mov dword [edi + 0xc], esi
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], edx
inc dword [edi + 0x14]
mov dword [ebp + 0x40], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
push 0x10056f80
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xc0000017
push eax
call sub.msvcrt.dll__CxxThrowException
push 0x10056f80
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xc0000017
push eax
call sub.msvcrt.dll__CxxThrowException
int3