Function at 0x1002a3e0
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 0x1002a3fa
cmp al, 9
jne 0x1002a3fd
inc esi
jmp 0x1002a3f0
push esi
call dword [sym.imp.msvcrt.dll_strlen]
add esp, 4
test eax, eax
je 0x1002a430
lea ecx, [esi - 1]
mov edx, 1
add ecx, eax
sub edx, esi
mov al, byte [ecx]
cmp al, 0x20
je 0x1002a425
cmp al, 9
je 0x1002a425
cmp al, 0xd
jne 0x1002a430
mov byte [ecx], 0
dec ecx
lea eax, [edx + ecx]
test eax, eax
jne 0x1002a417
mov ecx, str.EXTM3U
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002a457
test dl, dl
je 0x1002a453
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002a457
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002a437
xor eax, eax
jmp 0x1002a45c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1002a471
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 0x1002a4c0
add ecx, 4
add edx, 4
sub ebx, 4
jae 0x1002a480
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x1002a4c0
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1002a4c0
lea eax, [edi + 0x3c]
push eax
lea eax, [esi + 0xf]
push 0x100575e8
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 0x1002a660
add ecx, 4
add edx, 4
sub ebx, 4
jae 0x1002a4d0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1002a660
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 0x1002a868
mov dword [ebx + 4], 0x1005bdb0
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], 0x1005bdb0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov word [ebx + 0x20], 0
mov dword [ebx + 0x24], 0x1005bdb0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov word [ebx + 0x30], 0
mov dword [ebx + 0x34], 0x1005bdb0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov word [ebx + 0x40], 0
mov dword [ebx + 0x44], 0x1005bdb0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov word [ebx + 0x50], 0
mov dword [ebx + 0x54], 0x1005bdb0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov word [ebx + 0x60], 0
push ebx
mov dword [ebx + 0x64], 0x1005bdb0
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.10029810
mov eax, dword [edi + 0x44]
cmp dword [edi + 0x18], eax
jne 0x1002a64b
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 0x1002a871
mov ebp, dword [edi + 0x10]
test ebp, ebp
je 0x1002a648
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 0x1002a797
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 0x1002a868
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1002a680
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x1002a868
push 0x80
mov dword [ebp + 8], 1
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
test eax, eax
je 0x1002a861
mov dword [eax], 0x100576d4
mov dword [eax + 4], 0x1005bdb0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov word [eax + 0x10], 0
mov dword [eax + 0x1c], 0x1005bdb0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov word [eax + 0x28], 0
mov dword [eax + 0x2c], 0x1005bdb0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov word [eax + 0x38], 0
mov dword [eax + 0x3c], 0x1005bdb0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov word [eax + 0x48], 0
mov dword [eax + 0x4c], 0x1005bdb0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov word [eax + 0x58], 0
mov dword [eax + 0x5c], 0x1005bdb0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov word [eax + 0x68], 0
mov dword [eax + 0x6c], 0x1005bdb0
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.10029e30
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
cmp byte [esi], 0x23
je 0x1002a868
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 0x1002a7e8
lea eax, [ecx + 1]
cmp dword [ebx + 0xc], eax
jae 0x1002a7d1
push eax
lea ecx, [ebx + 4]
call fcn.100035c0
test eax, eax
je 0x1002a7e8
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 0x1002a7f5
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 0x1002a851
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 0x1002a888
mov ebx, dword [edi + 0xc]
test ebx, ebx
je 0x1002a84e
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 0x1002a851
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 0x100593d0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xc0000017
push eax
call sub.msvcrt.dll__CxxThrowException
push 0x100593d0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xc0000017
push eax
call sub.msvcrt.dll__CxxThrowException
int3