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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608608
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 0x55fe01
mov dword [esi + 0x48], ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x2d8]
cmp ecx, ebx
je 0x55ff13
mov eax, dword [ecx + 0x8bc]
cmp eax, ebx
je 0x55fde9
cmp eax, 2
je 0x55fde9
cmp eax, 4
jne 0x55ff13
cmp dword [ecx + 0x8c0], ebx
jne 0x55ff13
push 1
call fcn.0058f820
jmp 0x55ff13
mov eax, dword [esi + 0x1c8]
mov edx, dword [esi + 0x1cc]
or eax, edx
jne 0x55ff13
mov al, byte [esi + 0x86c]
test al, al
jne 0x55ff13
mov edx, dword [esi + 0x1b4]
mov eax, 1
cmp edx, eax
jle 0x55ff13
mov dl, byte [ecx + 0x14f]
test dl, dl
je 0x55ff13
cmp dword [ecx + 0x2e8], ebx
jne 0x55ff13
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 0x55fed5
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 0x55ff02
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 0x55ff32
mov cl, byte [eax + 0x2ec]
test cl, cl
je 0x55ff32
mov dword [eax + 0xb0], 1
mov eax, dword [0x6cdeb8]
push 1
push eax
mov ecx, esi
call fcn.00586540
mov ecx, esi
call fcn.00586ff0
mov ecx, esi
call fcn.00587960
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.005867f0
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x7c], 3
push eax
mov dword [ebp - 0x78], ebx
call fcn.005c48fc
lea ecx, [ebp - 0x88]
push ecx
call fcn.005c48fc
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 0x56000b
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 0x560006
mov ebx, dword [ecx + 0x384]
inc edx
test ebx, ebx
jg 0x560005
mov ebx, dword [ecx + 0xb0]
cmp dword [ebx + 0x24], 2
jne 0x560006
mov ebx, dword [ecx + 0x3434]
test ebx, ebx
ja 0x560005
mov bl, byte [ecx + 0x3438]
test bl, bl
je 0x560006
inc edi
inc eax
xor ebx, ebx
jmp 0x55ffb2
cmp edi, 1
jne 0x56001b
cmp edx, edi
jne 0x56001b
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x7c], edi
cmp dword [esi + 0x38], ebx
je 0x56007e
lea ecx, [esi + 0x48]
call fcn.00531360
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.005863d0
test al, al
mov byte [ebp - 0x1c], al
je 0x5600ad
lea ecx, [ebp - 0xb8]
push ecx
call fcn.005c48fc
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 0x56011c
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 0x56014e
cmp dword [eax + 0x8c], 6
jne 0x56014e
cmp dword [eax + 0x384], ebx
jg 0x560117
mov edx, dword [eax + 0xb4]
cmp edx, ebx
je 0x5600f7
mov edx, dword [edx + 0x10]
jmp 0x560100
mov edx, dword [eax + 0xb0]
mov edx, dword [edx + 0x24]
cmp edx, 2
jne 0x56014e
cmp dword [eax + 0x3434], ebx
ja 0x560117
mov dl, byte [eax + 0x3438]
test dl, dl
je 0x56014e
mov edi, 1
mov al, byte [ebp - 0x15]
xor bl, bl
test al, al
je 0x560154
test edi, edi
jne 0x560164
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 0x560164
inc ecx
jmp 0x5600b1
mov edi, 1
mov dword [ebp - 0x7c], 3
mov byte [ebp - 0x15], 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x560189
lea ecx, [esi + 0x48]
call fcn.00531360
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 0x5601d4
lea ecx, [ebp - 0x88]
push ecx
call fcn.005c48fc
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc4]
sub edx, ecx
add esp, 4
cmp edx, 0x12c
jle 0x5601d4
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 0x56029d
test edi, edi
je 0x56029d
xor edi, edi
cmp edi, dword [esi + 0x1b8]
jge 0x5602a4
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 0x560297
mov eax, dword [esi + 0x38]
test eax, eax
je 0x56024a
lea ecx, [esi + 0x48]
call fcn.00531360
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 0x560292
cmp dword [ecx + 0x8c], 6
jne 0x560297
mov eax, dword [ecx + 0x384]
test eax, eax
jg 0x560292
mov eax, dword [ecx + 0xb4]
test eax, eax
je 0x560270
mov eax, dword [eax + 0x10]
jmp 0x560279
mov edx, dword [ecx + 0xb0]
mov eax, dword [edx + 0x24]
cmp eax, 2
jne 0x560297
mov eax, dword [ecx + 0x3434]
test eax, eax
ja 0x560292
mov al, byte [ecx + 0x3438]
test al, al
je 0x560297
call fcn.00555680
inc edi
jmp 0x5601f9
mov ecx, esi
call fcn.00561740
mov eax, dword [ebp - 0x1c]
mov ecx, esi
push eax
push 0
call fcn.005868c0
lea ecx, [ebp - 0x98]
push ecx
call fcn.005c48fc
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 0x560396
lea ecx, [ebp - 0x88]
push ecx
call fcn.005c48fc
add esp, 4
xor ebx, ebx
cmp ebx, dword [esi + 0x1b8]
jge 0x56038a
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 0x560387
mov edx, dword [edi + 0xa0]
mov eax, dword [edx]
cmp dword [eax], 0
je 0x560387
mov ecx, dword [edi + 0x68]
mov eax, dword [edi + 0x6c]
or ecx, eax
je 0x560387
lea eax, [edi + 0x3e0]
mov ecx, edi
push eax
call fcn.00536690
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 0x560316
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x98]
mov edx, dword [esi + 0x40]
test edx, edx
jne 0x560549
mov edi, dword [esi + 0x1d4]
mov ebx, dword [ebp - 0x68]
mov edx, dword [esi + 0x1d0]
cmp ebx, edi
jg 0x560549
jl 0x5603c3
cmp dword [ebp - 0x6c], edx
jae 0x560549
cmp dword [ebp - 0x4c], edx
jne 0x560549
cmp dword [ebp - 0x48], edi
jne 0x560549
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
lea ecx, [ecx + ecx*4]
or edx, edi
lea ecx, [ecx + ecx*4]
jne 0x5603fc
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 0x560551
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 [0x6390f0]
fadd qword [ecx + 0x418]
fcom qword [ecx + 0x438]
fnstsw ax
test ah, 1
je 0x560435
fstp qword [ebp - 0x74]
jmp 0x560449
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 [0x6390f0]
fadd qword [ecx + 0x410]
fcom qword [ecx + 0x430]
fnstsw ax
test ah, 1
jne 0x560472
fstp st(0)
fld qword [ecx + 0x430]
fld qword [ebp - 0x74]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x560483
fstp st(0)
fld qword [ebp - 0x74]
fmul qword [0x639c50]
fadd qword [0x639c48]
call fcn.005c3408
mov ecx, dword [ebp - 0x24]
sub edi, ecx
mov ecx, dword [ebp - 0x20]
sbb ebx, ecx
cmp ebx, edx
jl 0x560551
jg 0x5604b0
cmp edi, eax
jbe 0x560551
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.00597db0
cmp eax, edi
je 0x560551
cmp dword [esi + 0x38], edi
je 0x5604e2
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.0055a180
mov ecx, dword [esi + 0x258]
mov edx, dword [ecx]
lea eax, [ecx + 0x31d8]
push eax
call dword [edx + 0x14]
cmp eax, edi
jne 0x56147c
mov ecx, dword [esi + 0x258]
push edi
call fcn.0054edb0
cmp eax, edi
jne 0x56147c
mov ecx, dword [esi + 0x1d0]
mov eax, dword [0x6cdeb8]
mov edx, dword [esi + 0x1d4]
mov dword [ebp - 0x6c], ecx
push 1
push eax
mov ecx, esi
mov dword [ebp - 0x68], edx
call fcn.00586540
jmp 0x560551
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0xb0], 2
jne 0x560984
mov edi, dword [esi + 0x1cc]
mov edx, dword [esi + 0x1c8]
mov eax, edi
test eax, eax
jl 0x56058f
jg 0x56057a
cmp edx, 0x32
jbe 0x56058f
mov eax, dword [esi + 0x258]
mov ebx, dword [eax + 0x74]
test ebx, ebx
jl 0x5605b0
jg 0x56058f
cmp dword [eax + 0x70], 0x32
jb 0x5605b0
test edi, edi
jg 0x5605da
jl 0x56059a
cmp edx, 0x32
ja 0x5605da
mov eax, dword [esi + 0x258]
mov ebx, dword [eax + 0x74]
cmp ebx, edi
jg 0x5605da
jl 0x5605b0
mov edi, dword [eax + 0x70]
cmp edi, edx
jae 0x5605da
mov dl, byte [eax + 0xc8]
test dl, dl
je 0x560984
mov edx, dword [eax + 0x48]
mov edi, dword [eax + 0x4c]
or edx, edi
jne 0x560984
mov dl, byte [eax + 0xc9]
test dl, dl
je 0x560984
mov al, byte [esi + 0x86e]
push eax
call fcn.005a11f0
mov cl, byte [0x6ccf5c]
mov dword [ebp - 0x14], eax
test cl, cl
jne 0x560600
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x309]
test dl, dl
jne 0x56060e
mov cl, byte [esi + 0x86c]
test cl, cl
je 0x56068f
mov edx, dword [esi + 0xc]
cmp dword [edx + 0xb0], 2
jne 0x560622
xor edi, edi
cmp eax, edi
je 0x560691
jmp 0x560624
xor edi, edi
mov ecx, dword [esi + 0x258]
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [esi + 0x48]
call fcn.00529690
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 [0x6ccf5c]
test al, al
jne 0x560f6a
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x309]
test al, al
je 0x560f6a
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 0x560715
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 0x560715
mov ebx, dword [ebx + 0xbc]
test ebx, ebx
je 0x5606d3
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
call fcn.005c52b0
add esp, 0xc
test eax, eax
je 0x560715
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
test eax, eax
je 0x5606f4
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 0x560715
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 0x560789
mov edx, dword [esi + 0x1d4]
mov ecx, dword [esi + 0x1d0]
test edx, edx
jg 0x560789
jl 0x56073f
cmp ecx, 0x7d1
jae 0x560789
mov edx, dword [eax]
push str.youtube.com
push edx
call fcn.005c3010
add esp, 8
test eax, eax
je 0x56076a
mov eax, dword [esi + 0xc]
push str.googlevideo.com
mov ecx, dword [eax]
push ecx
call fcn.005c3010
add esp, 8
test eax, eax
jne 0x560789
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x1c8]
test ecx, ecx
jl 0x560787
jg 0x560783
cmp eax, 0x7d1
jb 0x560787
or eax, ecx
jne 0x560789
mov bl, 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x560984
test bl, bl
jne 0x560984
mov eax, dword [esi + 0x15c]
test eax, eax
jne 0x560927
mov al, byte [0x6ccf5c]
test al, al
jne 0x5608a5
mov eax, dword [esi + 0xc]
mov byte [ebp - 0x16], bl
mov edx, dword [eax + 0xbc]
test edx, edx
je 0x560814
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 0x560814
mov edi, edx
mov eax, ebx
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x560807
test cl, cl
je 0x560803
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x560807
add eax, 2
add edi, 2
test cl, cl
jne 0x5607df
xor eax, eax
jmp 0x56080c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x560814
mov byte [ebp - 0x16], 1
mov edi, dword [esi + 0x1cc]
mov edx, dword [esi + 0x1c8]
xor ebx, ebx
cmp edi, ebx
jl 0x56084d
jg 0x56082c
cmp edx, ebx
jbe 0x56084d
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xe8]
mov eax, dword [eax + 0xec]
cmp eax, ebx
jl 0x56084d
jg 0x560845
cmp ecx, ebx
jbe 0x56084d
cmp ecx, edx
jne 0x560854
cmp eax, edi
jne 0x560854
mov al, byte [ebp - 0x16]
test al, al
je 0x5608a5
mov eax, dword [esi + 0xc]
push 0x6cc7b8
lea ecx, [eax + 0xe4]
call fcn.005df6df
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 [0x6cd6b8]
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 0x560927
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x5608ba
mov eax, ecx
jmp 0x5608bd
add eax, 0x38
push 0x2e
push eax
call fcn.005c2e6a
mov edi, eax
add esp, 8
test edi, edi
je 0x560927
push 0x6a5bf8
push edi
call fcn.005c55fc
add esp, 8
test eax, eax
je 0x560927
push 0x6a4310
push edi
call fcn.005c55fc
add esp, 8
test eax, eax
je 0x560927
mov ecx, dword [esi + 0xc]
mov eax, dword [0x6cde44]
push 0x50004
mov edx, dword [ecx + 8]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x560927
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 0x560984
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x56093c
mov eax, ecx
jmp 0x56093f
add eax, 0x38
push 0x2e
push eax
call fcn.005c2e6a
mov edi, eax
add esp, 8
test edi, edi
je 0x560984
push 0x6a5bf8
push edi
call fcn.005c55fc
add esp, 8
test eax, eax
je 0x560984
push 0x6a4310
push edi
call fcn.005c55fc
add esp, 8
test eax, eax
je 0x560984
mov ecx, dword [esi + 0xc]
call fcn.005a1310
test eax, eax
jne 0x56147c
mov al, byte [ebp - 0x1c]
test al, al
je 0x560bb2
mov ecx, dword [esi + 0x1d4]
mov eax, dword [esi + 0x1d0]
test ecx, ecx
jl 0x560bb2
jg 0x5609b0
cmp eax, 0x400
jbe 0x560bb2
mov ecx, esi
call fcn.00586390
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x5c], eax
push ecx
mov ebx, edx
call fcn.005c48fc
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 0x560bb2
jg 0x5609fd
test eax, eax
jbe 0x560bb2
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 0x560a3f
mov dword [ebp - 0x14], 1
fild qword [ebp - 0xa0]
fmul dword [0x61af74]
fidiv dword [ebp - 0x14]
call fcn.005c3408
mov edi, edx
mov ecx, eax
cmp edi, ebx
jl 0x560bb2
jg 0x560a6a
cmp ecx, dword [ebp - 0x5c]
jbe 0x560bb2
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.005c5810
mov ecx, dword [ebp - 0x5c]
push ebx
push ecx
push edx
push eax
call fcn.005c4e40
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.005c4e40
cmp dword [ebp - 0x50], edx
jg 0x560ac8
jl 0x560ab3
cmp dword [ebp - 0x54], eax
jae 0x560ac8
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
jmp 0x560af6
mov ecx, dword [ebp - 0x5c]
push 0
push 9
push ebx
push ecx
call fcn.005c5810
push 0
push 0xa
push edx
push eax
call fcn.005c4e40
cmp dword [ebp - 0x50], edx
jg 0x560af6
jl 0x560aed
cmp dword [ebp - 0x54], eax
jae 0x560af6
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
cmp edi, 0x2ee0
jle 0x560b05
mov edi, 0x2ee0
jmp 0x560b0d
test edi, edi
jle 0x560bb2
mov eax, dword [esi + 0x868]
cmp eax, 0xffffffff
je 0x560bab
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 0x560b64
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 0x560bb2
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00561490
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x14], ebx
je 0x560f80
cmp ebx, 1
jne 0x560f95
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x2e8], edi
je 0x560f95
mov al, byte [ecx + 0x2ec]
test al, al
je 0x560f95
cmp dword [esi + 0x60], edi
jne 0x560f95
mov eax, dword [0x6c826c]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
push edi
push edx
mov byte [ebp - 4], bl
call fcn.00562630
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.0052a120
cmp eax, edi
je 0x560c82
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2e8], 8
jne 0x560c9b
mov ecx, dword [esi + 0xd0]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esi + 0x258]
push edx
add ecx, 0x10
call fcn.0053ab90
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.0053ab70
cmp dword [ebp - 0x34], edi
je 0x560d24
mov dword [esi + 0x160], 0x7582
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005df556
mov ebx, 0x753c
mov dword [ebp - 0x14], ebx
jmp 0x560f95
mov edx, dword [esi + 0xd0]
mov ecx, dword [esi + 0x258]
add ecx, 0x10
mov eax, dword [edx + 0x10]
push eax
call fcn.0053ab90
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.0053b170
mov ebx, eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xd
je 0x560d0e
xor ebx, ebx
mov ecx, dword [esi + 0x258]
add ecx, 0x10
call fcn.0053ab70
cmp ebx, edi
je 0x560c82
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.00587300
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2e8], 8
jne 0x560d5f
mov dword [esi + 0x1d0], edi
jmp 0x560d69
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 0x560d89
mov eax, ecx
cmp eax, edi
mov dword [esi + 0x1b8], eax
jne 0x560d99
mov dword [esi + 0x1b8], ebx
mov al, byte [0x6ccf5c]
test al, al
jne 0x560db3
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x309]
test al, al
jne 0x560ee4
mov al, byte [esi + 0x86c]
test al, al
jne 0x560ee4
mov edx, dword [esi + 0x258]
push edi
push edi
push edi
push edx
lea ecx, [esi + 0x48]
call fcn.0052b040
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 0x560e91
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 0x560ee4
mov eax, dword [esi + 0x25c]
cmp eax, 0x80
jae 0x560ebd
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 0x560ee4
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.005df556
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.00587130
mov al, byte [0x6ccf5c]
test al, al
jne 0x560f25
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x309]
test dl, dl
jne 0x560f33
mov cl, byte [esi + 0x86c]
test cl, cl
je 0x560f80
test al, al
jne 0x560f56
mov edx, dword [esi + 0xc]
mov al, byte [edx + 0x309]
test al, al
je 0x560f56
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.00529690
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.00561880
mov ecx, esi
call fcn.00587990
xor ebx, ebx
jmp 0x56001b
cmp dword [esi + 0x38], edi
je 0x560fb8
lea ecx, [esi + 0x48]
call fcn.00531360
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 0x5611f4
mov edx, dword [esi + 0x1d4]
mov eax, dword [esi + 0x1d0]
cmp edx, edi
jg 0x5611f4
jl 0x560feb
cmp eax, 0x7d1
jae 0x5611f4
mov eax, dword [ecx]
push str.youtube.com
push eax
call fcn.005c3010
add esp, 8
test eax, eax
je 0x56101a
mov ecx, dword [esi + 0xc]
push str.googlevideo.com
mov edx, dword [ecx]
push edx
call fcn.005c3010
add esp, 8
test eax, eax
jne 0x5611f4
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 0x561045
mov ebx, dword [ebp - 0x2c]
mov edi, ecx
cmp ebx, edi
je 0x56104d
or eax, ecx
jne 0x5611ea
mov eax, dword [esi + 0x1d4]
mov ebx, edx
mov dword [ebp - 0x2c], eax
lea eax, [ebx + 1]
push eax
call fcn.005db95d
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 0x5611f1
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 0x5611f1
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 0x56115e
cmp dword [ebp - 0x1c], ebx
jne 0x56115e
mov eax, dword [esi + 0x258]
push 7
push 0x69e028
mov ecx, dword [eax + 0x31d0]
mov byte [ecx + ebx], 0
mov edx, dword [esi + 0x258]
mov eax, dword [edx + 0x31d0]
push eax
call fcn.005c52b0
add esp, 0xc
test eax, eax
je 0x56114c
mov ecx, dword [esi + 0x258]
push 8
push 0x69e01c
mov edx, dword [ecx + 0x31d0]
push edx
call fcn.005c52b0
add esp, 0xc
test eax, eax
je 0x56114c
mov eax, dword [esi + 0x258]
mov eax, dword [eax + 0x31d0]
push eax
call fcn.005db986
mov ecx, dword [esi + 0x258]
add esp, 4
mov dword [ecx + 0x31d0], edi
jmp 0x56115e
mov ecx, dword [esi + 0x258]
call fcn.0054b9c0
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 0x5611f1
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.00531360
mov ecx, ebx
call fcn.00529690
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.0055a180
push 1
push edi
push edi
mov ecx, esi
call fcn.00587300
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 0x5611f4
mov ebx, dword [ebp - 0x14]
cmp ebx, 0x753c
je 0x561205
cmp ebx, 0xffffffff
jne 0x561293
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x144]
test ch, 1
je 0x561375
cmp dword [eax + 0x30], edi
je 0x561375
mov eax, dword [esi + 0x1d0]
mov ecx, dword [esi + 0x1d4]
or eax, ecx
je 0x561375
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x1c8]
cmp ecx, edi
jl 0x561375
jg 0x561255
cmp eax, 0x40000000
jbe 0x561375
push str.Checking_flv_file_struct._n
mov ecx, esi
call fcn.00586690
mov ecx, esi
call fcn.0055fb80
cmp eax, edi
je 0x561375
mov ecx, dword [esi + 0x1d4]
mov eax, dword [esi + 0x1d0]
push 1
push ecx
push eax
mov ecx, esi
call fcn.00587300
push str.DurationlastTimeStamp__seems_the_flv_file_is_comlete._n
mov ecx, esi
call fcn.00586690
mov eax, dword [esi + 0x1d4]
mov ecx, dword [esi + 0x1d0]
mov edx, dword [0x6cdebc]
push eax
push ecx
lea eax, [ebp - 0x1c4]
push edx
push eax
call fcn.005c3928
add esp, 0x10
lea ecx, [ebp - 0x1c4]
push 1
push ecx
mov ecx, esi
call fcn.00586540
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 0x5612f3
mov ebx, dword [ebp - 0x2c]
mov ecx, edi
cmp ebx, ecx
je 0x5613d3
mov ecx, edx
or ecx, edi
je 0x5613d3
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 0x561330
cmp dword [ebp - 0x48], ecx
je 0x5613d3
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 0x561479
jg 0x561357
cmp dword [esi + 0x1d0], eax
jbe 0x561479
lea ecx, [esi + 0x48]
call fcn.00532020
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 [0x6cdeb0]
push ecx
push edx
lea ecx, [ebp - 0x1c4]
push eax
push ecx
call fcn.005c3928
add esp, 0x10
lea edx, [ebp - 0x1c4]
mov ecx, esi
push 1
push edx
call fcn.00586540
mov esi, dword [esi + 0x160]
cmp esi, edi
je 0x5613c0
cmp ebx, 0x753c
mov eax, esi
je 0x56147c
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 0x561449
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 0x561446
mov edx, dword [edi + 0xa0]
mov eax, dword [edx]
cmp dword [eax], 0
je 0x561446
mov ecx, dword [edi + 0x68]
mov eax, dword [edi + 0x6c]
or ecx, eax
je 0x561446
lea eax, [edi + 0x3e0]
mov ecx, edi
push eax
call fcn.00536690
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 0x5613d5
mov ecx, esi
call fcn.00587990
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