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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1768
call fcn.0047d16c
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 sub.msvcrt.dll_memset
and dword [ebp + 8], 0xffe7ffff
add esp, 0xc
mov dword [ebp - 0x1364], esi
cmp dword [ebp - 0x14], edi
je 0x4712fd
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.00455b52
mov eax, dword [ebp - 0x3c]
mov ecx, eax
and ecx, 0xffffff
cmp ecx, 0x334f4d
je 0x471bae
mov ecx, 0x4d524f46
cmp eax, 0x46464952
je 0x47133f
cmp eax, 0x34364652
jne 0x471348
cmp dword [ebp - 0x34], 0x45564157
je 0x471366
cmp eax, ecx
jne 0x4717f8
cmp dword [ebp - 0x34], 0x46464941
je 0x471366
cmp dword [ebp - 0x34], 0x43464941
jne 0x4717f8
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 0x47138a
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.00456148
test eax, eax
je 0x471793
push 8
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.00455b52
cmp eax, 8
jne 0x471793
cmp dword [ebp - 0x3c], 0x4d524f46
jne 0x4713c5
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0x20746d66
je 0x4716ac
cmp eax, 0x34367364
je 0x47168f
cmp eax, 0x444e5353
je 0x47150f
cmp eax, 0x4d4d4f43
je 0x471417
cmp eax, 0x61746164
je 0x47150f
cmp eax, 0x74636166
jne 0x471759
push 4
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.00455b52
jmp 0x471759
push 0x14
pop eax
call fcn.0047d152
mov edi, esp
push 0x12
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.00455b52
cmp eax, 0x12
jne 0x471bae
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 0x4714c7
push 4
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00455b52
mov eax, dword [ebp - 0x44]
cmp eax, 0x32336c66
je 0x4714a8
cmp eax, 0x34366c66
je 0x4714a8
cmp eax, 0x32334c46
je 0x4714a8
cmp eax, 0x34364c46
je 0x4714a8
cmp eax, 0x74776f73
jne 0x471494
inc esi
jmp 0x4714c7
cmp eax, 0x736f7774
je 0x4714c7
cmp eax, 0x454e4f4e
jne 0x471a33
jmp 0x4714c7
push 3
pop ecx
mov word [edi], cx
cmp eax, 0x34366c66
je 0x4714c0
cmp eax, 0x34364c46
je 0x4714c0
push 0x20
jmp 0x4714c2
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.0046ce21
cmp dword [edi + 8], 0
je 0x4717ae
push dword [ebp + 8]
push ebx
call fcn.0047107c
inc esi
mov dword [ebp - 0x10f8], eax
mov dword [eax + 0x20], esi
jmp 0x471759
mov eax, dword [ebp - 0x28]
add esi, 8
mov dword [ebp - 0x10], esi
cmp eax, 0xffffffff
je 0x471524
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
or eax, dword [ebp - 4]
jne 0x471534
test edi, edi
je 0x471bae
push 4
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.00455b52
cmp dword [ebp - 0x2c], 0x444e5353
jne 0x471575
mov eax, dword [ebp - 0x24]
bswap eax
xor ecx, ecx
add eax, 8
cmp ecx, dword [ebp - 4]
ja 0x471bae
jb 0x471567
cmp eax, dword [ebp - 8]
jae 0x471bae
add dword [ebp - 0x10], eax
sub dword [ebp - 8], eax
sbb dword [ebp - 4], ecx
jmp 0x471759
cmp dword [ebp - 0x24], 0x6b707677
jne 0x471759
mov esi, dword [ebp - 0x10f8]
call fcn.00457da4
and dword [ebp - 0x10f8], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4715a5
cmp dword [eax + 0xc], 0
je 0x471bae
mov eax, dword [0x598658]
test eax, eax
je 0x471602
mov esi, dword [0x59ac54]
mov dword [ebp - 0x10], eax
call fcn.00455700
test eax, eax
jne 0x471bae
push 1
call dword [esi + 4]
mov edi, eax
test edi, edi
je 0x4715fa
push 0
push 0
push ebx
call fcn.00456148
mov eax, dword [ebp + 8]
and eax, 0xff3e01bf
push eax
push ebx
call edi
test eax, eax
jne 0x471b22
call fcn.0047bc10
cmp eax, 0x29
je 0x4715fa
mov dword [ebp - 0xc], eax
add esi, 0xc
dec dword [ebp - 0x10]
jne 0x4715b7
mov eax, dword [0x59bcd4]
cmp eax, 2
je 0x471629
cmp eax, 1
jne 0x471b8b
cmp dword [ebp - 0x14], 0
je 0x471b8b
cmp dword [ebx + 0x3c], 0
je 0x471b8b
call fcn.004555e9
mov dword [ebp - 0x30], eax
mov eax, dword [eax + 0x14]
cmp eax, dword [0x57da78]
ja 0x471bae
xor esi, esi
push esi
push esi
mov ecx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], esi
call fcn.00455fcd
push 0x3e8
lea eax, [ebp - 0x1768]
push eax
push ebx
call fcn.00455b52
mov byte [ebp + eax - 0x1768], 0
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x47167e
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 0x471b3d
push 0x1c
lea eax, [ebp - 0x74]
push eax
push ebx
call fcn.00455b52
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 4], eax
jmp 0x471759
mov eax, dword [ebp - 0x28]
cmp eax, 0x10000
ja 0x471bae
cmp eax, 0x12
ja 0x4716c2
push 0x12
pop eax
call fcn.0047d13c
mov edi, esp
xor eax, eax
mov word [edi + 0x10], ax
push dword [ebp - 0x28]
push edi
push ebx
call fcn.00455b52
cmp eax, dword [ebp - 0x28]
jne 0x471bae
movzx eax, word [edi]
cmp eax, 0x55
je 0x471759
cmp eax, 0x50
je 0x471759
mov ecx, 0x674f
cmp ax, cx
je 0x471759
movzx eax, word [edi + 2]
test ax, ax
je 0x4717ae
cmp dword [edi + 4], 0
je 0x4717ae
movzx ecx, word [edi + 0xe]
add ecx, 7
sar ecx, 3
imul ecx, eax
cmp ecx, 0x10000
jge 0x4717ae
push dword [ebp + 8]
mov eax, edi
push ebx
call fcn.0047107c
mov dword [ebp - 0x10f8], eax
test eax, eax
je 0x4717ba
mov eax, dword [ebp - 0x28]
cmp eax, 0x12
ja 0x471749
push 0x12
pop eax
push eax
push edi
call fcn.00451037
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 0x471793
jb 0x471782
cmp dword [ebp - 0x20], eax
ja 0x471793
cmp dword [ebp - 0x10], ecx
je 0x47138a
test edi, edi
je 0x47138a
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10f8]
test eax, eax
jne 0x4717cf
test esi, esi
je 0x4717f8
call fcn.00457da4
jmp 0x471bae
mov dword [ebp - 0xc], 6
jmp 0x471bae
mov edi, dword [edi + 8]
neg edi
sbb edi, edi
and edi, 0x26
add edi, 6
mov dword [ebp - 0xc], edi
jmp 0x471594
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 0x4718d3
cmp esi, eax
jne 0x471891
cmp dword [0x59bcc4], eax
je 0x4718c1
cmp dword [ebp - 0x14], 0
mov eax, dword [0x57da4c]
mov esi, eax
je 0x47181f
mov ecx, dword [0x57da50]
test ecx, ecx
jne 0x47181d
sar eax, 2
mov ecx, 0x3e8
mov esi, eax
cmp eax, ecx
jg 0x47181f
mov esi, ecx
push ebx
call fcn.00461167
test eax, eax
je 0x471a00
push dword [ebp + 8]
push ebx
call fcn.00461785
mov edi, eax
mov dword [ebp - 0x10f0], edi
test edi, edi
je 0x471a00
mov esi, dword [edi + 0x1c8]
test esi, esi
jg 0x471855
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], 0x46ef19
jmp 0x471a8d
cmp dword [esi + 0x20], eax
je 0x4718c1
movzx eax, word [edi + 0xc]
mov ecx, dword [ebp - 0x56]
cdq
push edx
push eax
bswap ecx
push 0
push ecx
call fcn.0047d0fc
cmp eax, dword [ebp - 8]
je 0x4718bb
cmp edx, dword [ebp - 4]
ja 0x4718c1
jb 0x4718bb
cmp eax, dword [ebp - 8]
jae 0x4718c1
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 0x4717f8
mov eax, dword [esi + 4]
cmp eax, 1
je 0x4718f4
cmp eax, 3
je 0x4718f4
mov dword [ebp - 0x10fc], 0x10
jmp 0x47190e
movzx eax, word [edi + 0xe]
mov dword [ebp - 0x10fc], eax
cmp dword [esi + 4], 3
jne 0x47190e
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], 0x46f675
call fcn.00456277
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 [0x5c39e8]
call fcn.0047d082
push edx
push eax
lea ecx, [ebp - 0x137c]
call fcn.0046eb67
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x10f8]
mov dword [eax + 0x2c], edx
cmp dword [ebp - 0x18], 0
je 0x4719ef
mov eax, dword [ebp - 0x10f8]
mov eax, dword [eax + 4]
cmp eax, 1
je 0x4719ef
cmp eax, 3
je 0x4719ef
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.0047d0fc
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 0x4719ef
ja 0x4719cb
mov edx, esi
cmp eax, dword [edx + 0x28]
jbe 0x4719ef
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 0x471a87
lea eax, [ebp - 0x30]
push eax
push esi
push ebx
call fcn.0045bd83
test eax, eax
js 0x471594
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.0045b071
mov dword [ebp - 0x10f4], eax
test eax, eax
jne 0x471a3f
mov dword [ebp - 0xc], 0x2c
jmp 0x471594
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 0x471a73
mov dword [ebp - 0x1378], 1
jmp 0x471a7d
mov ecx, dword [eax + 0x38]
inc ecx
mov dword [ebp - 0x1378], ecx
mov dword [ebp - 0x1370], 0x46eee9
mov edi, dword [ebp - 0x10f0]
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x1100], ebx
je 0x471ac5
push 0
push esi
push ebx
call fcn.0046c7fc
test eax, eax
jne 0x471ab9
lea eax, [ebp - 0x137c]
push eax
call fcn.0046ebf6
push 1
jmp 0x471bb7
mov edi, dword [ebp - 0x10f0]
mov eax, dword [ebp - 0x10f4]
xor esi, esi
cmp dword [ebp - 0x10f8], esi
je 0x471ae0
push esi
push esi
mov esi, dword [ebp - 0x10f8]
call fcn.00457df4
xor esi, esi
jmp 0x471af3
push esi
push esi
cmp eax, esi
je 0x471aee
push esi
call fcn.0045afe2
jmp 0x471af3
call fcn.0046141c
push dword [ebp + 8]
lea eax, [ebp - 0x137c]
call fcn.00470c3a
mov edi, eax
cmp edi, esi
jne 0x471b15
lea eax, [ebp - 0x137c]
push eax
call fcn.0046ebf6
jmp 0x471b1b
mov dword [edi + 0x10], edi
mov dword [ebx + 0x78], edi
mov eax, edi
jmp 0x471bbc
push eax
call fcn.0046ea78
mov ecx, dword [esi + 8]
mov dword [eax + 0x2a0], ecx
jmp 0x471bbc
cmp al, 0x20
jge 0x471b41
inc edi
mov al, byte [edi]
test al, al
jne 0x471b36
mov esi, dword [sym.imp.msvcrt.dll__strnicmp]
push 7
push str.http:__
push edi
call esi
add esp, 0xc
test eax, eax
je 0x471bc9
push 8
push str.https:__
push edi
call esi
add esp, 0xc
test eax, eax
je 0x471bc9
push 7
push str.extm3u
push edi
call esi
add esp, 0xc
test eax, eax
je 0x471bc9
push 0xa
push str._playlist_
push edi
call esi
add esp, 0xc
test eax, eax
je 0x471bc9
cmp dword [0x59bd00], 0
jne 0x471bae
call fcn.00455700
test eax, eax
jne 0x471bae
push dword [ebp + 8]
push ebx
call fcn.0045504e
test eax, eax
jne 0x471c66
push ebx
call fcn.004565a8
push dword [ebp - 0xc]
call fcn.00451100
lea esp, [ebp - 0x1774]
pop edi
pop esi
pop ebx
leave
ret 4
push ebx
call fcn.004565a8
push 0x5c2b60
push edi
jmp 0x471c4f
call fcn.00455700
test eax, eax
jne 0x471bb4
jmp 0x471be9
cmp byte [esi - 1], 0x41
jl 0x471bf3
dec esi
lea eax, [ebp - 0x1768]
cmp esi, eax
ja 0x471be2
push 0x5c37a0
push esi
call dword [sym.imp.msvcrt.dll_strpbrk]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x471c0a
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.00471cc9
dec dword [edi + 0x14]
test eax, eax
jne 0x471c66
call fcn.0047bc10
cmp eax, 0x29
je 0x471c40
cmp eax, 0x14
je 0x471c40
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x471bb4
push 0x5c2b60
inc ebx
push ebx
call dword [sym.imp.msvcrt.dll_strstr]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x471bd7
jmp 0x471bb4
push eax
call fcn.0046ea78
jmp 0x471bbc