Function at 0x5619c0
Capabilities:
Clear file content
Get socket status
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a2a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x8c], esi
mov dword [ebp - 4], ebx
cmp dword [ecx + 0x2e0], 4
jne 0x561a41
mov dword [esi + 0x48], ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x2d8]
cmp ecx, ebx
je 0x561b53
mov eax, dword [ecx + 0x8bc]
cmp eax, ebx
je 0x561a29
cmp eax, 2
je 0x561a29
cmp eax, 4
jne 0x561b53
cmp dword [ecx + 0x8c0], ebx
jne 0x561b53
push 1
call fcn.00591460
jmp 0x561b53
mov eax, dword [esi + 0x1c8]
mov edx, dword [esi + 0x1cc]
or eax, edx
jne 0x561b53
mov al, byte [esi + 0x86c]
test al, al
jne 0x561b53
mov edx, dword [esi + 0x1b4]
mov eax, 1
cmp edx, eax
jle 0x561b53
mov dl, byte [ecx + 0x14f]
test dl, dl
je 0x561b53
cmp dword [ecx + 0x2e8], ebx
jne 0x561b53
mov ecx, dword [esi + 0x258]
mov dword [ecx + 0x34c4], eax
mov edx, dword [esi + 0x258]
mov dword [edx + 0x34a8], ebx
mov dword [edx + 0x34ac], ebx
mov eax, dword [esi + 0x258]
mov dword [eax + 0x3490], ebx
mov dword [eax + 0x3494], ebx
mov ecx, dword [esi + 0x258]
mov byte [ecx + 0x6627], 1
mov eax, dword [esi + 0x258]
mov edx, dword [eax + 0x3440]
lea ecx, [eax + 0x3440]
add eax, 0x6618
push eax
call dword [edx + 0x14]
mov eax, dword [esi + 0x460]
cmp eax, 0x80
jae 0x561b15
mov ecx, dword [esi + 0x258]
mov edx, dword [ecx + 0x6618]
mov dword [esi + eax*4 + 0x464], edx
mov eax, dword [esi + 0x460]
inc eax
mov dword [esi + 0x460], eax
mov eax, dword [esi + 0x664]
cmp eax, 0x80
jae 0x561b42
mov ecx, dword [esi + 0x258]
mov edx, dword [ecx + 0x6618]
mov dword [esi + eax*4 + 0x668], edx
mov eax, dword [esi + 0x664]
inc eax
mov dword [esi + 0x664], eax
mov eax, 2
mov dword [esi + 0x1c0], eax
mov dword [esi + 0x1b8], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2e8], ebx
je 0x561b72
mov cl, byte [eax + 0x2ec]
test cl, cl
je 0x561b72
mov dword [eax + 0xb0], 1
mov eax, dword [0x6cfec8]
push 1
push eax
mov ecx, esi
call fcn.00588180
mov ecx, esi
call fcn.00588c30
mov ecx, esi
call fcn.005895a0
mov eax, dword [esi + 0x1c4]
mov ecx, dword [esi + 0x1d0]
mov edx, dword [esi + 0x1d4]
add eax, 0xfffffffb
mov dword [ebp - 0x6c], ecx
mov ecx, esi
mov dword [esi + 0x1c4], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x68], edx
call fcn.00588430
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x7c], 3
push eax
mov dword [ebp - 0x78], ebx
call fcn.005c652c
lea ecx, [ebp - 0x88]
push ecx
call fcn.005c652c
add esp, 8
xor edi, edi
xor edx, edx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x15], 1
xor eax, eax
cmp eax, dword [esi + 0x1b8]
jge 0x561c4b
lea ecx, [eax + eax*2]
mov ebx, dword [esi + 0x258]
lea ecx, [eax + ecx*4]
shl ecx, 4
add ecx, eax
shl ecx, 6
add ecx, ebx
mov ebx, dword [ecx + 0x84]
test ebx, ebx
je 0x561c46
mov ebx, dword [ecx + 0x384]
inc edx
test ebx, ebx
jg 0x561c45
mov ebx, dword [ecx + 0xb0]
cmp dword [ebx + 0x24], 2
jne 0x561c46
mov ebx, dword [ecx + 0x3434]
test ebx, ebx
ja 0x561c45
mov bl, byte [ecx + 0x3438]
test bl, bl
je 0x561c46
inc edi
inc eax
xor ebx, ebx
jmp 0x561bf2
cmp edi, 1
jne 0x561c5b
cmp edx, edi
jne 0x561c5b
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x7c], edi
cmp dword [esi + 0x38], ebx
je 0x561cbe
lea ecx, [esi + 0x48]
call fcn.00532f30
mov edx, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1cc]
lea eax, [esi + 0x20]
mov dword [esi + 0x30], ebx
push eax
push 0x1471
mov dword [eax], edx
mov edx, dword [esi + 0x1d0]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x1d4]
mov dword [esi + 0x28], edx
mov edx, dword [esi + 0x10]
mov dword [esi + 0x2c], ecx
push 0x111
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
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, esi
call fcn.00588010
test al, al
mov byte [ebp - 0x1c], al
je 0x561ced
lea ecx, [ebp - 0xb8]
push ecx
call fcn.005c652c
mov edx, dword [esi + 0x1d0]
mov eax, dword [esi + 0x1d4]
add esp, 4
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], eax
xor edi, edi
xor ecx, ecx
cmp ecx, dword [esi + 0x1b8]
jge 0x561d5c
lea edx, [ecx + ecx*2]
lea eax, [ecx + edx*4]
mov edx, dword [esi + 0x258]
shl eax, 4
add eax, ecx
shl eax, 6
add eax, edx
cmp dword [eax + 0x84], ebx
je 0x561d8e
cmp dword [eax + 0x8c], 6
jne 0x561d8e
cmp dword [eax + 0x384], ebx
jg 0x561d57
mov edx, dword [eax + 0xb4]
cmp edx, ebx
je 0x561d37
mov edx, dword [edx + 0x10]
jmp 0x561d40
mov edx, dword [eax + 0xb0]
mov edx, dword [edx + 0x24]
cmp edx, 2
jne 0x561d8e
cmp dword [eax + 0x3434], ebx
ja 0x561d57
mov dl, byte [eax + 0x3438]
test dl, dl
je 0x561d8e
mov edi, 1
mov al, byte [ebp - 0x15]
xor bl, bl
test al, al
je 0x561d94
test edi, edi
jne 0x561da4
lea eax, [ebp - 0x7c]
lea ecx, [esi + 0x664]
push eax
lea edx, [esi + 0x460]
push ecx
lea eax, [esi + 0x25c]
push edx
push eax
push edi
call sub.WS2_32.dll_select
mov edi, eax
mov bl, 1
jmp 0x561da4
inc ecx
jmp 0x561cf1
mov edi, 1
mov dword [ebp - 0x7c], 3
mov byte [ebp - 0x15], 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x561dc9
lea ecx, [esi + 0x48]
call fcn.00532f30
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 + 0x1d0]
mov ecx, dword [esi + 0x1d4]
or eax, ecx
jne 0x561e14
lea ecx, [ebp - 0x88]
push ecx
call fcn.005c652c
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc4]
sub edx, ecx
add esp, 4
cmp edx, 0x12c
jle 0x561e14
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 eax, dword [esi + 0x1d0]
mov ecx, dword [esi + 0x1d4]
cmp edi, 0xffffffff
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
je 0x561edd
test edi, edi
je 0x561edd
xor edi, edi
cmp edi, dword [esi + 0x1b8]
jge 0x561ee4
lea edx, [edi + edi*2]
mov ecx, dword [esi + 0x258]
lea eax, [edi + edx*4]
shl eax, 4
add eax, edi
shl eax, 6
add ecx, eax
mov eax, dword [ecx + 0x84]
test eax, eax
je 0x561ed7
mov eax, dword [esi + 0x38]
test eax, eax
je 0x561e8a
lea ecx, [esi + 0x48]
call fcn.00532f30
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
test bl, bl
jne 0x561ed2
cmp dword [ecx + 0x8c], 6
jne 0x561ed7
mov eax, dword [ecx + 0x384]
test eax, eax
jg 0x561ed2
mov eax, dword [ecx + 0xb4]
test eax, eax
je 0x561eb0
mov eax, dword [eax + 0x10]
jmp 0x561eb9
mov edx, dword [ecx + 0xb0]
mov eax, dword [edx + 0x24]
cmp eax, 2
jne 0x561ed7
mov eax, dword [ecx + 0x3434]
test eax, eax
ja 0x561ed2
mov al, byte [ecx + 0x3438]
test al, al
je 0x561ed7
call fcn.00557230
inc edi
jmp 0x561e39
mov ecx, esi
call fcn.00563380
mov eax, dword [ebp - 0x1c]
mov ecx, esi
push eax
push 0
call fcn.00588500
lea ecx, [ebp - 0x98]
push ecx
call fcn.005c652c
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x88]
mov eax, ecx
add esp, 4
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x84]
shl edx, 3
and eax, 0xffff
sub edx, eax
mov eax, dword [ebp - 0x94]
mov edi, eax
and edi, 0xffff
add edx, edi
cmp edx, 0xfa
jl 0x561fd6
lea ecx, [ebp - 0x88]
push ecx
call fcn.005c652c
add esp, 4
xor ebx, ebx
cmp ebx, dword [esi + 0x1b8]
jge 0x561fca
lea edx, [ebx + ebx*2]
mov ecx, dword [esi + 0x258]
lea eax, [ebx + edx*4]
shl eax, 4
add eax, ebx
shl eax, 6
lea edi, [eax + ecx]
mov eax, dword [eax + ecx + 0x84]
test eax, eax
je 0x561fc7
mov edx, dword [edi + 0xa0]
mov eax, dword [edx]
cmp dword [eax], 0
je 0x561fc7
mov ecx, dword [edi + 0x68]
mov eax, dword [edi + 0x6c]
or ecx, eax
je 0x561fc7
lea eax, [edi + 0x3e0]
mov ecx, edi
push eax
call fcn.00538260
mov edx, dword [edi + 0xa0]
lea eax, [edi + 0x3e0]
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 0x561f56
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x98]
mov edx, dword [esi + 0x40]
test edx, edx
jne 0x562189
mov edi, dword [esi + 0x1d4]
mov ebx, dword [ebp - 0x68]
mov edx, dword [esi + 0x1d0]
cmp ebx, edi
jg 0x562189
jl 0x562003
cmp dword [ebp - 0x6c], edx
jae 0x562189
cmp dword [ebp - 0x4c], edx
jne 0x562189
cmp dword [ebp - 0x48], edi
jne 0x562189
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
lea ecx, [ecx + ecx*4]
or edx, edi
lea ecx, [ecx + ecx*4]
jne 0x56203c
lea ecx, [ecx + ecx*4]
and eax, 0xffff
lea eax, [eax + ecx*8]
cdq
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
jmp 0x562191
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0xc]
and eax, 0xffff
fld qword [ecx + 0x428]
fsqrt
lea eax, [eax + edx*8]
cdq
mov edi, eax
mov ebx, edx
fmul qword [0x63b0f0]
fadd qword [ecx + 0x418]
fcom qword [ecx + 0x438]
fnstsw ax
test ah, 1
je 0x562075
fstp qword [ebp - 0x74]
jmp 0x562089
mov eax, dword [ecx + 0x438]
mov edx, dword [ecx + 0x43c]
fstp st(0)
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
fld qword [ecx + 0x420]
fsqrt
fmul qword [0x63b0f0]
fadd qword [ecx + 0x410]
fcom qword [ecx + 0x430]
fnstsw ax
test ah, 1
jne 0x5620b2
fstp st(0)
fld qword [ecx + 0x430]
fld qword [ebp - 0x74]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5620c3
fstp st(0)
fld qword [ebp - 0x74]
fmul qword [0x63bc50]
fadd qword [0x63bc48]
call fcn.005c5038
mov ecx, dword [ebp - 0x24]
sub edi, ecx
mov ecx, dword [ebp - 0x20]
sbb ebx, ecx
cmp ebx, edx
jl 0x562191
jg 0x5620f0
cmp edi, eax
jbe 0x562191
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.005999f0
cmp eax, edi
je 0x562191
cmp dword [esi + 0x38], edi
je 0x562122
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 + 0x258]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x258]
call fcn.0055bd40
mov ecx, dword [esi + 0x258]
mov edx, dword [ecx]
lea eax, [ecx + 0x31d8]
push eax
call dword [edx + 0x14]
cmp eax, edi
jne 0x5630bc
mov ecx, dword [esi + 0x258]
push edi
call fcn.00550960
cmp eax, edi
jne 0x5630bc
mov ecx, dword [esi + 0x1d0]
mov eax, dword [0x6cfec8]
mov edx, dword [esi + 0x1d4]
mov dword [ebp - 0x6c], ecx
push 1
push eax
mov ecx, esi
mov dword [ebp - 0x68], edx
call fcn.00588180
jmp 0x562191
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0xb0], 2
jne 0x5625c4
mov edi, dword [esi + 0x1cc]
mov edx, dword [esi + 0x1c8]
mov eax, edi
test eax, eax
jl 0x5621cf
jg 0x5621ba
cmp edx, 0x32
jbe 0x5621cf
mov eax, dword [esi + 0x258]
mov ebx, dword [eax + 0x74]
test ebx, ebx
jl 0x5621f0
jg 0x5621cf
cmp dword [eax + 0x70], 0x32
jb 0x5621f0
test edi, edi
jg 0x56221a
jl 0x5621da
cmp edx, 0x32
ja 0x56221a
mov eax, dword [esi + 0x258]
mov ebx, dword [eax + 0x74]
cmp ebx, edi
jg 0x56221a
jl 0x5621f0
mov edi, dword [eax + 0x70]
cmp edi, edx
jae 0x56221a
mov dl, byte [eax + 0xc8]
test dl, dl
je 0x5625c4
mov edx, dword [eax + 0x48]
mov edi, dword [eax + 0x4c]
or edx, edi
jne 0x5625c4
mov dl, byte [eax + 0xc9]
test dl, dl
je 0x5625c4
mov al, byte [esi + 0x86e]
push eax
call fcn.005a2e30
mov cl, byte [0x6cef6c]
mov dword [ebp - 0x14], eax
test cl, cl
jne 0x562240
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x309]
test dl, dl
jne 0x56224e
mov cl, byte [esi + 0x86c]
test cl, cl
je 0x5622cf
mov edx, dword [esi + 0xc]
cmp dword [edx + 0xb0], 2
jne 0x562262
xor edi, edi
cmp eax, edi
je 0x5622d1
jmp 0x562264
xor edi, edi
mov ecx, dword [esi + 0x258]
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [esi + 0x48]
call fcn.0052b260
mov dword [esi + 0xe8], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0x1d0], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0x1d4], edi
mov al, byte [0x6cef6c]
test al, al
jne 0x562baa
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x309]
test al, al
je 0x562baa
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
xor edi, edi
cmp dword [esi + 0xd8], edi
jle 0x562355
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 0x562355
mov ebx, dword [ebx + 0xbc]
test ebx, ebx
je 0x562313
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
call fcn.005c6ee0
add esp, 0xc
test eax, eax
je 0x562355
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
test eax, eax
je 0x562334
mov ecx, dword [esi + 0xd8]
push ecx
push 0x13f8
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x18]
mov eax, dword [edx]
test eax, eax
je 0x562355
mov ecx, dword [esi + 0xd8]
push ecx
push 0x13f8
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xc]
xor bl, bl
mov ecx, dword [eax + 0x144]
test ch, 1
je 0x5623c9
mov edx, dword [esi + 0x1d4]
mov ecx, dword [esi + 0x1d0]
test edx, edx
jg 0x5623c9
jl 0x56237f
cmp ecx, 0x7d1
jae 0x5623c9
mov edx, dword [eax]
push str.youtube.com
push edx
call fcn.005c4c40
add esp, 8
test eax, eax
je 0x5623aa
mov eax, dword [esi + 0xc]
push str.googlevideo.com
mov ecx, dword [eax]
push ecx
call fcn.005c4c40
add esp, 8
test eax, eax
jne 0x5623c9
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x1c8]
test ecx, ecx
jl 0x5623c7
jg 0x5623c3
cmp eax, 0x7d1
jb 0x5623c7
or eax, ecx
jne 0x5623c9
mov bl, 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5625c4
test bl, bl
jne 0x5625c4
mov eax, dword [esi + 0x15c]
test eax, eax
jne 0x562567
mov al, byte [0x6cef6c]
test al, al
jne 0x5624e5
mov eax, dword [esi + 0xc]
mov byte [ebp - 0x16], bl
mov edx, dword [eax + 0xbc]
test edx, edx
je 0x562454
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 0x562454
mov edi, edx
mov eax, ebx
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x562447
test cl, cl
je 0x562443
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x562447
add eax, 2
add edi, 2
test cl, cl
jne 0x56241f
xor eax, eax
jmp 0x56244c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x562454
mov byte [ebp - 0x16], 1
mov edi, dword [esi + 0x1cc]
mov edx, dword [esi + 0x1c8]
xor ebx, ebx
cmp edi, ebx
jl 0x56248d
jg 0x56246c
cmp edx, ebx
jbe 0x56248d
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xe8]
mov eax, dword [eax + 0xec]
cmp eax, ebx
jl 0x56248d
jg 0x562485
cmp ecx, ebx
jbe 0x56248d
cmp ecx, edx
jne 0x562494
cmp eax, edi
jne 0x562494
mov al, byte [ebp - 0x16]
test al, al
je 0x5624e5
mov eax, dword [esi + 0xc]
push 0x6ce7c8
lea ecx, [eax + 0xe4]
call fcn.005e1315
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 [0x6cf6c8]
mov edx, dword [ecx + 8]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
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 0x562567
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x5624fa
mov eax, ecx
jmp 0x5624fd
add eax, 0x38
push 0x2e
push eax
call fcn.005c4a9a
mov edi, eax
add esp, 8
test edi, edi
je 0x562567
push 0x6a7c00
push edi
call fcn.005c722c
add esp, 8
test eax, eax
je 0x562567
push 0x6a6314
push edi
call fcn.005c722c
add esp, 8
test eax, eax
je 0x562567
mov ecx, dword [esi + 0xc]
mov eax, dword [0x6cfe54]
push 0x50004
mov edx, dword [ecx + 8]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x562567
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 0x5625c4
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x56257c
mov eax, ecx
jmp 0x56257f
add eax, 0x38
push 0x2e
push eax
call fcn.005c4a9a
mov edi, eax
add esp, 8
test edi, edi
je 0x5625c4
push 0x6a7c00
push edi
call fcn.005c722c
add esp, 8
test eax, eax
je 0x5625c4
push 0x6a6314
push edi
call fcn.005c722c
add esp, 8
test eax, eax
je 0x5625c4
mov ecx, dword [esi + 0xc]
call fcn.005a2f50
test eax, eax
jne 0x5630bc
mov al, byte [ebp - 0x1c]
test al, al
je 0x5627f2
mov ecx, dword [esi + 0x1d4]
mov eax, dword [esi + 0x1d0]
test ecx, ecx
jl 0x5627f2
jg 0x5625f0
cmp eax, 0x400
jbe 0x5627f2
mov ecx, esi
call fcn.00587fd0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x5c], eax
push ecx
mov ebx, edx
call fcn.005c652c
mov eax, dword [esi + 0x1d0]
mov edi, dword [ebp - 0x64]
mov ecx, dword [esi + 0x1d4]
mov edx, dword [ebp - 0x60]
add esp, 4
sub eax, edi
sbb ecx, edx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
js 0x5627f2
jg 0x56263d
test eax, eax
jbe 0x5627f2
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 0xb8]
sub eax, edx
mov edx, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xa8]
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 0x56267f
mov dword [ebp - 0x14], 1
fild qword [ebp - 0xa0]
fmul dword [0x61cf74]
fidiv dword [ebp - 0x14]
call fcn.005c5038
mov edi, edx
mov ecx, eax
cmp edi, ebx
jl 0x5627f2
jg 0x5626aa
cmp ecx, dword [ebp - 0x5c]
jbe 0x5627f2
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x14]
sub ecx, edx
cdq
sbb edi, ebx
push edx
push eax
push edi
push ecx
call fcn.005c7440
mov ecx, dword [ebp - 0x5c]
push ebx
push ecx
push edx
push eax
call fcn.005c6a70
mov edi, eax
mov eax, dword [esi + 0x1d8]
cdq
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x5c]
push 0
push 2
push ebx
push edx
mov dword [ebp - 0x54], eax
call fcn.005c6a70
cmp dword [ebp - 0x50], edx
jg 0x562708
jl 0x5626f3
cmp dword [ebp - 0x54], eax
jae 0x562708
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
jmp 0x562736
mov ecx, dword [ebp - 0x5c]
push 0
push 9
push ebx
push ecx
call fcn.005c7440
push 0
push 0xa
push edx
push eax
call fcn.005c6a70
cmp dword [ebp - 0x50], edx
jg 0x562736
jl 0x56272d
cmp dword [ebp - 0x54], eax
jae 0x562736
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
cmp edi, 0x2ee0
jle 0x562745
mov edi, 0x2ee0
jmp 0x56274d
test edi, edi
jle 0x5627f2
mov eax, dword [esi + 0x868]
cmp eax, 0xffffffff
je 0x5627eb
lea ecx, [esi + 0x25c]
lea ebx, [esi + 0x664]
mov dword [esi + 0x460], 0
mov dword [ecx], 0
mov dword [ebx], 0
mov dword [esi + 0x260], eax
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov eax, dword [ebx]
cmp eax, 0x80
jae 0x5627a4
mov edx, dword [esi + 0x868]
mov dword [esi + eax*4 + 0x668], 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 - 0x30], 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 - 0x30]
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 - 0x2c], eax
lea eax, [esi + 0x460]
push eax
push ecx
push 0
call sub.WS2_32.dll_select
jmp 0x5627f2
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.005630d0
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x14], ebx
je 0x562bc0
cmp ebx, 1
jne 0x562bd5
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x2e8], edi
je 0x562bd5
mov al, byte [ecx + 0x2ec]
test al, al
je 0x562bd5
cmp dword [esi + 0x60], edi
jne 0x562bd5
mov eax, dword [0x6ca27c]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
push edi
push edx
mov byte [ebp - 4], bl
call fcn.00564270
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x34], edi
push edx
mov edx, dword [eax + 0x2e8]
lea ecx, [esi + 0x48]
push edx
call fcn.0052bcf0
cmp eax, edi
je 0x5628c2
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2e8], 8
jne 0x5628db
mov ecx, dword [esi + 0xd0]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esi + 0x258]
push edx
add ecx, 0x10
call fcn.0053c740
mov eax, dword [esi + 0x258]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [esi + 0x258]
add ecx, 0x10
call fcn.0053c720
cmp dword [ebp - 0x34], edi
je 0x562964
mov dword [esi + 0x160], 0x7582
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005e118c
mov ebx, 0x753c
mov dword [ebp - 0x14], ebx
jmp 0x562bd5
mov edx, dword [esi + 0xd0]
mov ecx, dword [esi + 0x258]
add ecx, 0x10
mov eax, dword [edx + 0x10]
push eax
call fcn.0053c740
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x44]
push ecx
mov ecx, dword [esi + 0x258]
push 0xd
push edx
add ecx, 0x10
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x44], 0x46
mov byte [ebp - 0x43], 0x4c
mov byte [ebp - 0x42], 0x56
mov byte [ebp - 0x41], 1
mov byte [ebp - 0x40], 5
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0
mov byte [ebp - 0x3c], 9
mov byte [ebp - 0x3b], 0
mov byte [ebp - 0x3a], 0
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x38], 0
call fcn.0053cd20
mov ebx, eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xd
je 0x56294e
xor ebx, ebx
mov ecx, dword [esi + 0x258]
add ecx, 0x10
call fcn.0053c720
cmp ebx, edi
je 0x5628c2
mov ebx, 1
mov dword [esi + 0xe8], edi
push ebx
push edi
mov dword [esi + 0xf0], edi
push edi
mov ecx, esi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf4], edi
call fcn.00588f40
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2e8], 8
jne 0x56299f
mov dword [esi + 0x1d0], edi
jmp 0x5629a9
mov dword [esi + 0x1d0], 0xd
mov edx, dword [esi]
push ebx
mov ecx, esi
mov dword [esi + 0x1d4], edi
call dword [edx + 0xc]
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x1b4]
mov eax, dword [eax + 0x10]
cmp eax, ecx
jl 0x5629c9
mov eax, ecx
cmp eax, edi
mov dword [esi + 0x1b8], eax
jne 0x5629d9
mov dword [esi + 0x1b8], ebx
mov al, byte [0x6cef6c]
test al, al
jne 0x5629f3
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x309]
test al, al
jne 0x562b24
mov al, byte [esi + 0x86c]
test al, al
jne 0x562b24
mov edx, dword [esi + 0x258]
push edi
push edi
push edi
push edx
lea ecx, [esi + 0x48]
call fcn.0052cc10
mov eax, dword [esi + 0x258]
mov dword [eax + 0x84], ebx
mov ecx, dword [esi + 0x258]
mov dword [ecx + 0x68], edi
mov dword [ecx + 0x6c], edi
mov edx, dword [esi + 0x258]
mov dword [edx + 0x50], edi
mov dword [edx + 0x54], edi
mov eax, dword [esi + 0x258]
mov dword [eax + 0x48], edi
mov dword [eax + 0x4c], edi
mov ecx, dword [esi + 0x258]
mov dword [ecx + 0x31f0], edi
mov dword [ecx + 0x31f4], edi
mov edx, dword [esi + 0x258]
mov dword [edx + 0x70], edi
mov dword [edx + 0x74], edi
mov ecx, dword [esi + 0x258]
mov eax, dword [ecx]
lea edx, [ecx + 0x31d8]
push edx
call dword [eax + 0x14]
mov eax, dword [esi + 0x258]
mov dword [esi + 0x25c], edi
mov dword [esi + 0x460], edi
mov dword [esi + 0x664], edi
mov ecx, dword [eax + 0x31d8]
mov dword [esi + 0x464], ecx
mov edx, dword [esi + 0x460]
mov eax, dword [esi + 0x664]
inc edx
cmp eax, 0x80
mov dword [esi + 0x460], edx
jae 0x562ad1
mov edx, dword [esi + 0x258]
mov ecx, dword [edx + 0x31d8]
mov dword [esi + eax*4 + 0x668], ecx
mov eax, dword [esi + 0x664]
inc eax
mov dword [esi + 0x664], eax
mov ecx, dword [esi + 0x868]
cmp ecx, 0xffffffff
je 0x562b24
mov eax, dword [esi + 0x25c]
cmp eax, 0x80
jae 0x562afd
mov dword [esi + eax*4 + 0x260], ecx
mov eax, dword [esi + 0x25c]
inc eax
mov dword [esi + 0x25c], eax
mov eax, dword [esi + 0x664]
cmp eax, 0x80
jae 0x562b24
mov edx, dword [esi + 0x868]
mov dword [esi + eax*4 + 0x668], edx
mov eax, dword [esi + 0x664]
inc eax
mov dword [esi + 0x664], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005e118c
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ecx + 0x348], edx
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0x34c], eax
mov ecx, esi
call fcn.00588d70
mov al, byte [0x6cef6c]
test al, al
jne 0x562b65
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x309]
test dl, dl
jne 0x562b73
mov cl, byte [esi + 0x86c]
test cl, cl
je 0x562bc0
test al, al
jne 0x562b96
mov edx, dword [esi + 0xc]
mov al, byte [edx + 0x309]
test al, al
je 0x562b96
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 + 0x48]
call fcn.0052b260
mov dword [esi + 0x1d0], edi
mov dword [esi + 0x1d4], edi
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.005634c0
mov ecx, esi
call fcn.005895d0
xor ebx, ebx
jmp 0x561c5b
cmp dword [esi + 0x38], edi
je 0x562bf8
lea ecx, [esi + 0x48]
call fcn.00532f30
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 + 0xc]
mov eax, dword [ecx + 0x144]
test ah, 1
je 0x562e34
mov edx, dword [esi + 0x1d4]
mov eax, dword [esi + 0x1d0]
cmp edx, edi
jg 0x562e34
jl 0x562c2b
cmp eax, 0x7d1
jae 0x562e34
mov eax, dword [ecx]
push str.youtube.com
push eax
call fcn.005c4c40
add esp, 8
test eax, eax
je 0x562c5a
mov ecx, dword [esi + 0xc]
push str.googlevideo.com
mov edx, dword [ecx]
push edx
call fcn.005c4c40
add esp, 8
test eax, eax
jne 0x562e34
mov eax, dword [esi + 0x1d4]
mov edx, dword [esi + 0x1d0]
mov ecx, dword [esi + 0x1cc]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x1c8]
mov dword [ebp - 0x28], edi
cmp edx, eax
jne 0x562c85
mov ebx, dword [ebp - 0x2c]
mov edi, ecx
cmp ebx, edi
je 0x562c8d
or eax, ecx
jne 0x562e2a
mov eax, dword [esi + 0x1d4]
mov ebx, edx
mov dword [ebp - 0x2c], eax
lea eax, [ebx + 1]
push eax
call fcn.005dd58d
mov ecx, dword [esi + 0x258]
xor edi, edi
add esp, 4
mov dword [ecx + 0x31d0], eax
mov edx, dword [esi + 0x258]
cmp dword [edx + 0x31d0], edi
je 0x562e31
mov eax, dword [esi + 0xd0]
push edi
push edi
push 3
mov ecx, dword [eax + 0x10]
push edi
push 1
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, edi
mov dword [ebp - 0x34], eax
je 0x562e31
mov ecx, dword [esi + 0x258]
lea edx, [ebp - 0x1c]
push edi
mov dword [ebp - 0x1c], edi
push edx
mov edx, dword [ecx + 0x31d0]
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
je 0x562d9e
cmp dword [ebp - 0x1c], ebx
jne 0x562d9e
mov eax, dword [esi + 0x258]
push 7
push 0x6a0028
mov ecx, dword [eax + 0x31d0]
mov byte [ecx + ebx], 0
mov edx, dword [esi + 0x258]
mov eax, dword [edx + 0x31d0]
push eax
call fcn.005c6ee0
add esp, 0xc
test eax, eax
je 0x562d8c
mov ecx, dword [esi + 0x258]
push 8
push 0x6a001c
mov edx, dword [ecx + 0x31d0]
push edx
call fcn.005c6ee0
add esp, 0xc
test eax, eax
je 0x562d8c
mov eax, dword [esi + 0x258]
mov eax, dword [eax + 0x31d0]
push eax
call fcn.005dd5b6
mov ecx, dword [esi + 0x258]
add esp, 4
mov dword [ecx + 0x31d0], edi
jmp 0x562d9e
mov ecx, dword [esi + 0x258]
call fcn.0054d570
mov dword [ebp - 0x28], 1
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], edi
je 0x562e31
lea ebx, [esi + 0x48]
mov dword [esi + 0x1d0], edi
mov dword [esi + 0x1a8], edi
mov ecx, ebx
mov dword [esi + 0x1d4], edi
mov dword [esi + 0x1ac], edi
call fcn.00532f30
mov ecx, ebx
call fcn.0052b260
mov eax, dword [esi + 0x258]
mov dword [esi + 0xe8], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf4], edi
mov dword [eax + 0x50], edi
mov dword [eax + 0x54], edi
mov ecx, dword [esi + 0x258]
call fcn.0055bd40
push 1
push edi
push edi
mov ecx, esi
call fcn.00588f40
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 ebx, dword [ebp - 0x14]
xor edi, edi
jmp 0x562e34
mov ebx, dword [ebp - 0x14]
cmp ebx, 0x753c
je 0x562e45
cmp ebx, 0xffffffff
jne 0x562ed3
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x144]
test ch, 1
je 0x562fb5
cmp dword [eax + 0x30], edi
je 0x562fb5
mov eax, dword [esi + 0x1d0]
mov ecx, dword [esi + 0x1d4]
or eax, ecx
je 0x562fb5
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x1c8]
cmp ecx, edi
jl 0x562fb5
jg 0x562e95
cmp eax, 0x40000000
jbe 0x562fb5
push str.Checking_flv_file_struct._n
mov ecx, esi
call fcn.005882d0
mov ecx, esi
call fcn.005617b0
cmp eax, edi
je 0x562fb5
mov ecx, dword [esi + 0x1d4]
mov eax, dword [esi + 0x1d0]
push 1
push ecx
push eax
mov ecx, esi
call fcn.00588f40
push str.DurationlastTimeStamp__seems_the_flv_file_is_comlete._n
mov ecx, esi
call fcn.005882d0
mov eax, dword [esi + 0x1d4]
mov ecx, dword [esi + 0x1d0]
mov edx, dword [0x6cfecc]
push eax
push ecx
lea eax, [ebp - 0x1c4]
push edx
push eax
call fcn.005c5558
add esp, 0x10
lea ecx, [ebp - 0x1c4]
push 1
push ecx
mov ecx, esi
call fcn.00588180
mov eax, dword [esi + 0x1d0]
mov edx, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1d4]
mov edi, dword [esi + 0x1cc]
cmp eax, edx
mov dword [ebp - 0x2c], ecx
jne 0x562f33
mov ebx, dword [ebp - 0x2c]
mov ecx, edi
cmp ebx, ecx
je 0x563013
mov ecx, edx
or ecx, edi
je 0x563013
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x1d4]
mov ecx, edi
mov ebx, dword [ebx + 0x31c]
mov dword [ebp - 0x48], eax
mov eax, edx
mov dword [ebp - 0x30], ebx
add eax, ebx
mov ebx, 0
adc ecx, ebx
cmp dword [ebp - 0x4c], eax
jne 0x562f70
cmp dword [ebp - 0x48], ecx
je 0x563013
mov eax, edx
mov edx, dword [ebp - 0x30]
mov ecx, edi
add eax, edx
mov edx, dword [esi + 0x1d4]
adc ecx, ebx
cmp edx, ecx
jl 0x5630b9
jg 0x562f97
cmp dword [esi + 0x1d0], eax
jbe 0x5630b9
lea ecx, [esi + 0x48]
call fcn.00533bf0
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 ecx, dword [esi + 0x1d4]
mov edx, dword [esi + 0x1d0]
mov eax, dword [0x6cfec0]
push ecx
push edx
lea ecx, [ebp - 0x1c4]
push eax
push ecx
call fcn.005c5558
add esp, 0x10
lea edx, [ebp - 0x1c4]
mov ecx, esi
push 1
push edx
call fcn.00588180
mov esi, dword [esi + 0x160]
cmp esi, edi
je 0x563000
cmp ebx, 0x753c
mov eax, esi
je 0x5630bc
mov eax, ebx
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 + 0x1b8]
jge 0x563089
lea edx, [ebx + ebx*2]
mov ecx, dword [esi + 0x258]
lea eax, [ebx + edx*4]
shl eax, 4
add eax, ebx
shl eax, 6
lea edi, [eax + ecx]
mov eax, dword [eax + ecx + 0x84]
test eax, eax
je 0x563086
mov edx, dword [edi + 0xa0]
mov eax, dword [edx]
cmp dword [eax], 0
je 0x563086
mov ecx, dword [edi + 0x68]
mov eax, dword [edi + 0x6c]
or ecx, eax
je 0x563086
lea eax, [edi + 0x3e0]
mov ecx, edi
push eax
call fcn.00538260
mov edx, dword [edi + 0xa0]
lea eax, [edi + 0x3e0]
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 0x563015
mov ecx, esi
call fcn.005895d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret