Function at 0x57ed30
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 0x62cb68
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 0x57ed77
mov dword [esi + 0x28], edi
jmp 0x57efa0
mov edx, dword [eax + 0x2f4]
cmp edx, 4
je 0x57eeff
cmp ecx, 0x40
je 0x57eeff
cmp edx, 0x40
je 0x57eeff
mov ecx, dword [0x6cd768]
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.0046de30
mov ecx, dword [ebp - 0x14]
add esp, 8
push str.googleusercontent.com
push ecx
call fcn.005e7640
mov ecx, dword [esi + 0x1b8]
mov edx, dword [esi + 0x1bc]
add esp, 8
neg eax
sbb eax, eax
inc eax
or ecx, edx
jne 0x57eeee
mov cl, byte [esi + 0x85c]
test cl, cl
jne 0x57eeee
cmp dword [esi + 0x1a4], ebx
jle 0x57eeee
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x157]
test dl, dl
je 0x57eeee
cmp dword [ecx + 0x2fc], edi
jne 0x57eeee
mov ecx, dword [esi + 0x248]
mov dl, byte [ecx + 0xc8]
test dl, dl
je 0x57ee31
cmp eax, edi
je 0x57eeee
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 0x57eeb0
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 0x57eedd
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.00603a3c
jmp 0x57efa0
mov dword [esi + 0x28], edi
mov eax, dword [eax + 0x2ec]
cmp eax, edi
je 0x57efa0
cmp dword [esi + 0x238], edi
je 0x57efa0
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 0x57ef5f
mov eax, dword [eax + 0x50]
cmp eax, edi
je 0x57ef50
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x57ef5f
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 0x57ef7c
cmp eax, 2
je 0x57ef7c
cmp eax, 4
jne 0x57efa0
cmp dword [ecx + 0x8d8], edi
jne 0x57efa0
push str.Starting_audio_thread_r_n
mov ecx, esi
call fcn.005a8330
mov ecx, dword [esi + 0xc]
push 1
mov ecx, dword [ecx + 0x2ec]
call fcn.005b2010
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2fc], edi
je 0x57efbf
mov cl, byte [eax + 0x300]
test cl, cl
je 0x57efbf
mov dword [eax + 0xb0], 1
mov edx, dword [0x6d3510]
push 1
push edx
mov ecx, esi
call fcn.005a81e0
mov ecx, esi
call fcn.005a8d50
mov ecx, esi
call fcn.005a97b0
mov eax, dword [esi + 0x1b4]
add eax, 0xfffffffb
mov dword [esi + 0x1b4], eax
mov eax, dword [0x6cd768]
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.005a84b0
lea eax, [ebp - 0xec]
xor edi, edi
push eax
mov dword [ebp - 0x90], 3
mov dword [ebp - 0x8c], edi
call fcn.005e8b67
lea ecx, [ebp - 0x9c]
push ecx
call fcn.005e8b67
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 0x57f0f9
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 0x57f0f3
mov edx, dword [eax + 0x38c]
inc ebx
test edx, edx
jg 0x57f0f2
mov edx, dword [eax + 0xb0]
cmp dword [edx + 0x24], 2
jne 0x57f0ad
mov edx, dword [eax + 0x343c]
test edx, edx
ja 0x57f0f2
mov dl, byte [eax + 0x3440]
test dl, dl
jne 0x57f0f2
mov edx, dword [eax + 0x184]
test edx, edx
je 0x57f0f3
cmp byte [edx + 0x137], 0
je 0x57f0f3
mov edx, dword [eax + 0x3444]
test edx, edx
je 0x57f0f3
cmp dword [edx + 0x343c], 0
ja 0x57f0f2
cmp byte [eax + 0x3440], 0
jne 0x57f0f2
mov eax, dword [edx + 0x33cc]
test eax, eax
jbe 0x57f0f3
cmp dword [edx + 0x3374], 0x80090318
je 0x57f0f3
inc edi
inc ecx
jmp 0x57f052
cmp edi, 1
jne 0x57f10c
cmp ebx, edi
jne 0x57f10c
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x90], edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x57f17f
lea ecx, [esi + 0x28]
call fcn.0054b6d0
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x2fc], 0x20
jne 0x57f135
mov eax, dword [ecx + 0xf0]
mov ecx, dword [ecx + 0xf4]
jmp 0x57f141
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 0x58047d
mov ecx, esi
call fcn.005a7fe0
test al, al
mov byte [ebp - 0x74], al
je 0x57f1ae
lea eax, [ebp - 0xc8]
push eax
call fcn.005e8b67
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 0x57f331
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 0x57f366
mov ecx, dword [eax + 0x8c]
cmp ecx, 6
jne 0x57f2b5
mov ecx, dword [eax + 0x38c]
test ecx, ecx
jg 0x57f32c
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x57f217
mov ecx, dword [ecx + 0x10]
jmp 0x57f220
mov ecx, dword [eax + 0xb0]
mov ecx, dword [ecx + 0x24]
cmp ecx, 2
jne 0x57f241
mov ecx, dword [eax + 0x343c]
test ecx, ecx
ja 0x57f32c
mov cl, byte [eax + 0x3440]
test cl, cl
jne 0x57f32c
mov ecx, dword [eax + 0x184]
test ecx, ecx
je 0x57f366
cmp byte [ecx + 0x137], 0
je 0x57f366
mov ecx, dword [eax + 0x3444]
test ecx, ecx
je 0x57f366
cmp dword [ecx + 0x343c], 0
ja 0x57f32c
cmp byte [eax + 0x3440], 0
jne 0x57f32c
cmp dword [ecx + 0x33cc], 0
jbe 0x57f299
cmp dword [ecx + 0x3374], ebx
jne 0x57f32c
mov ecx, dword [eax + 0x33cc]
test ecx, ecx
jbe 0x57f366
cmp dword [eax + 0x3374], ebx
je 0x57f366
jmp 0x57f32c
cmp ecx, 0xf
jne 0x57f366
mov ecx, dword [eax + 0x3428]
cmp ecx, 0x90312
je 0x57f2dc
cmp ecx, ebx
je 0x57f2dc
cmp ecx, 0x90320
jne 0x57f366
cmp dword [eax + 0x3430], 0
je 0x57f2e9
cmp ecx, ebx
jne 0x57f32c
mov ecx, dword [eax + 0x3434]
test ecx, ecx
je 0x57f32c
mov ecx, dword [eax + 0x184]
test ecx, ecx
je 0x57f366
cmp byte [ecx + 0x137], 0
je 0x57f366
mov eax, dword [eax + 0x3444]
test eax, eax
je 0x57f366
mov ecx, dword [eax + 0x343c]
test ecx, ecx
ja 0x57f32c
mov ecx, dword [eax + 0x33cc]
test ecx, ecx
jbe 0x57f366
cmp dword [eax + 0x3374], ebx
je 0x57f366
mov edi, 1
mov al, byte [ebp - 0x1d]
xor bl, bl
test al, al
je 0x57f36c
test edi, edi
jne 0x57f37f
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 0x57f37f
inc edx
jmp 0x57f1b7
mov edi, 1
mov dword [ebp - 0x90], 3
mov byte [ebp - 0x1d], 1
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x580475
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
or eax, ecx
jne 0x57f3e1
lea eax, [ebp - 0x9c]
push eax
call fcn.005e8b67
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xec]
sub ecx, edx
add esp, 4
cmp ecx, 0x12c
jle 0x57f3e1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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 0x57f5b1
test edi, edi
je 0x57f5b1
xor edi, edi
cmp edi, dword [esi + 0x1a8]
jge 0x57f5b8
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 0x57f5ab
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x580475
test bl, bl
jne 0x57f5a6
mov eax, dword [ecx + 0x8c]
cmp eax, 6
jne 0x57f52d
mov eax, dword [ecx + 0x38c]
test eax, eax
jg 0x57f5a6
mov eax, dword [ecx + 0xb4]
test eax, eax
je 0x57f47a
mov eax, dword [eax + 0x10]
jmp 0x57f483
mov eax, dword [ecx + 0xb0]
mov eax, dword [eax + 0x24]
cmp eax, 2
jne 0x57f4a4
mov eax, dword [ecx + 0x343c]
test eax, eax
ja 0x57f5a6
mov al, byte [ecx + 0x3440]
test al, al
jne 0x57f5a6
mov eax, dword [ecx + 0x184]
test eax, eax
je 0x57f5ab
mov dl, byte [eax + 0x137]
test dl, dl
je 0x57f5ab
mov eax, dword [ecx + 0x3444]
test eax, eax
je 0x57f5ab
mov edx, dword [eax + 0x343c]
test edx, edx
ja 0x57f5a6
mov dl, byte [ecx + 0x3440]
test dl, dl
jne 0x57f5a6
mov edx, dword [eax + 0x33cc]
test edx, edx
jbe 0x57f504
cmp dword [eax + 0x3374], 0x80090318
jne 0x57f5a6
mov eax, dword [ecx + 0x33cc]
test eax, eax
jbe 0x57f5ab
cmp dword [ecx + 0x3374], 0x80090318
je 0x57f5ab
call fcn.00572a20
inc edi
jmp 0x57f406
cmp eax, 0xf
jne 0x57f5ab
mov eax, dword [ecx + 0x3428]
cmp eax, 0x90312
je 0x57f54d
cmp eax, 0x80090318
je 0x57f54d
cmp eax, 0x90320
jne 0x57f5ab
mov edx, dword [ecx + 0x3430]
test edx, edx
je 0x57f55e
cmp eax, 0x80090318
jne 0x57f5a6
mov eax, dword [ecx + 0x3434]
test eax, eax
je 0x57f5a6
mov eax, dword [ecx + 0x184]
test eax, eax
je 0x57f5ab
mov dl, byte [eax + 0x137]
test dl, dl
je 0x57f5ab
mov eax, dword [ecx + 0x3444]
test eax, eax
je 0x57f5ab
mov edx, dword [eax + 0x343c]
test edx, edx
ja 0x57f5a6
mov edx, dword [eax + 0x33cc]
test edx, edx
jbe 0x57f5ab
cmp dword [eax + 0x3374], 0x80090318
je 0x57f5ab
call fcn.00572a20
inc edi
jmp 0x57f406
mov ecx, esi
call fcn.00580f40
mov ecx, dword [ebp - 0x74]
push ecx
push 0
mov ecx, esi
call fcn.005a8580
lea edx, [ebp - 0xa8]
push edx
call fcn.005e8b67
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 0x57f6af
lea ecx, [ebp - 0x9c]
push ecx
call fcn.005e8b67
add esp, 4
xor ebx, ebx
cmp ebx, dword [esi + 0x1a8]
jge 0x57f6a3
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 0x57f6a0
mov ecx, dword [edi + 0xa0]
mov edx, dword [ecx]
cmp dword [edx], 0
je 0x57f6a0
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x6c]
or eax, ecx
je 0x57f6a0
lea eax, [edi + 0x3e8]
mov ecx, edi
push eax
call fcn.005515d0
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 0x57f62c
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [esi + 0x24]
test edx, edx
jne 0x57f899
mov edi, dword [esi + 0x1c4]
mov ebx, dword [ebp - 0x64]
mov edx, dword [esi + 0x1c0]
cmp ebx, edi
jg 0x57f899
jl 0x57f6dc
cmp dword [ebp - 0x68], edx
jae 0x57f899
cmp dword [ebp - 0x58], edx
jne 0x57f899
cmp dword [ebp - 0x54], edi
jne 0x57f899
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
lea ecx, [ecx + ecx*4]
or edx, edi
lea ecx, [ecx + ecx*4]
jne 0x57f715
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 0x57f8a1
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 [0x63ebf8]
fadd qword [ecx + 0x430]
fcom qword [ecx + 0x450]
fnstsw ax
test ah, 1
je 0x57f751
fstp qword [ebp - 0x88]
jmp 0x57f76b
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 [0x63ebf8]
fadd qword [ecx + 0x428]
fcom qword [ecx + 0x448]
fnstsw ax
test ah, 1
jne 0x57f794
fstp st(0)
fld qword [ecx + 0x448]
fld qword [ebp - 0x88]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x57f7ab
fstp st(0)
fld qword [ebp - 0x88]
fmul qword [0x63f168]
fadd qword [0x63f160]
call fcn.005e7794
mov ecx, dword [ebp - 0x38]
sub ebx, ecx
mov ecx, dword [ebp - 0x34]
sbb edi, ecx
cmp edi, edx
jl 0x57f8a1
jg 0x57f7d8
cmp ebx, eax
jbe 0x57f8a1
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
call fcn.005bb020
cmp eax, edi
je 0x57f8a3
cmp dword [esi + 0x1c], edi
je 0x57f816
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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.005652a0
mov ecx, dword [esi + 0x248]
call fcn.00578630
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 0x57f856
mov ecx, dword [esi + 0x248]
push eax
call fcn.0056b3c0
mov edi, eax
test edi, edi
je 0x57f875
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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 [0x6d3510]
mov eax, dword [esi + 0x1c0]
mov dword [ebp - 0x64], ecx
push 1
push edx
mov ecx, esi
mov dword [ebp - 0x68], eax
call fcn.005a81e0
jmp 0x57f8a1
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 0x57fd1c
mov edx, dword [esi + 0x1bc]
mov ecx, dword [esi + 0x1b8]
mov eax, edx
mov bl, 1
cmp eax, edi
jl 0x57f8e1
jg 0x57f8ce
cmp ecx, 0x32
jbe 0x57f8e1
mov eax, dword [esi + 0x248]
cmp dword [eax + 0x74], edi
jl 0x57f904
jg 0x57f8e1
cmp dword [eax + 0x70], 0x32
jb 0x57f904
cmp edx, edi
jg 0x57f92a
jl 0x57f8ec
cmp ecx, 0x32
ja 0x57f92a
mov eax, dword [esi + 0x248]
mov edi, dword [eax + 0x74]
cmp edi, edx
jg 0x57f928
jl 0x57f902
mov edx, dword [eax + 0x70]
cmp edx, ecx
jae 0x57f928
xor edi, edi
mov cl, byte [eax + 0xc8]
xor bl, bl
test cl, cl
je 0x57f92a
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x4c]
or ecx, edx
jne 0x57f92a
mov cl, byte [eax + 0xc9]
test cl, cl
je 0x57f92a
mov bl, 1
jmp 0x57f92a
xor edi, edi
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x14c]
test ah, 1
je 0x57f9a5
mov edx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
cmp edx, edi
jg 0x57f9a5
jl 0x57f951
cmp eax, 0x7d1
jae 0x57f9a5
mov edx, dword [ecx]
push str.youtube.com
push edx
call fcn.005e72b0
add esp, 8
test eax, eax
jne 0x57f97c
mov eax, dword [esi + 0xc]
push str.googlevideo.com
mov ecx, dword [eax]
push ecx
call fcn.005e72b0
add esp, 8
test eax, eax
je 0x57f9a5
mov ecx, dword [esi + 0x1bc]
mov eax, dword [esi + 0x1b8]
cmp ecx, edi
jl 0x57fd1c
jg 0x57f99d
cmp eax, 0x7d1
jb 0x57fd1c
or eax, ecx
je 0x57fd1c
test bl, bl
je 0x57fd1c
mov dl, byte [esi + 0x240]
mov ecx, dword [esi + 0xc]
push edx
call fcn.005c4f00
mov cl, byte [0x6d2454]
mov dword [ebp - 0x14], eax
test cl, cl
jne 0x57f9d6
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x31e]
test dl, dl
jne 0x57f9e4
mov cl, byte [esi + 0x85c]
test cl, cl
je 0x57fa6b
mov edx, dword [esi + 0xc]
cmp dword [edx + 0xb0], 2
jne 0x57f9f4
cmp eax, edi
je 0x57fa6b
mov ecx, dword [esi + 0x248]
call fcn.005652a0
lea ecx, [esi + 0x28]
call fcn.00542800
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 [0x6d2454]
test al, al
jne 0x58043b
mov eax, dword [esi + 0xc]
mov cl, byte [eax + 0x31e]
test cl, cl
je 0x58043b
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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 0x57faef
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 0x57faef
mov ebx, dword [ebx + 0xbc]
test ebx, ebx
je 0x57faad
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
call fcn.005e9510
add esp, 0xc
test eax, eax
je 0x57faef
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x57face
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 0x57faef
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 0x57fd1c
mov eax, dword [esi + 0x13c]
test eax, eax
jne 0x57fca2
mov al, byte [0x6d2454]
test al, al
jne 0x57fc10
mov eax, dword [esi + 0xc]
mov byte [ebp - 0x1e], 0
mov edx, dword [eax + 0xbc]
test edx, edx
je 0x57fb73
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 0x57fb73
mov edi, edx
mov eax, ebx
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x57fb66
test cl, cl
je 0x57fb62
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x57fb66
add eax, 2
add edi, 2
test cl, cl
jne 0x57fb3e
xor eax, eax
jmp 0x57fb6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x57fb73
mov byte [ebp - 0x1e], 1
mov edi, dword [esi + 0x1bc]
mov edx, dword [esi + 0x1b8]
xor ebx, ebx
cmp edi, ebx
jl 0x57fbac
jg 0x57fb8b
cmp edx, ebx
jbe 0x57fbac
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xe8]
mov eax, dword [eax + 0xec]
cmp eax, ebx
jl 0x57fbac
jg 0x57fba4
cmp ecx, ebx
jbe 0x57fbac
cmp ecx, edx
jne 0x57fbb3
cmp eax, edi
jne 0x57fbb3
mov al, byte [ebp - 0x1e]
test al, al
je 0x57fc10
mov eax, dword [esi + 0xc]
push 0x6d1c98
lea ecx, [eax + 0xe4]
call fcn.00603bc5
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 [0x6d2d10]
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.00603a3c
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 0x57fca2
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x57fc29
mov eax, ecx
jmp 0x57fc2c
add eax, 0x38
push 0x2e
push eax
call fcn.005e710f
mov edi, eax
add esp, 8
test edi, edi
je 0x57fca2
push 0x6a9440
push edi
call fcn.005e985c
add esp, 8
test eax, eax
je 0x57fca2
push 0x6a7b1c
push edi
call fcn.005e985c
add esp, 8
test eax, eax
je 0x57fca2
mov ecx, dword [esi + 0xc]
mov eax, dword [0x6d349c]
push 0x50004
mov edx, dword [ecx + 8]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x57fca2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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 0x57fd1c
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x57fcb7
mov eax, ecx
jmp 0x57fcba
add eax, 0x38
push 0x2e
push eax
call fcn.005e710f
mov edi, eax
add esp, 8
test edi, edi
je 0x57fd1c
push 0x6a9440
push edi
call fcn.005e985c
add esp, 8
test eax, eax
je 0x57fd1c
push 0x6a7b1c
push edi
call fcn.005e985c
add esp, 8
test eax, eax
je 0x57fd1c
mov ecx, dword [esi + 0xc]
call fcn.005c5020
mov edi, eax
test edi, edi
je 0x57fd1c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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 0x57ff4a
mov ecx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
test ecx, ecx
jl 0x57ff4a
jg 0x57fd48
cmp eax, 0x400
jbe 0x57ff4a
mov ecx, esi
call fcn.005a7fa0
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x60], eax
push ecx
mov ebx, edx
call fcn.005e8b67
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 0x57ff4a
jg 0x57fd95
test eax, eax
jbe 0x57ff4a
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 0x57fdd7
mov dword [ebp - 0x14], 1
fild qword [ebp - 0xb0]
fmul dword [0x636a28]
fidiv dword [ebp - 0x14]
call fcn.005e7794
mov edi, edx
mov ecx, eax
cmp edi, ebx
jl 0x57ff4a
jg 0x57fe02
cmp ecx, dword [ebp - 0x60]
jbe 0x57ff4a
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.005e9a70
mov ecx, dword [ebp - 0x60]
push ebx
push ecx
push edx
push eax
call fcn.005e9080
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.005e9080
cmp dword [ebp - 0x78], edx
jg 0x57fe60
jl 0x57fe4b
cmp dword [ebp - 0x7c], eax
jae 0x57fe60
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
jmp 0x57fe8e
mov ecx, dword [ebp - 0x60]
push 0
push 9
push ebx
push ecx
call fcn.005e9a70
push 0
push 0xa
push edx
push eax
call fcn.005e9080
cmp dword [ebp - 0x78], edx
jg 0x57fe8e
jl 0x57fe85
cmp dword [ebp - 0x7c], eax
jae 0x57fe8e
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
cmp edi, 0x2ee0
jle 0x57fe9d
mov edi, 0x2ee0
jmp 0x57fea5
test edi, edi
jle 0x57ff4a
mov eax, dword [esi + 0x858]
cmp eax, 0xffffffff
je 0x57ff43
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 0x57fefc
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 0x57ff4a
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00580c90
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x58045d
cmp eax, 1
jne 0x580470
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2fc], ebx
je 0x580470
mov cl, byte [eax + 0x300]
test cl, cl
je 0x580470
cmp dword [esi + 0x40], ebx
jne 0x580470
mov ecx, dword [esi + 0x248]
add ecx, 0x10
call fcn.00555be0
mov eax, dword [0x6cd768]
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.00582290
mov edx, dword [esi + 0xc]
mov al, byte [edx + 0x317]
test al, al
je 0x57ffc8
mov ecx, esi
call fcn.00581050
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2fc], 0x20
jne 0x580071
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x28]
push eax
mov dword [ecx], ebx
call fcn.00544020
cmp eax, ebx
jg 0x580038
mov ecx, dword [0x6cd768]
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.005fc86b
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.005a8330
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00603a3c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00603a3c
mov dword [ebp - 0x14], 0x753c
jmp 0x580470
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + 0x20]
mov edx, eax
mov ecx, dword [ecx + 0x24]
or edx, ecx
je 0x5801a2
mov edx, dword [esi + 0xc]
mov dword [edx + 0xf0], eax
mov dword [edx + 0xf4], ecx
mov ecx, esi
call fcn.005a8fe0
mov ecx, dword [esi + 0x248]
call fcn.00551540
jmp 0x5801a2
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.005443b0
cmp eax, ebx
je 0x580020
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x2fc], 8
jne 0x5800e9
mov edx, dword [esi + 0xb0]
mov ecx, dword [esi + 0x248]
add ecx, 0x10
mov eax, dword [edx + 0x10]
push eax
call fcn.00555c00
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.00555be0
cmp dword [ebp - 0x30], ebx
je 0x580172
mov dword [esi + 0x140], 0x7582
jmp 0x580020
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [esi + 0x248]
add ecx, 0x10
call fcn.00555c00
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.005561e0
mov edi, eax
mov eax, dword [ebp - 0x24]
cmp eax, 0xd
je 0x58015c
xor edi, edi
mov ecx, dword [esi + 0x248]
add ecx, 0x10
call fcn.00555be0
cmp edi, ebx
je 0x580020
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
cmp dword [ecx + 0x2fc], 8
jne 0x580192
mov dword [esi + 0x1c0], ebx
jmp 0x58019c
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.005a9160
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 0x5801e1
mov eax, ecx
cmp eax, ebx
mov dword [esi + 0x1a8], eax
jne 0x5801f1
mov dword [esi + 0x1a8], edi
mov al, byte [0x6d2454]
test al, al
jne 0x58020b
mov edx, dword [esi + 0xc]
mov al, byte [edx + 0x31e]
test al, al
jne 0x580395
mov al, byte [esi + 0x85c]
test al, al
jne 0x580395
mov eax, dword [esi + 0x248]
push ebx
push ebx
push ebx
push eax
lea ecx, [esi + 0x28]
call fcn.00545420
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 0x58028e
mov eax, dword [eax + 0x10]
jmp 0x580294
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x24]
cmp eax, 2
jne 0x5802d2
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x410], ebx
je 0x5802ac
cmp dword [ecx + 0x198], ebx
jne 0x5802d2
call fcn.005c5f00
cmp eax, ebx
jne 0x5802d2
mov eax, dword [0x6d3410]
mov ecx, dword [esi + 0x20]
push eax
call fcn.005559f0
mov dword [esi + 0x140], 0x756c
jmp 0x580020
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 0x580342
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 0x580395
mov eax, dword [esi + 0x24c]
cmp eax, 0x80
jae 0x58036e
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 0x580395
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.00603a3c
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.005a8ef0
mov al, byte [0x6d2454]
test al, al
jne 0x5803ea
mov edx, dword [esi + 0xc]
mov cl, byte [edx + 0x31e]
test cl, cl
jne 0x5803f8
mov cl, byte [esi + 0x85c]
test cl, cl
je 0x58045d
test al, al
jne 0x580427
mov eax, dword [esi + 0xc]
mov cl, byte [eax + 0x31e]
test cl, cl
je 0x580427
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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.00542800
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c4], ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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.00581430
mov ecx, esi
call fcn.005a97e0
jmp 0x57f10c
cmp dword [esi + 0x1c], ebx
je 0x58049f
lea ecx, [esi + 0x28]
call fcn.0054b6d0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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.005a8330
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x14c]
test ah, 1
je 0x58091b
mov edx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
test edx, edx
jg 0x58091b
jl 0x5804de
cmp eax, 0x7d1
jae 0x58091b
mov ecx, dword [ecx]
push str.youtube.com
push ecx
call fcn.005e72b0
add esp, 8
test eax, eax
jne 0x58050d
mov edx, dword [esi + 0xc]
push str.googlevideo.com
mov eax, dword [edx]
push eax
call fcn.005e72b0
add esp, 8
test eax, eax
je 0x58091b
push str.http:rcd__Check_for_redirect__s1_r_n
mov ecx, esi
call fcn.005a8330
mov edx, dword [esi + 0x1c0]
mov eax, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1bc]
cmp edx, eax
mov dword [ebp - 0x30], 0
jne 0x58053e
cmp dword [esi + 0x1c4], ecx
je 0x580546
or eax, ecx
jne 0x58091b
mov ecx, dword [esi + 0x248]
add ecx, 0x10
call fcn.00555be0
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x317]
test al, al
je 0x580568
mov ecx, esi
call fcn.00581050
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 0x58061b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
mov dword [esi + 0x140], eax
je 0x5805b1
cmp eax, 5
jne 0x5808e2
mov ecx, dword [0x6cd768]
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.005fc86b
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.005a8330
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.00603a3c
cmp ebx, 0xffffffff
je 0x5808e2
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 0x58064a
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x317]
test al, al
je 0x58066e
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
mov dword [ebp - 0x1c], edi
jne 0x58066e
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 0x5806a3
push eax
mov byte [ebp - 4], 6
call fcn.005ffe68
add esp, 4
jmp 0x58069c
mov dword [ebp - 4], 2
lea ecx, [edi + 1]
push ecx
call fcn.005ffe3f
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 0x5807ba
push str.Check_for_redirect__s2_r_n
mov ecx, esi
call fcn.005a8330
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 0x580876
cmp dword [ebp - 0x1c], edi
jne 0x580876
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.005a8330
mov eax, dword [esi + 0x248]
mov ecx, dword [eax + 0x31d8]
push ecx
mov ecx, esi
call fcn.005a8330
push 0x6a1db0
mov ecx, esi
call fcn.005a8330
mov edx, dword [esi + 0x248]
push 7
push 0x6a110c
mov eax, dword [edx + 0x31d8]
push eax
call fcn.005e9510
add esp, 0xc
test eax, eax
je 0x58085f
mov ecx, dword [esi + 0x248]
push 8
push 0x6a1100
mov edx, dword [ecx + 0x31d8]
push edx
call fcn.005e9510
add esp, 0xc
test eax, eax
je 0x58085f
mov eax, dword [esi + 0x248]
mov eax, dword [eax + 0x31d8]
push eax
call fcn.005ffe68
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 0x58091b
push str.http:rcd__Redirect_found_r_n
mov ecx, esi
call fcn.005a8330
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.0054b6d0
mov ecx, ebx
call fcn.00542800
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.00578630
push 1
push edi
push edi
mov ecx, esi
call fcn.005a9160
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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.00567870
mov dword [ebp - 0x30], 1
jmp 0x5807ba
mov edx, dword [0x6cd768]
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.005fc86b
mov eax, dword [ebp - 0x14]
add esp, 0x18
mov ecx, esi
push eax
call fcn.005a8330
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00603a3c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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 [0x6cd768]
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.005fc86b
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, esi
push edx
call fcn.005a8330
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
jmp 0x5808bd
mov edi, dword [ebp - 0x14]
cmp edi, 0x753c
je 0x58092f
cmp edi, 0xffffffff
jne 0x5809bf
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x14c]
test ch, 1
je 0x580b75
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x580b75
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
or eax, ecx
je 0x580b75
mov ecx, dword [esi + 0x1bc]
mov eax, dword [esi + 0x1b8]
test ecx, ecx
jl 0x580b75
jg 0x580981
cmp eax, 0x40000000
jbe 0x580b75
push str.Checking_flv_file_struct._n
mov ecx, esi
call fcn.005a8330
mov ecx, esi
call fcn.0057eb20
test eax, eax
je 0x580b75
mov ecx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
push 1
push ecx
push eax
mov ecx, esi
call fcn.005a9160
push str.DurationlastTimeStamp__seems_the_flv_file_is_comlete._n
mov ecx, esi
call fcn.005a8330
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 0x580a86
mov ebx, dword [ebp - 0x28]
mov edi, ecx
cmp ebx, edi
jne 0x580a86
mov edi, eax
or edi, ecx
je 0x580a86
mov edi, dword [esi + 0x10]
mov ebx, dword [edi]
test ebx, ebx
je 0x580a34
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 0x580a86
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 [0x6d3514]
push edx
push eax
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.005fc86b
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov ecx, esi
push 1
push eax
call fcn.005a81e0
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 0x580ae0
mov ebx, dword [ebp - 0x28]
mov edx, eax
cmp ebx, edx
je 0x580bd6
mov edx, edi
or edx, eax
je 0x580bd6
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 0x580b25
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x54]
cmp ebx, edx
je 0x580bd6
mov ebx, dword [esi + 0x1bc]
mov edx, dword [esi + 0x1c4]
add eax, edi
adc ecx, ebx
cmp edx, ecx
jl 0x5808c2
jg 0x580b4b
cmp dword [esi + 0x1c0], eax
jbe 0x5808c2
lea ecx, [esi + 0x28]
call fcn.0054c520
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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 [0x6d3508]
push eax
push ecx
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.005fc86b
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push 1
push ecx
mov ecx, esi
call fcn.005a81e0
mov esi, dword [esi + 0x140]
test esi, esi
je 0x580bb5
cmp edi, 0x753c
je 0x580bb7
mov esi, edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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 0x580c4f
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 0x580c4c
mov edx, dword [edi + 0xa0]
mov eax, dword [edx]
cmp dword [eax], 0
je 0x580c4c
mov ecx, dword [edi + 0x68]
mov eax, dword [edi + 0x6c]
or ecx, eax
je 0x580c4c
lea eax, [edi + 0x3e8]
mov ecx, edi
push eax
call fcn.005515d0
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 0x580bd8
mov ecx, esi
call fcn.005a97e0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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