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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1768
call fcn.0048163c
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 0x4757cd
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.0045a022
mov eax, dword [ebp - 0x3c]
mov ecx, eax
and ecx, 0xffffff
cmp ecx, 0x334f4d
je 0x47607e
mov ecx, 0x4d524f46
cmp eax, 0x46464952
je 0x47580f
cmp eax, 0x34364652
jne 0x475818
cmp dword [ebp - 0x34], 0x45564157
je 0x475836
cmp eax, ecx
jne 0x475cc8
cmp dword [ebp - 0x34], 0x46464941
je 0x475836
cmp dword [ebp - 0x34], 0x43464941
jne 0x475cc8
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 0x47585a
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.0045a618
test eax, eax
je 0x475c63
push 8
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.0045a022
cmp eax, 8
jne 0x475c63
cmp dword [ebp - 0x3c], 0x4d524f46
jne 0x475895
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0x20746d66
je 0x475b7c
cmp eax, 0x34367364
je 0x475b5f
cmp eax, 0x444e5353
je 0x4759df
cmp eax, 0x4d4d4f43
je 0x4758e7
cmp eax, 0x61746164
je 0x4759df
cmp eax, 0x74636166
jne 0x475c29
push 4
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.0045a022
jmp 0x475c29
push 0x14
pop eax
call fcn.00481622
mov edi, esp
push 0x12
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.0045a022
cmp eax, 0x12
jne 0x47607e
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 0x475997
push 4
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0045a022
mov eax, dword [ebp - 0x44]
cmp eax, 0x32336c66
je 0x475978
cmp eax, 0x34366c66
je 0x475978
cmp eax, 0x32334c46
je 0x475978
cmp eax, 0x34364c46
je 0x475978
cmp eax, 0x74776f73
jne 0x475964
inc esi
jmp 0x475997
cmp eax, 0x736f7774
je 0x475997
cmp eax, 0x454e4f4e
jne 0x475f03
jmp 0x475997
push 3
pop ecx
mov word [edi], cx
cmp eax, 0x34366c66
je 0x475990
cmp eax, 0x34364c46
je 0x475990
push 0x20
jmp 0x475992
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.004712f1
cmp dword [edi + 8], 0
je 0x475c7e
push dword [ebp + 8]
push ebx
call fcn.0047554c
inc esi
mov dword [ebp - 0x10f8], eax
mov dword [eax + 0x20], esi
jmp 0x475c29
mov eax, dword [ebp - 0x28]
add esi, 8
mov dword [ebp - 0x10], esi
cmp eax, 0xffffffff
je 0x4759f4
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
or eax, dword [ebp - 4]
jne 0x475a04
test edi, edi
je 0x47607e
push 4
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.0045a022
cmp dword [ebp - 0x2c], 0x444e5353
jne 0x475a45
mov eax, dword [ebp - 0x24]
bswap eax
xor ecx, ecx
add eax, 8
cmp ecx, dword [ebp - 4]
ja 0x47607e
jb 0x475a37
cmp eax, dword [ebp - 8]
jae 0x47607e
add dword [ebp - 0x10], eax
sub dword [ebp - 8], eax
sbb dword [ebp - 4], ecx
jmp 0x475c29
cmp dword [ebp - 0x24], 0x6b707677
jne 0x475c29
mov esi, dword [ebp - 0x10f8]
call fcn.0045c274
and dword [ebp - 0x10f8], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x475a75
cmp dword [eax + 0xc], 0
je 0x47607e
mov eax, dword [0x59a740]
test eax, eax
je 0x475ad2
mov esi, dword [0x59cd3c]
mov dword [ebp - 0x10], eax
call fcn.00459bd0
test eax, eax
jne 0x47607e
push 1
call dword [esi + 4]
mov edi, eax
test edi, edi
je 0x475aca
push 0
push 0
push ebx
call fcn.0045a618
mov eax, dword [ebp + 8]
and eax, 0xff3e01bf
push eax
push ebx
call edi
test eax, eax
jne 0x475ff2
call fcn.004800e0
cmp eax, 0x29
je 0x475aca
mov dword [ebp - 0xc], eax
add esi, 0xc
dec dword [ebp - 0x10]
jne 0x475a87
mov eax, dword [0x59ddbc]
cmp eax, 2
je 0x475af9
cmp eax, 1
jne 0x47605b
cmp dword [ebp - 0x14], 0
je 0x47605b
cmp dword [ebx + 0x3c], 0
je 0x47605b
call fcn.00459ab9
mov dword [ebp - 0x30], eax
mov eax, dword [eax + 0x14]
cmp eax, dword [0x57fb60]
ja 0x47607e
xor esi, esi
push esi
push esi
mov ecx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], esi
call fcn.0045a49d
push 0x3e8
lea eax, [ebp - 0x1768]
push eax
push ebx
call fcn.0045a022
mov byte [ebp + eax - 0x1768], 0
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x475b4e
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 0x47600d
push 0x1c
lea eax, [ebp - 0x74]
push eax
push ebx
call fcn.0045a022
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 4], eax
jmp 0x475c29
mov eax, dword [ebp - 0x28]
cmp eax, 0x10000
ja 0x47607e
cmp eax, 0x12
ja 0x475b92
push 0x12
pop eax
call fcn.0048160c
mov edi, esp
xor eax, eax
mov word [edi + 0x10], ax
push dword [ebp - 0x28]
push edi
push ebx
call fcn.0045a022
cmp eax, dword [ebp - 0x28]
jne 0x47607e
movzx eax, word [edi]
cmp eax, 0x55
je 0x475c29
cmp eax, 0x50
je 0x475c29
mov ecx, 0x674f
cmp ax, cx
je 0x475c29
movzx eax, word [edi + 2]
test ax, ax
je 0x475c7e
cmp dword [edi + 4], 0
je 0x475c7e
movzx ecx, word [edi + 0xe]
add ecx, 7
sar ecx, 3
imul ecx, eax
cmp ecx, 0x10000
jge 0x475c7e
push dword [ebp + 8]
mov eax, edi
push ebx
call fcn.0047554c
mov dword [ebp - 0x10f8], eax
test eax, eax
je 0x475c8a
mov eax, dword [ebp - 0x28]
cmp eax, 0x12
ja 0x475c19
push 0x12
pop eax
push eax
push edi
call fcn.00455507
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 0x475c63
jb 0x475c52
cmp dword [ebp - 0x20], eax
ja 0x475c63
cmp dword [ebp - 0x10], ecx
je 0x47585a
test edi, edi
je 0x47585a
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10f8]
test eax, eax
jne 0x475c9f
test esi, esi
je 0x475cc8
call fcn.0045c274
jmp 0x47607e
mov dword [ebp - 0xc], 6
jmp 0x47607e
mov edi, dword [edi + 8]
neg edi
sbb edi, edi
and edi, 0x26
add edi, 6
mov dword [ebp - 0xc], edi
jmp 0x475a64
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 0x475da3
cmp esi, eax
jne 0x475d61
cmp dword [0x59ddac], eax
je 0x475d91
cmp dword [ebp - 0x14], 0
mov eax, dword [0x57fb34]
mov esi, eax
je 0x475cef
mov ecx, dword [0x57fb38]
test ecx, ecx
jne 0x475ced
sar eax, 2
mov ecx, 0x3e8
mov esi, eax
cmp eax, ecx
jg 0x475cef
mov esi, ecx
push ebx
call fcn.00465637
test eax, eax
je 0x475ed0
push dword [ebp + 8]
push ebx
call fcn.00465c55
mov edi, eax
mov dword [ebp - 0x10f0], edi
test edi, edi
je 0x475ed0
mov esi, dword [edi + 0x1c8]
test esi, esi
jg 0x475d25
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], 0x4733e9
jmp 0x475f5d
cmp dword [esi + 0x20], eax
je 0x475d91
movzx eax, word [edi + 0xc]
mov ecx, dword [ebp - 0x56]
cdq
push edx
push eax
bswap ecx
push 0
push ecx
call fcn.004815cc
cmp eax, dword [ebp - 8]
je 0x475d8b
cmp edx, dword [ebp - 4]
ja 0x475d91
jb 0x475d8b
cmp eax, dword [ebp - 8]
jae 0x475d91
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 0x475cc8
mov eax, dword [esi + 4]
cmp eax, 1
je 0x475dc4
cmp eax, 3
je 0x475dc4
mov dword [ebp - 0x10fc], 0x10
jmp 0x475dde
movzx eax, word [edi + 0xe]
mov dword [ebp - 0x10fc], eax
cmp dword [esi + 4], 3
jne 0x475dde
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], 0x473b45
call fcn.0045a747
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 [0x5c5c88]
call fcn.00481552
push edx
push eax
lea ecx, [ebp - 0x137c]
call fcn.00473037
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x10f8]
mov dword [eax + 0x2c], edx
cmp dword [ebp - 0x18], 0
je 0x475ebf
mov eax, dword [ebp - 0x10f8]
mov eax, dword [eax + 4]
cmp eax, 1
je 0x475ebf
cmp eax, 3
je 0x475ebf
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.004815cc
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 0x475ebf
ja 0x475e9b
mov edx, esi
cmp eax, dword [edx + 0x28]
jbe 0x475ebf
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 0x475f57
lea eax, [ebp - 0x30]
push eax
push esi
push ebx
call fcn.00460253
test eax, eax
js 0x475a64
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.0045f541
mov dword [ebp - 0x10f4], eax
test eax, eax
jne 0x475f0f
mov dword [ebp - 0xc], 0x2c
jmp 0x475a64
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 0x475f43
mov dword [ebp - 0x1378], 1
jmp 0x475f4d
mov ecx, dword [eax + 0x38]
inc ecx
mov dword [ebp - 0x1378], ecx
mov dword [ebp - 0x1370], 0x4733b9
mov edi, dword [ebp - 0x10f0]
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x1100], ebx
je 0x475f95
push 0
push esi
push ebx
call fcn.00470ccc
test eax, eax
jne 0x475f89
lea eax, [ebp - 0x137c]
push eax
call fcn.004730c6
push 1
jmp 0x476087
mov edi, dword [ebp - 0x10f0]
mov eax, dword [ebp - 0x10f4]
xor esi, esi
cmp dword [ebp - 0x10f8], esi
je 0x475fb0
push esi
push esi
mov esi, dword [ebp - 0x10f8]
call fcn.0045c2c4
xor esi, esi
jmp 0x475fc3
push esi
push esi
cmp eax, esi
je 0x475fbe
push esi
call fcn.0045f4b2
jmp 0x475fc3
call fcn.004658ec
push dword [ebp + 8]
lea eax, [ebp - 0x137c]
call fcn.0047510a
mov edi, eax
cmp edi, esi
jne 0x475fe5
lea eax, [ebp - 0x137c]
push eax
call fcn.004730c6
jmp 0x475feb
mov dword [edi + 0x10], edi
mov dword [ebx + 0x78], edi
mov eax, edi
jmp 0x47608c
push eax
call fcn.00472f48
mov ecx, dword [esi + 8]
mov dword [eax + 0x2a0], ecx
jmp 0x47608c
cmp al, 0x20
jge 0x476011
inc edi
mov al, byte [edi]
test al, al
jne 0x476006
mov esi, dword [sym.imp.msvcrt.dll__strnicmp]
push 7
push str.http:__
push edi
call esi
add esp, 0xc
test eax, eax
je 0x476099
push 8
push str.https:__
push edi
call esi
add esp, 0xc
test eax, eax
je 0x476099
push 7
push str.extm3u
push edi
call esi
add esp, 0xc
test eax, eax
je 0x476099
push 0xa
push str._playlist_
push edi
call esi
add esp, 0xc
test eax, eax
je 0x476099
cmp dword [0x59dde8], 0
jne 0x47607e
call fcn.00459bd0
test eax, eax
jne 0x47607e
push dword [ebp + 8]
push ebx
call fcn.0045951e
test eax, eax
jne 0x476136
push ebx
call fcn.0045aa78
push dword [ebp - 0xc]
call fcn.004555d0
lea esp, [ebp - 0x1774]
pop edi
pop esi
pop ebx
leave
ret 4
push ebx
call fcn.0045aa78
push 0x5c4e00
push edi
jmp 0x47611f
call fcn.00459bd0
test eax, eax
jne 0x476084
jmp 0x4760b9
cmp byte [esi - 1], 0x41
jl 0x4760c3
dec esi
lea eax, [ebp - 0x1768]
cmp esi, eax
ja 0x4760b2
push 0x5c5a40
push esi
call dword [sym.imp.msvcrt.dll_strpbrk]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4760da
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.00476199
dec dword [edi + 0x14]
test eax, eax
jne 0x476136
call fcn.004800e0
cmp eax, 0x29
je 0x476110
cmp eax, 0x14
je 0x476110
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x476084
push 0x5c4e00
inc ebx
push ebx
call dword [sym.imp.msvcrt.dll_strstr]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4760a7
jmp 0x476084
push eax
call fcn.00472f48
jmp 0x47608c