Function at 0x593e20
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 0x662f48
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 0x594191
cmp ecx, 8
jne 0x593e8d
cmp dword [eax + 0x32c], ecx
je 0x593e8d
cmp byte [eax + 0x18d], 0
jne 0x594191
mov edx, dword [eax + 0x32c]
cmp edx, 4
je 0x59407a
cmp ecx, 0x40
jne 0x593eae
cmp byte [eax + 0x18f], 0
jne 0x59407a
cmp edx, 8
je 0x59407a
cmp ecx, 0x800
je 0x59407a
cmp edx, 0x40
jne 0x593ed5
cmp byte [eax + 0x18f], 0
jne 0x59407a
lea ecx, [ebp + 0x6c]
call fcn.00402500
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.00466ea0
push str.googleusercontent.com
mov eax, dword [ebp + 0x6c]
push eax
call fcn.00621c8e
add esp, 0x10
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esi + 0x1c0]
or ecx, dword [esi + 0x1c4]
jne 0x594069
cmp byte [esi + 0x888], cl
jne 0x594069
cmp dword [esi + 0x1ac], ebx
jle 0x594069
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 0x173], 0
je 0x594069
cmp dword [ecx + 0x334], edi
jne 0x594069
mov ecx, dword [esi + 0x274]
cmp byte [ecx + 0xe0], 0
je 0x593f67
cmp eax, edi
je 0x594069
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 0x593fdc
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + eax*4 + 0x480]
cmp edx, dword [ecx + 0x6688]
je 0x593fdc
add eax, ebx
jmp 0x593fb8
mov ecx, dword [esi + 0x47c]
cmp eax, ecx
jne 0x594007
cmp ecx, 0x80
jae 0x594007
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 0x59402d
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + eax*4 + 0x684]
cmp edx, dword [ecx + 0x6688]
je 0x59402d
add eax, ebx
jmp 0x594009
mov ecx, dword [esi + 0x680]
cmp eax, ecx
jne 0x594058
cmp ecx, 0x80
jae 0x594058
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.00402570
jmp 0x594199
mov dword [esi + 0x28], edi
cmp dword [eax + 0x320], edi
je 0x594194
cmp dword [esi + 0x240], edi
je 0x594194
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 0x5940d9
mov eax, dword [eax + 0x50]
cmp eax, edi
je 0x5940ca
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5940d9
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 0x5940fa
cmp eax, 2
je 0x5940fa
cmp eax, 4
jne 0x594194
cmp dword [ecx + 0x958], edi
jne 0x594194
push str.Starting_audio_thread_r_n
mov ecx, esi
call fcn.005b3cf0
mov eax, dword [esi + 0x260]
cmp eax, edi
je 0x594146
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 0x59417b
push ecx
mov eax, dword [eax]
push eax
call fcn.00621c8e
add esp, 8
test eax, eax
jne 0x59417b
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.005c7800
jmp 0x594199
mov dword [esi + 0x28], edi
mov ebx, 1
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x334], edi
je 0x5941b3
cmp byte [eax + 0x338], 0
je 0x5941b3
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.00621810
add esp, 8
test eax, eax
je 0x5944d7
mov byte [esi + 0x258], 1
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x32c], 4
jne 0x5944d7
cmp dword [esi + 0x40], edi
jne 0x5944d7
cmp byte [eax + 0x338], 0
jne 0x5944d7
mov ecx, dword [esi + 0x1c0]
cmp dword [esi + 0x1c4], edi
jl 0x5944d7
jg 0x59421f
cmp ecx, 0x1000000
jbe 0x5944d7
cmp dword [eax + 0xfc], edi
je 0x59422f
mov eax, dword [eax + 0xfc]
jmp 0x594234
add eax, 0x100
push 0x2e
push eax
call fcn.0061fc83
mov edi, eax
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0xa4]
push 0x681bb8
push eax
call fcn.00621c8e
add esp, 0x10
test eax, eax
je 0x5944cc
test edi, edi
je 0x594277
push str..mp4
push edi
call fcn.0062567a
add esp, 8
test eax, eax
je 0x5944cc
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xbc]
test eax, eax
je 0x5942b9
push str.video_mp4
push eax
call fcn.00621c8e
add esp, 8
test eax, eax
je 0x5944cc
push 0x6b2860
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0xbc]
push edx
call fcn.00621c8e
add esp, 8
test eax, eax
je 0x5944cc
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x5944d7
push eax
call fcn.00456b00
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.00555280
test eax, eax
je 0x5944d2
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x68]
mov eax, dword [ecx + 0x6c]
cmp eax, edi
jl 0x594343
jg 0x594326
cmp edx, edi
jb 0x594343
sub edx, 0x40
sbb eax, edi
mov ebx, dword [ecx + 0x7c]
cmp ebx, eax
jg 0x5944d2
jl 0x594343
mov eax, dword [ecx + 0x78]
cmp eax, edx
jae 0x5944d2
call fcn.0057d6e0
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 0x5943c1
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + eax*4 + 0x480]
cmp edx, dword [ecx + 0x3200]
je 0x5943c1
add eax, ebx
jmp 0x59439d
mov ecx, dword [esi + 0x47c]
cmp eax, ecx
jne 0x5943ec
cmp ecx, 0x80
jae 0x5943ec
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 0x594412
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + eax*4 + 0x684]
cmp edx, dword [ecx + 0x3200]
je 0x594412
add eax, ebx
jmp 0x5943ee
mov ecx, dword [esi + 0x680]
cmp eax, ecx
jne 0x59443d
cmp ecx, 0x80
jae 0x59443d
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 0x5944d7
xor eax, eax
mov dword [ebp - 0x38], eax
cmp eax, dword [esi + 0x278]
jae 0x594466
cmp dword [esi + eax*4 + 0x27c], ecx
je 0x594466
add eax, ebx
jmp 0x59444e
mov edx, dword [esi + 0x278]
cmp eax, edx
jne 0x594485
cmp edx, 0x80
jae 0x594485
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 0x5944a5
mov ecx, dword [esi + eax*4 + 0x684]
cmp ecx, dword [esi + 0x884]
je 0x5944a5
add eax, ebx
jmp 0x594487
mov ecx, dword [esi + 0x680]
cmp eax, ecx
jne 0x5944d7
cmp ecx, 0x80
jae 0x5944d7
mov edx, dword [esi + 0x884]
mov dword [esi + eax*4 + 0x684], edx
add dword [esi + 0x680], ebx
jmp 0x5944d7
mov byte [ebp + 0x6a], 1
jmp 0x5944d7
mov ebx, 1
push ebx
mov eax, dword [0x75ebc0]
push eax
mov ecx, esi
call fcn.005b4e30
mov ecx, dword [esi + 0x260]
test ecx, ecx
je 0x5944f4
call fcn.005b7f60
mov ecx, esi
call fcn.005b3ea0
mov dword [ebp + 0x50], 0xbb8
mov ecx, esi
call fcn.005b4420
add dword [esi + 0x1bc], 0xfffffffb
lea ecx, [ebp + 0x70]
call fcn.00402500
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.005b4560
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.00623c91
lea edx, [ebp - 0x30]
push edx
call fcn.00623c91
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 0x5945b6
mov eax, edi
imul eax, eax, 0x3488
mov ecx, dword [esi + 0x274]
add ecx, eax
cmp dword [ecx + 0x9c], 0
je 0x5945b3
inc ebx
call fcn.0058fce0
test al, al
je 0x5945b3
inc dword [ebp + 0x54]
inc edi
jmp 0x594585
mov eax, 1
cmp dword [ebp + 0x54], eax
jne 0x5945d0
cmp ebx, eax
jne 0x5945d0
mov byte [ebp + 0x69], 0
mov dword [ebp + 8], eax
jmp 0x5945d0
cmp dword [esi + 0x1c], 0
je 0x594654
lea ecx, [esi + 0x28]
call fcn.00559a80
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x334], 0x20
jne 0x5945f8
mov eax, dword [ecx + 0xf0]
mov ecx, dword [ecx + 0xf4]
jmp 0x594604
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.00402570
mov eax, 0x7540
wait
jmp 0x595ce0
mov ecx, esi
call fcn.005b3a90
mov byte [ebp + 0x58], al
test al, al
je 0x594680
lea edx, [ebp - 0x4c]
push edx
call fcn.00623c91
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 0x5946b4
mov edx, edi
imul edx, edx, 0x3488
mov eax, dword [esi + 0x274]
lea ecx, [edx + eax]
cmp dword [ecx + 0x9c], 0
je 0x5946ea
call fcn.0057a320
test al, al
je 0x5946ea
mov ebx, 1
mov byte [ebp + 0x6b], 0
cmp byte [ebp + 0x69], 0
je 0x5946ed
test ebx, ebx
jne 0x594706
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 0x594706
inc edi
jmp 0x594684
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 0x594719
lea ecx, [esi + 0x28]
call fcn.00559a80
jmp 0x59463d
mov eax, dword [esi + 0x1c8]
or eax, dword [esi + 0x1cc]
jne 0x59475b
lea eax, [ebp - 0x30]
push eax
call fcn.00623c91
add esp, 4
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0xb4]
cmp ecx, 0x12c
jle 0x59475b
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402570
mov eax, 0x7533
wait
jmp 0x595ce0
mov edx, dword [esi + 0x1c8]
mov dword [ebp + 0x40], edx
mov eax, dword [esi + 0x1cc]
mov dword [ebp + 0x44], eax
cmp ebx, 0xffffffff
je 0x5947bf
test ebx, ebx
je 0x5947bf
xor ebx, ebx
cmp ebx, dword [esi + 0x1b0]
jge 0x5947c6
mov ecx, ebx
imul ecx, ecx, 0x3488
mov edx, dword [esi + 0x274]
lea edi, [ecx + edx]
cmp dword [edi + 0x9c], 0
je 0x5947bc
cmp dword [esi + 0x1c], 0
jne 0x59470c
mov ecx, edi
cmp byte [ebp + 0x6b], 0
jne 0x5947b7
call fcn.0057a320
test al, al
je 0x5947bc
mov ecx, edi
call fcn.00589f70
inc ebx
jmp 0x594778
mov ecx, esi
call fcn.005905e0
mov eax, dword [ebp + 0x58]
push eax
push 0
mov ecx, esi
call fcn.005b4600
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00623c91
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 0x594839
lea edx, [ebp - 0x30]
push edx
call fcn.00623c91
add esp, 4
xor edi, edi
lea ecx, [ecx]
cmp edi, dword [esi + 0x1b0]
jge 0x594839
mov eax, edi
imul eax, eax, 0x3488
mov ecx, dword [esi + 0x274]
add ecx, eax
cmp dword [ecx + 0x9c], 0
je 0x594836
call fcn.00576ff0
inc edi
jmp 0x594810
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x174], 0
je 0x594860
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x88]
or edx, dword [ecx + 0x8c]
je 0x594860
mov byte [eax + 0x174], 0
xor edx, edx
cmp dword [esi + 0x24], edx
jne 0x5949c2
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1cc]
cmp dword [ebp + 0x30], ecx
jg 0x5949c2
jl 0x59488b
cmp dword [ebp + 0x2c], eax
jae 0x5949c2
cmp dword [ebp + 0x40], eax
jne 0x5949c2
cmp dword [ebp + 0x44], ecx
jne 0x5949c2
mov eax, dword [ebp + 0x5c]
or eax, dword [ebp + 0x60]
mov eax, dword [ebp - 0x1c]
jne 0x5948bd
imul eax, eax, 0x3e8
movzx ecx, word [ebp - 0x18]
add eax, ecx
cdq
mov dword [ebp + 0x5c], eax
jmp 0x5949c5
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.00576fb0
fstp qword [ebp + 0x38]
mov ecx, dword [esi + 0xc]
call fcn.00576f70
fld qword [ebp + 0x38]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x5948f1
fstp st(1)
jmp 0x5948f3
fstp st(0)
fmul qword [0x6b2858]
fadd qword [0x6b2850]
call fcn.00622406
sub edi, dword [ebp + 0x5c]
sbb ebx, dword [ebp + 0x60]
cmp ebx, edx
jl 0x5949c8
jg 0x59491c
cmp edi, eax
jbe 0x5949c8
xor eax, eax
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], eax
mov ecx, esi
call fcn.005c8c70
test eax, eax
je 0x5949c8
cmp dword [esi + 0x1c], 0
jne 0x59463d
push str.Restart_type_s018_n
mov ecx, esi
call fcn.005b3cf0
mov ecx, dword [esi + 0x274]
call fcn.0057d6e0
mov ecx, dword [esi + 0x274]
call fcn.0057baf0
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 0x59498b
push eax
mov ecx, dword [esi + 0x274]
call fcn.0058ca60
mov edi, eax
test edi, edi
je 0x59499f
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402570
mov eax, edi
wait
jmp 0x595ce0
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.005b4e30
jmp 0x5949c8
mov dword [ebp + 0x5c], edx
mov dword [ebp + 0x60], edx
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xb0], 2
jne 0x594de4
mov bl, 1
mov ecx, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1c4]
mov eax, edx
test eax, eax
jl 0x594a0d
jg 0x5949f3
cmp ecx, 0x32
jbe 0x594a0d
mov eax, dword [esi + 0x274]
cmp dword [eax + 0x8c], 0
jl 0x594a36
jg 0x594a0d
cmp dword [eax + 0x88], 0x32
jb 0x594a36
mov eax, edx
test eax, eax
jg 0x594a52
jl 0x594a1a
cmp ecx, 0x32
ja 0x594a52
mov eax, dword [esi + 0x274]
mov edi, dword [eax + 0x8c]
cmp edi, edx
jg 0x594a52
jl 0x594a36
mov edx, dword [eax + 0x88]
cmp edx, ecx
jae 0x594a52
xor bl, bl
cmp byte [eax + 0xe0], bl
je 0x594a52
mov ecx, dword [eax + 0x58]
or ecx, dword [eax + 0x5c]
jne 0x594a52
cmp byte [eax + 0xe1], cl
je 0x594a52
mov bl, 1
mov ecx, dword [esi + 0xc]
test dword [ecx + 0x15c], 0x100
je 0x594acd
mov eax, dword [esi + 0x1c8]
cmp dword [esi + 0x1cc], 0
jg 0x594acd
jl 0x594a79
cmp eax, 0x7d1
jae 0x594acd
mov eax, dword [ecx]
push str.youtube.com
push eax
call fcn.00621810
add esp, 8
test eax, eax
jne 0x594aa4
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
push str.googlevideo.com
push eax
call fcn.00621810
add esp, 8
test eax, eax
je 0x594acd
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
test ecx, ecx
jl 0x594de4
jg 0x594ac5
cmp eax, 0x7d1
jb 0x594de4
or eax, ecx
je 0x594de4
test bl, bl
je 0x594de4
movzx eax, byte [esi + 0x25e]
push eax
mov ecx, dword [esi + 0xc]
call fcn.005d2ef0
mov dword [ebp + 0x64], eax
mov edi, dword [esi + 0xc]
cmp byte [edi + 0x356], 0
je 0x594b02
mov ecx, 0x75e2a4
call fcn.00577100
test al, al
jne 0x594b0b
cmp byte [esi + 0x888], 0
je 0x594b79
xor ebx, ebx
cmp dword [edi + 0xb0], 2
jne 0x594b1b
cmp dword [ebp + 0x64], ebx
je 0x594b7b
mov ecx, dword [esi + 0x274]
call fcn.0057d6e0
lea ecx, [esi + 0x28]
call fcn.0055a950
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 0x595109
mov ecx, 0x75e2a4
call fcn.00577100
test al, al
je 0x595109
jmp 0x59463d
xor ebx, ebx
cmp dword [esi + 0xb8], ebx
jle 0x594c0a
mov edx, dword [edi + 0xcc]
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x594b92
sub eax, ebx
je 0x594c0a
mov edi, dword [edi + 0xbc]
test edi, edi
je 0x594bc8
mov eax, edx
lea ebx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x594bb0
sub eax, ebx
push eax
push edi
push edx
call fcn.00624bdd
add esp, 0xc
test eax, eax
je 0x594c0a
mov eax, dword [esi + 0x14]
cmp dword [eax], 0
je 0x594be9
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 0x594c0a
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 0x594de4
cmp dword [esi + 0x148], 0
jne 0x594d86
cmp byte [0x75e2ab], 0
jne 0x594d15
mov byte [ebp + 0x6b], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x594c8d
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 0x594c50
sub eax, ebx
je 0x594c8d
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x594c80
test dl, dl
je 0x594c7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x594c80
add eax, 2
add ecx, 2
test dl, dl
jne 0x594c60
xor eax, eax
jmp 0x594c85
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x594c8d
mov byte [ebp + 0x6b], 1
mov edx, dword [esi + 0x1c0]
mov edi, dword [esi + 0x1c4]
test edi, edi
jl 0x594cc4
jg 0x594ca3
test edx, edx
jbe 0x594cc4
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0xe8]
mov ecx, dword [ecx + 0xec]
test ecx, ecx
jl 0x594cc4
jg 0x594cbc
test eax, eax
jbe 0x594cc4
cmp eax, edx
jne 0x594cca
cmp ecx, edi
jne 0x594cca
cmp byte [ebp + 0x6b], 0
je 0x594d15
push 0x67997c
mov eax, dword [esi + 0xc]
lea ecx, [eax + 0xe4]
call fcn.0054f250
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.004734a0
add esp, 0x10
jmp 0x59463d
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x3c], 0
je 0x594d86
cmp dword [eax + 0x34], 0
je 0x594d29
mov eax, dword [eax + 0x34]
jmp 0x594d2c
add eax, 0x38
push 0x2e
push eax
call fcn.0061fc83
add esp, 8
mov edi, eax
test edi, edi
je 0x594d86
push 0x68b2fc
push edi
call fcn.0062567a
add esp, 8
test eax, eax
je 0x594d86
push 0x6856e4
push edi
call fcn.0062567a
add esp, 8
test eax, eax
je 0x594d86
push 0x50004
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [0x75ec34]
push eax
push 0
call fcn.004734a0
add esp, 0x10
cmp eax, 7
je 0x59463d
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x3c], 0
je 0x594de4
cmp dword [eax + 0x34], 0
je 0x594d9a
mov eax, dword [eax + 0x34]
jmp 0x594d9d
add eax, 0x38
push 0x2e
push eax
call fcn.0061fc83
add esp, 8
mov edi, eax
test edi, edi
je 0x594de4
push 0x68b2fc
push edi
call fcn.0062567a
add esp, 8
test eax, eax
je 0x594de4
push 0x6856e4
push edi
call fcn.0062567a
add esp, 8
test eax, eax
je 0x594de4
mov ecx, dword [esi + 0xc]
call fcn.005ce420
mov edi, eax
test edi, edi
jne 0x59498b
cmp byte [ebp + 0x58], 0
je 0x59501c
mov eax, dword [esi + 0x1c8]
cmp dword [esi + 0x1cc], 0
jl 0x59501c
jg 0x594e0e
cmp eax, 0x400
jbe 0x59501c
mov ecx, esi
call fcn.005b3a60
mov ebx, eax
mov edi, edx
lea ecx, [ebp - 0x58]
push ecx
call fcn.00623c91
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 0x59501c
jg 0x594e4d
test eax, eax
jbe 0x59501c
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 0x594e71
mov dword [ebp + 0x6c], 1
fild qword [ebp]
fmul qword [0x687b20]
fidiv dword [ebp + 0x6c]
call fcn.00622406
mov ecx, eax
cmp edx, edi
jl 0x59501c
jg 0x594e96
cmp ecx, ebx
jbe 0x59501c
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.00624ab0
push edi
push ebx
push edx
push eax
call fcn.00624150
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.00624150
cmp dword [ebp + 0x14], edx
jg 0x594f06
jl 0x594edd
cmp dword [ebp + 0x10], eax
jae 0x594f06
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 0x594f37
mov ecx, 0x2ee0
jmp 0x594f3f
push 0
push 9
push edi
push ebx
call fcn.00624ab0
push 0
push 0xa
push edx
push eax
call fcn.00624150
cmp dword [ebp + 0x14], edx
jg 0x594ef2
jl 0x594f28
cmp dword [ebp + 0x10], eax
jae 0x594ef2
mov eax, dword [ebp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [ebp + 0x6c], ecx
jmp 0x594ef5
cmp ecx, ebx
jle 0x59501c
mov edi, dword [esi + 0x884]
cmp edi, 0xffffffff
je 0x595015
mov dword [esi + 0x278], ebx
mov dword [esi + 0x47c], ebx
mov dword [esi + 0x680], ebx
xor eax, eax
cmp eax, dword [esi + 0x278]
jae 0x594f76
cmp dword [esi + eax*4 + 0x27c], edi
je 0x594f76
inc eax
jmp 0x594f62
mov edx, dword [esi + 0x278]
cmp eax, edx
jne 0x594f95
cmp edx, 0x80
jae 0x594f95
mov dword [esi + eax*4 + 0x27c], edi
inc dword [esi + 0x278]
xor eax, eax
cmp eax, dword [esi + 0x680]
jae 0x594fb1
mov edx, dword [esi + eax*4 + 0x684]
cmp edx, dword [esi + 0x884]
je 0x594fb1
inc eax
jmp 0x594f97
lea edi, [esi + 0x680]
mov edx, dword [edi]
cmp eax, edx
jne 0x594fd4
cmp edx, 0x80
jae 0x594fd4
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 0x59501c
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00590250
mov dword [ebp + 0x64], eax
xor edi, edi
cmp eax, edi
je 0x595a4c
mov byte [ebp + 0x68], 1
cmp eax, 1
jne 0x5952b8
cmp dword [esi + 0x40], edi
jne 0x5952b8
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x334], edi
je 0x59514a
cmp byte [eax + 0x338], 0
je 0x59514a
mov ecx, dword [esi + 0x274]
add ecx, 0x10
call fcn.0056af10
mov ecx, esi
call fcn.00592e40
test eax, eax
je 0x595120
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.005b4070
mov edx, dword [esi + 0xc]
mov bl, byte [edx + 0x356]
test bl, bl
je 0x5950d2
mov ecx, 0x75e2a4
call fcn.00577100
test al, al
jne 0x5950df
cmp byte [esi + 0x888], 0
je 0x595a4c
test bl, bl
je 0x5950f5
mov ecx, 0x75e2a4
call fcn.00577100
test al, al
jne 0x59463d
lea ecx, [esi + 0x28]
call fcn.0055a950
mov dword [esi + 0x1c8], edi
mov dword [esi + 0x1cc], edi
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402570
mov eax, 0x756a
wait
jmp 0x595ce0
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 0x5952b8
mov eax, dword [eax]
push str.googlevideo.com
push eax
call fcn.00621810
add esp, 8
test eax, eax
je 0x5952b8
mov eax, dword [esi + 0x1c8]
cmp dword [esi + 0x1cc], edi
jg 0x5952b8
jl 0x595181
cmp eax, 0x1f400
jae 0x5952b8
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
cmp eax, edi
je 0x5952b8
push str.dur0.0
push eax
call fcn.00621810
add esp, 8
test eax, eax
jne 0x5951b9
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
push str._dur0.0
push eax
call fcn.00621810
add esp, 8
test eax, eax
je 0x59521d
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 8]
push str.sourceyt_otf
push eax
call fcn.00621810
add esp, 8
test eax, eax
jne 0x5951e9
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
push str._sourceyt_otf
push eax
call fcn.00621810
add esp, 8
test eax, eax
je 0x59521d
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
push str.otf1
push eax
call fcn.00621810
add esp, 8
test eax, eax
jne 0x595289
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 8]
push str._otf1
push eax
call fcn.00621810
add esp, 8
test eax, eax
jne 0x595289
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xc8]
push str.sourceyt_otf
push eax
call fcn.00621810
add esp, 8
test eax, eax
jne 0x595253
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0xc8]
push str._sourceyt_otf
push eax
call fcn.00621810
add esp, 8
test eax, eax
je 0x5952b8
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0xc8]
push str.otf1
push eax
call fcn.00621810
add esp, 8
test eax, eax
jne 0x595289
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xc8]
push str._otf1
push eax
call fcn.00621810
add esp, 8
test eax, eax
je 0x5952b8
lea ecx, [ebp + 0x68]
push ecx
mov ecx, esi
call fcn.00593800
mov ebx, eax
cmp ebx, edi
je 0x5952ae
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402570
mov eax, ebx
wait
jmp 0x595ce0
cmp byte [ebp + 0x68], 0
je 0x595a4c
cmp dword [esi + 0x1c], edi
jne 0x59470c
push str.http:rcd__dwnl_finished__s1_t7__r_n
mov ecx, esi
call fcn.005b3cf0
mov ecx, dword [esi + 0xc]
test dword [ecx + 0x15c], 0x100
je 0x59571f
mov eax, dword [esi + 0x1c8]
cmp dword [esi + 0x1cc], 0
jg 0x59571f
jl 0x595300
cmp eax, 0x7d1
jae 0x59571f
mov eax, dword [ecx]
push str.youtube.com
push eax
call fcn.00621810
add esp, 8
test eax, eax
jne 0x59532f
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
push str.googlevideo.com
push eax
call fcn.00621810
add esp, 8
test eax, eax
je 0x59571f
push str.http:rcd__Check_for_redirect__s1_r_n
mov ecx, esi
call fcn.005b3cf0
mov dword [ebp + 0x58], 0
mov edx, dword [esi + 0x1c8]
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
cmp edx, eax
jne 0x595360
cmp dword [esi + 0x1cc], ecx
je 0x595368
or eax, ecx
jne 0x59571f
mov ecx, dword [esi + 0x274]
add ecx, 0x10
call fcn.0056af10
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 0x59542e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x14c], eax
cmp eax, 0x20
je 0x5953bf
cmp eax, 5
jne 0x5956ee
lea ecx, [ebp + 0x6c]
call fcn.00402500
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.00402f70
add esp, 0xc
mov ecx, dword [ebp + 0x6c]
push ecx
mov ecx, esi
call fcn.005b3cf0
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.00402570
cmp edi, 0xffffffff
je 0x5956ee
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 0x59545d
mov edx, dword [esi + 0xc]
cmp byte [edx + 0x34f], 0
je 0x595484
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [ebp + 0x6c], ebx
test ebx, ebx
jne 0x595484
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 0x5954cd
mov byte [ebp - 4], 4
wait
mov edx, dword [esi + 0x274]
mov eax, dword [edx + 0x31f8]
push eax
call fcn.005f4432
add esp, 4
wait
mov dword [ebp - 4], 2
jmp 0x5954cd
lea eax, [ebx + 1]
push eax
call fcn.005f4427
add esp, 4
mov ecx, dword [esi + 0x274]
mov dword [ecx + 0x31f8], eax
mov edx, dword [esi + 0x274]
cmp dword [edx + 0x31f8], 0
je 0x5955e3
push str.Check_for_redirect__s2_r_n
mov ecx, esi
call fcn.005b3cf0
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 0x59568e
cmp dword [ebp + 0x6c], ebx
jne 0x59568e
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.005b3cf0
mov edx, dword [esi + 0x274]
mov eax, dword [edx + 0x31f8]
push eax
mov ecx, esi
call fcn.005b3cf0
push 0x67b29c
mov ecx, esi
call fcn.005b3cf0
push 7
push 0x679010
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x31f8]
push edx
call fcn.00624bdd
add esp, 0xc
test eax, eax
je 0x595677
push 8
push 0x678ff0
mov eax, dword [esi + 0x274]
mov ecx, dword [eax + 0x31f8]
push ecx
call fcn.00624bdd
add esp, 0xc
test eax, eax
je 0x595677
mov edx, dword [esi + 0x274]
mov eax, dword [edx + 0x31f8]
push eax
call fcn.005f4432
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 0x59571f
push str.http:rcd__Redirect_found_r_n
mov ecx, esi
call fcn.005b3cf0
mov dword [esi + 0x1c8], edi
mov dword [esi + 0x1cc], edi
fldz
fstp qword [esi + 0x190]
lea ebx, [esi + 0x28]
mov ecx, ebx
call fcn.00559a80
mov ecx, ebx
call fcn.0055a950
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.0057baf0
push 1
push edi
push edi
mov ecx, esi
call fcn.005b5210
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402570
mov eax, 0x7583
wait
jmp 0x595ce0
mov ecx, dword [esi + 0x274]
call fcn.00582d10
mov dword [ebp + 0x58], 1
jmp 0x5955e3
lea ecx, [ebp + 0x64]
call fcn.00402500
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.00402f70
add esp, 0x18
mov ecx, dword [ebp + 0x64]
push ecx
mov ecx, esi
call fcn.005b3cf0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x64]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402570
or eax, 0xffffffff
wait
jmp 0x595ce0
lea ecx, [ebp + 0x64]
call fcn.00402500
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.00402f70
add esp, 0xc
mov ecx, dword [ebp + 0x64]
push ecx
mov ecx, esi
call fcn.005b3cf0
jmp 0x5956cd
mov edi, dword [ebp + 0x64]
cmp edi, 0x753c
je 0x595733
cmp edi, 0xffffffff
jne 0x5957c0
mov eax, dword [esi + 0xc]
test dword [eax + 0x15c], 0x100
je 0x595961
cmp dword [eax + 0x30], 0
je 0x595961
mov eax, dword [esi + 0x1c8]
or eax, dword [esi + 0x1cc]
je 0x595961
mov eax, dword [esi + 0x1c0]
cmp dword [esi + 0x1c4], 0
jl 0x595961
jg 0x595782
cmp eax, 0x40000000
jbe 0x595961
push str.Checking_flv_file_struct._n
mov ecx, esi
call fcn.005b3cf0
mov ecx, esi
call fcn.00592190
test eax, eax
je 0x595961
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esi + 0x1cc]
push 1
push ecx
push eax
mov ecx, esi
call fcn.005b5210
push str.DurationlastTimeStamp__seems_the_flv_file_is_comlete._n
mov ecx, esi
call fcn.005b3cf0
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 0x595893
mov edi, ecx
cmp dword [ebp + 0x4c], edi
jne 0x595893
mov edi, eax
or edi, ecx
je 0x595893
mov edi, dword [esi + 0x10]
cmp dword [edi], 0
je 0x595841
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 0x595893
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.00402f70
add esp, 0x10
push 1
mov ecx, dword [ebp + 0x70]
push ecx
mov ecx, esi
call fcn.005b4e30
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 0x5958eb
mov ecx, edi
cmp dword [ebp + 0x4c], ecx
je 0x5959cb
mov ecx, edx
or ecx, edi
je 0x5959cb
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 0x595928
cmp dword [ebp + 0x44], ecx
je 0x5959cb
mov eax, edx
mov ecx, edi
add eax, dword [ebp + 0x18]
adc ecx, ebx
cmp dword [esi + 0x1cc], ecx
jl 0x5959b7
jg 0x595943
cmp dword [esi + 0x1c8], eax
jbe 0x5959b7
lea ecx, [esi + 0x28]
call fcn.0055a2e0
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x70]
call fcn.00402570
mov eax, 0x7570
wait
jmp 0x595ce0
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.00402f70
add esp, 0x10
push 1
mov eax, dword [ebp + 0x70]
push eax
mov ecx, esi
call fcn.005b4e30
mov esi, dword [esi + 0x14c]
test esi, esi
je 0x5959a1
cmp edi, 0x753c
je 0x5959a3
mov esi, edi
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402570
mov eax, esi
wait
jmp 0x595ce0
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x70]
call fcn.00402570
or eax, 0xffffffff
wait
jmp 0x595ce0
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x334], 0
je 0x595a05
mov eax, dword [esi + 0x40]
test eax, eax
je 0x595a05
mov eax, dword [eax + 0x40]
test eax, eax
je 0x595a05
mov eax, dword [eax + 0x48]
test eax, eax
je 0x595a05
cmp dword [ecx + 0x32c], 8
jne 0x595a05
add ecx, 0x404
push ecx
push eax
call fcn.00591d10
add esp, 8
xor edi, edi
cmp edi, dword [esi + 0x1b0]
jge 0x595a31
mov edx, edi
imul edx, edx, 0x3488
mov eax, dword [esi + 0x274]
lea ecx, [edx + eax]
cmp dword [ecx + 0x9c], 0
je 0x595a2e
call fcn.00576ff0
inc edi
jmp 0x595a07
mov ecx, esi
call fcn.005b61d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x70]
call fcn.00402570
xor eax, eax
wait
jmp 0x595ce0
cmp byte [ebp + 0x6a], 0
je 0x595cb0
cmp dword [esi + 0xb0], edi
je 0x595cb7
mov ecx, dword [esi + 0x274]
add ecx, 0x10
call fcn.0056af10
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.00555280
test eax, eax
je 0x595c78
mov byte [ebp + 0x6a], 0
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx + 0x68]
mov eax, dword [ecx + 0x6c]
cmp eax, edi
jl 0x595aee
jg 0x595ad1
cmp edx, edi
jb 0x595aee
sub edx, 0x40
sbb eax, edi
mov ebx, dword [ecx + 0x7c]
cmp ebx, eax
jg 0x595c70
jl 0x595aee
mov eax, dword [ecx + 0x78]
cmp eax, edx
jae 0x595c70
call fcn.0057d6e0
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 0x595b69
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + eax*4 + 0x480]
cmp edx, dword [ecx + 0x3200]
je 0x595b69
add eax, ebx
jmp 0x595b48
mov ecx, dword [esi + 0x47c]
cmp eax, ecx
jne 0x595b94
cmp ecx, 0x80
jae 0x595b94
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 0x595bb7
mov ecx, dword [esi + 0x274]
mov edx, dword [esi + eax*4 + 0x684]
cmp edx, dword [ecx + 0x3200]
je 0x595bb7
add eax, ebx
jmp 0x595b96
mov ecx, dword [esi + 0x680]
cmp eax, ecx
jne 0x595be2
cmp ecx, 0x80
jae 0x595be2
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 0x595c70
xor eax, eax
cmp eax, dword [esi + 0x278]
jae 0x595c08
cmp dword [esi + eax*4 + 0x27c], ecx
je 0x595c08
add eax, ebx
jmp 0x595bf3
mov edx, dword [esi + 0x278]
cmp eax, edx
jne 0x595c27
cmp edx, 0x80
jae 0x595c27
mov dword [esi + eax*4 + 0x27c], ecx
add dword [esi + 0x278], ebx
xor eax, eax
lea esp, [esp]
cmp eax, dword [esi + 0x680]
jae 0x595c4b
mov ecx, dword [esi + eax*4 + 0x684]
cmp ecx, dword [esi + 0x884]
je 0x595c4b
add eax, ebx
jmp 0x595c30
mov ecx, dword [esi + 0x680]
cmp eax, ecx
jne 0x595c70
cmp ecx, 0x80
jae 0x595c70
mov edx, dword [esi + 0x884]
mov dword [esi + eax*4 + 0x684], edx
add dword [esi + 0x680], ebx
mov eax, dword [esi + 0x274]
jmp 0x595c98
mov eax, dword [esi + 0x274]
cmp dword [eax + 0x84], edi
jl 0x595c98
jg 0x595c94
cmp dword [eax + 0x80], 0x7d000
jbe 0x595c98
mov byte [ebp + 0x6a], 0
mov ecx, dword [eax + 0xa8]
mov edx, dword [ecx + 0x10]
push edx
lea ecx, [eax + 0x10]
call fcn.0056b780
cmp byte [ebp + 0x6a], 0
jne 0x595cb7
mov ecx, esi
call fcn.00590890
mov ecx, esi
call fcn.005b61d0
jmp 0x5945d0
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