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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1768
call fcn.0042d1d0
push ebx
push esi
push edi
mov ebx, edx
mov eax, dword [ebx]
push 0x1308
mov dword [ebp - 0x14], eax
xor edi, edi
lea eax, [ebp - 0x137c]
push edi
push eax
mov dword [ebp - 0x40], ebx
mov esi, ecx
mov dword [ebp - 0xc], 0x29
call fcn.0042d320
and dword [ebp + 8], 0xffe7ffff
add esp, 0xc
mov dword [ebp - 0x1364], esi
cmp dword [ebp - 0x14], edi
je 0x421361
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0x100000
or dword [ebp + 8], eax
mov eax, dword [esi + 0x80]
and eax, 2
or dword [ebp + 8], eax
push 0xc
lea eax, [ebp - 0x3c]
push eax
push ebx
call fcn.00405bb6
mov eax, dword [ebp - 0x3c]
mov ecx, eax
and ecx, 0xffffff
cmp ecx, 0x334f4d
je 0x421c12
mov ecx, 0x4d524f46
cmp eax, 0x46464952
je 0x4213a3
cmp eax, 0x34364652
jne 0x4213ac
cmp dword [ebp - 0x34], 0x45564157
je 0x4213ca
cmp eax, ecx
jne 0x42185c
cmp dword [ebp - 0x34], 0x46464941
je 0x4213ca
cmp dword [ebp - 0x34], 0x43464941
jne 0x42185c
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], edx
cmp eax, ecx
jne 0x4213ee
mov eax, dword [ebp - 0x38]
bswap eax
mov dword [ebp - 0x38], eax
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
push esi
push ebx
call fcn.004061ac
test eax, eax
je 0x4217f7
push 8
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.00405bb6
cmp eax, 8
jne 0x4217f7
cmp dword [ebp - 0x3c], 0x4d524f46
jne 0x421429
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0x20746d66
je 0x421710
cmp eax, 0x34367364
je 0x4216f3
cmp eax, 0x444e5353
je 0x421573
cmp eax, 0x4d4d4f43
je 0x42147b
cmp eax, 0x61746164
je 0x421573
cmp eax, 0x74636166
jne 0x4217bd
push 4
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.00405bb6
jmp 0x4217bd
push 0x14
pop eax
call fcn.0042d1b6
mov edi, esp
push 0x12
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.00405bb6
cmp eax, 0x12
jne 0x421c12
xor eax, eax
inc eax
mov word [edi], ax
mov ax, word [ebp - 0x52]
mov ch, al
xor esi, esi
mov cl, ah
mov eax, 0xfff8
add cx, 7
and cx, ax
mov word [edi + 0xe], cx
cmp dword [ebp - 0x34], 0x43464941
jne 0x42152b
push 4
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00405bb6
mov eax, dword [ebp - 0x44]
cmp eax, 0x32336c66
je 0x42150c
cmp eax, 0x34366c66
je 0x42150c
cmp eax, 0x32334c46
je 0x42150c
cmp eax, 0x34364c46
je 0x42150c
cmp eax, 0x74776f73
jne 0x4214f8
inc esi
jmp 0x42152b
cmp eax, 0x736f7774
je 0x42152b
cmp eax, 0x454e4f4e
jne 0x421a97
jmp 0x42152b
push 3
pop ecx
mov word [edi], cx
cmp eax, 0x34366c66
je 0x421524
cmp eax, 0x34364c46
je 0x421524
push 0x20
jmp 0x421526
push 0x40
pop eax
mov word [edi + 0xe], ax
mov ax, word [ebp - 0x58]
mov ch, al
push 0x1e
mov cl, ah
mov word [edi + 2], cx
movzx edx, byte [ebp - 0x4f]
mov eax, dword [ebp - 0x4e]
pop ecx
bswap eax
sub ecx, edx
shr eax, cl
mov dword [edi + 4], eax
mov eax, edi
call fcn.0041ce85
cmp dword [edi + 8], 0
je 0x421812
push dword [ebp + 8]
push ebx
call fcn.004210e0
inc esi
mov dword [ebp - 0x10f8], eax
mov dword [eax + 0x20], esi
jmp 0x4217bd
mov eax, dword [ebp - 0x28]
add esi, 8
mov dword [ebp - 0x10], esi
cmp eax, 0xffffffff
je 0x421588
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
or eax, dword [ebp - 4]
jne 0x421598
test edi, edi
je 0x421c12
push 4
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.00405bb6
cmp dword [ebp - 0x2c], 0x444e5353
jne 0x4215d9
mov eax, dword [ebp - 0x24]
bswap eax
xor ecx, ecx
add eax, 8
cmp ecx, dword [ebp - 4]
ja 0x421c12
jb 0x4215cb
cmp eax, dword [ebp - 8]
jae 0x421c12
add dword [ebp - 0x10], eax
sub dword [ebp - 8], eax
sbb dword [ebp - 4], ecx
jmp 0x4217bd
cmp dword [ebp - 0x24], 0x6b707677
jne 0x4217bd
mov esi, dword [ebp - 0x10f8]
call fcn.00407e08
and dword [ebp - 0x10f8], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x421609
cmp dword [eax + 0xc], 0
je 0x421c12
mov eax, dword [0xec3c34]
test eax, eax
je 0x421666
mov esi, dword [0xec6230]
mov dword [ebp - 0x10], eax
call fcn.00405764
test eax, eax
jne 0x421c12
push 1
call dword [esi + 4]
mov edi, eax
test edi, edi
je 0x42165e
push 0
push 0
push ebx
call fcn.004061ac
mov eax, dword [ebp + 8]
and eax, 0xff3e01bf
push eax
push ebx
call edi
test eax, eax
jne 0x421b86
call fcn.0042bc74
cmp eax, 0x29
je 0x42165e
mov dword [ebp - 0xc], eax
add esi, 0xc
dec dword [ebp - 0x10]
jne 0x42161b
mov eax, dword [0xec72b0]
cmp eax, 2
je 0x42168d
cmp eax, 1
jne 0x421bef
cmp dword [ebp - 0x14], 0
je 0x421bef
cmp dword [ebx + 0x3c], 0
je 0x421bef
call fcn.0040564d
mov dword [ebp - 0x30], eax
mov eax, dword [eax + 0x14]
cmp eax, dword [0xea9054]
ja 0x421c12
xor esi, esi
push esi
push esi
mov ecx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], esi
call fcn.00406031
push 0x3e8
lea eax, [ebp - 0x1768]
push eax
push ebx
call fcn.00405bb6
mov byte [ebp + eax - 0x1768], 0
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x4216e2
mov ecx, dword [eax + 0x60]
mov eax, dword [eax + 0x64]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], eax
mov al, byte [ebp - 0x1768]
lea edi, [ebp - 0x1768]
jmp 0x421ba1
push 0x1c
lea eax, [ebp - 0x74]
push eax
push ebx
call fcn.00405bb6
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 4], eax
jmp 0x4217bd
mov eax, dword [ebp - 0x28]
cmp eax, 0x10000
ja 0x421c12
cmp eax, 0x12
ja 0x421726
push 0x12
pop eax
call fcn.0042d1a0
mov edi, esp
xor eax, eax
mov word [edi + 0x10], ax
push dword [ebp - 0x28]
push edi
push ebx
call fcn.00405bb6
cmp eax, dword [ebp - 0x28]
jne 0x421c12
movzx eax, word [edi]
cmp eax, 0x55
je 0x4217bd
cmp eax, 0x50
je 0x4217bd
mov ecx, 0x674f
cmp ax, cx
je 0x4217bd
movzx eax, word [edi + 2]
test ax, ax
je 0x421812
cmp dword [edi + 4], 0
je 0x421812
movzx ecx, word [edi + 0xe]
add ecx, 7
sar ecx, 3
imul ecx, eax
cmp ecx, 0x10000
jge 0x421812
push dword [ebp + 8]
mov eax, edi
push ebx
call fcn.004210e0
mov dword [ebp - 0x10f8], eax
test eax, eax
je 0x42181e
mov eax, dword [ebp - 0x28]
cmp eax, 0x12
ja 0x4217ad
push 0x12
pop eax
push eax
push edi
call fcn.0040109b
mov ecx, dword [ebp - 0x10f8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x28]
and eax, 1
xor edx, edx
xor ecx, ecx
add eax, dword [ebp - 0x28]
adc edx, ecx
add eax, 8
adc edx, ecx
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
adc dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], ecx
ja 0x4217f7
jb 0x4217e6
cmp dword [ebp - 0x20], eax
ja 0x4217f7
cmp dword [ebp - 0x10], ecx
je 0x4213ee
test edi, edi
je 0x4213ee
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10f8]
test eax, eax
jne 0x421833
test esi, esi
je 0x42185c
call fcn.00407e08
jmp 0x421c12
mov dword [ebp - 0xc], 6
jmp 0x421c12
mov edi, dword [edi + 8]
neg edi
sbb edi, edi
and edi, 0x26
add edi, 6
mov dword [ebp - 0xc], edi
jmp 0x4215f8
add dword [ebx + 0x18], eax
mov ecx, dword [ebp - 8]
push 0
pop eax
adc dword [ebx + 0x1c], eax
or ecx, dword [ebp - 4]
je 0x421937
cmp esi, eax
jne 0x4218f5
cmp dword [0xec72a0], eax
je 0x421925
cmp dword [ebp - 0x14], 0
mov eax, dword [0xea9028]
mov esi, eax
je 0x421883
mov ecx, dword [0xea902c]
test ecx, ecx
jne 0x421881
sar eax, 2
mov ecx, 0x3e8
mov esi, eax
cmp eax, ecx
jg 0x421883
mov esi, ecx
push ebx
call fcn.004111cb
test eax, eax
je 0x421a64
push dword [ebp + 8]
push ebx
call fcn.004117e9
mov edi, eax
mov dword [ebp - 0x10f0], edi
test edi, edi
je 0x421a64
mov esi, dword [edi + 0x1c8]
test esi, esi
jg 0x4218b9
mov esi, 0x249f0
mov eax, dword [edi + 0x1c0]
mov dword [ebp - 0x137c], eax
mov eax, dword [edi + 0x28c]
mov dword [ebp - 0x1374], eax
mov eax, dword [edi + 0x290]
mov dword [ebp - 0x1378], eax
mov eax, dword [ebp - 0x10f4]
sar esi, 3
mov dword [ebp - 0x1370], 0x41ef7d
jmp 0x421af1
cmp dword [esi + 0x20], eax
je 0x421925
movzx eax, word [edi + 0xc]
mov ecx, dword [ebp - 0x56]
cdq
push edx
push eax
bswap ecx
push 0
push ecx
call fcn.0042d160
cmp eax, dword [ebp - 8]
je 0x42191f
cmp edx, dword [ebp - 4]
ja 0x421925
jb 0x42191f
cmp eax, dword [ebp - 8]
jae 0x421925
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebx + 0x18]
add eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x1c]
adc ecx, dword [ebp - 4]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
test esi, esi
je 0x42185c
mov eax, dword [esi + 4]
cmp eax, 1
je 0x421958
cmp eax, 3
je 0x421958
mov dword [ebp - 0x10fc], 0x10
jmp 0x421972
movzx eax, word [edi + 0xe]
mov dword [ebp - 0x10fc], eax
cmp dword [esi + 4], 3
jne 0x421972
or dword [ebp - 0x10fc], 0x10000
mov eax, dword [edi + 4]
mov dword [ebp - 0x137c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1374], eax
mov eax, dword [esi + 8]
mov esi, ebx
mov dword [ebp - 0x1378], eax
mov dword [ebp - 0x1370], 0x41f6d9
call fcn.004062db
mov esi, dword [ebp - 0x10f8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
fild qword [ebp - 0x20]
fmul qword [esi + 0x18]
fadd qword [0x4b9208]
call fcn.0042d0e6
push edx
push eax
lea ecx, [ebp - 0x137c]
call fcn.0041ebcb
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x10f8]
mov dword [eax + 0x2c], edx
cmp dword [ebp - 0x18], 0
je 0x421a53
mov eax, dword [ebp - 0x10f8]
mov eax, dword [eax + 4]
cmp eax, 1
je 0x421a53
cmp eax, 3
je 0x421a53
mov esi, dword [ebp - 0x1378]
imul esi, dword [ebp - 0x1374]
push 0
push dword [ebp - 0x18]
mov eax, esi
cdq
push edx
push eax
call fcn.0042d160
mov ecx, eax
mov eax, esi
imul eax, dword [ebp - 0x137c]
mov esi, dword [ebp - 0x10f8]
mov ebx, edx
cdq
add eax, ecx
adc edx, ebx
cmp edx, dword [esi + 0x2c]
jb 0x421a53
ja 0x421a2f
mov edx, esi
cmp eax, dword [edx + 0x28]
jbe 0x421a53
mov eax, dword [ebp - 0x10f8]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 0x10f8]
mov dword [eax + 0x3c], ebx
mov eax, dword [ebp - 0x10f8]
mov dword [eax + 0x28], ecx
mov eax, dword [ebp - 0x10f8]
mov dword [eax + 0x2c], ebx
mov esi, dword [edi + 8]
mov eax, dword [ebp - 0x10f4]
mov ebx, dword [ebp - 0x40]
jmp 0x421aeb
lea eax, [ebp - 0x30]
push eax
push esi
push ebx
call fcn.0040bde7
test eax, eax
js 0x4215f8
mov esi, dword [ebp - 0x30]
push dword [ebp + 8]
imul esi, esi, 0x7d
cdq
add dword [ebx + 0x18], eax
push ebx
adc dword [ebx + 0x1c], edx
call fcn.0040b0d5
mov dword [ebp - 0x10f4], eax
test eax, eax
jne 0x421aa3
mov dword [ebp - 0xc], 0x2c
jmp 0x4215f8
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x137c], ecx
mov ecx, dword [ebp + 8]
and ecx, 0x100
neg ecx
sbb ecx, ecx
and ecx, 2
add ecx, 2
mov dword [ebp - 0x1374], ecx
test byte [eax + 0x44], 2
je 0x421ad7
mov dword [ebp - 0x1378], 1
jmp 0x421ae1
mov ecx, dword [eax + 0x38]
inc ecx
mov dword [ebp - 0x1378], ecx
mov dword [ebp - 0x1370], 0x41ef4d
mov edi, dword [ebp - 0x10f0]
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x1100], ebx
je 0x421b29
push 0
push esi
push ebx
call fcn.0041c860
test eax, eax
jne 0x421b1d
lea eax, [ebp - 0x137c]
push eax
call fcn.0041ec5a
push 1
jmp 0x421c1b
mov edi, dword [ebp - 0x10f0]
mov eax, dword [ebp - 0x10f4]
xor esi, esi
cmp dword [ebp - 0x10f8], esi
je 0x421b44
push esi
push esi
mov esi, dword [ebp - 0x10f8]
call fcn.00407e58
xor esi, esi
jmp 0x421b57
push esi
push esi
cmp eax, esi
je 0x421b52
push esi
call fcn.0040b046
jmp 0x421b57
call fcn.00411480
push dword [ebp + 8]
lea eax, [ebp - 0x137c]
call fcn.00420c9e
mov edi, eax
cmp edi, esi
jne 0x421b79
lea eax, [ebp - 0x137c]
push eax
call fcn.0041ec5a
jmp 0x421b7f
mov dword [edi + 0x10], edi
mov dword [ebx + 0x78], edi
mov eax, edi
jmp 0x421c20
push eax
call fcn.0041eadc
mov ecx, dword [esi + 8]
mov dword [eax + 0x2a0], ecx
jmp 0x421c20
cmp al, 0x20
jge 0x421ba5
inc edi
mov al, byte [edi]
test al, al
jne 0x421b9a
mov esi, dword [0xea2968]
push 7
push str.http:__
push edi
call esi
add esp, 0xc
test eax, eax
je 0x421c2d
push 8
push str.https:__
push edi
call esi
add esp, 0xc
test eax, eax
je 0x421c2d
push 7
push str.extm3u
push edi
call esi
add esp, 0xc
test eax, eax
je 0x421c2d
push 0xa
push str._playlist_
push edi
call esi
add esp, 0xc
test eax, eax
je 0x421c2d
cmp dword [0xec72dc], 0
jne 0x421c12
call fcn.00405764
test eax, eax
jne 0x421c12
push dword [ebp + 8]
push ebx
call fcn.004050b2
test eax, eax
jne 0x421cca
push ebx
call fcn.0040660c
push dword [ebp - 0xc]
call fcn.00401164
lea esp, [ebp - 0x1774]
pop edi
pop esi
pop ebx
leave
ret 4
push ebx
call fcn.0040660c
push 0x4b8380
push edi
jmp 0x421cb3
call fcn.00405764
test eax, eax
jne 0x421c18
jmp 0x421c4d
cmp byte [esi - 1], 0x41
jl 0x421c57
dec esi
lea eax, [ebp - 0x1768]
cmp esi, eax
ja 0x421c46
push 0x4b8fc0
push esi
call dword [0xea2958]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x421c6e
mov byte [ebx], 0
push dword [ebp - 0x24]
mov eax, dword [ebp + 8]
push dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
inc dword [edi + 0x14]
and eax, 0x7fffffff
push eax
push 0
push esi
call fcn.00421d2d
dec dword [edi + 0x14]
test eax, eax
jne 0x421cca
call fcn.0042bc74
cmp eax, 0x29
je 0x421ca4
cmp eax, 0x14
je 0x421ca4
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x421c18
push 0x4b8380
inc ebx
push ebx
call dword [0xec9434]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x421c3b
jmp 0x421c18
push eax
call fcn.0041eadc
jmp 0x421c20