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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6082f8
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 0x55fac1
mov dword [esi + 0x48], ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x2d8]
cmp ecx, ebx
je 0x55fbd3
mov eax, dword [ecx + 0x8bc]
cmp eax, ebx
je 0x55faa9
cmp eax, 2
je 0x55faa9
cmp eax, 4
jne 0x55fbd3
cmp dword [ecx + 0x8c0], ebx
jne 0x55fbd3
push 1
call fcn.0058f530
jmp 0x55fbd3
mov eax, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1c4]
or eax, edx
jne 0x55fbd3
mov al, byte [esi + 0x864]
test al, al
jne 0x55fbd3
mov edx, dword [esi + 0x1ac]
mov eax, 1
cmp edx, eax
jle 0x55fbd3
mov dl, byte [ecx + 0x14f]
test dl, dl
je 0x55fbd3
cmp dword [ecx + 0x2e8], ebx
jne 0x55fbd3
mov ecx, dword [esi + 0x250]
mov dword [ecx + 0x34c4], eax
mov edx, dword [esi + 0x250]
mov dword [edx + 0x34a8], ebx
mov dword [edx + 0x34ac], ebx
mov eax, dword [esi + 0x250]
mov dword [eax + 0x3490], ebx
mov dword [eax + 0x3494], ebx
mov ecx, dword [esi + 0x250]
mov byte [ecx + 0x6627], 1
mov eax, dword [esi + 0x250]
mov edx, dword [eax + 0x3440]
lea ecx, [eax + 0x3440]
add eax, 0x6618
push eax
call dword [edx + 0x14]
mov eax, dword [esi + 0x458]
cmp eax, 0x80
jae 0x55fb95
mov ecx, dword [esi + 0x250]
mov edx, dword [ecx + 0x6618]
mov dword [esi + eax*4 + 0x45c], edx
mov eax, dword [esi + 0x458]
inc eax
mov dword [esi + 0x458], eax
mov eax, dword [esi + 0x65c]
cmp eax, 0x80
jae 0x55fbc2
mov ecx, dword [esi + 0x250]
mov edx, dword [ecx + 0x6618]
mov dword [esi + eax*4 + 0x660], edx
mov eax, dword [esi + 0x65c]
inc eax
mov dword [esi + 0x65c], eax
mov eax, 2
mov dword [esi + 0x1b8], eax
mov dword [esi + 0x1b0], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2e8], ebx
je 0x55fbf2
mov cl, byte [eax + 0x2ec]
test cl, cl
je 0x55fbf2
mov dword [eax + 0xb0], 1
mov eax, dword [0x6cdeb8]
push 1
push eax
mov ecx, esi
call fcn.00586260
mov ecx, esi
call fcn.00586d10
mov ecx, esi
call fcn.00587680
mov eax, dword [esi + 0x1bc]
mov ecx, dword [esi + 0x1c8]
mov edx, dword [esi + 0x1cc]
add eax, 0xfffffffb
mov dword [ebp - 0x6c], ecx
mov ecx, esi
mov dword [esi + 0x1bc], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x68], edx
call fcn.00586510
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x7c], 3
push eax
mov dword [ebp - 0x78], ebx
call fcn.005c461c
lea ecx, [ebp - 0x88]
push ecx
call fcn.005c461c
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 + 0x1b0]
jge 0x55fccb
lea ecx, [eax + eax*2]
mov ebx, dword [esi + 0x250]
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 0x55fcc6
mov ebx, dword [ecx + 0x384]
inc edx
test ebx, ebx
jg 0x55fcc5
mov ebx, dword [ecx + 0xb0]
cmp dword [ebx + 0x24], 2
jne 0x55fcc6
mov ebx, dword [ecx + 0x3434]
test ebx, ebx
ja 0x55fcc5
mov bl, byte [ecx + 0x3438]
test bl, bl
je 0x55fcc6
inc edi
inc eax
xor ebx, ebx
jmp 0x55fc72
cmp edi, 1
jne 0x55fcdb
cmp edx, edi
jne 0x55fcdb
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x7c], edi
cmp dword [esi + 0x38], ebx
je 0x55fd3e
lea ecx, [esi + 0x48]
call fcn.00531140
mov edx, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
lea eax, [esi + 0x20]
mov dword [esi + 0x30], ebx
push eax
push 0x1471
mov dword [eax], edx
mov edx, dword [esi + 0x1c8]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x1cc]
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.005860f0
test al, al
mov byte [ebp - 0x1c], al
je 0x55fd6d
lea ecx, [ebp - 0xb8]
push ecx
call fcn.005c461c
mov edx, dword [esi + 0x1c8]
mov eax, dword [esi + 0x1cc]
add esp, 4
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], eax
xor edi, edi
xor ecx, ecx
cmp ecx, dword [esi + 0x1b0]
jge 0x55fddc
lea edx, [ecx + ecx*2]
lea eax, [ecx + edx*4]
mov edx, dword [esi + 0x250]
shl eax, 4
add eax, ecx
shl eax, 6
add eax, edx
cmp dword [eax + 0x84], ebx
je 0x55fe0e
cmp dword [eax + 0x8c], 6
jne 0x55fe0e
cmp dword [eax + 0x384], ebx
jg 0x55fdd7
mov edx, dword [eax + 0xb4]
cmp edx, ebx
je 0x55fdb7
mov edx, dword [edx + 0x10]
jmp 0x55fdc0
mov edx, dword [eax + 0xb0]
mov edx, dword [edx + 0x24]
cmp edx, 2
jne 0x55fe0e
cmp dword [eax + 0x3434], ebx
ja 0x55fdd7
mov dl, byte [eax + 0x3438]
test dl, dl
je 0x55fe0e
mov edi, 1
mov al, byte [ebp - 0x15]
xor bl, bl
test al, al
je 0x55fe14
test edi, edi
jne 0x55fe24
lea eax, [ebp - 0x7c]
lea ecx, [esi + 0x65c]
push eax
lea edx, [esi + 0x458]
push ecx
lea eax, [esi + 0x254]
push edx
push eax
push edi
call sub.WS2_32.dll_select
mov edi, eax
mov bl, 1
jmp 0x55fe24
inc ecx
jmp 0x55fd71
mov edi, 1
mov dword [ebp - 0x7c], 3
mov byte [ebp - 0x15], 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x55fe49
lea ecx, [esi + 0x48]
call fcn.00531140
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 + 0x1c8]
mov ecx, dword [esi + 0x1cc]
or eax, ecx
jne 0x55fe94
lea ecx, [ebp - 0x88]
push ecx
call fcn.005c461c
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc4]
sub edx, ecx
add esp, 4
cmp edx, 0x12c
jle 0x55fe94
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 + 0x1c8]
mov ecx, dword [esi + 0x1cc]
cmp edi, 0xffffffff
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
je 0x55ff5d
test edi, edi
je 0x55ff5d
xor edi, edi
cmp edi, dword [esi + 0x1b0]
jge 0x55ff64
lea edx, [edi + edi*2]
mov ecx, dword [esi + 0x250]
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 0x55ff57
mov eax, dword [esi + 0x38]
test eax, eax
je 0x55ff0a
lea ecx, [esi + 0x48]
call fcn.00531140
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 0x55ff52
cmp dword [ecx + 0x8c], 6
jne 0x55ff57
mov eax, dword [ecx + 0x384]
test eax, eax
jg 0x55ff52
mov eax, dword [ecx + 0xb4]
test eax, eax
je 0x55ff30
mov eax, dword [eax + 0x10]
jmp 0x55ff39
mov edx, dword [ecx + 0xb0]
mov eax, dword [edx + 0x24]
cmp eax, 2
jne 0x55ff57
mov eax, dword [ecx + 0x3434]
test eax, eax
ja 0x55ff52
mov al, byte [ecx + 0x3438]
test al, al
je 0x55ff57
call fcn.005554b0
inc edi
jmp 0x55feb9
mov ecx, esi
call fcn.00561400
mov eax, dword [ebp - 0x1c]
mov ecx, esi
push eax
push 0
call fcn.005865e0
lea ecx, [ebp - 0x98]
push ecx
call fcn.005c461c
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 0x560056
lea ecx, [ebp - 0x88]
push ecx
call fcn.005c461c
add esp, 4
xor ebx, ebx
cmp ebx, dword [esi + 0x1b0]
jge 0x56004a
lea edx, [ebx + ebx*2]
mov ecx, dword [esi + 0x250]
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 0x560047
mov edx, dword [edi + 0xa0]
mov eax, dword [edx]
cmp dword [eax], 0
je 0x560047
mov ecx, dword [edi + 0x68]
mov eax, dword [edi + 0x6c]
or ecx, eax
je 0x560047
lea eax, [edi + 0x3e0]
mov ecx, edi
push eax
call fcn.00536470
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 0x55ffd6
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x98]
mov edx, dword [esi + 0x40]
test edx, edx
jne 0x560209
mov edi, dword [esi + 0x1cc]
mov ebx, dword [ebp - 0x68]
mov edx, dword [esi + 0x1c8]
cmp ebx, edi
jg 0x560209
jl 0x560083
cmp dword [ebp - 0x6c], edx
jae 0x560209
cmp dword [ebp - 0x4c], edx
jne 0x560209
cmp dword [ebp - 0x48], edi
jne 0x560209
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
lea ecx, [ecx + ecx*4]
or edx, edi
lea ecx, [ecx + ecx*4]
jne 0x5600bc
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 0x560211
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 0x5600f5
fstp qword [ebp - 0x74]
jmp 0x560109
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 0x560132
fstp st(0)
fld qword [ecx + 0x430]
fld qword [ebp - 0x74]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x560143
fstp st(0)
fld qword [ebp - 0x74]
fmul qword [0x639c50]
fadd qword [0x639c48]
call fcn.005c3128
mov ecx, dword [ebp - 0x24]
sub edi, ecx
mov ecx, dword [ebp - 0x20]
sbb ebx, ecx
cmp ebx, edx
jl 0x560211
jg 0x560170
cmp edi, eax
jbe 0x560211
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.00597ac0
cmp eax, edi
je 0x560211
cmp dword [esi + 0x38], edi
je 0x5601a2
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 + 0x250]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x250]
call fcn.00559ed0
mov ecx, dword [esi + 0x250]
mov edx, dword [ecx]
lea eax, [ecx + 0x31d8]
push eax
call dword [edx + 0x14]
cmp eax, edi
jne 0x56113c
mov ecx, dword [esi + 0x250]
push edi
call fcn.0054eba0
cmp eax, edi
jne 0x56113c
mov ecx, dword [esi + 0x1c8]
mov eax, dword [0x6cdeb8]
mov edx, dword [esi + 0x1cc]
mov dword [ebp - 0x6c], ecx
push 1
push eax
mov ecx, esi
mov dword [ebp - 0x68], edx
call fcn.00586260
jmp 0x560211
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0xb0], 2
jne 0x560644
mov edi, dword [esi + 0x1c4]
mov edx, dword [esi + 0x1c0]
mov eax, edi
test eax, eax
jl 0x56024f
jg 0x56023a
cmp edx, 0x32
jbe 0x56024f
mov eax, dword [esi + 0x250]
mov ebx, dword [eax + 0x74]
test ebx, ebx
jl 0x560270
jg 0x56024f
cmp dword [eax + 0x70], 0x32
jb 0x560270
test edi, edi
jg 0x56029a
jl 0x56025a
cmp edx, 0x32
ja 0x56029a
mov eax, dword [esi + 0x250]
mov ebx, dword [eax + 0x74]
cmp ebx, edi
jg 0x56029a
jl 0x560270
mov edi, dword [eax + 0x70]
cmp edi, edx
jae 0x56029a
mov dl, byte [eax + 0xc8]
test dl, dl
je 0x560644
mov edx, dword [eax + 0x48]
mov edi, dword [eax + 0x4c]
or edx, edi
jne 0x560644
mov dl, byte [eax + 0xc9]
test dl, dl
je 0x560644
mov al, byte [esi + 0x866]
push eax
call fcn.005a0f00
mov cl, byte [0x6ccf5c]
mov dword [ebp - 0x14], eax
test cl, cl
jne 0x5602c0
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x309]
test dl, dl
jne 0x5602ce
mov cl, byte [esi + 0x864]
test cl, cl
je 0x56034f
mov edx, dword [esi + 0xc]
cmp dword [edx + 0xb0], 2
jne 0x5602e2
xor edi, edi
cmp eax, edi
je 0x560351
jmp 0x5602e4
xor edi, edi
mov ecx, dword [esi + 0x250]
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [esi + 0x48]
call fcn.00529480
mov dword [esi + 0xe8], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0x1c8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0x1cc], edi
mov al, byte [0x6ccf5c]
test al, al
jne 0x560c2a
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x309]
test al, al
je 0x560c2a
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 0x5603d5
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 0x5603d5
mov ebx, dword [ebx + 0xbc]
test ebx, ebx
je 0x560393
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
call fcn.005c4fd0
add esp, 0xc
test eax, eax
je 0x5603d5
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
test eax, eax
je 0x5603b4
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 0x5603d5
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 0x560449
mov edx, dword [esi + 0x1cc]
mov ecx, dword [esi + 0x1c8]
test edx, edx
jg 0x560449
jl 0x5603ff
cmp ecx, 0x7d1
jae 0x560449
mov edx, dword [eax]
push str.youtube.com
push edx
call fcn.005c2d30
add esp, 8
test eax, eax
je 0x56042a
mov eax, dword [esi + 0xc]
push str.googlevideo.com
mov ecx, dword [eax]
push ecx
call fcn.005c2d30
add esp, 8
test eax, eax
jne 0x560449
mov ecx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
test ecx, ecx
jl 0x560447
jg 0x560443
cmp eax, 0x7d1
jb 0x560447
or eax, ecx
jne 0x560449
mov bl, 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x560644
test bl, bl
jne 0x560644
mov eax, dword [esi + 0x15c]
test eax, eax
jne 0x5605e7
mov al, byte [0x6ccf5c]
test al, al
jne 0x560565
mov eax, dword [esi + 0xc]
mov byte [ebp - 0x16], bl
mov edx, dword [eax + 0xbc]
test edx, edx
je 0x5604d4
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 0x5604d4
mov edi, edx
mov eax, ebx
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x5604c7
test cl, cl
je 0x5604c3
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x5604c7
add eax, 2
add edi, 2
test cl, cl
jne 0x56049f
xor eax, eax
jmp 0x5604cc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5604d4
mov byte [ebp - 0x16], 1
mov edi, dword [esi + 0x1c4]
mov edx, dword [esi + 0x1c0]
xor ebx, ebx
cmp edi, ebx
jl 0x56050d
jg 0x5604ec
cmp edx, ebx
jbe 0x56050d
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xe8]
mov eax, dword [eax + 0xec]
cmp eax, ebx
jl 0x56050d
jg 0x560505
cmp ecx, ebx
jbe 0x56050d
cmp ecx, edx
jne 0x560514
cmp eax, edi
jne 0x560514
mov al, byte [ebp - 0x16]
test al, al
je 0x560565
mov eax, dword [esi + 0xc]
push 0x6cc7b8
lea ecx, [eax + 0xe4]
call fcn.005df3ef
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 0x5605e7
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x56057a
mov eax, ecx
jmp 0x56057d
add eax, 0x38
push 0x2e
push eax
call fcn.005c2b92
mov edi, eax
add esp, 8
test edi, edi
je 0x5605e7
push 0x6a5bf8
push edi
call fcn.005c531c
add esp, 8
test eax, eax
je 0x5605e7
push 0x6a430c
push edi
call fcn.005c531c
add esp, 8
test eax, eax
je 0x5605e7
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 0x5605e7
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 0x560644
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x5605fc
mov eax, ecx
jmp 0x5605ff
add eax, 0x38
push 0x2e
push eax
call fcn.005c2b92
mov edi, eax
add esp, 8
test edi, edi
je 0x560644
push 0x6a5bf8
push edi
call fcn.005c531c
add esp, 8
test eax, eax
je 0x560644
push 0x6a430c
push edi
call fcn.005c531c
add esp, 8
test eax, eax
je 0x560644
mov ecx, dword [esi + 0xc]
call fcn.005a1020
test eax, eax
jne 0x56113c
mov al, byte [ebp - 0x1c]
test al, al
je 0x560872
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x1c8]
test ecx, ecx
jl 0x560872
jg 0x560670
cmp eax, 0x400
jbe 0x560872
mov ecx, esi
call fcn.005860b0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x5c], eax
push ecx
mov ebx, edx
call fcn.005c461c
mov eax, dword [esi + 0x1c8]
mov edi, dword [ebp - 0x64]
mov ecx, dword [esi + 0x1cc]
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 0x560872
jg 0x5606bd
test eax, eax
jbe 0x560872
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 0x5606ff
mov dword [ebp - 0x14], 1
fild qword [ebp - 0xa0]
fmul dword [0x61af74]
fidiv dword [ebp - 0x14]
call fcn.005c3128
mov edi, edx
mov ecx, eax
cmp edi, ebx
jl 0x560872
jg 0x56072a
cmp ecx, dword [ebp - 0x5c]
jbe 0x560872
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.005c5530
mov ecx, dword [ebp - 0x5c]
push ebx
push ecx
push edx
push eax
call fcn.005c4b60
mov edi, eax
mov eax, dword [esi + 0x1d0]
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.005c4b60
cmp dword [ebp - 0x50], edx
jg 0x560788
jl 0x560773
cmp dword [ebp - 0x54], eax
jae 0x560788
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
jmp 0x5607b6
mov ecx, dword [ebp - 0x5c]
push 0
push 9
push ebx
push ecx
call fcn.005c5530
push 0
push 0xa
push edx
push eax
call fcn.005c4b60
cmp dword [ebp - 0x50], edx
jg 0x5607b6
jl 0x5607ad
cmp dword [ebp - 0x54], eax
jae 0x5607b6
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
cmp edi, 0x2ee0
jle 0x5607c5
mov edi, 0x2ee0
jmp 0x5607cd
test edi, edi
jle 0x560872
mov eax, dword [esi + 0x860]
cmp eax, 0xffffffff
je 0x56086b
lea ecx, [esi + 0x254]
lea ebx, [esi + 0x65c]
mov dword [esi + 0x458], 0
mov dword [ecx], 0
mov dword [ebx], 0
mov dword [esi + 0x258], eax
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov eax, dword [ebx]
cmp eax, 0x80
jae 0x560824
mov edx, dword [esi + 0x860]
mov dword [esi + eax*4 + 0x660], 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 + 0x458]
push eax
push ecx
push 0
call sub.WS2_32.dll_select
jmp 0x560872
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00561150
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x14], ebx
je 0x560c40
cmp ebx, 1
jne 0x560c55
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x2e8], edi
je 0x560c55
mov al, byte [ecx + 0x2ec]
test al, al
je 0x560c55
cmp dword [esi + 0x60], edi
jne 0x560c55
mov eax, dword [0x6c826c]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
push edi
push edx
mov byte [ebp - 4], bl
call fcn.005622f0
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.00529f10
cmp eax, edi
je 0x560942
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2e8], 8
jne 0x56095b
mov ecx, dword [esi + 0xd0]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esi + 0x250]
push edx
add ecx, 0x10
call fcn.0053a970
mov eax, dword [esi + 0x250]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [esi + 0x250]
add ecx, 0x10
call fcn.0053a950
cmp dword [ebp - 0x34], edi
je 0x5609e4
mov dword [esi + 0x160], 0x7582
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005df266
mov ebx, 0x753c
mov dword [ebp - 0x14], ebx
jmp 0x560c55
mov edx, dword [esi + 0xd0]
mov ecx, dword [esi + 0x250]
add ecx, 0x10
mov eax, dword [edx + 0x10]
push eax
call fcn.0053a970
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x44]
push ecx
mov ecx, dword [esi + 0x250]
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.0053af50
mov ebx, eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xd
je 0x5609ce
xor ebx, ebx
mov ecx, dword [esi + 0x250]
add ecx, 0x10
call fcn.0053a950
cmp ebx, edi
je 0x560942
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.00587020
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2e8], 8
jne 0x560a1f
mov dword [esi + 0x1c8], edi
jmp 0x560a29
mov dword [esi + 0x1c8], 0xd
mov edx, dword [esi]
push ebx
mov ecx, esi
mov dword [esi + 0x1cc], edi
call dword [edx + 0xc]
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x1ac]
mov eax, dword [eax + 0x10]
cmp eax, ecx
jl 0x560a49
mov eax, ecx
cmp eax, edi
mov dword [esi + 0x1b0], eax
jne 0x560a59
mov dword [esi + 0x1b0], ebx
mov al, byte [0x6ccf5c]
test al, al
jne 0x560a73
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x309]
test al, al
jne 0x560ba4
mov al, byte [esi + 0x864]
test al, al
jne 0x560ba4
mov edx, dword [esi + 0x250]
push edi
push edi
push edi
push edx
lea ecx, [esi + 0x48]
call fcn.0052ae30
mov eax, dword [esi + 0x250]
mov dword [eax + 0x84], ebx
mov ecx, dword [esi + 0x250]
mov dword [ecx + 0x68], edi
mov dword [ecx + 0x6c], edi
mov edx, dword [esi + 0x250]
mov dword [edx + 0x50], edi
mov dword [edx + 0x54], edi
mov eax, dword [esi + 0x250]
mov dword [eax + 0x48], edi
mov dword [eax + 0x4c], edi
mov ecx, dword [esi + 0x250]
mov dword [ecx + 0x31f0], edi
mov dword [ecx + 0x31f4], edi
mov edx, dword [esi + 0x250]
mov dword [edx + 0x70], edi
mov dword [edx + 0x74], edi
mov ecx, dword [esi + 0x250]
mov eax, dword [ecx]
lea edx, [ecx + 0x31d8]
push edx
call dword [eax + 0x14]
mov eax, dword [esi + 0x250]
mov dword [esi + 0x254], edi
mov dword [esi + 0x458], edi
mov dword [esi + 0x65c], edi
mov ecx, dword [eax + 0x31d8]
mov dword [esi + 0x45c], ecx
mov edx, dword [esi + 0x458]
mov eax, dword [esi + 0x65c]
inc edx
cmp eax, 0x80
mov dword [esi + 0x458], edx
jae 0x560b51
mov edx, dword [esi + 0x250]
mov ecx, dword [edx + 0x31d8]
mov dword [esi + eax*4 + 0x660], ecx
mov eax, dword [esi + 0x65c]
inc eax
mov dword [esi + 0x65c], eax
mov ecx, dword [esi + 0x860]
cmp ecx, 0xffffffff
je 0x560ba4
mov eax, dword [esi + 0x254]
cmp eax, 0x80
jae 0x560b7d
mov dword [esi + eax*4 + 0x258], ecx
mov eax, dword [esi + 0x254]
inc eax
mov dword [esi + 0x254], eax
mov eax, dword [esi + 0x65c]
cmp eax, 0x80
jae 0x560ba4
mov edx, dword [esi + 0x860]
mov dword [esi + eax*4 + 0x660], edx
mov eax, dword [esi + 0x65c]
inc eax
mov dword [esi + 0x65c], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005df266
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.00586e50
mov al, byte [0x6ccf5c]
test al, al
jne 0x560be5
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x309]
test dl, dl
jne 0x560bf3
mov cl, byte [esi + 0x864]
test cl, cl
je 0x560c40
test al, al
jne 0x560c16
mov edx, dword [esi + 0xc]
mov al, byte [edx + 0x309]
test al, al
je 0x560c16
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.00529480
mov dword [esi + 0x1c8], edi
mov dword [esi + 0x1cc], 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.00561540
mov ecx, esi
call fcn.005876b0
xor ebx, ebx
jmp 0x55fcdb
cmp dword [esi + 0x38], edi
je 0x560c78
lea ecx, [esi + 0x48]
call fcn.00531140
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 0x560eb4
mov edx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x1c8]
cmp edx, edi
jg 0x560eb4
jl 0x560cab
cmp eax, 0x7d1
jae 0x560eb4
mov eax, dword [ecx]
push str.youtube.com
push eax
call fcn.005c2d30
add esp, 8
test eax, eax
je 0x560cda
mov ecx, dword [esi + 0xc]
push str.googlevideo.com
mov edx, dword [ecx]
push edx
call fcn.005c2d30
add esp, 8
test eax, eax
jne 0x560eb4
mov eax, dword [esi + 0x1cc]
mov edx, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1c4]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x1c0]
mov dword [ebp - 0x28], edi
cmp edx, eax
jne 0x560d05
mov ebx, dword [ebp - 0x2c]
mov edi, ecx
cmp ebx, edi
je 0x560d0d
or eax, ecx
jne 0x560eaa
mov eax, dword [esi + 0x1cc]
mov ebx, edx
mov dword [ebp - 0x2c], eax
lea eax, [ebx + 1]
push eax
call fcn.005db66d
mov ecx, dword [esi + 0x250]
xor edi, edi
add esp, 4
mov dword [ecx + 0x31d0], eax
mov edx, dword [esi + 0x250]
cmp dword [edx + 0x31d0], edi
je 0x560eb1
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 0x560eb1
mov ecx, dword [esi + 0x250]
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 0x560e1e
cmp dword [ebp - 0x1c], ebx
jne 0x560e1e
mov eax, dword [esi + 0x250]
push 7
push 0x69e028
mov ecx, dword [eax + 0x31d0]
mov byte [ecx + ebx], 0
mov edx, dword [esi + 0x250]
mov eax, dword [edx + 0x31d0]
push eax
call fcn.005c4fd0
add esp, 0xc
test eax, eax
je 0x560e0c
mov ecx, dword [esi + 0x250]
push 8
push 0x69e01c
mov edx, dword [ecx + 0x31d0]
push edx
call fcn.005c4fd0
add esp, 0xc
test eax, eax
je 0x560e0c
mov eax, dword [esi + 0x250]
mov eax, dword [eax + 0x31d0]
push eax
call fcn.005db696
mov ecx, dword [esi + 0x250]
add esp, 4
mov dword [ecx + 0x31d0], edi
jmp 0x560e1e
mov ecx, dword [esi + 0x250]
call fcn.0054b7b0
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 0x560eb1
lea ebx, [esi + 0x48]
mov dword [esi + 0x1c8], edi
mov dword [esi + 0x1a0], edi
mov ecx, ebx
mov dword [esi + 0x1cc], edi
mov dword [esi + 0x1a4], edi
call fcn.00531140
mov ecx, ebx
call fcn.00529480
mov eax, dword [esi + 0x250]
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 + 0x250]
call fcn.00559ed0
push 1
push edi
push edi
mov ecx, esi
call fcn.00587020
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 0x560eb4
mov ebx, dword [ebp - 0x14]
cmp ebx, 0x753c
je 0x560ec5
cmp ebx, 0xffffffff
jne 0x560f53
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x144]
test ch, 1
je 0x561035
cmp dword [eax + 0x30], edi
je 0x561035
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1cc]
or eax, ecx
je 0x561035
mov ecx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
cmp ecx, edi
jl 0x561035
jg 0x560f15
cmp eax, 0x40000000
jbe 0x561035
push str.Checking_flv_file_struct._n
mov ecx, esi
call fcn.005863b0
mov ecx, esi
call fcn.0055f840
cmp eax, edi
je 0x561035
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x1c8]
push 1
push ecx
push eax
mov ecx, esi
call fcn.00587020
push str.DurationlastTimeStamp__seems_the_flv_file_is_comlete._n
mov ecx, esi
call fcn.005863b0
mov eax, dword [esi + 0x1cc]
mov ecx, dword [esi + 0x1c8]
mov edx, dword [0x6cdebc]
push eax
push ecx
lea eax, [ebp - 0x1c4]
push edx
push eax
call fcn.005c3648
add esp, 0x10
lea ecx, [ebp - 0x1c4]
push 1
push ecx
mov ecx, esi
call fcn.00586260
mov eax, dword [esi + 0x1c8]
mov edx, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1cc]
mov edi, dword [esi + 0x1c4]
cmp eax, edx
mov dword [ebp - 0x2c], ecx
jne 0x560fb3
mov ebx, dword [ebp - 0x2c]
mov ecx, edi
cmp ebx, ecx
je 0x561093
mov ecx, edx
or ecx, edi
je 0x561093
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x1cc]
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 0x560ff0
cmp dword [ebp - 0x48], ecx
je 0x561093
mov eax, edx
mov edx, dword [ebp - 0x30]
mov ecx, edi
add eax, edx
mov edx, dword [esi + 0x1cc]
adc ecx, ebx
cmp edx, ecx
jl 0x561139
jg 0x561017
cmp dword [esi + 0x1c8], eax
jbe 0x561139
lea ecx, [esi + 0x48]
call fcn.00531e00
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 + 0x1cc]
mov edx, dword [esi + 0x1c8]
mov eax, dword [0x6cdeb0]
push ecx
push edx
lea ecx, [ebp - 0x1c4]
push eax
push ecx
call fcn.005c3648
add esp, 0x10
lea edx, [ebp - 0x1c4]
mov ecx, esi
push 1
push edx
call fcn.00586260
mov esi, dword [esi + 0x160]
cmp esi, edi
je 0x561080
cmp ebx, 0x753c
mov eax, esi
je 0x56113c
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 + 0x1b0]
jge 0x561109
lea edx, [ebx + ebx*2]
mov ecx, dword [esi + 0x250]
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 0x561106
mov edx, dword [edi + 0xa0]
mov eax, dword [edx]
cmp dword [eax], 0
je 0x561106
mov ecx, dword [edi + 0x68]
mov eax, dword [edi + 0x6c]
or ecx, eax
je 0x561106
lea eax, [edi + 0x3e0]
mov ecx, edi
push eax
call fcn.00536470
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 0x561095
mov ecx, esi
call fcn.005876b0
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