Function at 0x594330
Capabilities:
Check if file exists
Get file attributes
Get file size
Get socket status
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x6639f8
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp + 0x34], esi
xor edi, edi
mov dword [ebp - 4], edi
wait
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x334]
cmp ecx, 0x80
je 0x5946a1
cmp ecx, 8
jne 0x59439d
cmp dword [eax + 0x32c], ecx
je 0x59439d
cmp byte [eax + 0x18d], 0
jne 0x5946a1
mov edx, dword [eax + 0x32c]
cmp edx, 4
je 0x59458a
cmp ecx, 0x40
jne 0x5943be
cmp byte [eax + 0x18f], 0
jne 0x59458a
cmp edx, 8
je 0x59458a
cmp ecx, 0x800
je 0x59458a
cmp edx, 0x40
jne 0x5943e5
cmp byte [eax + 0x18f], 0
jne 0x59458a
lea ecx, [ebp + 0x6c]
call fcn.004024f0
mov ebx, 1
mov byte [ebp - 4], bl
lea eax, [ebp + 0x6c]
push eax
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push edx
call fcn.00466df0
push str.googleusercontent.com
mov eax, dword [ebp + 0x6c]
push eax
call fcn.006226ae
add esp, 0x10
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esi + 0x1c0]
or ecx, dword [esi + 0x1c4]
jne 0x594579
cmp byte [esi + 0x888], cl
jne 0x594579
cmp dword [esi + 0x1ac], ebx
jle 0x594579
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 0x173], 0
je 0x594579
cmp dword [ecx + 0x334], edi
jne 0x594579
mov ecx, dword [esi + 0x274]
cmp byte [ecx + 0xe0], 0
je 0x594477
cmp eax, edi
je 0x594579
mov dword [ecx + 0x3524], ebx
mov eax, dword [esi + 0x274]
mov dword [eax + 0x3508], edi
mov dword [eax + 0x350c], edi
mov eax, dword [esi + 0x274]
mov dword [eax + 0x34e8], edi
mov dword [eax + 0x34ec], edi
mov ecx, dword [esi + 0x274]
mov byte [ecx + 0x6697], bl
mov eax, dword [esi + 0x274]
lea ecx, [eax + 0x3488]
mov edx, dword [ecx]
add eax, 0x6688
push eax
mov eax, dword [edx + 0x18]
call eax
xor eax, eax
mov dword [ebp - 0x40], eax
cmp eax, dword [esi + 0x47c]
jae 0x5944ec
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + eax*4 + 0x480]
cmp edx, dword [ecx + 0x6688]
je 0x5944ec
add eax, ebx
jmp 0x5944c8
mov ecx, dword [esi + 0x47c]
cmp eax, ecx
jne 0x594517
cmp ecx, 0x80
jae 0x594517
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x6688]
mov dword [esi + eax*4 + 0x480], edx
add dword [esi + 0x47c], ebx
xor eax, eax
mov dword [ebp - 0x20], eax
cmp eax, dword [esi + 0x680]
jae 0x59453d
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + eax*4 + 0x684]
cmp edx, dword [ecx + 0x6688]
je 0x59453d
add eax, ebx
jmp 0x594519
mov ecx, dword [esi + 0x680]
cmp eax, ecx
jne 0x594568
cmp ecx, 0x80
jae 0x594568
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x6688]
mov dword [esi + eax*4 + 0x684], edx
add dword [esi + 0x680], ebx
mov eax, 2
mov dword [esi + 0x1b8], eax
mov dword [esi + 0x1b0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x6c]
call fcn.00402560
jmp 0x5946a9
mov dword [esi + 0x28], edi
cmp dword [eax + 0x320], edi
je 0x5946a4
cmp dword [esi + 0x240], edi
je 0x5946a4
mov eax, dword [eax + 0x320]
or dword [eax + 0x17c], 0x100
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x320]
cmp dword [eax + 0x954], 3
jne 0x5945e9
mov eax, dword [eax + 0x50]
cmp eax, edi
je 0x5945da
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5945e9
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0x320]
mov dword [edx + 0x954], edi
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x320]
mov eax, dword [ecx + 0x954]
cmp eax, edi
je 0x59460a
cmp eax, 2
je 0x59460a
cmp eax, 4
jne 0x5946a4
cmp dword [ecx + 0x958], edi
jne 0x5946a4
push str.Starting_audio_thread_r_n
mov ecx, esi
call fcn.005b42c0
mov eax, dword [esi + 0x260]
cmp eax, edi
je 0x594656
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0x320]
mov al, byte [eax + 0xaff]
mov byte [edx + 0xaff], al
mov ecx, dword [esi + 0x260]
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x320]
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x320]
mov ecx, dword [edx + 0x20]
cmp ecx, edi
je 0x59468b
push ecx
mov eax, dword [eax]
push eax
call fcn.006226ae
add esp, 8
test eax, eax
jne 0x59468b
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x320]
mov dl, byte [eax + 0x35c]
mov byte [ecx + 0x37c], dl
mov ebx, 1
push ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x320]
call fcn.005c7e50
jmp 0x5946a9
mov dword [esi + 0x28], edi
mov ebx, 1
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x334], edi
je 0x5946c3
cmp byte [eax + 0x338], 0
je 0x5946c3
mov dword [eax + 0xb0], ebx
mov byte [ebp + 0x6a], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
push str..googlevideo.com
push eax
call fcn.00622230
add esp, 8
test eax, eax
je 0x5949e7
mov byte [esi + 0x258], 1
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x32c], 4
jne 0x5949e7
cmp dword [esi + 0x40], edi
jne 0x5949e7
cmp byte [eax + 0x338], 0
jne 0x5949e7
mov ecx, dword [esi + 0x1c0]
cmp dword [esi + 0x1c4], edi
jl 0x5949e7
jg 0x59472f
cmp ecx, 0x1000000
jbe 0x5949e7
cmp dword [eax + 0xfc], edi
je 0x59473f
mov eax, dword [eax + 0xfc]
jmp 0x594744
add eax, 0x100
push 0x2e
push eax
call fcn.006206a1
mov edi, eax
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0xa4]
push 0x681bd8
push eax
call fcn.006226ae
add esp, 0x10
test eax, eax
je 0x5949dc
test edi, edi
je 0x594787
push str..mp4
push edi
call fcn.0062609a
add esp, 8
test eax, eax
je 0x5949dc
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xbc]
test eax, eax
je 0x5947c9
push str.video_mp4
push eax
call fcn.006226ae
add esp, 8
test eax, eax
je 0x5949dc
push 0x6b28d8
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0xbc]
push edx
call fcn.006226ae
add esp, 8
test eax, eax
je 0x5949dc
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x5949e7
push eax
call fcn.004568a0
add esp, 4
mov edx, dword [esi + 0x1c0]
mov edi, dword [esi + 0x1c4]
mov ecx, dword [esi + 0x274]
lea ebx, [ecx + 0x78]
push ebx
push edi
push edx
mov edx, dword [ecx + 0x80]
add edx, dword [ecx + 0x60]
mov edi, dword [ecx + 0x84]
adc edi, dword [ecx + 0x64]
push edi
push edx
xor edi, edi
push edi
push eax
lea ecx, [esi + 0x28]
call fcn.00555800
test eax, eax
je 0x5949e2
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x68]
mov eax, dword [ecx + 0x6c]
cmp eax, edi
jl 0x594853
jg 0x594836
cmp edx, edi
jb 0x594853
sub edx, 0x40
sbb eax, edi
mov ebx, dword [ecx + 0x7c]
cmp ebx, eax
jg 0x5949e2
jl 0x594853
mov eax, dword [ecx + 0x78]
cmp eax, edx
jae 0x5949e2
call fcn.0057dcf0
mov eax, dword [esi + 0x274]
mov ecx, dword [eax + 0x80]
add dword [eax + 0x60], ecx
mov edx, dword [eax + 0x84]
adc dword [eax + 0x64], edx
mov eax, dword [esi + 0x274]
mov dword [eax + 0x80], edi
mov dword [eax + 0x84], edi
mov ecx, dword [esi + 0x274]
mov eax, dword [ecx]
lea edx, [ecx + 0x3200]
push edx
mov eax, dword [eax + 0x18]
call eax
mov dword [esi + 0x278], edi
mov dword [esi + 0x47c], edi
mov dword [esi + 0x680], edi
xor eax, eax
lea ebx, [eax + 1]
mov dword [ebp - 0x34], eax
cmp eax, dword [esi + 0x47c]
jae 0x5948d1
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + eax*4 + 0x480]
cmp edx, dword [ecx + 0x3200]
je 0x5948d1
add eax, ebx
jmp 0x5948ad
mov ecx, dword [esi + 0x47c]
cmp eax, ecx
jne 0x5948fc
cmp ecx, 0x80
jae 0x5948fc
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x3200]
mov dword [esi + eax*4 + 0x480], edx
add dword [esi + 0x47c], ebx
xor eax, eax
mov dword [ebp - 0x24], eax
cmp eax, dword [esi + 0x680]
jae 0x594922
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + eax*4 + 0x684]
cmp edx, dword [ecx + 0x3200]
je 0x594922
add eax, ebx
jmp 0x5948fe
mov ecx, dword [esi + 0x680]
cmp eax, ecx
jne 0x59494d
cmp ecx, 0x80
jae 0x59494d
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x3200]
mov dword [esi + eax*4 + 0x684], edx
add dword [esi + 0x680], ebx
mov ecx, dword [esi + 0x884]
cmp ecx, 0xffffffff
je 0x5949e7
xor eax, eax
mov dword [ebp - 0x38], eax
cmp eax, dword [esi + 0x278]
jae 0x594976
cmp dword [esi + eax*4 + 0x27c], ecx
je 0x594976
add eax, ebx
jmp 0x59495e
mov edx, dword [esi + 0x278]
cmp eax, edx
jne 0x594995
cmp edx, 0x80
jae 0x594995
mov dword [esi + eax*4 + 0x27c], ecx
add dword [esi + 0x278], ebx
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp eax, dword [esi + 0x680]
jae 0x5949b5
mov ecx, dword [esi + eax*4 + 0x684]
cmp ecx, dword [esi + 0x884]
je 0x5949b5
add eax, ebx
jmp 0x594997
mov ecx, dword [esi + 0x680]
cmp eax, ecx
jne 0x5949e7
cmp ecx, 0x80
jae 0x5949e7
mov edx, dword [esi + 0x884]
mov dword [esi + eax*4 + 0x684], edx
add dword [esi + 0x680], ebx
jmp 0x5949e7
mov byte [ebp + 0x6a], 1
jmp 0x5949e7
mov ebx, 1
push ebx
mov eax, dword [0x75ebc0]
push eax
mov ecx, esi
call fcn.005b5400
mov ecx, dword [esi + 0x260]
test ecx, ecx
je 0x594a04
call fcn.005b8540
mov ecx, esi
call fcn.005b4470
mov dword [ebp + 0x50], 0xbb8
mov ecx, esi
call fcn.005b49f0
add dword [esi + 0x1bc], 0xfffffffb
lea ecx, [ebp + 0x70]
call fcn.004024f0
mov byte [ebp - 4], 2
xor edi, edi
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x60], edi
mov ecx, dword [esi + 0x1c8]
mov dword [ebp + 0x2c], ecx
mov edx, dword [esi + 0x1cc]
mov dword [ebp + 0x30], edx
mov ecx, esi
call fcn.005b4b30
xor eax, eax
cmp byte [esi + 0x258], al
sete al
add eax, 2
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edi
lea ecx, [ebp - 0xb4]
push ecx
call fcn.006246b1
lea edx, [ebp - 0x30]
push edx
call fcn.006246b1
add esp, 8
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], edi
mov dword [ebp + 0x50], 0x14db
mov byte [ebp + 0x69], 1
mov dword [ebp + 0x54], edi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], edi
cmp edi, dword [esi + 0x1b0]
jge 0x594ac6
mov eax, edi
imul eax, eax, 0x3488
mov ecx, dword [esi + 0x274]
add ecx, eax
cmp dword [ecx + 0x9c], 0
je 0x594ac3
inc ebx
call fcn.005902e0
test al, al
je 0x594ac3
inc dword [ebp + 0x54]
inc edi
jmp 0x594a95
mov eax, 1
cmp dword [ebp + 0x54], eax
jne 0x594ae0
cmp ebx, eax
jne 0x594ae0
mov byte [ebp + 0x69], 0
mov dword [ebp + 8], eax
jmp 0x594ae0
cmp dword [esi + 0x1c], 0
je 0x594b64
lea ecx, [esi + 0x28]
call fcn.0055a000
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x334], 0x20
jne 0x594b08
mov eax, dword [ecx + 0xf0]
mov ecx, dword [ecx + 0xf4]
jmp 0x594b14
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1cc]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], 0
lea edx, [ebp - 0x78]
push edx
push 0x1471
push 0x111
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402560
mov eax, 0x7540
wait
jmp 0x5961f0
mov ecx, esi
call fcn.005b4060
mov byte [ebp + 0x58], al
test al, al
je 0x594b90
lea edx, [ebp - 0x4c]
push edx
call fcn.006246b1
add esp, 4
mov eax, dword [esi + 0x1c8]
mov dword [ebp + 0x20], eax
mov ecx, dword [esi + 0x1cc]
mov dword [ebp + 0x24], ecx
xor ebx, ebx
xor edi, edi
cmp edi, dword [esi + 0x1b0]
jge 0x594bc4
mov edx, edi
imul edx, edx, 0x3488
mov eax, dword [esi + 0x274]
lea ecx, [edx + eax]
cmp dword [ecx + 0x9c], 0
je 0x594bfa
call fcn.0057a920
test al, al
je 0x594bfa
mov ebx, 1
mov byte [ebp + 0x6b], 0
cmp byte [ebp + 0x69], 0
je 0x594bfd
test ebx, ebx
jne 0x594c16
lea ecx, [ebp + 8]
push ecx
lea edx, [esi + 0x680]
push edx
lea eax, [esi + 0x47c]
push eax
lea ecx, [esi + 0x278]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_select]
mov ebx, eax
mov byte [ebp + 0x6b], 1
jmp 0x594c16
inc edi
jmp 0x594b94
mov ebx, 1
xor edx, edx
cmp byte [esi + 0x258], dl
sete dl
add edx, 2
mov dword [ebp + 8], edx
mov byte [ebp + 0x69], bl
cmp dword [esi + 0x1c], 0
je 0x594c29
lea ecx, [esi + 0x28]
call fcn.0055a000
jmp 0x594b4d
mov eax, dword [esi + 0x1c8]
or eax, dword [esi + 0x1cc]
jne 0x594c6b
lea eax, [ebp - 0x30]
push eax
call fcn.006246b1
add esp, 4
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0xb4]
cmp ecx, 0x12c
jle 0x594c6b
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402560
mov eax, 0x7533
wait
jmp 0x5961f0
mov edx, dword [esi + 0x1c8]
mov dword [ebp + 0x40], edx
mov eax, dword [esi + 0x1cc]
mov dword [ebp + 0x44], eax
cmp ebx, 0xffffffff
je 0x594ccf
test ebx, ebx
je 0x594ccf
xor ebx, ebx
cmp ebx, dword [esi + 0x1b0]
jge 0x594cd6
mov ecx, ebx
imul ecx, ecx, 0x3488
mov edx, dword [esi + 0x274]
lea edi, [ecx + edx]
cmp dword [edi + 0x9c], 0
je 0x594ccc
cmp dword [esi + 0x1c], 0
jne 0x594c1c
mov ecx, edi
cmp byte [ebp + 0x6b], 0
jne 0x594cc7
call fcn.0057a920
test al, al
je 0x594ccc
mov ecx, edi
call fcn.0058a570
inc ebx
jmp 0x594c88
mov ecx, esi
call fcn.00590be0
mov eax, dword [ebp + 0x58]
push eax
push 0
mov ecx, esi
call fcn.005b4bd0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.006246b1
add esp, 4
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x30]
imul edx, edx, 0x3e8
movzx eax, word [ebp - 0x2c]
sub edx, eax
movzx ecx, word [ebp - 0x18]
add edx, ecx
cmp edx, 0xfa
jl 0x594d49
lea edx, [ebp - 0x30]
push edx
call fcn.006246b1
add esp, 4
xor edi, edi
lea ecx, [ecx]
cmp edi, dword [esi + 0x1b0]
jge 0x594d49
mov eax, edi
imul eax, eax, 0x3488
mov ecx, dword [esi + 0x274]
add ecx, eax
cmp dword [ecx + 0x9c], 0
je 0x594d46
call fcn.005775e0
inc edi
jmp 0x594d20
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x174], 0
je 0x594d70
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x88]
or edx, dword [ecx + 0x8c]
je 0x594d70
mov byte [eax + 0x174], 0
xor edx, edx
cmp dword [esi + 0x24], edx
jne 0x594ed2
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1cc]
cmp dword [ebp + 0x30], ecx
jg 0x594ed2
jl 0x594d9b
cmp dword [ebp + 0x2c], eax
jae 0x594ed2
cmp dword [ebp + 0x40], eax
jne 0x594ed2
cmp dword [ebp + 0x44], ecx
jne 0x594ed2
mov eax, dword [ebp + 0x5c]
or eax, dword [ebp + 0x60]
mov eax, dword [ebp - 0x1c]
jne 0x594dcd
imul eax, eax, 0x3e8
movzx ecx, word [ebp - 0x18]
add eax, ecx
cdq
mov dword [ebp + 0x5c], eax
jmp 0x594ed5
imul eax, eax, 0x3e8
movzx edx, word [ebp - 0x18]
add eax, edx
cdq
mov edi, eax
mov ebx, edx
mov ecx, dword [esi + 0xc]
call fcn.005775a0
fstp qword [ebp + 0x38]
mov ecx, dword [esi + 0xc]
call fcn.00577560
fld qword [ebp + 0x38]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x594e01
fstp st(1)
jmp 0x594e03
fstp st(0)
fmul qword [0x6b28d0]
fadd qword [0x6b28c8]
call fcn.00622e26
sub edi, dword [ebp + 0x5c]
sbb ebx, dword [ebp + 0x60]
cmp ebx, edx
jl 0x594ed8
jg 0x594e2c
cmp edi, eax
jbe 0x594ed8
xor eax, eax
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], eax
mov ecx, esi
call fcn.005c92c0
test eax, eax
je 0x594ed8
cmp dword [esi + 0x1c], 0
jne 0x594b4d
push str.Restart_type_s018_n
mov ecx, esi
call fcn.005b42c0
mov ecx, dword [esi + 0x274]
call fcn.0057dcf0
mov ecx, dword [esi + 0x274]
call fcn.0057c100
mov ecx, dword [esi + 0x274]
mov eax, dword [ecx]
lea edx, [ecx + 0x3200]
push edx
mov eax, dword [eax + 0x18]
call eax
mov edi, eax
test edi, edi
jne 0x594e9b
push eax
mov ecx, dword [esi + 0x274]
call fcn.0058d060
mov edi, eax
test edi, edi
je 0x594eaf
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402560
mov eax, edi
wait
jmp 0x5961f0
mov ecx, dword [esi + 0x1c8]
mov dword [ebp + 0x2c], ecx
mov edx, dword [esi + 0x1cc]
mov dword [ebp + 0x30], edx
push 1
mov eax, dword [0x75ebc0]
push eax
mov ecx, esi
call fcn.005b5400
jmp 0x594ed8
mov dword [ebp + 0x5c], edx
mov dword [ebp + 0x60], edx
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xb0], 2
jne 0x5952f4
mov bl, 1
mov ecx, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1c4]
mov eax, edx
test eax, eax
jl 0x594f1d
jg 0x594f03
cmp ecx, 0x32
jbe 0x594f1d
mov eax, dword [esi + 0x274]
cmp dword [eax + 0x8c], 0
jl 0x594f46
jg 0x594f1d
cmp dword [eax + 0x88], 0x32
jb 0x594f46
mov eax, edx
test eax, eax
jg 0x594f62
jl 0x594f2a
cmp ecx, 0x32
ja 0x594f62
mov eax, dword [esi + 0x274]
mov edi, dword [eax + 0x8c]
cmp edi, edx
jg 0x594f62
jl 0x594f46
mov edx, dword [eax + 0x88]
cmp edx, ecx
jae 0x594f62
xor bl, bl
cmp byte [eax + 0xe0], bl
je 0x594f62
mov ecx, dword [eax + 0x58]
or ecx, dword [eax + 0x5c]
jne 0x594f62
cmp byte [eax + 0xe1], cl
je 0x594f62
mov bl, 1
mov ecx, dword [esi + 0xc]
test dword [ecx + 0x15c], 0x100
je 0x594fdd
mov eax, dword [esi + 0x1c8]
cmp dword [esi + 0x1cc], 0
jg 0x594fdd
jl 0x594f89
cmp eax, 0x7d1
jae 0x594fdd
mov eax, dword [ecx]
push str.youtube.com
push eax
call fcn.00622230
add esp, 8
test eax, eax
jne 0x594fb4
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
push str.googlevideo.com
push eax
call fcn.00622230
add esp, 8
test eax, eax
je 0x594fdd
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
test ecx, ecx
jl 0x5952f4
jg 0x594fd5
cmp eax, 0x7d1
jb 0x5952f4
or eax, ecx
je 0x5952f4
test bl, bl
je 0x5952f4
movzx eax, byte [esi + 0x25e]
push eax
mov ecx, dword [esi + 0xc]
call fcn.005d3900
mov dword [ebp + 0x64], eax
mov edi, dword [esi + 0xc]
cmp byte [edi + 0x356], 0
je 0x595012
mov ecx, 0x75e2a4
call fcn.005776f0
test al, al
jne 0x59501b
cmp byte [esi + 0x888], 0
je 0x595089
xor ebx, ebx
cmp dword [edi + 0xb0], 2
jne 0x59502b
cmp dword [ebp + 0x64], ebx
je 0x59508b
mov ecx, dword [esi + 0x274]
call fcn.0057dcf0
lea ecx, [esi + 0x28]
call fcn.0055aed0
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1cc], ebx
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 0x356], 0
je 0x595619
mov ecx, 0x75e2a4
call fcn.005776f0
test al, al
je 0x595619
jmp 0x594b4d
xor ebx, ebx
cmp dword [esi + 0xb8], ebx
jle 0x59511a
mov edx, dword [edi + 0xcc]
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5950a2
sub eax, ebx
je 0x59511a
mov edi, dword [edi + 0xbc]
test edi, edi
je 0x5950d8
mov eax, edx
lea ebx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5950c0
sub eax, ebx
push eax
push edi
push edx
call fcn.006255fd
add esp, 0xc
test eax, eax
je 0x59511a
mov eax, dword [esi + 0x14]
cmp dword [eax], 0
je 0x5950f9
mov edx, dword [esi + 0xb8]
push edx
mov ecx, dword [ebp + 0x50]
push ecx
push 0x111
mov edx, dword [eax]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x18]
cmp dword [eax], 0
je 0x59511a
mov ecx, dword [esi + 0xb8]
push ecx
mov edx, dword [ebp + 0x50]
push edx
push 0x111
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp + 0x64], 0
je 0x5952f4
cmp dword [esi + 0x148], 0
jne 0x595296
cmp byte [0x75e2ab], 0
jne 0x595225
mov byte [ebp + 0x6b], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x59519d
mov edi, dword [eax + 0xe4]
mov eax, edi
lea ebx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x595160
sub eax, ebx
je 0x59519d
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x595190
test dl, dl
je 0x59518c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x595190
add eax, 2
add ecx, 2
test dl, dl
jne 0x595170
xor eax, eax
jmp 0x595195
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x59519d
mov byte [ebp + 0x6b], 1
mov edx, dword [esi + 0x1c0]
mov edi, dword [esi + 0x1c4]
test edi, edi
jl 0x5951d4
jg 0x5951b3
test edx, edx
jbe 0x5951d4
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0xe8]
mov ecx, dword [ecx + 0xec]
test ecx, ecx
jl 0x5951d4
jg 0x5951cc
test eax, eax
jbe 0x5951d4
cmp eax, edx
jne 0x5951da
cmp ecx, edi
jne 0x5951da
cmp byte [ebp + 0x6b], 0
je 0x595225
push 0x67997c
mov eax, dword [esi + 0xc]
lea ecx, [eax + 0xe4]
call fcn.0054f750
mov eax, dword [esi + 0xc]
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
push 0x50040
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [0x75f3c0]
push eax
push 0
call fcn.00473680
add esp, 0x10
jmp 0x594b4d
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x3c], 0
je 0x595296
cmp dword [eax + 0x34], 0
je 0x595239
mov eax, dword [eax + 0x34]
jmp 0x59523c
add eax, 0x38
push 0x2e
push eax
call fcn.006206a1
add esp, 8
mov edi, eax
test edi, edi
je 0x595296
push 0x68b37c
push edi
call fcn.0062609a
add esp, 8
test eax, eax
je 0x595296
push 0x68572c
push edi
call fcn.0062609a
add esp, 8
test eax, eax
je 0x595296
push 0x50004
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [0x75ec34]
push eax
push 0
call fcn.00473680
add esp, 0x10
cmp eax, 7
je 0x594b4d
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x3c], 0
je 0x5952f4
cmp dword [eax + 0x34], 0
je 0x5952aa
mov eax, dword [eax + 0x34]
jmp 0x5952ad
add eax, 0x38
push 0x2e
push eax
call fcn.006206a1
add esp, 8
mov edi, eax
test edi, edi
je 0x5952f4
push 0x68b37c
push edi
call fcn.0062609a
add esp, 8
test eax, eax
je 0x5952f4
push 0x68572c
push edi
call fcn.0062609a
add esp, 8
test eax, eax
je 0x5952f4
mov ecx, dword [esi + 0xc]
call fcn.005ced70
mov edi, eax
test edi, edi
jne 0x594e9b
cmp byte [ebp + 0x58], 0
je 0x59552c
mov eax, dword [esi + 0x1c8]
cmp dword [esi + 0x1cc], 0
jl 0x59552c
jg 0x59531e
cmp eax, 0x400
jbe 0x59552c
mov ecx, esi
call fcn.005b4030
mov ebx, eax
mov edi, edx
lea ecx, [ebp - 0x58]
push ecx
call fcn.006246b1
add esp, 4
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1cc]
sub eax, dword [ebp + 0x20]
sbb ecx, dword [ebp + 0x24]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
js 0x59552c
jg 0x59535d
test eax, eax
jbe 0x59552c
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x4c]
imul eax, eax, 0x3e8
movzx edx, word [ebp - 0x48]
sub eax, edx
movzx ecx, word [ebp - 0x54]
add eax, ecx
mov dword [ebp + 0x6c], eax
jne 0x595381
mov dword [ebp + 0x6c], 1
fild qword [ebp]
fmul qword [0x687b88]
fidiv dword [ebp + 0x6c]
call fcn.00622e26
mov ecx, eax
cmp edx, edi
jl 0x59552c
jg 0x5953a6
cmp ecx, ebx
jbe 0x59552c
sub ecx, ebx
sbb edx, edi
mov dword [ebp + 0x4c], edx
mov eax, dword [ebp + 0x6c]
cdq
push edx
push eax
mov edx, dword [ebp + 0x4c]
push edx
push ecx
call fcn.006254d0
push edi
push ebx
push edx
push eax
call fcn.00624b70
mov dword [ebp + 0x6c], eax
mov eax, dword [esi + 0x1d0]
cdq
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
push 0
push 2
push edi
push ebx
call fcn.00624b70
cmp dword [ebp + 0x14], edx
jg 0x595416
jl 0x5953ed
cmp dword [ebp + 0x10], eax
jae 0x595416
mov eax, 0x66666667
imul dword [ebp + 0x6c]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x6c]
xor ebx, ebx
cmp ecx, 0x2ee0
jle 0x595447
mov ecx, 0x2ee0
jmp 0x59544f
push 0
push 9
push edi
push ebx
call fcn.006254d0
push 0
push 0xa
push edx
push eax
call fcn.00624b70
cmp dword [ebp + 0x14], edx
jg 0x595402
jl 0x595438
cmp dword [ebp + 0x10], eax
jae 0x595402
mov eax, dword [ebp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [ebp + 0x6c], ecx
jmp 0x595405
cmp ecx, ebx
jle 0x59552c
mov edi, dword [esi + 0x884]
cmp edi, 0xffffffff
je 0x595525
mov dword [esi + 0x278], ebx
mov dword [esi + 0x47c], ebx
mov dword [esi + 0x680], ebx
xor eax, eax
cmp eax, dword [esi + 0x278]
jae 0x595486
cmp dword [esi + eax*4 + 0x27c], edi
je 0x595486
inc eax
jmp 0x595472
mov edx, dword [esi + 0x278]
cmp eax, edx
jne 0x5954a5
cmp edx, 0x80
jae 0x5954a5
mov dword [esi + eax*4 + 0x27c], edi
inc dword [esi + 0x278]
xor eax, eax
cmp eax, dword [esi + 0x680]
jae 0x5954c1
mov edx, dword [esi + eax*4 + 0x684]
cmp edx, dword [esi + 0x884]
je 0x5954c1
inc eax
jmp 0x5954a7
lea edi, [esi + 0x680]
mov edx, dword [edi]
cmp eax, edx
jne 0x5954e4
cmp edx, 0x80
jae 0x5954e4
mov edx, dword [esi + 0x884]
mov dword [esi + eax*4 + 0x684], edx
inc dword [edi]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 0x18], eax
imul eax, eax, 0x3e8
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [ebp + 0x1c], ecx
lea eax, [ebp + 0x18]
push eax
push edi
lea ecx, [esi + 0x47c]
push ecx
lea edx, [esi + 0x278]
push edx
push ebx
call dword [sym.imp.WS2_32.dll_select]
jmp 0x59552c
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00590850
mov dword [ebp + 0x64], eax
xor edi, edi
cmp eax, edi
je 0x595f5c
mov byte [ebp + 0x68], 1
cmp eax, 1
jne 0x5957c8
cmp dword [esi + 0x40], edi
jne 0x5957c8
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x334], edi
je 0x59565a
cmp byte [eax + 0x338], 0
je 0x59565a
mov ecx, dword [esi + 0x274]
add ecx, 0x10
call fcn.0056b4c0
mov ecx, esi
call fcn.00593350
test eax, eax
je 0x595630
mov byte [ebp + 0x68], 0
mov eax, dword [esi + 0xc]
mov byte [eax + 0x34f], 0
mov ecx, dword [esi + 0xc]
mov byte [ecx + 0x350], 1
mov edx, dword [esi + 0xc]
mov byte [edx + 0x33e], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0xc]
fld qword [eax + 0x18]
fstp qword [ecx + 0x3b8]
mov ecx, esi
call fcn.005b4640
mov edx, dword [esi + 0xc]
mov bl, byte [edx + 0x356]
test bl, bl
je 0x5955e2
mov ecx, 0x75e2a4
call fcn.005776f0
test al, al
jne 0x5955ef
cmp byte [esi + 0x888], 0
je 0x595f5c
test bl, bl
je 0x595605
mov ecx, 0x75e2a4
call fcn.005776f0
test al, al
jne 0x594b4d
lea ecx, [esi + 0x28]
call fcn.0055aed0
mov dword [esi + 0x1c8], edi
mov dword [esi + 0x1cc], edi
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402560
mov eax, 0x756a
wait
jmp 0x5961f0
mov eax, dword [esi + 0xc]
mov byte [eax + 0x34f], 0
mov ecx, dword [esi + 0xc]
mov byte [ecx + 0x350], 1
mov edx, dword [esi + 0xc]
mov byte [edx + 0x33e], 0
mov dword [ebp + 0x64], 0x753c
jmp 0x5957c8
mov eax, dword [eax]
push str.googlevideo.com
push eax
call fcn.00622230
add esp, 8
test eax, eax
je 0x5957c8
mov eax, dword [esi + 0x1c8]
cmp dword [esi + 0x1cc], edi
jg 0x5957c8
jl 0x595691
cmp eax, 0x1f400
jae 0x5957c8
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
cmp eax, edi
je 0x5957c8
push str.dur0.0
push eax
call fcn.00622230
add esp, 8
test eax, eax
jne 0x5956c9
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
push str._dur0.0
push eax
call fcn.00622230
add esp, 8
test eax, eax
je 0x59572d
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 8]
push str.sourceyt_otf
push eax
call fcn.00622230
add esp, 8
test eax, eax
jne 0x5956f9
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
push str._sourceyt_otf
push eax
call fcn.00622230
add esp, 8
test eax, eax
je 0x59572d
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
push str.otf1
push eax
call fcn.00622230
add esp, 8
test eax, eax
jne 0x595799
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 8]
push str._otf1
push eax
call fcn.00622230
add esp, 8
test eax, eax
jne 0x595799
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xc8]
push str.sourceyt_otf
push eax
call fcn.00622230
add esp, 8
test eax, eax
jne 0x595763
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0xc8]
push str._sourceyt_otf
push eax
call fcn.00622230
add esp, 8
test eax, eax
je 0x5957c8
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0xc8]
push str.otf1
push eax
call fcn.00622230
add esp, 8
test eax, eax
jne 0x595799
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xc8]
push str._otf1
push eax
call fcn.00622230
add esp, 8
test eax, eax
je 0x5957c8
lea ecx, [ebp + 0x68]
push ecx
mov ecx, esi
call fcn.00593d10
mov ebx, eax
cmp ebx, edi
je 0x5957be
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402560
mov eax, ebx
wait
jmp 0x5961f0
cmp byte [ebp + 0x68], 0
je 0x595f5c
cmp dword [esi + 0x1c], edi
jne 0x594c1c
push str.http:rcd__dwnl_finished__s1_t7__r_n
mov ecx, esi
call fcn.005b42c0
mov ecx, dword [esi + 0xc]
test dword [ecx + 0x15c], 0x100
je 0x595c2f
mov eax, dword [esi + 0x1c8]
cmp dword [esi + 0x1cc], 0
jg 0x595c2f
jl 0x595810
cmp eax, 0x7d1
jae 0x595c2f
mov eax, dword [ecx]
push str.youtube.com
push eax
call fcn.00622230
add esp, 8
test eax, eax
jne 0x59583f
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
push str.googlevideo.com
push eax
call fcn.00622230
add esp, 8
test eax, eax
je 0x595c2f
push str.http:rcd__Check_for_redirect__s1_r_n
mov ecx, esi
call fcn.005b42c0
mov dword [ebp + 0x58], 0
mov edx, dword [esi + 0x1c8]
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
cmp edx, eax
jne 0x595870
cmp dword [esi + 0x1cc], ecx
je 0x595878
or eax, ecx
jne 0x595c2f
mov ecx, dword [esi + 0x274]
add ecx, 0x10
call fcn.0056b4c0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 0x10]
push ecx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
call ebx
mov edi, eax
mov dword [ebp + 0x28], edi
cmp edi, 0xffffffff
jne 0x59593e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x14c], eax
cmp eax, 0x20
je 0x5958cf
cmp eax, 5
jne 0x595bfe
lea ecx, [ebp + 0x6c]
call fcn.004024f0
mov byte [ebp - 4], 3
mov edx, dword [esi + 0x14c]
push edx
push str.Check_for_redirect__cf_failed__lastErr_ld_Sleep_1000_r_n
lea eax, [ebp + 0x6c]
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, dword [ebp + 0x6c]
push ecx
mov ecx, esi
call fcn.005b42c0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 0x10]
push eax
call ebx
mov edi, eax
mov dword [ebp + 0x28], edi
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x6c]
call fcn.00402560
cmp edi, 0xffffffff
je 0x595bfe
mov ebx, dword [esi + 0x1c8]
mov dword [ebp + 0x48], ebx
mov ecx, dword [esi + 0x1cc]
mov dword [ebp + 0x4c], ecx
mov dword [ebp + 0x6c], ebx
mov eax, dword [esi + 0x1c0]
or eax, dword [esi + 0x1c4]
je 0x59596d
mov edx, dword [esi + 0xc]
cmp byte [edx + 0x34f], 0
je 0x595994
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [ebp + 0x6c], ebx
test ebx, ebx
jne 0x595994
mov ebx, dword [esi + 0x1c8]
mov dword [ebp], ebx
mov eax, dword [esi + 0x1cc]
mov dword [ebp + 4], eax
mov dword [ebp + 0x6c], ebx
mov ecx, dword [esi + 0x274]
cmp dword [ecx + 0x31f8], 0
je 0x5959dd
mov byte [ebp - 4], 4
wait
mov edx, dword [esi + 0x274]
mov eax, dword [edx + 0x31f8]
push eax
call fcn.005f4e52
add esp, 4
wait
mov dword [ebp - 4], 2
jmp 0x5959dd
lea eax, [ebx + 1]
push eax
call fcn.005f4e47
add esp, 4
mov ecx, dword [esi + 0x274]
mov dword [ecx + 0x31f8], eax
mov edx, dword [esi + 0x274]
cmp dword [edx + 0x31f8], 0
je 0x595af3
push str.Check_for_redirect__s2_r_n
mov ecx, esi
call fcn.005b42c0
mov dword [ebp + 0x6c], 0
push 0
lea eax, [ebp + 0x6c]
push eax
push ebx
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x31f8]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp + 0x3c], eax
test eax, eax
je 0x595b9e
cmp dword [ebp + 0x6c], ebx
jne 0x595b9e
mov eax, dword [esi + 0x274]
mov ecx, dword [eax + 0x31f8]
mov byte [ebx + ecx], 0
push str.Check_for_redirect__s3__fc:_r_n
mov ecx, esi
call fcn.005b42c0
mov edx, dword [esi + 0x274]
mov eax, dword [edx + 0x31f8]
push eax
mov ecx, esi
call fcn.005b42c0
push 0x67b29c
mov ecx, esi
call fcn.005b42c0
push 7
push 0x679010
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x31f8]
push edx
call fcn.006255fd
add esp, 0xc
test eax, eax
je 0x595b87
push 8
push 0x678ff0
mov eax, dword [esi + 0x274]
mov ecx, dword [eax + 0x31f8]
push ecx
call fcn.006255fd
add esp, 0xc
test eax, eax
je 0x595b87
mov edx, dword [esi + 0x274]
mov eax, dword [edx + 0x31f8]
push eax
call fcn.005f4e52
add esp, 4
mov eax, dword [esi + 0x274]
mov dword [eax + 0x31f8], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [ebp + 0x58], edi
je 0x595c2f
push str.http:rcd__Redirect_found_r_n
mov ecx, esi
call fcn.005b42c0
mov dword [esi + 0x1c8], edi
mov dword [esi + 0x1cc], edi
fldz
fstp qword [esi + 0x190]
lea ebx, [esi + 0x28]
mov ecx, ebx
call fcn.0055a000
mov ecx, ebx
call fcn.0055aed0
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov eax, dword [esi + 0x274]
mov dword [eax + 0x60], edi
mov dword [eax + 0x64], edi
mov ecx, dword [esi + 0x274]
call fcn.0057c100
push 1
push edi
push edi
mov ecx, esi
call fcn.005b57e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402560
mov eax, 0x7583
wait
jmp 0x5961f0
mov ecx, dword [esi + 0x274]
call fcn.00583320
mov dword [ebp + 0x58], 1
jmp 0x595af3
lea ecx, [ebp + 0x64]
call fcn.004024f0
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x6c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 0x3c]
push edx
push str.Check_for_redirect__rf_res_ld__lastErr_ld__buff_ld__read_ld_r_n
lea eax, [ebp + 0x64]
push eax
call fcn.00402f60
add esp, 0x18
mov ecx, dword [ebp + 0x64]
push ecx
mov ecx, esi
call fcn.005b42c0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x64]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402560
or eax, 0xffffffff
wait
jmp 0x5961f0
lea ecx, [ebp + 0x64]
call fcn.004024f0
mov byte [ebp - 4], 7
mov edx, dword [esi + 0x14c]
push edx
push str.Check_for_redirect__cf_failed__lastErr_ld_r_n
lea eax, [ebp + 0x64]
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, dword [ebp + 0x64]
push ecx
mov ecx, esi
call fcn.005b42c0
jmp 0x595bdd
mov edi, dword [ebp + 0x64]
cmp edi, 0x753c
je 0x595c43
cmp edi, 0xffffffff
jne 0x595cd0
mov eax, dword [esi + 0xc]
test dword [eax + 0x15c], 0x100
je 0x595e71
cmp dword [eax + 0x30], 0
je 0x595e71
mov eax, dword [esi + 0x1c8]
or eax, dword [esi + 0x1cc]
je 0x595e71
mov eax, dword [esi + 0x1c0]
cmp dword [esi + 0x1c4], 0
jl 0x595e71
jg 0x595c92
cmp eax, 0x40000000
jbe 0x595e71
push str.Checking_flv_file_struct._n
mov ecx, esi
call fcn.005b42c0
mov ecx, esi
call fcn.005926a0
test eax, eax
je 0x595e71
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1cc]
push 1
push ecx
push eax
mov ecx, esi
call fcn.005b57e0
push str.DurationlastTimeStamp__seems_the_flv_file_is_comlete._n
mov ecx, esi
call fcn.005b42c0
mov edx, dword [esi + 0x1c8]
mov eax, dword [esi + 0x1cc]
mov dword [ebp + 0x4c], eax
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
cmp edx, eax
jne 0x595da3
mov edi, ecx
cmp dword [ebp + 0x4c], edi
jne 0x595da3
mov edi, eax
or edi, ecx
je 0x595da3
mov edi, dword [esi + 0x10]
cmp dword [edi], 0
je 0x595d51
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov eax, dword [esi + 0x1cc]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0x1d0]
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x90]
push ecx
push 0x1471
push 0x111
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x14]
cmp dword [edx], 0
je 0x595da3
mov eax, dword [esi + 0x240]
mov dword [ebp - 0xa8], eax
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1cc]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov eax, dword [esi + 0x1d0]
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0xa8]
push ecx
push 0x1394
push 0x111
mov edx, dword [edx]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x1cc]
push eax
mov ecx, dword [esi + 0x1c8]
push ecx
mov edx, dword [0x75ebbc]
push edx
lea eax, [ebp + 0x70]
push eax
call fcn.00402f60
add esp, 0x10
push 1
mov ecx, dword [ebp + 0x70]
push ecx
mov ecx, esi
call fcn.005b5400
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1cc]
mov dword [ebp + 0x4c], ecx
mov edx, dword [esi + 0x1c0]
mov edi, dword [esi + 0x1c4]
cmp eax, edx
jne 0x595dfb
mov ecx, edi
cmp dword [ebp + 0x4c], ecx
je 0x595edb
mov ecx, edx
or ecx, edi
je 0x595edb
mov dword [ebp + 0x40], eax
mov eax, dword [esi + 0x1cc]
mov dword [ebp + 0x44], eax
mov eax, edx
mov ecx, edi
mov ebx, dword [esi + 0xc]
mov ebx, dword [ebx + 0x374]
mov dword [ebp + 0x18], ebx
add eax, ebx
mov ebx, 0
adc ecx, ebx
cmp dword [ebp + 0x40], eax
jne 0x595e38
cmp dword [ebp + 0x44], ecx
je 0x595edb
mov eax, edx
mov ecx, edi
add eax, dword [ebp + 0x18]
adc ecx, ebx
cmp dword [esi + 0x1cc], ecx
jl 0x595ec7
jg 0x595e53
cmp dword [esi + 0x1c8], eax
jbe 0x595ec7
lea ecx, [esi + 0x28]
call fcn.0055a860
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x70]
call fcn.00402560
mov eax, 0x7570
wait
jmp 0x5961f0
mov edx, dword [esi + 0x1cc]
push edx
mov eax, dword [esi + 0x1c8]
push eax
mov ecx, dword [0x75ebc8]
push ecx
lea edx, [ebp + 0x70]
push edx
call fcn.00402f60
add esp, 0x10
push 1
mov eax, dword [ebp + 0x70]
push eax
mov ecx, esi
call fcn.005b5400
mov esi, dword [esi + 0x14c]
test esi, esi
je 0x595eb1
cmp edi, 0x753c
je 0x595eb3
mov esi, edi
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402560
mov eax, esi
wait
jmp 0x5961f0
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x70]
call fcn.00402560
or eax, 0xffffffff
wait
jmp 0x5961f0
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x334], 0
je 0x595f15
mov eax, dword [esi + 0x40]
test eax, eax
je 0x595f15
mov eax, dword [eax + 0x40]
test eax, eax
je 0x595f15
mov eax, dword [eax + 0x48]
test eax, eax
je 0x595f15
cmp dword [ecx + 0x32c], 8
jne 0x595f15
add ecx, 0x404
push ecx
push eax
call fcn.0046d1a0
add esp, 8
xor edi, edi
cmp edi, dword [esi + 0x1b0]
jge 0x595f41
mov edx, edi
imul edx, edx, 0x3488
mov eax, dword [esi + 0x274]
lea ecx, [edx + eax]
cmp dword [ecx + 0x9c], 0
je 0x595f3e
call fcn.005775e0
inc edi
jmp 0x595f17
mov ecx, esi
call fcn.005b67b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402560
xor eax, eax
wait
jmp 0x5961f0
cmp byte [ebp + 0x6a], 0
je 0x5961c0
cmp dword [esi + 0xb0], edi
je 0x5961c7
mov ecx, dword [esi + 0x274]
add ecx, 0x10
call fcn.0056b4c0
mov ecx, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x274]
lea ebx, [eax + 0x78]
push ebx
push edx
push ecx
mov ecx, dword [eax + 0x80]
add ecx, dword [eax + 0x60]
mov edx, dword [eax + 0x84]
adc edx, dword [eax + 0x64]
push edx
push ecx
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 0x10]
push ecx
push edi
lea ecx, [esi + 0x28]
call fcn.00555800
test eax, eax
je 0x596188
mov byte [ebp + 0x6a], 0
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x68]
mov eax, dword [ecx + 0x6c]
cmp eax, edi
jl 0x595ffe
jg 0x595fe1
cmp edx, edi
jb 0x595ffe
sub edx, 0x40
sbb eax, edi
mov ebx, dword [ecx + 0x7c]
cmp ebx, eax
jg 0x596180
jl 0x595ffe
mov eax, dword [ecx + 0x78]
cmp eax, edx
jae 0x596180
call fcn.0057dcf0
mov eax, dword [esi + 0x274]
mov ecx, dword [eax + 0x80]
add dword [eax + 0x60], ecx
mov edx, dword [eax + 0x84]
adc dword [eax + 0x64], edx
mov eax, dword [esi + 0x274]
mov dword [eax + 0x80], edi
mov dword [eax + 0x84], edi
mov ecx, dword [esi + 0x274]
mov eax, dword [ecx]
lea edx, [ecx + 0x3200]
push edx
mov eax, dword [eax + 0x18]
call eax
mov dword [esi + 0x278], edi
mov dword [esi + 0x47c], edi
mov dword [esi + 0x680], edi
xor eax, eax
lea ebx, [eax + 1]
cmp eax, dword [esi + 0x47c]
jae 0x596079
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + eax*4 + 0x480]
cmp edx, dword [ecx + 0x3200]
je 0x596079
add eax, ebx
jmp 0x596058
mov ecx, dword [esi + 0x47c]
cmp eax, ecx
jne 0x5960a4
cmp ecx, 0x80
jae 0x5960a4
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x3200]
mov dword [esi + eax*4 + 0x480], edx
add dword [esi + 0x47c], ebx
xor eax, eax
cmp eax, dword [esi + 0x680]
jae 0x5960c7
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + eax*4 + 0x684]
cmp edx, dword [ecx + 0x3200]
je 0x5960c7
add eax, ebx
jmp 0x5960a6
mov ecx, dword [esi + 0x680]
cmp eax, ecx
jne 0x5960f2
cmp ecx, 0x80
jae 0x5960f2
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x3200]
mov dword [esi + eax*4 + 0x684], edx
add dword [esi + 0x680], ebx
mov ecx, dword [esi + 0x884]
cmp ecx, 0xffffffff
je 0x596180
xor eax, eax
cmp eax, dword [esi + 0x278]
jae 0x596118
cmp dword [esi + eax*4 + 0x27c], ecx
je 0x596118
add eax, ebx
jmp 0x596103
mov edx, dword [esi + 0x278]
cmp eax, edx
jne 0x596137
cmp edx, 0x80
jae 0x596137
mov dword [esi + eax*4 + 0x27c], ecx
add dword [esi + 0x278], ebx
xor eax, eax
lea esp, [esp]
cmp eax, dword [esi + 0x680]
jae 0x59615b
mov ecx, dword [esi + eax*4 + 0x684]
cmp ecx, dword [esi + 0x884]
je 0x59615b
add eax, ebx
jmp 0x596140
mov ecx, dword [esi + 0x680]
cmp eax, ecx
jne 0x596180
cmp ecx, 0x80
jae 0x596180
mov edx, dword [esi + 0x884]
mov dword [esi + eax*4 + 0x684], edx
add dword [esi + 0x680], ebx
mov eax, dword [esi + 0x274]
jmp 0x5961a8
mov eax, dword [esi + 0x274]
cmp dword [eax + 0x84], edi
jl 0x5961a8
jg 0x5961a4
cmp dword [eax + 0x80], 0x7d000
jbe 0x5961a8
mov byte [ebp + 0x6a], 0
mov ecx, dword [eax + 0xa8]
mov edx, dword [ecx + 0x10]
push edx
lea ecx, [eax + 0x10]
call fcn.0056bd60
cmp byte [ebp + 0x6a], 0
jne 0x5961c7
mov ecx, esi
call fcn.00590e90
mov ecx, esi
call fcn.005b67b0
jmp 0x594ae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x74
mov esp, ebp
pop ebp
ret