Function at 0x59a750
Capabilities:
Check if file exists
Clear file content
Get file attributes
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x651598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x80], esi
mov dword [ebp - 4], edi
mov ecx, dword [eax + 0x2fc]
cmp ecx, 0x80
jne 0x59a797
mov dword [esi + 0x28], edi
jmp 0x59aa3d
mov edx, dword [eax + 0x2f4]
cmp edx, 4
je 0x59a928
cmp ecx, 0x40
je 0x59a928
cmp edx, 8
je 0x59a928
cmp edx, 0x40
je 0x59a928
mov ecx, dword [0x6f7b78]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
lea edx, [ebp - 0x14]
mov ebx, 1
push edx
push eax
mov byte [ebp - 4], bl
call fcn.0047a180
mov ecx, dword [ebp - 0x14]
add esp, 8
push str.googleusercontent.com
push ecx
call fcn.0060a000
mov ecx, dword [esi + 0x1b8]
mov edx, dword [esi + 0x1bc]
add esp, 8
neg eax
sbb eax, eax
inc eax
or ecx, edx
jne 0x59a917
mov cl, byte [esi + 0x85c]
test cl, cl
jne 0x59a917
cmp dword [esi + 0x1a4], ebx
jle 0x59a917
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x157]
test dl, dl
je 0x59a917
cmp dword [ecx + 0x2fc], edi
jne 0x59a917
mov ecx, dword [esi + 0x248]
mov dl, byte [ecx + 0xc8]
test dl, dl
je 0x59a85a
cmp eax, edi
je 0x59a917
mov dword [ecx + 0x34d4], ebx
mov edx, dword [esi + 0x248]
mov dword [edx + 0x34b8], edi
mov dword [edx + 0x34bc], edi
mov eax, dword [esi + 0x248]
mov dword [eax + 0x34a0], edi
mov dword [eax + 0x34a4], edi
mov ecx, dword [esi + 0x248]
mov byte [ecx + 0x663f], 1
mov eax, dword [esi + 0x248]
mov edx, dword [eax + 0x3450]
lea ecx, [eax + 0x3450]
add eax, 0x6630
push eax
call dword [edx + 0x18]
mov eax, dword [esi + 0x450]
cmp eax, 0x80
jae 0x59a8d9
mov ecx, dword [esi + 0x248]
mov edx, dword [ecx + 0x6630]
mov dword [esi + eax*4 + 0x454], edx
mov eax, dword [esi + 0x450]
inc eax
mov dword [esi + 0x450], eax
mov eax, dword [esi + 0x654]
cmp eax, 0x80
jae 0x59a906
mov ecx, dword [esi + 0x248]
mov edx, dword [ecx + 0x6630]
mov dword [esi + eax*4 + 0x658], edx
mov eax, dword [esi + 0x654]
inc eax
mov dword [esi + 0x654], eax
mov eax, 2
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1a8], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00622d8a
jmp 0x59aa3d
mov dword [esi + 0x28], edi
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x2ec]
cmp eax, edi
je 0x59aa3d
cmp dword [esi + 0x238], edi
je 0x59aa3d
mov edx, dword [eax + 0x16c]
or dh, 1
mov dword [eax + 0x16c], edx
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x2ec]
cmp dword [eax + 0x8fc], 3
jne 0x59a98b
mov eax, dword [eax + 0x50]
cmp eax, edi
je 0x59a97c
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x59a98b
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x2ec]
mov dword [eax + 0x8fc], edi
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0x2ec]
mov eax, dword [ecx + 0x8fc]
cmp eax, edi
je 0x59a9ac
cmp eax, 2
je 0x59a9ac
cmp eax, 4
jne 0x59aa3d
cmp dword [ecx + 0x900], edi
jne 0x59aa3d
push str.Starting_audio_thread_r_n
mov ecx, esi
call fcn.005c4640
mov eax, dword [esi + 0x244]
cmp eax, edi
je 0x59a9f8
mov edx, dword [esi + 0xc]
mov ecx, dword [edx + 0x2ec]
mov dl, byte [eax + 0xaa6]
mov byte [ecx + 0xaa6], dl
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x244]
mov edx, dword [ecx + 0x2ec]
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x2ec]
mov ecx, dword [ecx + 0x20]
cmp ecx, edi
je 0x59aa2d
mov edx, dword [eax]
push ecx
push edx
call fcn.0060a000
add esp, 8
test eax, eax
jne 0x59aa2d
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x2ec]
mov dl, byte [eax + 0x324]
mov byte [ecx + 0x344], dl
mov eax, dword [esi + 0xc]
push 1
mov ecx, dword [eax + 0x2ec]
call fcn.005cfb70
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2fc], edi
je 0x59aa5c
mov cl, byte [eax + 0x300]
test cl, cl
je 0x59aa5c
mov dword [eax + 0xb0], 1
mov ecx, dword [0x6fdd78]
push 1
push ecx
mov ecx, esi
call fcn.005c44f0
mov ecx, dword [esi + 0x244]
cmp ecx, edi
je 0x59aa7b
call fcn.005d8ce0
mov ecx, esi
call fcn.005c5060
mov ecx, esi
call fcn.005c5ad0
mov eax, dword [esi + 0x1b4]
add eax, 0xfffffffb
mov dword [esi + 0x1b4], eax
mov edx, dword [0x6f7b78]
mov dword [ebp - 0x18], edx
mov ecx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
mov dword [ebp - 0x64], ecx
mov ecx, esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x68], eax
call fcn.005c47c0
lea edx, [ebp - 0xec]
xor edi, edi
push edx
mov dword [ebp - 0x90], 3
mov dword [ebp - 0x8c], edi
call fcn.0060b5c4
lea eax, [ebp - 0x9c]
push eax
call fcn.0060b5c4
add esp, 8
xor ebx, ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0x1d], 1
xor edx, edx
cmp edx, dword [esi + 0x1a8]
jge 0x59abd3
mov eax, edx
shl eax, 5
sub eax, edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x248]
shl ecx, 4
add eax, ecx
mov ecx, dword [eax + 0x84]
test ecx, ecx
je 0x59abcd
mov ecx, dword [eax + 0x38c]
inc ebx
test ecx, ecx
jg 0x59abcc
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x59ab4f
mov ecx, dword [ecx + 0x10]
jmp 0x59ab58
mov ecx, dword [eax + 0xb0]
mov ecx, dword [ecx + 0x24]
cmp ecx, 2
jne 0x59ab87
mov ecx, dword [eax + 0x343c]
test ecx, ecx
ja 0x59abcc
mov cl, byte [eax + 0x3440]
test cl, cl
jne 0x59abcc
mov ecx, dword [eax + 0x33cc]
test ecx, ecx
jbe 0x59ab87
cmp dword [eax + 0x3374], 0x80090318
jne 0x59abcc
mov ecx, dword [eax + 0x184]
test ecx, ecx
je 0x59abcd
cmp byte [ecx + 0x137], 0
je 0x59abcd
mov ecx, dword [eax + 0x344c]
test ecx, ecx
je 0x59abcd
cmp dword [ecx + 0x343c], 0
ja 0x59abcc
cmp byte [eax + 0x3440], 0
jne 0x59abcc
mov eax, dword [ecx + 0x33cc]
test eax, eax
jbe 0x59abcd
cmp dword [ecx + 0x3374], 0x80090318
je 0x59abcd
inc edi
inc edx
jmp 0x59aaff
cmp edi, 1
jne 0x59abe6
cmp ebx, edi
jne 0x59abe6
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x90], edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x59ac59
lea ecx, [esi + 0x28]
call fcn.00565cf0
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x2fc], 0x20
jne 0x59ac0f
mov eax, dword [ecx + 0xf0]
mov ecx, dword [ecx + 0xf4]
jmp 0x59ac1b
mov eax, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1bc]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x1c0]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [esi + 0x1c4]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x10]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0
mov ecx, dword [eax]
push edx
push 0x1471
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x59c000
mov ecx, esi
call fcn.005c42f0
test al, al
mov byte [ebp - 0x74], al
je 0x59ac88
lea edx, [ebp - 0xc8]
push edx
call fcn.0060b5c4
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
xor edi, edi
xor edx, edx
mov ebx, 0x80090318
cmp edx, dword [esi + 0x1a8]
jge 0x59ae1f
mov eax, edx
mov ecx, dword [esi + 0x248]
shl eax, 5
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
shl eax, 4
add eax, ecx
mov ecx, dword [eax + 0x84]
test ecx, ecx
je 0x59ae54
mov ecx, dword [eax + 0x8c]
cmp ecx, 6
jne 0x59ada3
mov ecx, dword [eax + 0x38c]
test ecx, ecx
jg 0x59ae1a
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x59acef
mov ecx, dword [ecx + 0x10]
jmp 0x59acf8
mov ecx, dword [eax + 0xb0]
mov ecx, dword [ecx + 0x24]
cmp ecx, 2
jne 0x59ad2f
mov ecx, dword [eax + 0x343c]
test ecx, ecx
ja 0x59ae1a
mov cl, byte [eax + 0x3440]
test cl, cl
jne 0x59ae1a
mov ecx, dword [eax + 0x33cc]
test ecx, ecx
jbe 0x59ad2f
cmp dword [eax + 0x3374], ebx
jne 0x59ae1a
mov ecx, dword [eax + 0x184]
test ecx, ecx
je 0x59ae54
cmp byte [ecx + 0x137], 0
je 0x59ae54
mov ecx, dword [eax + 0x344c]
test ecx, ecx
je 0x59ae54
cmp dword [ecx + 0x343c], 0
ja 0x59ae1a
cmp byte [eax + 0x3440], 0
jne 0x59ae1a
cmp dword [ecx + 0x33cc], 0
jbe 0x59ad87
cmp dword [ecx + 0x3374], ebx
jne 0x59ae1a
mov ecx, dword [eax + 0x33cc]
test ecx, ecx
jbe 0x59ae54
cmp dword [eax + 0x3374], ebx
je 0x59ae54
jmp 0x59ae1a
cmp ecx, 0xf
jne 0x59ae54
mov ecx, dword [eax + 0x3428]
cmp ecx, 0x90312
je 0x59adca
cmp ecx, ebx
je 0x59adca
cmp ecx, 0x90320
jne 0x59ae54
cmp dword [eax + 0x3430], 0
je 0x59add7
cmp ecx, ebx
jne 0x59ae1a
mov ecx, dword [eax + 0x3434]
test ecx, ecx
je 0x59ae1a
mov ecx, dword [eax + 0x184]
test ecx, ecx
je 0x59ae54
cmp byte [ecx + 0x137], 0
je 0x59ae54
mov eax, dword [eax + 0x344c]
test eax, eax
je 0x59ae54
mov ecx, dword [eax + 0x343c]
test ecx, ecx
ja 0x59ae1a
mov ecx, dword [eax + 0x33cc]
test ecx, ecx
jbe 0x59ae54
cmp dword [eax + 0x3374], ebx
je 0x59ae54
mov edi, 1
mov al, byte [ebp - 0x1d]
xor bl, bl
test al, al
je 0x59ae5a
test edi, edi
jne 0x59ae6d
lea edx, [ebp - 0x90]
lea eax, [esi + 0x654]
push edx
lea ecx, [esi + 0x450]
push eax
lea edx, [esi + 0x24c]
push ecx
push edx
push edi
call fcn.00601166
mov edi, eax
mov bl, 1
jmp 0x59ae6d
inc edx
jmp 0x59ac91
mov edi, 1
mov dword [ebp - 0x90], 3
mov byte [ebp - 0x1d], 1
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x59bff8
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
or eax, ecx
jne 0x59aecf
lea eax, [ebp - 0x9c]
push eax
call fcn.0060b5c4
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0xec]
sub ecx, edx
add esp, 4
cmp ecx, 0x12c
jle 0x59aecf
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
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 edx, dword [esi + 0x1c0]
mov eax, dword [esi + 0x1c4]
cmp edi, 0xffffffff
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], eax
je 0x59b0b6
test edi, edi
je 0x59b0b6
xor edi, edi
cmp edi, dword [esi + 0x1a8]
jge 0x59b0bd
mov eax, edi
mov edx, dword [esi + 0x248]
shl eax, 5
sub eax, edi
lea eax, [eax + eax*2]
lea ecx, [eax + eax*8]
shl ecx, 4
add ecx, edx
mov eax, dword [ecx + 0x84]
test eax, eax
je 0x59b0b0
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x59bff8
test bl, bl
jne 0x59b0ab
mov eax, dword [ecx + 0x8c]
cmp eax, 6
jne 0x59b032
mov eax, dword [ecx + 0x38c]
test eax, eax
jg 0x59b0ab
mov eax, dword [ecx + 0xb4]
test eax, eax
je 0x59af65
mov eax, dword [eax + 0x10]
jmp 0x59af6e
mov eax, dword [ecx + 0xb0]
mov eax, dword [eax + 0x24]
cmp eax, 2
jne 0x59afa9
mov eax, dword [ecx + 0x343c]
test eax, eax
ja 0x59b0ab
mov al, byte [ecx + 0x3440]
test al, al
jne 0x59b0ab
mov eax, dword [ecx + 0x33cc]
test eax, eax
jbe 0x59afa9
cmp dword [ecx + 0x3374], 0x80090318
jne 0x59b0ab
mov eax, dword [ecx + 0x184]
test eax, eax
je 0x59b0b0
mov dl, byte [eax + 0x137]
test dl, dl
je 0x59b0b0
mov eax, dword [ecx + 0x344c]
test eax, eax
je 0x59b0b0
mov edx, dword [eax + 0x343c]
test edx, edx
ja 0x59b0ab
mov dl, byte [ecx + 0x3440]
test dl, dl
jne 0x59b0ab
mov edx, dword [eax + 0x33cc]
test edx, edx
jbe 0x59b009
cmp dword [eax + 0x3374], 0x80090318
jne 0x59b0ab
mov eax, dword [ecx + 0x33cc]
test eax, eax
jbe 0x59b0b0
cmp dword [ecx + 0x3374], 0x80090318
je 0x59b0b0
call fcn.0058db40
inc edi
jmp 0x59aef4
cmp eax, 0xf
jne 0x59b0b0
mov eax, dword [ecx + 0x3428]
cmp eax, 0x90312
je 0x59b052
cmp eax, 0x80090318
je 0x59b052
cmp eax, 0x90320
jne 0x59b0b0
mov edx, dword [ecx + 0x3430]
test edx, edx
je 0x59b063
cmp eax, 0x80090318
jne 0x59b0ab
mov eax, dword [ecx + 0x3434]
test eax, eax
je 0x59b0ab
mov eax, dword [ecx + 0x184]
test eax, eax
je 0x59b0b0
mov dl, byte [eax + 0x137]
test dl, dl
je 0x59b0b0
mov eax, dword [ecx + 0x344c]
test eax, eax
je 0x59b0b0
mov edx, dword [eax + 0x343c]
test edx, edx
ja 0x59b0ab
mov edx, dword [eax + 0x33cc]
test edx, edx
jbe 0x59b0b0
cmp dword [eax + 0x3374], 0x80090318
je 0x59b0b0
call fcn.0058db40
inc edi
jmp 0x59aef4
mov ecx, esi
call fcn.0059cb00
mov ecx, dword [ebp - 0x74]
push ecx
push 0
mov ecx, esi
call fcn.005c4890
lea edx, [ebp - 0xa8]
push edx
call fcn.0060b5c4
mov ecx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0x9c]
mov eax, ecx
add esp, 4
sub eax, edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x98]
and eax, 0xffff
sub edx, eax
mov eax, dword [ebp - 0xa4]
mov edi, eax
and edi, 0xffff
add edx, edi
cmp edx, 0xfa
jl 0x59b1b3
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0060b5c4
add esp, 4
xor ebx, ebx
cmp ebx, dword [esi + 0x1a8]
jge 0x59b1a7
mov eax, ebx
shl eax, 5
sub eax, ebx
lea eax, [eax + eax*2]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x248]
shl edx, 4
lea edi, [edx + eax]
mov eax, dword [edx + eax + 0x84]
test eax, eax
je 0x59b1a4
mov ecx, dword [edi + 0xa0]
mov edx, dword [ecx]
cmp dword [edx], 0
je 0x59b1a4
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x6c]
or eax, ecx
je 0x59b1a4
lea eax, [edi + 0x3e8]
mov ecx, edi
push eax
call fcn.0056bd90
mov ecx, dword [edi + 0xa0]
lea eax, [edi + 0x3e8]
push eax
push 0x13ef
mov edx, dword [ecx]
push 0x111
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
inc ebx
jmp 0x59b131
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [esi + 0x24]
test edx, edx
jne 0x59b3a8
mov edi, dword [esi + 0x1c4]
mov ebx, dword [ebp - 0x64]
mov edx, dword [esi + 0x1c0]
cmp ebx, edi
jg 0x59b3a8
jl 0x59b1e0
cmp dword [ebp - 0x68], edx
jae 0x59b3a8
cmp dword [ebp - 0x58], edx
jne 0x59b3a8
cmp dword [ebp - 0x54], edi
jne 0x59b3a8
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
lea ecx, [ecx + ecx*4]
or edx, edi
lea ecx, [ecx + ecx*4]
jne 0x59b219
lea ecx, [ecx + ecx*4]
and eax, 0xffff
lea eax, [eax + ecx*8]
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
jmp 0x59b3b0
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0xc]
and eax, 0xffff
fld qword [ecx + 0x460]
fsqrt
lea eax, [eax + edx*8]
cdq
mov edi, eax
mov ebx, edx
fmul qword [0x663b50]
fadd qword [ecx + 0x450]
fcom qword [ecx + 0x470]
fnstsw ax
test ah, 1
je 0x59b255
fstp qword [ebp - 0x88]
jmp 0x59b26f
mov eax, dword [ecx + 0x470]
mov edx, dword [ecx + 0x474]
fstp st(0)
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
fld qword [ecx + 0x458]
fsqrt
fmul qword [0x663b50]
fadd qword [ecx + 0x448]
fcom qword [ecx + 0x468]
fnstsw ax
test ah, 1
jne 0x59b298
fstp st(0)
fld qword [ecx + 0x468]
fld qword [ebp - 0x88]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x59b2af
fstp st(0)
fld qword [ebp - 0x88]
fmul qword [0x6640c0]
fadd qword [0x6640b8]
call fcn.0060a154
mov ecx, dword [ebp - 0x38]
sub edi, ecx
mov ecx, dword [ebp - 0x34]
sbb ebx, ecx
cmp ebx, edx
jl 0x59b3b0
jg 0x59b2dc
cmp edi, eax
jbe 0x59b3b0
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.005d9410
cmp eax, ebx
je 0x59b3b0
cmp dword [esi + 0x1c], ebx
je 0x59b319
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00622d8a
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
push str.Restart_type_s018_n
mov ecx, esi
call fcn.005c4640
mov ecx, dword [esi + 0x248]
call fcn.0057fa50
mov ecx, dword [esi + 0x248]
call fcn.005936a0
mov ecx, dword [esi + 0x248]
mov eax, dword [ecx]
lea edx, [ecx + 0x31e0]
push edx
call dword [eax + 0x18]
mov edi, eax
cmp edi, ebx
jne 0x59b365
mov ecx, dword [esi + 0x248]
push ebx
call fcn.00585c90
mov edi, eax
cmp edi, ebx
je 0x59b384
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
mov eax, edi
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 + 0x1c4]
mov edx, dword [0x6fdd78]
mov eax, dword [esi + 0x1c0]
mov dword [ebp - 0x64], ecx
push 1
push edx
mov ecx, esi
mov dword [ebp - 0x68], eax
call fcn.005c44f0
jmp 0x59b3b0
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xb0], 2
jne 0x59b82d
mov edx, dword [esi + 0x1bc]
mov ecx, dword [esi + 0x1b8]
test edx, edx
mov bl, 1
jl 0x59b3f9
jg 0x59b3d9
cmp ecx, 0x32
jbe 0x59b3ee
mov eax, dword [esi + 0x248]
mov edi, dword [eax + 0x74]
test edi, edi
jl 0x59b40f
jg 0x59b3ee
cmp dword [eax + 0x70], 0x32
jb 0x59b40f
test edx, edx
jg 0x59b431
jl 0x59b3f9
cmp ecx, 0x32
ja 0x59b431
mov eax, dword [esi + 0x248]
mov edi, dword [eax + 0x74]
cmp edi, edx
jg 0x59b431
jl 0x59b40f
mov edx, dword [eax + 0x70]
cmp edx, ecx
jae 0x59b431
mov cl, byte [eax + 0xc8]
xor bl, bl
test cl, cl
je 0x59b431
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x4c]
or ecx, edx
jne 0x59b431
mov cl, byte [eax + 0xc9]
test cl, cl
je 0x59b431
mov bl, 1
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x14c]
test ah, 1
je 0x59b4b0
mov edx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
xor edi, edi
cmp edx, edi
jg 0x59b4b2
jl 0x59b45a
cmp eax, 0x7d1
jae 0x59b4b2
mov edx, dword [ecx]
push str.youtube.com
push edx
call fcn.00609cc0
add esp, 8
test eax, eax
jne 0x59b485
mov eax, dword [esi + 0xc]
push str.googlevideo.com
mov ecx, dword [eax]
push ecx
call fcn.00609cc0
add esp, 8
test eax, eax
je 0x59b4b2
mov ecx, dword [esi + 0x1bc]
mov eax, dword [esi + 0x1b8]
cmp ecx, edi
jl 0x59b82d
jg 0x59b4a6
cmp eax, 0x7d1
jb 0x59b82d
or eax, ecx
je 0x59b82d
jmp 0x59b4b2
xor edi, edi
test bl, bl
je 0x59b82d
mov dl, byte [esi + 0x240]
mov ecx, dword [esi + 0xc]
push edx
call fcn.005e5170
mov cl, byte [0x6fcc0c]
mov dword [ebp - 0x14], eax
test cl, cl
jne 0x59b4e3
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x31e]
test dl, dl
jne 0x59b4f1
mov cl, byte [esi + 0x85c]
test cl, cl
je 0x59b578
mov edx, dword [esi + 0xc]
cmp dword [edx + 0xb0], 2
jne 0x59b501
cmp eax, edi
je 0x59b578
mov ecx, dword [esi + 0x248]
call fcn.0057fa50
lea ecx, [esi + 0x28]
call fcn.0055c4a0
mov dword [esi + 0xc8], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0x1c0], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0x1c4], edi
mov al, byte [0x6fcc0c]
test al, al
jne 0x59bfbe
mov eax, dword [esi + 0xc]
mov cl, byte [eax + 0x31e]
test cl, cl
je 0x59bfbe
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
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
cmp dword [esi + 0xb8], edi
jle 0x59b5fc
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 0x59b5fc
mov ebx, dword [ebx + 0xbc]
test ebx, ebx
je 0x59b5ba
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
call fcn.0060bf70
add esp, 0xc
test eax, eax
je 0x59b5fc
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x59b5db
mov edx, dword [esi + 0xb8]
push edx
push 0
nop
nop
nop
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x59b5fc
mov ecx, dword [esi + 0xb8]
push ecx
push 0
nop
nop
nop
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x59b82d
mov eax, dword [esi + 0x13c]
test eax, eax
jne 0x59b7b3
mov al, byte [0x6fcc0c]
test al, al
jne 0x59b71f
mov eax, dword [esi + 0xc]
mov byte [ebp - 0x1e], 0
mov edx, dword [eax + 0xbc]
test edx, edx
je 0x59b680
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 0x59b680
mov edi, edx
mov eax, ebx
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x59b673
test cl, cl
je 0x59b66f
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x59b673
add eax, 2
add edi, 2
test cl, cl
jne 0x59b64b
xor eax, eax
jmp 0x59b678
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x59b680
mov byte [ebp - 0x1e], 1
mov edi, dword [esi + 0x1bc]
mov edx, dword [esi + 0x1b8]
xor ebx, ebx
cmp edi, ebx
jl 0x59b6b9
jg 0x59b698
cmp edx, ebx
jbe 0x59b6b9
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xe8]
mov eax, dword [eax + 0xec]
cmp eax, ebx
jl 0x59b6b9
jg 0x59b6b1
cmp ecx, ebx
jbe 0x59b6b9
cmp ecx, edx
jne 0x59b6c0
cmp eax, edi
jne 0x59b6c0
mov al, byte [ebp - 0x1e]
test al, al
je 0x59b71f
mov eax, dword [esi + 0xc]
push 0x6fc418
lea ecx, [eax + 0xe4]
call fcn.00622f13
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 [0x6fd578]
mov edx, dword [ecx + 8]
push edx
push eax
push ebx
call fcn.00457010
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
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 0x59b7b3
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x59b738
mov eax, ecx
jmp 0x59b73b
add eax, 0x38
push 0x2e
push eax
call fcn.00609ba3
mov edi, eax
add esp, 8
test edi, edi
je 0x59b7b3
push 0x6d1d68
push edi
call fcn.0060c3d3
add esp, 8
test eax, eax
je 0x59b7b3
push 0x6d02fc
push edi
call fcn.0060c3d3
add esp, 8
test eax, eax
je 0x59b7b3
mov ecx, dword [esi + 0xc]
mov eax, dword [0x6fdd04]
push 0x50004
mov edx, dword [ecx + 8]
push edx
push eax
push 0
call fcn.00457010
add esp, 0x10
cmp eax, 7
jne 0x59b7b3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
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 0x59b82d
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x59b7c8
mov eax, ecx
jmp 0x59b7cb
add eax, 0x38
push 0x2e
push eax
call fcn.00609ba3
mov edi, eax
add esp, 8
test edi, edi
je 0x59b82d
push 0x6d1d68
push edi
call fcn.0060c3d3
add esp, 8
test eax, eax
je 0x59b82d
push 0x6d02fc
push edi
call fcn.0060c3d3
add esp, 8
test eax, eax
je 0x59b82d
mov ecx, dword [esi + 0xc]
call fcn.005e5290
mov edi, eax
test edi, edi
je 0x59b82d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x74]
test al, al
je 0x59ba5b
mov ecx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
test ecx, ecx
jl 0x59ba5b
jg 0x59b859
cmp eax, 0x400
jbe 0x59ba5b
mov ecx, esi
call fcn.005c42b0
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x60], eax
push ecx
mov ebx, edx
call fcn.0060b5c4
mov eax, dword [esi + 0x1c0]
mov edi, dword [ebp - 0x70]
mov ecx, dword [esi + 0x1c4]
mov edx, dword [ebp - 0x6c]
add esp, 4
sub eax, edi
sbb ecx, edx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
js 0x59ba5b
jg 0x59b8a6
test eax, eax
jbe 0x59ba5b
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xc8]
sub eax, edx
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xb8]
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 0x59b8e8
mov dword [ebp - 0x14], 1
fild qword [ebp - 0xb0]
fmul dword [0x65b8c8]
fidiv dword [ebp - 0x14]
call fcn.0060a154
mov edi, edx
mov ecx, eax
cmp edi, ebx
jl 0x59ba5b
jg 0x59b913
cmp ecx, dword [ebp - 0x60]
jbe 0x59ba5b
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x14]
sub ecx, edx
cdq
sbb edi, ebx
push edx
push eax
push edi
push ecx
call fcn.0060c730
mov ecx, dword [ebp - 0x60]
push ebx
push ecx
push edx
push eax
call fcn.0060bae0
mov edi, eax
mov eax, dword [esi + 0x1c8]
cdq
mov dword [ebp - 0x78], edx
mov edx, dword [ebp - 0x60]
push 0
push 2
push ebx
push edx
mov dword [ebp - 0x7c], eax
call fcn.0060bae0
cmp dword [ebp - 0x78], edx
jg 0x59b971
jl 0x59b95c
cmp dword [ebp - 0x7c], eax
jae 0x59b971
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
jmp 0x59b99f
mov ecx, dword [ebp - 0x60]
push 0
push 9
push ebx
push ecx
call fcn.0060c730
push 0
push 0xa
push edx
push eax
call fcn.0060bae0
cmp dword [ebp - 0x78], edx
jg 0x59b99f
jl 0x59b996
cmp dword [ebp - 0x7c], eax
jae 0x59b99f
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
cmp edi, 0x2ee0
jle 0x59b9ae
mov edi, 0x2ee0
jmp 0x59b9b6
test edi, edi
jle 0x59ba5b
mov eax, dword [esi + 0x858]
cmp eax, 0xffffffff
je 0x59ba54
lea ecx, [esi + 0x24c]
lea ebx, [esi + 0x654]
mov dword [esi + 0x450], 0
mov dword [ecx], 0
mov dword [ebx], 0
mov dword [esi + 0x250], eax
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
mov eax, dword [ebx]
cmp eax, 0x80
jae 0x59ba0d
mov edx, dword [esi + 0x858]
mov dword [esi + eax*4 + 0x658], 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 - 0x2c], 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 - 0x2c]
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 - 0x28], eax
lea eax, [esi + 0x450]
push eax
push ecx
push 0
call fcn.00601166
jmp 0x59ba5b
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.0059c850
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x59bfe0
cmp eax, 1
jne 0x59bff3
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2fc], ebx
je 0x59bff3
mov cl, byte [eax + 0x300]
test cl, cl
je 0x59bff3
cmp dword [esi + 0x40], ebx
jne 0x59bff3
mov ecx, dword [esi + 0x248]
add ecx, 0x10
call fcn.00570460
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ebx
push ecx
mov ecx, dword [esi + 0xc]
mov byte [ebp - 4], 3
call fcn.0059de90
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x2fc], 0x200
jne 0x59baed
mov edi, dword [ebp - 0x14]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
push ecx
lea ecx, [ebp - 0x14]
call fcn.006231f6
mov eax, dword [esi + 0xc]
mov cl, byte [eax + 0x317]
test cl, cl
je 0x59bb01
mov ecx, esi
call fcn.0059cc40
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2fc], 0x20
jne 0x59bbaa
mov edx, dword [ebp - 0x14]
lea ecx, [esi + 0x28]
push edx
mov dword [ecx], ebx
call fcn.0055dd00
cmp eax, ebx
jg 0x59bb71
mov ecx, dword [0x6f7b78]
mov dword [ebp - 0x1c], ecx
push eax
lea edx, [ebp - 0x1c]
push str.Error_MakeSdxFrList__ld_r_n
push edx
mov byte [ebp - 4], 4
call fcn.0061fae1
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.005c4640
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00622d8a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00622d8a
mov dword [ebp - 0x14], 0x753c
jmp 0x59bff3
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + 0x20]
mov edx, eax
mov ecx, dword [ecx + 0x24]
or edx, ecx
je 0x59bd1a
mov edx, dword [esi + 0xc]
mov dword [edx + 0xf0], eax
mov dword [edx + 0xf4], ecx
mov ecx, esi
call fcn.005c52f0
mov ecx, dword [esi + 0x248]
call fcn.0056bd00
jmp 0x59bd1a
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov eax, dword [eax + 0x2fc]
push edx
mov edx, dword [ebp - 0x14]
lea ecx, [esi + 0x28]
push edx
push eax
call fcn.0055e090
cmp eax, ebx
je 0x59bb59
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x2fc]
cmp eax, 0x200
jne 0x59bc05
mov edx, dword [esi + 0x40]
push 1
mov eax, dword [edx + 0x28]
mov byte [eax + 0x4c], 1
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x28]
mov dword [edx + 0x44], 1
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x40]
push eax
call fcn.00571210
jmp 0x59bce1
cmp eax, 8
jne 0x59bc58
mov ecx, dword [esi + 0xb0]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esi + 0x248]
push edx
add ecx, 0x10
call fcn.00570480
mov eax, dword [esi + 0x248]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [esi + 0x248]
add ecx, 0x10
call fcn.00570460
cmp dword [ebp - 0x30], ebx
je 0x59bce1
mov dword [esi + 0x140], 0x7582
jmp 0x59bb59
mov edx, dword [esi + 0xb0]
mov ecx, dword [esi + 0x248]
add ecx, 0x10
mov eax, dword [edx + 0x10]
push eax
call fcn.00570480
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x48]
push ecx
mov ecx, dword [esi + 0x248]
push 0xd
push edx
add ecx, 0x10
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x48], 0x46
mov byte [ebp - 0x47], 0x4c
mov byte [ebp - 0x46], 0x56
mov byte [ebp - 0x45], 1
mov byte [ebp - 0x44], 5
mov byte [ebp - 0x43], 0
mov byte [ebp - 0x42], 0
mov byte [ebp - 0x41], 0
mov byte [ebp - 0x40], 9
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0
mov byte [ebp - 0x3c], 0
call fcn.00570a60
mov edi, eax
mov eax, dword [ebp - 0x24]
cmp eax, 0xd
je 0x59bccb
xor edi, edi
mov ecx, dword [esi + 0x248]
add ecx, 0x10
call fcn.00570460
cmp edi, ebx
je 0x59bb59
mov eax, dword [esi + 0xc]
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov eax, dword [eax + 0x2fc]
cmp eax, 0x200
je 0x59bd1a
cmp eax, 8
jne 0x59bd0a
mov dword [esi + 0x1c0], ebx
jmp 0x59bd14
mov dword [esi + 0x1c0], 0xd
mov dword [esi + 0x1c4], ebx
mov ecx, dword [esi + 0xc]
mov edi, 1
push edi
push ebx
mov byte [ecx + 0x300], 0
mov dword [esi + 0xd0], ebx
push ebx
mov ecx, esi
mov dword [esi + 0xd4], ebx
call fcn.005c5470
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0xc]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x1a4]
mov eax, dword [eax + 0x10]
cmp eax, ecx
jl 0x59bd59
mov eax, ecx
cmp eax, ebx
mov dword [esi + 0x1a8], eax
jne 0x59bd69
mov dword [esi + 0x1a8], edi
mov al, byte [0x6fcc0c]
test al, al
jne 0x59bd83
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x31e]
test al, al
jne 0x59bf0e
mov al, byte [esi + 0x85c]
test al, al
jne 0x59bf0e
mov edx, dword [esi + 0x248]
push ebx
push ebx
push ebx
push edx
lea ecx, [esi + 0x28]
call fcn.0055f280
mov eax, dword [esi + 0x248]
mov dword [eax + 0x84], edi
mov ecx, dword [esi + 0x248]
mov dword [ecx + 0x68], ebx
mov dword [ecx + 0x6c], ebx
mov edx, dword [esi + 0x248]
mov dword [edx + 0x50], ebx
mov dword [edx + 0x54], ebx
mov eax, dword [esi + 0x248]
mov dword [eax + 0x48], ebx
mov dword [eax + 0x4c], ebx
mov ecx, dword [esi + 0x248]
mov dword [ecx + 0x31f8], ebx
mov dword [ecx + 0x31fc], ebx
mov edx, dword [esi + 0x248]
mov dword [edx + 0x70], ebx
mov dword [edx + 0x74], ebx
mov eax, dword [esi + 0x248]
mov eax, dword [eax + 0xb4]
cmp eax, ebx
je 0x59be06
mov eax, dword [eax + 0x10]
jmp 0x59be0c
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x24]
cmp eax, 2
jne 0x59be4b
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x42c], ebx
je 0x59be24
cmp dword [ecx + 0x198], ebx
jne 0x59be4b
call fcn.005e61c0
cmp eax, ebx
jne 0x59be4b
mov edx, dword [0x6fdc78]
mov ecx, dword [esi + 0x20]
push edx
call fcn.00570270
mov dword [esi + 0x140], 0x756c
jmp 0x59bb59
mov ecx, dword [esi + 0x248]
mov eax, dword [ecx]
lea edx, [ecx + 0x31e0]
push edx
call dword [eax + 0x18]
mov eax, dword [esi + 0x248]
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x450], ebx
mov dword [esi + 0x654], ebx
mov ecx, dword [eax + 0x31e0]
mov dword [esi + 0x454], ecx
mov edx, dword [esi + 0x450]
mov eax, dword [esi + 0x654]
inc edx
cmp eax, 0x80
mov dword [esi + 0x450], edx
jae 0x59bebb
mov edx, dword [esi + 0x248]
mov ecx, dword [edx + 0x31e0]
mov dword [esi + eax*4 + 0x658], ecx
mov eax, dword [esi + 0x654]
inc eax
mov dword [esi + 0x654], eax
mov ecx, dword [esi + 0x858]
cmp ecx, 0xffffffff
je 0x59bf0e
mov eax, dword [esi + 0x24c]
cmp eax, 0x80
jae 0x59bee7
mov dword [esi + eax*4 + 0x250], ecx
mov eax, dword [esi + 0x24c]
inc eax
mov dword [esi + 0x24c], eax
mov eax, dword [esi + 0x654]
cmp eax, 0x80
jae 0x59bf0e
mov edx, dword [esi + 0x858]
mov dword [esi + eax*4 + 0x658], edx
mov eax, dword [esi + 0x654]
inc eax
mov dword [esi + 0x654], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00622d8a
mov eax, dword [esi + 0xc]
mov byte [eax + 0x317], 0
mov ecx, dword [esi + 0xc]
mov byte [ecx + 0x318], 1
mov edx, dword [esi + 0xc]
mov byte [edx + 0x306], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ecx + 0x378], edx
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0x37c], eax
mov ecx, esi
call fcn.005c5200
mov al, byte [0x6fcc0c]
test al, al
jne 0x59bf6d
mov ecx, dword [esi + 0xc]
mov dl, byte [ecx + 0x31e]
test dl, dl
jne 0x59bf7b
mov cl, byte [esi + 0x85c]
test cl, cl
je 0x59bfe0
test al, al
jne 0x59bfaa
mov edx, dword [esi + 0xc]
mov al, byte [edx + 0x31e]
test al, al
je 0x59bfaa
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
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 + 0x28]
call fcn.0055c4a0
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c4], ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
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.0059d020
mov ecx, esi
call fcn.005c5b00
jmp 0x59abe6
cmp dword [esi + 0x1c], ebx
je 0x59c022
lea ecx, [esi + 0x28]
call fcn.00565cf0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
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
push str.http:rcd__dwnl_finished__s1_t7__r_n
mov ecx, esi
call fcn.005c4640
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x14c]
test ah, 1
je 0x59c49e
mov edx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
test edx, edx
jg 0x59c49e
jl 0x59c061
cmp eax, 0x7d1
jae 0x59c49e
mov eax, dword [ecx]
push str.youtube.com
push eax
call fcn.00609cc0
add esp, 8
test eax, eax
jne 0x59c090
mov ecx, dword [esi + 0xc]
push str.googlevideo.com
mov edx, dword [ecx]
push edx
call fcn.00609cc0
add esp, 8
test eax, eax
je 0x59c49e
push str.http:rcd__Check_for_redirect__s1_r_n
mov ecx, esi
call fcn.005c4640
mov edx, dword [esi + 0x1c0]
mov eax, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1bc]
cmp edx, eax
mov dword [ebp - 0x30], 0
jne 0x59c0c1
cmp dword [esi + 0x1c4], ecx
je 0x59c0c9
or eax, ecx
jne 0x59c49e
mov ecx, dword [esi + 0x248]
add ecx, 0x10
call fcn.00570460
mov eax, dword [esi + 0xc]
mov cl, byte [eax + 0x317]
test cl, cl
je 0x59c0eb
mov ecx, esi
call fcn.0059cc40
mov ecx, dword [esi + 0xb0]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
mov edx, dword [ecx + 0x10]
push 3
push 0
push 1
push 0x80000000
push edx
call edi
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x24], ebx
jne 0x59c19e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
mov dword [esi + 0x140], eax
je 0x59c134
cmp eax, 5
jne 0x59c465
mov ecx, dword [0x6f7b78]
mov dword [ebp - 0x1c], ecx
push eax
lea edx, [ebp - 0x1c]
push str.Check_for_redirect__cf_failed__lastErr_ld_Sleep_1000_r_n
push edx
mov byte [ebp - 4], 5
call fcn.0061fae1
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.005c4640
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0xb0]
push 0
push 0
push 3
mov edx, dword [ecx + 0x10]
push 0
push 1
push 0x80000000
push edx
call edi
mov ebx, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 2
call fcn.00622d8a
cmp ebx, 0xffffffff
je 0x59c465
mov eax, dword [esi + 0x1c4]
mov ecx, dword [esi + 0x1bc]
mov edi, dword [esi + 0x1c0]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1b8]
mov dword [ebp - 0x1c], edi
or eax, ecx
je 0x59c1cd
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 0x317]
test al, al
je 0x59c1f1
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
mov dword [ebp - 0x1c], edi
jne 0x59c1f1
mov edi, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1c4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edi
mov eax, dword [esi + 0x248]
mov eax, dword [eax + 0x31d8]
test eax, eax
je 0x59c226
push eax
mov byte [ebp - 4], 6
call fcn.00622af4
add esp, 4
jmp 0x59c21f
mov dword [ebp - 4], 2
lea ecx, [edi + 1]
push ecx
call fcn.00622acb
mov edx, dword [esi + 0x248]
add esp, 4
mov dword [edx + 0x31d8], eax
mov eax, dword [esi + 0x248]
mov ecx, dword [eax + 0x31d8]
test ecx, ecx
je 0x59c33d
push str.Check_for_redirect__s2_r_n
mov ecx, esi
call fcn.005c4640
mov edx, dword [esi + 0x248]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push 0
mov eax, dword [edx + 0x31d8]
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov dword [ebp - 0x24], eax
je 0x59c3f9
cmp dword [ebp - 0x1c], edi
jne 0x59c3f9
mov ecx, dword [esi + 0x248]
push str.Check_for_redirect__s3__fc:_r_n
mov edx, dword [ecx + 0x31d8]
mov ecx, esi
mov byte [edx + edi], 0
call fcn.005c4640
mov eax, dword [esi + 0x248]
mov ecx, dword [eax + 0x31d8]
push ecx
mov ecx, esi
call fcn.005c4640
push 0x6c9e2c
mov ecx, esi
call fcn.005c4640
mov edx, dword [esi + 0x248]
push 7
push 0x6c9178
mov eax, dword [edx + 0x31d8]
push eax
call fcn.0060bf70
add esp, 0xc
test eax, eax
je 0x59c3e2
mov ecx, dword [esi + 0x248]
push 8
push 0x6c916c
mov edx, dword [ecx + 0x31d8]
push edx
call fcn.0060bf70
add esp, 0xc
test eax, eax
je 0x59c3e2
mov eax, dword [esi + 0x248]
mov eax, dword [eax + 0x31d8]
push eax
call fcn.00622af4
mov ecx, dword [esi + 0x248]
add esp, 4
mov dword [ecx + 0x31d8], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x59c49e
push str.http:rcd__Redirect_found_r_n
mov ecx, esi
call fcn.005c4640
xor edi, edi
lea ebx, [esi + 0x28]
mov dword [esi + 0x1c0], edi
mov dword [esi + 0x188], edi
mov ecx, ebx
mov dword [esi + 0x1c4], edi
mov dword [esi + 0x18c], edi
call fcn.00565cf0
mov ecx, ebx
call fcn.0055c4a0
mov ecx, dword [esi + 0x248]
mov dword [esi + 0xc8], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd4], edi
mov dword [ecx + 0x50], edi
mov dword [ecx + 0x54], edi
mov ecx, dword [esi + 0x248]
call fcn.005936a0
push 1
push edi
push edi
mov ecx, esi
call fcn.005c5470
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
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 ecx, dword [esi + 0x248]
call fcn.00582110
mov dword [ebp - 0x30], 1
jmp 0x59c33d
mov edx, dword [0x6f7b78]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x24]
push eax
push ecx
lea edx, [ebp - 0x14]
push str.Check_for_redirect__rf_res_ld__lastErr_ld__buff_ld__read_ld_r_n
push edx
call fcn.0061fae1
mov eax, dword [ebp - 0x14]
add esp, 0x18
mov ecx, esi
push eax
call fcn.005c4640
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00622d8a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x6f7b78]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x140]
lea ecx, [ebp - 0x1c]
push eax
push str.Check_for_redirect__cf_failed__lastErr_ld_r_n
push ecx
mov byte [ebp - 4], 9
call fcn.0061fae1
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, esi
push edx
call fcn.005c4640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
jmp 0x59c440
mov edi, dword [ebp - 0x14]
cmp edi, 0x753c
je 0x59c4b2
cmp edi, 0xffffffff
jne 0x59c542
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x14c]
test ch, 1
je 0x59c6f8
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x59c6f8
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1c4]
or eax, ecx
je 0x59c6f8
mov ecx, dword [esi + 0x1bc]
mov eax, dword [esi + 0x1b8]
test ecx, ecx
jl 0x59c6f8
jg 0x59c504
cmp eax, 0x40000000
jbe 0x59c6f8
push str.Checking_flv_file_struct._n
mov ecx, esi
call fcn.005c4640
mov ecx, esi
call fcn.0059a540
test eax, eax
je 0x59c6f8
mov ecx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
push 1
push ecx
push eax
mov ecx, esi
call fcn.005c5470
push str.DurationlastTimeStamp__seems_the_flv_file_is_comlete._n
mov ecx, esi
call fcn.005c4640
mov eax, dword [esi + 0x1c4]
mov edx, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1bc]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1b8]
cmp edx, eax
jne 0x59c609
mov ebx, dword [ebp - 0x28]
mov edi, ecx
cmp ebx, edi
jne 0x59c609
mov edi, eax
or edi, ecx
je 0x59c609
mov edi, dword [esi + 0x10]
mov ebx, dword [edi]
test ebx, ebx
je 0x59c5b7
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x1c4]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x1c8]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x40], eax
push edx
push 0x1471
mov eax, ebx
push 0x111
push eax
mov dword [ebp - 0x4c], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x14]
cmp dword [edx], 0
je 0x59c609
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x238]
mov dword [ebp - 0xd8], eax
mov eax, dword [esi + 0x1c8]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [esi + 0x1c4]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xd4], ecx
mov ecx, dword [edx]
push eax
push 0x1394
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x1c4]
mov eax, dword [esi + 0x1c0]
mov ecx, dword [0x6fdd7c]
push edx
push eax
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.0061fae1
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov ecx, esi
push 1
push eax
call fcn.005c44f0
mov ecx, dword [esi + 0x1c0]
mov eax, dword [esi + 0x1c4]
mov edi, dword [esi + 0x1b8]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1bc]
cmp ecx, edi
jne 0x59c663
mov ebx, dword [ebp - 0x28]
mov edx, eax
cmp ebx, edx
je 0x59c759
mov edx, edi
or edx, eax
je 0x59c759
mov dword [ebp - 0x58], ecx
mov ecx, dword [esi + 0x1c4]
mov dword [ebp - 0x54], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x338]
xor ecx, ecx
mov edx, eax
mov ebx, ecx
add edx, edi
adc ebx, dword [ebp - 0x28]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x58]
cmp ebx, edx
jne 0x59c6a8
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x54]
cmp ebx, edx
je 0x59c759
mov ebx, dword [esi + 0x1bc]
mov edx, dword [esi + 0x1c4]
add eax, edi
adc ecx, ebx
cmp edx, ecx
jl 0x59c445
jg 0x59c6ce
cmp dword [esi + 0x1c0], eax
jbe 0x59c445
lea ecx, [esi + 0x28]
call fcn.00566c30
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
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 eax, dword [esi + 0x1c4]
mov ecx, dword [esi + 0x1c0]
mov edx, dword [0x6fdd70]
push eax
push ecx
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.0061fae1
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push 1
push ecx
mov ecx, esi
call fcn.005c44f0
mov esi, dword [esi + 0x140]
test esi, esi
je 0x59c738
cmp edi, 0x753c
je 0x59c73a
mov esi, edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
mov eax, esi
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 + 0x2fc]
test eax, eax
je 0x59c794
mov eax, dword [esi + 0x40]
test eax, eax
je 0x59c794
mov eax, dword [eax + 0x28]
test eax, eax
je 0x59c794
mov eax, dword [eax + 0x48]
test eax, eax
je 0x59c794
cmp dword [ecx + 0x2f4], 8
jne 0x59c794
add ecx, 0x3c4
push ecx
push eax
call fcn.00594880
add esp, 8
xor ebx, ebx
cmp ebx, dword [esi + 0x1a8]
jge 0x59c80c
mov eax, ebx
mov ecx, dword [esi + 0x248]
shl eax, 5
sub eax, ebx
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
shl eax, 4
lea edi, [eax + ecx]
mov eax, dword [eax + ecx + 0x84]
test eax, eax
je 0x59c809
mov edx, dword [edi + 0xa0]
mov eax, dword [edx]
cmp dword [eax], 0
je 0x59c809
mov ecx, dword [edi + 0x68]
mov eax, dword [edi + 0x6c]
or ecx, eax
je 0x59c809
lea eax, [edi + 0x3e8]
mov ecx, edi
push eax
call fcn.0056bd90
mov edx, dword [edi + 0xa0]
lea eax, [edi + 0x3e8]
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 0x59c796
mov ecx, esi
call fcn.005c5b00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret