Function at 0x57df80
Capabilities:
Check if file exists
Clear file content
Get file attributes
Get file size
Get socket status
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62bb78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x80], esi
mov dword [ebp - 4], edi
mov ecx, dword [eax + 0x2fc]
cmp ecx, 0x80
jne 0x57dfc7
mov dword [esi + 0x28], edi
jmp 0x57e1f0
mov edx, dword [eax + 0x2f4]
cmp edx, 4
je 0x57e14f
cmp ecx, 0x40
je 0x57e14f
cmp edx, 0x40
je 0x57e14f
mov ecx, dword [0x6cc708]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
lea edx, [ebp - 0x14]
mov ebx, 1
push edx
push eax
mov byte [ebp - 4], bl
call fcn.0046d740
mov ecx, dword [ebp - 0x14]
add esp, 8
push str.googleusercontent.com
push ecx
call fcn.005e6820
mov ecx, dword [esi + 0x1b8]
mov edx, dword [esi + 0x1bc]
add esp, 8
neg eax
sbb eax, eax
inc eax
or ecx, edx
jne 0x57e13e
mov cl, byte [esi + 0x85c]
test cl, cl
jne 0x57e13e
cmp dword [esi + 0x1a4], ebx
jle 0x57e13e
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x157]
test dl, dl
je 0x57e13e
cmp dword [ecx + 0x2fc], edi
jne 0x57e13e
mov ecx, dword [esi + 0x248]
mov dl, byte [ecx + 0xc8]
test dl, dl
je 0x57e081
cmp eax, edi
je 0x57e13e
mov dword [ecx + 0x34cc], ebx
mov edx, dword [esi + 0x248]
mov dword [edx + 0x34b0], edi
mov dword [edx + 0x34b4], edi
mov eax, dword [esi + 0x248]
mov dword [eax + 0x3498], edi
mov dword [eax + 0x349c], edi
mov ecx, dword [esi + 0x248]
mov byte [ecx + 0x6637], 1
mov eax, dword [esi + 0x248]
mov edx, dword [eax + 0x3448]
lea ecx, [eax + 0x3448]
add eax, 0x6628
push eax
call dword [edx + 0x18]
mov eax, dword [esi + 0x450]
cmp eax, 0x80
jae 0x57e100
mov ecx, dword [esi + 0x248]
mov edx, dword [ecx + 0x6628]
mov dword [esi + eax*4 + 0x454], edx
mov eax, dword [esi + 0x450]
inc eax
mov dword [esi + 0x450], eax
mov eax, dword [esi + 0x654]
cmp eax, 0x80
jae 0x57e12d
mov ecx, dword [esi + 0x248]
mov edx, dword [ecx + 0x6628]
mov dword [esi + eax*4 + 0x658], edx
mov eax, dword [esi + 0x654]
inc eax
mov dword [esi + 0x654], eax
mov eax, 2
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1a8], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00602ad6
jmp 0x57e1f0
mov dword [esi + 0x28], edi
mov eax, dword [eax + 0x2ec]
cmp eax, edi
je 0x57e1f0
cmp dword [esi + 0x238], edi
je 0x57e1f0
mov edx, dword [eax + 0x16c]
or dh, 1
mov dword [eax + 0x16c], edx
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x2ec]
cmp dword [eax + 0x8d4], 3
jne 0x57e1af
mov eax, dword [eax + 0x50]
cmp eax, edi
je 0x57e1a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x57e1af
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0x2ec]
mov dword [edx + 0x8d4], edi
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x2ec]
mov eax, dword [ecx + 0x8d4]
cmp eax, edi
je 0x57e1cc
cmp eax, 2
je 0x57e1cc
cmp eax, 4
jne 0x57e1f0
cmp dword [ecx + 0x8d8], edi
jne 0x57e1f0
push str.Starting_audio_thread_r_n
mov ecx, esi
call fcn.005a7550
mov ecx, dword [esi + 0xc]
push 1
mov ecx, dword [ecx + 0x2ec]
call fcn.005b1230
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2fc], edi
je 0x57e20f
mov cl, byte [eax + 0x300]
test cl, cl
je 0x57e20f
mov dword [eax + 0xb0], 1
mov edx, dword [0x6d24a8]
push 1
push edx
mov ecx, esi
call fcn.005a7400
mov ecx, esi
call fcn.005a7f70
mov ecx, esi
call fcn.005a89d0
mov eax, dword [esi + 0x1b4]
add eax, 0xfffffffb
mov dword [esi + 0x1b4], eax
mov eax, dword [0x6cc708]
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1c4]
mov dword [ebp - 0x68], ecx
mov ecx, esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x64], edx
call fcn.005a76d0
lea eax, [ebp - 0xec]
xor edi, edi
push eax
mov dword [ebp - 0x90], 3
mov dword [ebp - 0x8c], edi
call fcn.005e7d47
lea ecx, [ebp - 0x9c]
push ecx
call fcn.005e7d47
add esp, 8
xor ebx, ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0x1d], 1
xor ecx, ecx
cmp ecx, dword [esi + 0x1a8]
jge 0x57e349
mov eax, ecx
shl eax, 5
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x248]
shl edx, 1
sub edx, ecx
lea eax, [eax + edx*8]
mov edx, dword [eax + 0x84]
test edx, edx
je 0x57e343
mov edx, dword [eax + 0x38c]
inc ebx
test edx, edx
jg 0x57e342
mov edx, dword [eax + 0xb0]
cmp dword [edx + 0x24], 2
jne 0x57e2fd
mov edx, dword [eax + 0x343c]
test edx, edx
ja 0x57e342
mov dl, byte [eax + 0x3440]
test dl, dl
jne 0x57e342
mov edx, dword [eax + 0x184]
test edx, edx
je 0x57e343
cmp byte [edx + 0x137], 0
je 0x57e343
mov edx, dword [eax + 0x3444]
test edx, edx
je 0x57e343
cmp dword [edx + 0x343c], 0
ja 0x57e342
cmp byte [eax + 0x3440], 0
jne 0x57e342
mov eax, dword [edx + 0x33cc]
test eax, eax
jbe 0x57e343
cmp dword [edx + 0x3374], 0x80090318
je 0x57e343
inc edi
inc ecx
jmp 0x57e2a2
cmp edi, 1
jne 0x57e35c
cmp ebx, edi
jne 0x57e35c
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x90], edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x57e3cf
lea ecx, [esi + 0x28]
call fcn.0054a920
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x2fc], 0x20
jne 0x57e385
mov eax, dword [ecx + 0xf0]
mov ecx, dword [ecx + 0xf4]
jmp 0x57e391
mov eax, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1bc]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x1c0]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [esi + 0x1c4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov ecx, dword [esi + 0x10]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x40], 0
push eax
mov edx, dword [ecx]
push 0x1471
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x57f6cd
mov ecx, esi
call fcn.005a7200
test al, al
mov byte [ebp - 0x74], al
je 0x57e3fe
lea eax, [ebp - 0xc8]
push eax
call fcn.005e7d47
mov ecx, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1c4]
add esp, 4
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edx
xor edi, edi
xor edx, edx
mov ebx, 0x80090318
cmp edx, dword [esi + 0x1a8]
jge 0x57e581
mov eax, edx
mov ecx, dword [esi + 0x248]
shl eax, 5
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
shl eax, 1
sub eax, edx
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x84]
test ecx, ecx
je 0x57e5b6
mov ecx, dword [eax + 0x8c]
cmp ecx, 6
jne 0x57e505
mov ecx, dword [eax + 0x38c]
test ecx, ecx
jg 0x57e57c
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x57e467
mov ecx, dword [ecx + 0x10]
jmp 0x57e470
mov ecx, dword [eax + 0xb0]
mov ecx, dword [ecx + 0x24]
cmp ecx, 2
jne 0x57e491
mov ecx, dword [eax + 0x343c]
test ecx, ecx
ja 0x57e57c
mov cl, byte [eax + 0x3440]
test cl, cl
jne 0x57e57c
mov ecx, dword [eax + 0x184]
test ecx, ecx
je 0x57e5b6
cmp byte [ecx + 0x137], 0
je 0x57e5b6
mov ecx, dword [eax + 0x3444]
test ecx, ecx
je 0x57e5b6
cmp dword [ecx + 0x343c], 0
ja 0x57e57c
cmp byte [eax + 0x3440], 0
jne 0x57e57c
cmp dword [ecx + 0x33cc], 0
jbe 0x57e4e9
cmp dword [ecx + 0x3374], ebx
jne 0x57e57c
mov ecx, dword [eax + 0x33cc]
test ecx, ecx
jbe 0x57e5b6
cmp dword [eax + 0x3374], ebx
je 0x57e5b6
jmp 0x57e57c
cmp ecx, 0xf
jne 0x57e5b6
mov ecx, dword [eax + 0x3428]
cmp ecx, 0x90312
je 0x57e52c
cmp ecx, ebx
je 0x57e52c
cmp ecx, 0x90320
jne 0x57e5b6
cmp dword [eax + 0x3430], 0
je 0x57e539
cmp ecx, ebx
jne 0x57e57c
mov ecx, dword [eax + 0x3434]
test ecx, ecx
je 0x57e57c
mov ecx, dword [eax + 0x184]
test ecx, ecx
je 0x57e5b6
cmp byte [ecx + 0x137], 0
je 0x57e5b6
mov eax, dword [eax + 0x3444]
test eax, eax
je 0x57e5b6
mov ecx, dword [eax + 0x343c]
test ecx, ecx
ja 0x57e57c
mov ecx, dword [eax + 0x33cc]
test ecx, ecx
jbe 0x57e5b6
cmp dword [eax + 0x3374], ebx
je 0x57e5b6
mov edi, 1
mov al, byte [ebp - 0x1d]
xor bl, bl
test al, al
je 0x57e5bc
test edi, edi
jne 0x57e5cf
lea edx, [ebp - 0x90]
lea eax, [esi + 0x654]
push edx
lea ecx, [esi + 0x450]
push eax
lea edx, [esi + 0x24c]
push ecx
push edx
push edi
call sub.WS2_32.dll_select
mov edi, eax
mov bl, 1
jmp 0x57e5cf
inc edx
jmp 0x57e407
mov edi, 1
mov dword [ebp - 0x90], 3
mov byte [ebp - 0x1d], 1
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x57f6c5
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
or eax, ecx
jne 0x57e631
lea eax, [ebp - 0x9c]
push eax
call fcn.005e7d47
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xec]
sub ecx, edx
add esp, 4
cmp ecx, 0x12c
jle 0x57e631
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, 0x7532
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x1c0]
mov eax, dword [esi + 0x1c4]
cmp edi, 0xffffffff
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], eax
je 0x57e801
test edi, edi
je 0x57e801
xor edi, edi
cmp edi, dword [esi + 0x1a8]
jge 0x57e808
mov eax, edi
mov edx, dword [esi + 0x248]
shl eax, 5
sub eax, edi
lea eax, [eax + eax*2]
lea ecx, [eax + eax*8]
shl ecx, 1
sub ecx, edi
mov eax, dword [edx + ecx*8 + 0x84]
lea ecx, [edx + ecx*8]
test eax, eax
je 0x57e7fb
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x57f6c5
test bl, bl
jne 0x57e7f6
mov eax, dword [ecx + 0x8c]
cmp eax, 6
jne 0x57e77d
mov eax, dword [ecx + 0x38c]
test eax, eax
jg 0x57e7f6
mov eax, dword [ecx + 0xb4]
test eax, eax
je 0x57e6ca
mov eax, dword [eax + 0x10]
jmp 0x57e6d3
mov eax, dword [ecx + 0xb0]
mov eax, dword [eax + 0x24]
cmp eax, 2
jne 0x57e6f4
mov eax, dword [ecx + 0x343c]
test eax, eax
ja 0x57e7f6
mov al, byte [ecx + 0x3440]
test al, al
jne 0x57e7f6
mov eax, dword [ecx + 0x184]
test eax, eax
je 0x57e7fb
mov dl, byte [eax + 0x137]
test dl, dl
je 0x57e7fb
mov eax, dword [ecx + 0x3444]
test eax, eax
je 0x57e7fb
mov edx, dword [eax + 0x343c]
test edx, edx
ja 0x57e7f6
mov dl, byte [ecx + 0x3440]
test dl, dl
jne 0x57e7f6
mov edx, dword [eax + 0x33cc]
test edx, edx
jbe 0x57e754
cmp dword [eax + 0x3374], 0x80090318
jne 0x57e7f6
mov eax, dword [ecx + 0x33cc]
test eax, eax
jbe 0x57e7fb
cmp dword [ecx + 0x3374], 0x80090318
je 0x57e7fb
call fcn.00571c70
inc edi
jmp 0x57e656
cmp eax, 0xf
jne 0x57e7fb
mov eax, dword [ecx + 0x3428]
cmp eax, 0x90312
je 0x57e79d
cmp eax, 0x80090318
je 0x57e79d
cmp eax, 0x90320
jne 0x57e7fb
mov edx, dword [ecx + 0x3430]
test edx, edx
je 0x57e7ae
cmp eax, 0x80090318
jne 0x57e7f6
mov eax, dword [ecx + 0x3434]
test eax, eax
je 0x57e7f6
mov eax, dword [ecx + 0x184]
test eax, eax
je 0x57e7fb
mov dl, byte [eax + 0x137]
test dl, dl
je 0x57e7fb
mov eax, dword [ecx + 0x3444]
test eax, eax
je 0x57e7fb
mov edx, dword [eax + 0x343c]
test edx, edx
ja 0x57e7f6
mov edx, dword [eax + 0x33cc]
test edx, edx
jbe 0x57e7fb
cmp dword [eax + 0x3374], 0x80090318
je 0x57e7fb
call fcn.00571c70
inc edi
jmp 0x57e656
mov ecx, esi
call fcn.00580190
mov ecx, dword [ebp - 0x74]
push ecx
push 0
mov ecx, esi
call fcn.005a77a0
lea edx, [ebp - 0xa8]
push edx
call fcn.005e7d47
mov ecx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0x9c]
mov eax, ecx
add esp, 4
sub eax, edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x98]
and eax, 0xffff
sub edx, eax
mov eax, dword [ebp - 0xa4]
mov edi, eax
and edi, 0xffff
add edx, edi
cmp edx, 0xfa
jl 0x57e8ff
lea ecx, [ebp - 0x9c]
push ecx
call fcn.005e7d47
add esp, 4
xor ebx, ebx
cmp ebx, dword [esi + 0x1a8]
jge 0x57e8f3
mov eax, ebx
shl eax, 5
sub eax, ebx
lea eax, [eax + eax*2]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x248]
shl edx, 1
sub edx, ebx
lea edi, [eax + edx*8]
mov eax, dword [eax + edx*8 + 0x84]
test eax, eax
je 0x57e8f0
mov ecx, dword [edi + 0xa0]
mov edx, dword [ecx]
cmp dword [edx], 0
je 0x57e8f0
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x6c]
or eax, ecx
je 0x57e8f0
lea eax, [edi + 0x3e8]
mov ecx, edi
push eax
call fcn.00550820
mov ecx, dword [edi + 0xa0]
lea eax, [edi + 0x3e8]
push eax
push 0x13ef
mov edx, dword [ecx]
push 0x111
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
inc ebx
jmp 0x57e87c
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [esi + 0x24]
test edx, edx
jne 0x57eae9
mov edi, dword [esi + 0x1c4]
mov ebx, dword [ebp - 0x64]
mov edx, dword [esi + 0x1c0]
cmp ebx, edi
jg 0x57eae9
jl 0x57e92c
cmp dword [ebp - 0x68], edx
jae 0x57eae9
cmp dword [ebp - 0x58], edx
jne 0x57eae9
cmp dword [ebp - 0x54], edi
jne 0x57eae9
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
lea ecx, [ecx + ecx*4]
or edx, edi
lea ecx, [ecx + ecx*4]
jne 0x57e965
lea ecx, [ecx + ecx*4]
and eax, 0xffff
lea eax, [eax + ecx*8]
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
jmp 0x57eaf1
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0xc]
and eax, 0xffff
fld qword [ecx + 0x440]
fsqrt
lea eax, [eax + edx*8]
cdq
mov ebx, eax
mov edi, edx
fmul qword [0x63dbe0]
fadd qword [ecx + 0x430]
fcom qword [ecx + 0x450]
fnstsw ax
test ah, 1
je 0x57e9a1
fstp qword [ebp - 0x88]
jmp 0x57e9bb
mov eax, dword [ecx + 0x450]
mov edx, dword [ecx + 0x454]
fstp st(0)
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
fld qword [ecx + 0x438]
fsqrt
fmul qword [0x63dbe0]
fadd qword [ecx + 0x428]
fcom qword [ecx + 0x448]
fnstsw ax
test ah, 1
jne 0x57e9e4
fstp st(0)
fld qword [ecx + 0x448]
fld qword [ebp - 0x88]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x57e9fb
fstp st(0)
fld qword [ebp - 0x88]
fmul qword [0x63e150]
fadd qword [0x63e148]
call fcn.005e6974
mov ecx, dword [ebp - 0x38]
sub ebx, ecx
mov ecx, dword [ebp - 0x34]
sbb edi, ecx
cmp edi, edx
jl 0x57eaf1
jg 0x57ea28
cmp ebx, eax
jbe 0x57eaf1
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
call fcn.005ba200
cmp eax, edi
je 0x57eaf3
cmp dword [esi + 0x1c], edi
je 0x57ea66
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x248]
call fcn.005644f0
mov ecx, dword [esi + 0x248]
call fcn.00577880
mov ecx, dword [esi + 0x248]
mov eax, dword [ecx]
lea edx, [ecx + 0x31e0]
push edx
call dword [eax + 0x18]
mov edi, eax
test edi, edi
jne 0x57eaa6
mov ecx, dword [esi + 0x248]
push eax
call fcn.0056a610
mov edi, eax
test edi, edi
je 0x57eac5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x1c4]
mov edx, dword [0x6d24a8]
mov eax, dword [esi + 0x1c0]
mov dword [ebp - 0x64], ecx
push 1
push edx
mov ecx, esi
mov dword [ebp - 0x68], eax
call fcn.005a7400
jmp 0x57eaf1
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
xor edi, edi
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xb0], 2
jne 0x57ef6c
mov edx, dword [esi + 0x1bc]
mov ecx, dword [esi + 0x1b8]
mov eax, edx
mov bl, 1
cmp eax, edi
jl 0x57eb31
jg 0x57eb1e
cmp ecx, 0x32
jbe 0x57eb31
mov eax, dword [esi + 0x248]
cmp dword [eax + 0x74], edi
jl 0x57eb54
jg 0x57eb31
cmp dword [eax + 0x70], 0x32
jb 0x57eb54
cmp edx, edi
jg 0x57eb7a
jl 0x57eb3c
cmp ecx, 0x32
ja 0x57eb7a
mov eax, dword [esi + 0x248]
mov edi, dword [eax + 0x74]
cmp edi, edx
jg 0x57eb78
jl 0x57eb52
mov edx, dword [eax + 0x70]
cmp edx, ecx
jae 0x57eb78
xor edi, edi
mov cl, byte [eax + 0xc8]
xor bl, bl
test cl, cl
je 0x57eb7a
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x4c]
or ecx, edx
jne 0x57eb7a
mov cl, byte [eax + 0xc9]
test cl, cl
je 0x57eb7a
mov bl, 1
jmp 0x57eb7a
xor edi, edi
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x14c]
test ah, 1
je 0x57ebf5
mov edx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
cmp edx, edi
jg 0x57ebf5
jl 0x57eba1
cmp eax, 0x7d1
jae 0x57ebf5
mov edx, dword [ecx]
push str.youtube.com
push edx
call fcn.005e6490
add esp, 8
test eax, eax
jne 0x57ebcc
mov eax, dword [esi + 0xc]
push str.googlevideo.com
mov ecx, dword [eax]
push ecx
call fcn.005e6490
add esp, 8
test eax, eax
je 0x57ebf5
mov ecx, dword [esi + 0x1bc]
mov eax, dword [esi + 0x1b8]
cmp ecx, edi
jl 0x57ef6c
jg 0x57ebed
cmp eax, 0x7d1
jb 0x57ef6c
or eax, ecx
je 0x57ef6c
test bl, bl
je 0x57ef6c
mov dl, byte [esi + 0x240]
mov ecx, dword [esi + 0xc]
push edx
call fcn.005c40e0
mov cl, byte [0x6d13f4]
mov dword [ebp - 0x14], eax
test cl, cl
jne 0x57ec26
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x31e]
test dl, dl
jne 0x57ec34
mov cl, byte [esi + 0x85c]
test cl, cl
je 0x57ecbb
mov edx, dword [esi + 0xc]
cmp dword [edx + 0xb0], 2
jne 0x57ec44
cmp eax, edi
je 0x57ecbb
mov ecx, dword [esi + 0x248]
call fcn.005644f0
lea ecx, [esi + 0x28]
call fcn.00541a50
mov dword [esi + 0xc8], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0x1c0], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0x1c4], edi
mov al, byte [0x6d13f4]
test al, al
jne 0x57f68b
mov eax, dword [esi + 0xc]
mov cl, byte [eax + 0x31e]
test cl, cl
je 0x57f68b
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0xb8], edi
jle 0x57ed3f
mov ebx, dword [esi + 0xc]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx + 0xcc]
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x57ed3f
mov ebx, dword [ebx + 0xbc]
test ebx, ebx
je 0x57ecfd
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
call fcn.005e86f0
add esp, 0xc
test eax, eax
je 0x57ed3f
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x57ed1e
mov edx, dword [esi + 0xb8]
push edx
push 0x13f8
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x57ed3f
mov ecx, dword [esi + 0xb8]
push ecx
push 0x13f8
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x57ef6c
mov eax, dword [esi + 0x13c]
test eax, eax
jne 0x57eef2
mov al, byte [0x6d13f4]
test al, al
jne 0x57ee60
mov eax, dword [esi + 0xc]
mov byte [ebp - 0x1e], 0
mov edx, dword [eax + 0xbc]
test edx, edx
je 0x57edc3
mov ebx, dword [eax + 0xe4]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x57edc3
mov edi, edx
mov eax, ebx
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x57edb6
test cl, cl
je 0x57edb2
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x57edb6
add eax, 2
add edi, 2
test cl, cl
jne 0x57ed8e
xor eax, eax
jmp 0x57edbb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x57edc3
mov byte [ebp - 0x1e], 1
mov edi, dword [esi + 0x1bc]
mov edx, dword [esi + 0x1b8]
xor ebx, ebx
cmp edi, ebx
jl 0x57edfc
jg 0x57eddb
cmp edx, ebx
jbe 0x57edfc
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xe8]
mov eax, dword [eax + 0xec]
cmp eax, ebx
jl 0x57edfc
jg 0x57edf4
cmp ecx, ebx
jbe 0x57edfc
cmp ecx, edx
jne 0x57ee03
cmp eax, edi
jne 0x57ee03
mov al, byte [ebp - 0x1e]
test al, al
je 0x57ee60
mov eax, dword [esi + 0xc]
push 0x6d0c38
lea ecx, [eax + 0xe4]
call fcn.00602c5f
mov eax, dword [esi + 0xc]
push 0x50040
mov dword [eax + 0xe8], ebx
mov dword [eax + 0xec], ebx
mov ecx, dword [esi + 0xc]
mov eax, dword [0x6d1ca8]
mov edx, dword [ecx + 8]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x57eef2
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x57ee79
mov eax, ecx
jmp 0x57ee7c
add eax, 0x38
push 0x2e
push eax
call fcn.005e62ef
mov edi, eax
add esp, 8
test edi, edi
je 0x57eef2
push 0x6a8420
push edi
call fcn.005e8a3c
add esp, 8
test eax, eax
je 0x57eef2
push 0x6a6afc
push edi
call fcn.005e8a3c
add esp, 8
test eax, eax
je 0x57eef2
mov ecx, dword [esi + 0xc]
mov eax, dword [0x6d2434]
push 0x50004
mov edx, dword [ecx + 8]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x57eef2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x57ef6c
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x57ef07
mov eax, ecx
jmp 0x57ef0a
add eax, 0x38
push 0x2e
push eax
call fcn.005e62ef
mov edi, eax
add esp, 8
test edi, edi
je 0x57ef6c
push 0x6a8420
push edi
call fcn.005e8a3c
add esp, 8
test eax, eax
je 0x57ef6c
push 0x6a6afc
push edi
call fcn.005e8a3c
add esp, 8
test eax, eax
je 0x57ef6c
mov ecx, dword [esi + 0xc]
call fcn.005c4200
mov edi, eax
test edi, edi
je 0x57ef6c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x74]
test al, al
je 0x57f19a
mov ecx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
test ecx, ecx
jl 0x57f19a
jg 0x57ef98
cmp eax, 0x400
jbe 0x57f19a
mov ecx, esi
call fcn.005a71c0
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x60], eax
push ecx
mov ebx, edx
call fcn.005e7d47
mov eax, dword [esi + 0x1c0]
mov edi, dword [ebp - 0x70]
mov ecx, dword [esi + 0x1c4]
mov edx, dword [ebp - 0x6c]
add esp, 4
sub eax, edi
sbb ecx, edx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
js 0x57f19a
jg 0x57efe5
test eax, eax
jbe 0x57f19a
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xc8]
sub eax, edx
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xb8]
and edx, 0xffff
lea eax, [eax + eax*4]
and ecx, 0xffff
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
sub eax, edx
add eax, ecx
mov dword [ebp - 0x14], eax
jne 0x57f027
mov dword [ebp - 0x14], 1
fild qword [ebp - 0xb0]
fmul dword [0x635a28]
fidiv dword [ebp - 0x14]
call fcn.005e6974
mov edi, edx
mov ecx, eax
cmp edi, ebx
jl 0x57f19a
jg 0x57f052
cmp ecx, dword [ebp - 0x60]
jbe 0x57f19a
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
sub ecx, edx
cdq
sbb edi, ebx
push edx
push eax
push edi
push ecx
call fcn.005e8c50
mov ecx, dword [ebp - 0x60]
push ebx
push ecx
push edx
push eax
call fcn.005e8260
mov edi, eax
mov eax, dword [esi + 0x1c8]
cdq
mov dword [ebp - 0x78], edx
mov edx, dword [ebp - 0x60]
push 0
push 2
push ebx
push edx
mov dword [ebp - 0x7c], eax
call fcn.005e8260
cmp dword [ebp - 0x78], edx
jg 0x57f0b0
jl 0x57f09b
cmp dword [ebp - 0x7c], eax
jae 0x57f0b0
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
jmp 0x57f0de
mov ecx, dword [ebp - 0x60]
push 0
push 9
push ebx
push ecx
call fcn.005e8c50
push 0
push 0xa
push edx
push eax
call fcn.005e8260
cmp dword [ebp - 0x78], edx
jg 0x57f0de
jl 0x57f0d5
cmp dword [ebp - 0x7c], eax
jae 0x57f0de
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
cmp edi, 0x2ee0
jle 0x57f0ed
mov edi, 0x2ee0
jmp 0x57f0f5
test edi, edi
jle 0x57f19a
mov eax, dword [esi + 0x858]
cmp eax, 0xffffffff
je 0x57f193
lea ecx, [esi + 0x24c]
lea ebx, [esi + 0x654]
mov dword [esi + 0x450], 0
mov dword [ecx], 0
mov dword [ebx], 0
mov dword [esi + 0x250], eax
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov eax, dword [ebx]
cmp eax, 0x80
jae 0x57f14c
mov edx, dword [esi + 0x858]
mov dword [esi + eax*4 + 0x658], edx
mov eax, dword [ebx]
inc eax
mov dword [ebx], eax
mov eax, 0x10624dd3
imul edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [ebp - 0x2c], edx
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
sub edi, edx
lea edx, [ebp - 0x2c]
push edx
push ebx
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [ebp - 0x28], eax
lea eax, [esi + 0x450]
push eax
push ecx
push 0
call sub.WS2_32.dll_select
jmp 0x57f19a
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.0057fee0
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x57f6ad
cmp eax, 1
jne 0x57f6c0
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2fc], ebx
je 0x57f6c0
mov cl, byte [eax + 0x300]
test cl, cl
je 0x57f6c0
cmp dword [esi + 0x40], ebx
jne 0x57f6c0
mov ecx, dword [esi + 0x248]
add ecx, 0x10
call fcn.00554e30
mov eax, dword [0x6cc708]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ebx
push ecx
mov ecx, dword [esi + 0xc]
mov byte [ebp - 4], 3
call fcn.005814e0
mov edx, dword [esi + 0xc]
mov al, byte [edx + 0x317]
test al, al
je 0x57f218
mov ecx, esi
call fcn.005802a0
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2fc], 0x20
jne 0x57f2c1
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x28]
push eax
mov dword [ecx], ebx
call fcn.00543270
cmp eax, ebx
jg 0x57f288
mov ecx, dword [0x6cc708]
mov dword [ebp - 0x1c], ecx
push eax
lea edx, [ebp - 0x1c]
push str.Error_MakeSdxFrList__ld_r_n
push edx
mov byte [ebp - 4], 4
call fcn.005fb90b
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.005a7550
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00602ad6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00602ad6
mov dword [ebp - 0x14], 0x753c
jmp 0x57f6c0
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + 0x20]
mov edx, eax
mov ecx, dword [ecx + 0x24]
or edx, ecx
je 0x57f3f2
mov edx, dword [esi + 0xc]
mov dword [edx + 0xf0], eax
mov dword [edx + 0xf4], ecx
mov ecx, esi
call fcn.005a8200
mov ecx, dword [esi + 0x248]
call fcn.00550790
jmp 0x57f3f2
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov eax, dword [eax + 0x2fc]
push edx
mov edx, dword [ebp - 0x14]
lea ecx, [esi + 0x28]
push edx
push eax
call fcn.00543600
cmp eax, ebx
je 0x57f270
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x2fc], 8
jne 0x57f339
mov edx, dword [esi + 0xb0]
mov ecx, dword [esi + 0x248]
add ecx, 0x10
mov eax, dword [edx + 0x10]
push eax
call fcn.00554e50
mov ecx, dword [esi + 0x248]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [esi + 0x248]
add ecx, 0x10
call fcn.00554e30
cmp dword [ebp - 0x30], ebx
je 0x57f3c2
mov dword [esi + 0x140], 0x7582
jmp 0x57f270
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [esi + 0x248]
add ecx, 0x10
call fcn.00554e50
mov ecx, dword [esi + 0x248]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x48]
push 0xd
push eax
add ecx, 0x10
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x48], 0x46
mov byte [ebp - 0x47], 0x4c
mov byte [ebp - 0x46], 0x56
mov byte [ebp - 0x45], 1
mov byte [ebp - 0x44], 5
mov byte [ebp - 0x43], 0
mov byte [ebp - 0x42], 0
mov byte [ebp - 0x41], 0
mov byte [ebp - 0x40], 9
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0
mov byte [ebp - 0x3c], 0
call fcn.00555430
mov edi, eax
mov eax, dword [ebp - 0x24]
cmp eax, 0xd
je 0x57f3ac
xor edi, edi
mov ecx, dword [esi + 0x248]
add ecx, 0x10
call fcn.00554e30
cmp edi, ebx
je 0x57f270
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
cmp dword [ecx + 0x2fc], 8
jne 0x57f3e2
mov dword [esi + 0x1c0], ebx
jmp 0x57f3ec
mov dword [esi + 0x1c0], 0xd
mov dword [esi + 0x1c4], ebx
mov edx, dword [esi + 0xc]
mov edi, 1
push edi
push ebx
mov byte [edx + 0x300], 0
mov dword [esi + 0xd0], ebx
push ebx
mov ecx, esi
mov dword [esi + 0xd4], ebx
call fcn.005a8380
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + 0x10]
mov ecx, dword [esi + 0x1a4]
cmp eax, ecx
jl 0x57f431
mov eax, ecx
cmp eax, ebx
mov dword [esi + 0x1a8], eax
jne 0x57f441
mov dword [esi + 0x1a8], edi
mov al, byte [0x6d13f4]
test al, al
jne 0x57f45b
mov edx, dword [esi + 0xc]
mov al, byte [edx + 0x31e]
test al, al
jne 0x57f5e5
mov al, byte [esi + 0x85c]
test al, al
jne 0x57f5e5
mov eax, dword [esi + 0x248]
push ebx
push ebx
push ebx
push eax
lea ecx, [esi + 0x28]
call fcn.00544670
mov ecx, dword [esi + 0x248]
mov dword [ecx + 0x84], edi
mov edx, dword [esi + 0x248]
mov dword [edx + 0x68], ebx
mov dword [edx + 0x6c], ebx
mov eax, dword [esi + 0x248]
mov dword [eax + 0x50], ebx
mov dword [eax + 0x54], ebx
mov ecx, dword [esi + 0x248]
mov dword [ecx + 0x48], ebx
mov dword [ecx + 0x4c], ebx
mov edx, dword [esi + 0x248]
mov dword [edx + 0x31f8], ebx
mov dword [edx + 0x31fc], ebx
mov eax, dword [esi + 0x248]
mov dword [eax + 0x70], ebx
mov dword [eax + 0x74], ebx
mov ecx, dword [esi + 0x248]
mov eax, dword [ecx + 0xb4]
cmp eax, ebx
je 0x57f4de
mov eax, dword [eax + 0x10]
jmp 0x57f4e4
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x24]
cmp eax, 2
jne 0x57f522
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x410], ebx
je 0x57f4fc
cmp dword [ecx + 0x198], ebx
jne 0x57f522
call fcn.005c50e0
cmp eax, ebx
jne 0x57f522
mov eax, dword [0x6d23a8]
mov ecx, dword [esi + 0x20]
push eax
call fcn.00554c40
mov dword [esi + 0x140], 0x756c
jmp 0x57f270
mov ecx, dword [esi + 0x248]
mov edx, dword [ecx]
lea eax, [ecx + 0x31e0]
push eax
call dword [edx + 0x18]
mov ecx, dword [esi + 0x248]
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x450], ebx
mov dword [esi + 0x654], ebx
mov edx, dword [ecx + 0x31e0]
mov dword [esi + 0x454], edx
mov edx, dword [esi + 0x450]
mov eax, dword [esi + 0x654]
inc edx
cmp eax, 0x80
mov dword [esi + 0x450], edx
jae 0x57f592
mov ecx, dword [esi + 0x248]
mov edx, dword [ecx + 0x31e0]
mov dword [esi + eax*4 + 0x658], edx
mov eax, dword [esi + 0x654]
inc eax
mov dword [esi + 0x654], eax
mov ecx, dword [esi + 0x858]
cmp ecx, 0xffffffff
je 0x57f5e5
mov eax, dword [esi + 0x24c]
cmp eax, 0x80
jae 0x57f5be
mov dword [esi + eax*4 + 0x250], ecx
mov eax, dword [esi + 0x24c]
inc eax
mov dword [esi + 0x24c], eax
mov eax, dword [esi + 0x654]
cmp eax, 0x80
jae 0x57f5e5
mov ecx, dword [esi + 0x858]
mov dword [esi + eax*4 + 0x658], ecx
mov eax, dword [esi + 0x654]
inc eax
mov dword [esi + 0x654], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00602ad6
mov edx, dword [esi + 0xc]
mov byte [edx + 0x317], 0
mov eax, dword [esi + 0xc]
mov byte [eax + 0x318], 1
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0xc]
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x360], eax
mov ecx, dword [ecx + 0x1c]
mov dword [edx + 0x364], ecx
mov ecx, esi
call fcn.005a8110
mov al, byte [0x6d13f4]
test al, al
jne 0x57f63a
mov edx, dword [esi + 0xc]
mov cl, byte [edx + 0x31e]
test cl, cl
jne 0x57f648
mov cl, byte [esi + 0x85c]
test cl, cl
je 0x57f6ad
test al, al
jne 0x57f677
mov eax, dword [esi + 0xc]
mov cl, byte [eax + 0x31e]
test cl, cl
je 0x57f677
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x28]
call fcn.00541a50
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c4], ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, 0x756a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00580680
mov ecx, esi
call fcn.005a8a00
jmp 0x57e35c
cmp dword [esi + 0x1c], ebx
je 0x57f6ef
lea ecx, [esi + 0x28]
call fcn.0054a920
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.http:rcd__dwnl_finished__s1_t7__r_n
mov ecx, esi
call fcn.005a7550
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x14c]
test ah, 1
je 0x57fb6b
mov edx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
test edx, edx
jg 0x57fb6b
jl 0x57f72e
cmp eax, 0x7d1
jae 0x57fb6b
mov ecx, dword [ecx]
push str.youtube.com
push ecx
call fcn.005e6490
add esp, 8
test eax, eax
jne 0x57f75d
mov edx, dword [esi + 0xc]
push str.googlevideo.com
mov eax, dword [edx]
push eax
call fcn.005e6490
add esp, 8
test eax, eax
je 0x57fb6b
push str.http:rcd__Check_for_redirect__s1_r_n
mov ecx, esi
call fcn.005a7550
mov edx, dword [esi + 0x1c0]
mov eax, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1bc]
cmp edx, eax
mov dword [ebp - 0x30], 0
jne 0x57f78e
cmp dword [esi + 0x1c4], ecx
je 0x57f796
or eax, ecx
jne 0x57fb6b
mov ecx, dword [esi + 0x248]
add ecx, 0x10
call fcn.00554e30
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x317]
test al, al
je 0x57f7b8
mov ecx, esi
call fcn.005802a0
mov edx, dword [esi + 0xb0]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
mov eax, dword [edx + 0x10]
push 3
push 0
push 1
push bind
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x24], ebx
jne 0x57f86b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
mov dword [esi + 0x140], eax
je 0x57f801
cmp eax, 5
jne 0x57fb32
mov ecx, dword [0x6cc708]
mov dword [ebp - 0x1c], ecx
push eax
lea edx, [ebp - 0x1c]
push str.Check_for_redirect__cf_failed__lastErr_ld_Sleep_1000_r_n
push edx
mov byte [ebp - 4], 5
call fcn.005fb90b
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.005a7550
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0xb0]
push 0
push 0
push 3
mov edx, dword [ecx + 0x10]
push 0
push 1
push bind
push edx
call edi
mov ebx, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 2
call fcn.00602ad6
cmp ebx, 0xffffffff
je 0x57fb32
mov eax, dword [esi + 0x1c4]
mov ecx, dword [esi + 0x1bc]
mov edi, dword [esi + 0x1c0]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1b8]
mov dword [ebp - 0x1c], edi
or eax, ecx
je 0x57f89a
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x317]
test al, al
je 0x57f8be
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
mov dword [ebp - 0x1c], edi
jne 0x57f8be
mov edi, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1c4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edi
mov eax, dword [esi + 0x248]
mov eax, dword [eax + 0x31d8]
test eax, eax
je 0x57f8f3
push eax
mov byte [ebp - 4], 6
call fcn.005fef05
add esp, 4
jmp 0x57f8ec
mov dword [ebp - 4], 2
lea ecx, [edi + 1]
push ecx
call fcn.005feedc
mov edx, dword [esi + 0x248]
add esp, 4
mov dword [edx + 0x31d8], eax
mov eax, dword [esi + 0x248]
mov ecx, dword [eax + 0x31d8]
test ecx, ecx
je 0x57fa0a
push str.Check_for_redirect__s2_r_n
mov ecx, esi
call fcn.005a7550
mov edx, dword [esi + 0x248]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push 0
mov eax, dword [edx + 0x31d8]
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov dword [ebp - 0x24], eax
je 0x57fac6
cmp dword [ebp - 0x1c], edi
jne 0x57fac6
mov ecx, dword [esi + 0x248]
push str.Check_for_redirect__s3__fc:_r_n
mov edx, dword [ecx + 0x31d8]
mov ecx, esi
mov byte [edx + edi], 0
call fcn.005a7550
mov eax, dword [esi + 0x248]
mov ecx, dword [eax + 0x31d8]
push ecx
mov ecx, esi
call fcn.005a7550
push 0x6a0db0
mov ecx, esi
call fcn.005a7550
mov edx, dword [esi + 0x248]
push 7
push 0x6a010c
mov eax, dword [edx + 0x31d8]
push eax
call fcn.005e86f0
add esp, 0xc
test eax, eax
je 0x57faaf
mov ecx, dword [esi + 0x248]
push 8
push 0x6a0100
mov edx, dword [ecx + 0x31d8]
push edx
call fcn.005e86f0
add esp, 0xc
test eax, eax
je 0x57faaf
mov eax, dword [esi + 0x248]
mov eax, dword [eax + 0x31d8]
push eax
call fcn.005fef05
mov ecx, dword [esi + 0x248]
add esp, 4
mov dword [ecx + 0x31d8], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x57fb6b
push str.http:rcd__Redirect_found_r_n
mov ecx, esi
call fcn.005a7550
xor edi, edi
lea ebx, [esi + 0x28]
mov dword [esi + 0x1c0], edi
mov dword [esi + 0x188], edi
mov ecx, ebx
mov dword [esi + 0x1c4], edi
mov dword [esi + 0x18c], edi
call fcn.0054a920
mov ecx, ebx
call fcn.00541a50
mov ecx, dword [esi + 0x248]
mov dword [esi + 0xc8], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd4], edi
mov dword [ecx + 0x50], edi
mov dword [ecx + 0x54], edi
mov ecx, dword [esi + 0x248]
call fcn.00577880
push 1
push edi
push edi
mov ecx, esi
call fcn.005a8380
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, 0x7583
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x248]
call fcn.00566ac0
mov dword [ebp - 0x30], 1
jmp 0x57fa0a
mov edx, dword [0x6cc708]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x14]
push str.Check_for_redirect__rf_res_ld__lastErr_ld__buff_ld__read_ld_r_n
push edx
call fcn.005fb90b
mov eax, dword [ebp - 0x14]
add esp, 0x18
mov ecx, esi
push eax
call fcn.005a7550
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00602ad6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x6cc708]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x140]
lea ecx, [ebp - 0x1c]
push eax
push str.Check_for_redirect__cf_failed__lastErr_ld_r_n
push ecx
mov byte [ebp - 4], 9
call fcn.005fb90b
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, esi
push edx
call fcn.005a7550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
jmp 0x57fb0d
mov edi, dword [ebp - 0x14]
cmp edi, 0x753c
je 0x57fb7f
cmp edi, 0xffffffff
jne 0x57fc0f
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x14c]
test ch, 1
je 0x57fdc5
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x57fdc5
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
or eax, ecx
je 0x57fdc5
mov ecx, dword [esi + 0x1bc]
mov eax, dword [esi + 0x1b8]
test ecx, ecx
jl 0x57fdc5
jg 0x57fbd1
cmp eax, 0x40000000
jbe 0x57fdc5
push str.Checking_flv_file_struct._n
mov ecx, esi
call fcn.005a7550
mov ecx, esi
call fcn.0057dd70
test eax, eax
je 0x57fdc5
mov ecx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
push 1
push ecx
push eax
mov ecx, esi
call fcn.005a8380
push str.DurationlastTimeStamp__seems_the_flv_file_is_comlete._n
mov ecx, esi
call fcn.005a7550
mov eax, dword [esi + 0x1c4]
mov edx, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1bc]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1b8]
cmp edx, eax
jne 0x57fcd6
mov ebx, dword [ebp - 0x28]
mov edi, ecx
cmp ebx, edi
jne 0x57fcd6
mov edi, eax
or edi, ecx
je 0x57fcd6
mov edi, dword [esi + 0x10]
mov ebx, dword [edi]
test ebx, ebx
je 0x57fc84
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x1c4]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x1c8]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x40], eax
push edx
push 0x1471
mov eax, ebx
push 0x111
push eax
mov dword [ebp - 0x4c], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x14]
cmp dword [edx], 0
je 0x57fcd6
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x238]
mov dword [ebp - 0xd8], eax
mov eax, dword [esi + 0x1c8]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [esi + 0x1c4]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xd4], ecx
mov ecx, dword [edx]
push eax
push 0x1394
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
mov ecx, dword [0x6d24ac]
push edx
push eax
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.005fb90b
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov ecx, esi
push 1
push eax
call fcn.005a7400
mov ecx, dword [esi + 0x1c0]
mov eax, dword [esi + 0x1c4]
mov edi, dword [esi + 0x1b8]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1bc]
cmp ecx, edi
jne 0x57fd30
mov ebx, dword [ebp - 0x28]
mov edx, eax
cmp ebx, edx
je 0x57fe26
mov edx, edi
or edx, eax
je 0x57fe26
mov dword [ebp - 0x58], ecx
mov ecx, dword [esi + 0x1c4]
mov dword [ebp - 0x54], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x334]
xor ecx, ecx
mov edx, eax
mov ebx, ecx
add edx, edi
adc ebx, dword [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x58]
cmp ebx, edx
jne 0x57fd75
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x54]
cmp ebx, edx
je 0x57fe26
mov ebx, dword [esi + 0x1bc]
mov edx, dword [esi + 0x1c4]
add eax, edi
adc ecx, ebx
cmp edx, ecx
jl 0x57fb12
jg 0x57fd9b
cmp dword [esi + 0x1c0], eax
jbe 0x57fb12
lea ecx, [esi + 0x28]
call fcn.0054b770
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, 0x7570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1c4]
mov ecx, dword [esi + 0x1c0]
mov edx, dword [0x6d24a0]
push eax
push ecx
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.005fb90b
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push 1
push ecx
mov ecx, esi
call fcn.005a7400
mov esi, dword [esi + 0x140]
test esi, esi
je 0x57fe05
cmp edi, 0x753c
je 0x57fe07
mov esi, edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
cmp ebx, dword [esi + 0x1a8]
jge 0x57fe9f
mov eax, ebx
mov ecx, dword [esi + 0x248]
shl eax, 5
sub eax, ebx
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
shl eax, 1
sub eax, ebx
lea edi, [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 0x84]
test eax, eax
je 0x57fe9c
mov edx, dword [edi + 0xa0]
mov eax, dword [edx]
cmp dword [eax], 0
je 0x57fe9c
mov ecx, dword [edi + 0x68]
mov eax, dword [edi + 0x6c]
or ecx, eax
je 0x57fe9c
lea eax, [edi + 0x3e8]
mov ecx, edi
push eax
call fcn.00550820
mov edx, dword [edi + 0xa0]
lea eax, [edi + 0x3e8]
push eax
push 0x13ef
mov eax, dword [edx]
push 0x111
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
inc ebx
jmp 0x57fe28
mov ecx, esi
call fcn.005a8a00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret