Function at 0x508480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab383
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
call fcn.0050e7f0
mov edi, eax
cmp edi, ebx
je 0x5084d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
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 eax, dword [esi + 0x3114]
cmp eax, 0xce
je 0x508b1c
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
or ecx, edx
je 0x508ae9
cmp eax, 0x191
je 0x5091bf
cmp eax, 0x197
je 0x5091bf
cmp eax, 0x12e
jne 0x5086a6
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
or edx, eax
je 0x5086a6
mov eax, dword [esi + 0x84]
cmp eax, ebx
jne 0x508543
mov eax, dword [esi + 0x80]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00586ba1
mov dword [ebp - 0x14], 1
mov eax, dword [eax]
push str.emusic.com
push eax
call fcn.0056ab30
mov edi, eax
mov al, byte [ebp - 0x14]
add esp, 8
test al, 1
je 0x50856c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
and al, 0xfe
mov dword [ebp - 0x14], eax
call fcn.00586b33
cmp edi, ebx
je 0x5086a6
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x30]
push eax
lea edx, [ebp - 0x40]
push ecx
push edx
mov ecx, esi
call fcn.0050e4e0
mov edi, eax
mov eax, dword [0x65ca8c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x38]
push edx
mov edx, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x40]
push eax
push ecx
push edx
lea eax, [ebp - 0x18]
push str.cl_I64d__st_I64d__e_I64d__s_I64d_n
push eax
mov byte [ebp - 4], 1
call fcn.0057f8fb
mov ecx, dword [ebp - 0x18]
add esp, 0x28
push ecx
mov ecx, esi
call fcn.004f73c0
cmp edi, ebx
je 0x50860b
push 0x6521f0
mov ecx, esi
call fcn.004f73c0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00586b33
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 eax, dword [ebp - 0x28]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jne 0x50868e
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0x1c]
cmp ecx, eax
jne 0x50868e
mov edx, dword [esi + 0x20]
mov ecx, dword [ebp - 0x30]
cmp edx, ecx
jne 0x50868e
mov eax, dword [esi + 0x24]
mov edx, dword [ebp - 0x2c]
cmp eax, edx
jne 0x50868e
mov eax, dword [ebp - 0x38]
sub eax, ecx
mov ecx, dword [ebp - 0x34]
sbb ecx, edx
mov edx, dword [ebp - 0x40]
cmp eax, edx
jne 0x50868e
cmp ecx, dword [ebp - 0x3c]
jne 0x50868e
push 0x6521ec
mov ecx, esi
call fcn.004f73c0
mov dword [esi + 0x5c], 6
mov dword [esi + 0x78], ebx
mov ecx, dword [0x66249c]
push 1
push ecx
mov ecx, esi
call fcn.004f72f0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00586b33
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x6521e8
mov ecx, esi
call fcn.004f73c0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00586b33
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
or edx, eax
jne 0x5086d2
cmp dword [esi + 0x3114], 0xc8
jne 0x5086d2
mov eax, 0x7542
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 + 0x80]
mov eax, dword [ecx + 0x2a0]
cmp eax, ebx
jne 0x5086ec
mov dl, byte [esi + 0x3125]
test dl, dl
je 0x508722
cmp dword [esi + 0x3114], 0xc8
jne 0x508722
cmp eax, ebx
je 0x50870c
mov eax, dword [esi + 0x30cc]
mov edx, dword [eax + 0x70]
push edx
push ebx
call fcn.0054b210
mov eax, 0x7571
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 + 0x3114]
mov bl, 1
cmp eax, 0xc8
je 0x50874d
cmp eax, 0x12e
je 0x50874d
cmp eax, 0x12d
je 0x50874d
cmp eax, 0x12f
je 0x50874d
cmp eax, 0x133
jne 0x50874f
xor bl, bl
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x30]
cmp ecx, edx
jne 0x508784
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x34]
cmp edx, ecx
jne 0x508784
cmp eax, 0x1a0
je 0x508771
cmp eax, 0x196
jne 0x508784
mov eax, dword [esi + 0x30cc]
test eax, eax
je 0x508784
mov byte [eax + 0x1c8], 1
xor bl, bl
mov eax, dword [esi + 0x3114]
cmp eax, 0x12e
je 0x5089eb
cmp eax, 0x12d
je 0x5089eb
cmp eax, 0x12f
je 0x5089eb
cmp eax, 0x133
je 0x5089eb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [0x6624d4]
push ecx
mov ecx, dword [esi + 0x6c]
call fcn.004fa710
mov eax, dword [esi + 0x30cc]
test eax, eax
je 0x5087e0
mov dword [eax + 0xf8], 0x7577
cmp dword [esi + 0x3114], 0x193
jne 0x508853
mov eax, dword [esi + 0x30cc]
test eax, eax
je 0x508853
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x508815
mov edx, dword [esi + 0x80]
lea ecx, [ebp - 0x18]
mov eax, dword [edx]
push eax
call fcn.00586ba1
or dword [ebp - 0x14], 2
mov eax, dword [eax]
push str.youtube.com
push eax
call fcn.0056ab30
mov edi, eax
mov al, byte [ebp - 0x14]
add esp, 8
test al, 2
je 0x508836
lea ecx, [ebp - 0x18]
call fcn.00586b33
test edi, edi
je 0x508853
mov ecx, dword [esi + 0x30cc]
mov eax, dword [ecx + 0xec]
test eax, eax
jne 0x508851
mov edx, dword [ecx]
push 2
call dword [edx + 0xc]
xor bl, bl
mov al, byte [esi + 0x3127]
test al, al
jne 0x508941
mov edx, dword [esi + 0x80]
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [edx + 0xc8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x508941
mov byte [esi + 0x3127], 1
mov eax, dword [0x65ca8c]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
push 0
push ecx
mov ecx, edx
mov byte [ebp - 4], 4
call fcn.00519510
mov edx, dword [esi + 0x80]
mov eax, dword [edx + 0xc8]
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00573ec0
add esp, 8
test eax, eax
je 0x508935
mov ecx, dword [esi + 0x80]
mov eax, dword [ecx + 0xc8]
mov ecx, esi
push eax
call fcn.00508150
test eax, eax
jne 0x5088f3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], al
call fcn.00586b33
mov eax, 0x7542
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Try_original_r_n
mov ecx, esi
mov byte [esi + 0x3128], 0
call fcn.004f73c0
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [ebp - 0x18]
mov esi, eax
mov byte [ebp - 4], 0
call fcn.00586b33
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
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00586b33
mov eax, dword [esi + 0x84]
test eax, eax
je 0x50899a
push str.Delete_personal_r_n
mov ecx, esi
call fcn.004f73c0
mov edi, dword [esi + 0x84]
test edi, edi
mov dword [ebp - 0x20], edi
je 0x508990
lea ecx, [edi + 8]
mov byte [ebp - 4], 6
call fcn.00586b33
lea ecx, [edi + 4]
mov byte [ebp - 4], 5
call fcn.00586b33
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00586b33
push edi
call fcn.00582ef5
add esp, 4
mov dword [esi + 0x84], 0
mov ecx, dword [esi + 0x80]
mov eax, dword [ecx + 0x2a0]
test eax, eax
je 0x5091bf
mov al, byte [esi + 0x3125]
test al, al
je 0x5091bf
test bl, bl
je 0x5091bf
mov edx, dword [esi + 0x30cc]
mov eax, dword [edx + 0x70]
push eax
push 0
call fcn.0054b210
mov eax, 0x7542
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
mov ecx, esi
call fcn.0050e1d0
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 0x18]
test edi, edi
je 0x508a14
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 [esi + 0x30d3]
test al, al
je 0x508a34
mov eax, 0x7542
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 + 0x310c]
test edx, edx
jne 0x508a54
mov eax, 0x7542
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x508a78
mov eax, 0x7542
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edx
mov ecx, esi
call fcn.00508150
test eax, eax
jne 0x508a9a
mov eax, 0x7542
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 + 0x310c]
mov byte [ebp - 4], 2
push eax
call fcn.00582ef5
add esp, 4
jmp 0x508ab8
xor eax, eax
lea ecx, [esi + 0x30c4]
mov dword [ebp - 4], eax
mov dword [esi + 0x310c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov byte [esi + 0x3128], 1
call dword [eax + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xc8
je 0x508b1c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x30f8]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.004fa710
mov eax, 0x7542
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
mov ecx, esi
call fcn.0050e1d0
mov edi, eax
cmp edi, ebx
je 0x508b44
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
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 [esi + 0x30d3]
test al, al
je 0x508d90
mov edx, dword [esi + 0x30d4]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x80]
not ecx
dec ecx
je 0x508ba7
mov eax, dword [eax + 0xbc]
cmp eax, ebx
je 0x508bbd
mov edi, edx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x508b9c
test cl, cl
je 0x508b98
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x508b9c
add eax, 2
add edi, 2
test cl, cl
jne 0x508b78
xor eax, eax
jmp 0x508ba1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x508be5
jmp 0x508bbd
mov edi, dword [eax + 0xbc]
cmp edi, ebx
je 0x508be5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x508be5
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov byte [esi + 0x30d3], 0
mov dword [esi + 0x5c], 0xe
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x3114]
cmp edx, 0xc8
jne 0x508c05
mov eax, dword [esi + 0x3130]
mov ecx, dword [esi + 0x3134]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
cmp edx, 0xce
jne 0x508c85
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
or eax, ecx
jne 0x508c3d
mov eax, dword [esi + 0x3130]
mov ecx, dword [esi + 0x3134]
mov edi, eax
or edi, ecx
je 0x508c3d
mov edi, dword [esi + 0x3140]
or edi, dword [esi + 0x3144]
jne 0x508c3d
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
cmp edx, 0xce
jne 0x508c85
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
or ecx, eax
jne 0x508c85
mov edi, dword [esi + 0x3140]
mov eax, dword [esi + 0x3144]
mov edx, edi
or edx, eax
je 0x508c7f
mov ecx, dword [esi + 0x3134]
mov edx, dword [esi + 0x3130]
cmp eax, ecx
jg 0x508c7f
jl 0x508c77
cmp edi, edx
jae 0x508c7f
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
jmp 0x508c85
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
mov byte [esi + 0x30d3], 0
jl 0x508bcb
jg 0x508cab
cmp ecx, ebx
jbe 0x508bcb
mov edi, 1
push edi
push eax
push ecx
mov ecx, dword [esi + 0x30cc]
call fcn.00536ae0
mov ecx, dword [esi + 0x30cc]
call fcn.00535f10
mov ecx, dword [esi + 0x30cc]
mov dword [ecx + 0x130], eax
mov eax, dword [esi + 0x30cc]
cmp dword [eax + 0x130], edi
jne 0x508ced
mov dword [eax + 0x130], 2
mov edx, dword [esi + 0x30cc]
mov dword [edx + 0x138], 2
mov eax, dword [esi + 0x30cc]
mov edx, dword [esi + 0x18]
mov ecx, dword [eax + 0x1cc]
mov dword [ecx + 0x18], edx
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x30cc]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov eax, dword [eax + 0x1cc]
sub ecx, edi
sbb edx, ebx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov ecx, dword [esi + 0x30cc]
mov dword [esi + 0x78], ebx
mov dword [esi + 0x5c], 7
call fcn.00518f60
cmp eax, ebx
je 0x508bcb
push str.Reusing_connection._n
mov ecx, esi
call fcn.004f73c0
mov edx, dword [esi]
or eax, 0xffffffff
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
lea eax, [esi + 0x30c4]
mov dword [esi + 0x38], ebx
push eax
mov ecx, esi
mov dword [esi + 0x54], edi
mov dword [esi + 8], edi
mov dword [esi + 0x3c], ebx
call dword [edx + 0x10]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
cmp eax, ebx
jl 0x5090f4
jg 0x508da8
cmp ecx, ebx
jbe 0x508e45
cmp dword [esi + 0x3154], ebx
jg 0x508e45
jl 0x508dc2
cmp dword [esi + 0x3150], ebx
jae 0x508e45
mov ecx, dword [esi + 0x80]
mov eax, dword [ecx + 0x2a0]
cmp eax, ebx
jne 0x508e1f
mov dl, byte [esi + 0x3125]
test dl, dl
jne 0x508e1b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [0x6624d4]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.004fa710
mov esi, dword [esi + 0x30cc]
cmp esi, ebx
je 0x508e05
mov dword [esi + 0xf8], 0x7577
mov eax, 0x7542
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ebx
je 0x508e2f
mov edx, dword [esi + 0x30cc]
mov eax, dword [edx + 0x70]
push eax
push ebx
call fcn.0054b210
mov eax, 0x7571
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ebx
jl 0x5090f4
jg 0x508e57
cmp ecx, ebx
jbe 0x5090f4
mov edx, dword [esi + 0x3140]
mov edi, dword [esi + 0x3144]
mov ecx, edx
or ecx, edi
je 0x5090f4
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
cmp eax, ebx
jl 0x5090f4
jg 0x508e85
cmp ecx, ebx
jbe 0x5090f4
cmp edx, ecx
jne 0x508e91
cmp edi, eax
je 0x508f81
mov eax, dword [esi + 0x84]
cmp eax, ebx
jne 0x508eb3
mov edx, dword [esi + 0x80]
lea ecx, [ebp - 0x18]
mov eax, dword [edx]
push eax
call fcn.00586ba1
mov dword [ebp - 0x14], 4
mov eax, dword [eax]
push str..dailymotion.com
push eax
call fcn.0056ab30
mov edi, eax
mov al, byte [ebp - 0x14]
add esp, 8
test al, 4
je 0x508ed4
lea ecx, [ebp - 0x18]
call fcn.00586b33
cmp edi, ebx
jne 0x509094
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 0x3144]
mov edx, dword [esi + 0x3140]
add edi, 1
mov ecx, ebx
adc ecx, 0
cmp eax, ecx
jg 0x509094
jl 0x508f08
cmp edx, edi
ja 0x509094
add edx, 1
adc eax, 0
cmp ebx, eax
jl 0x5090f4
jg 0x508f21
cmp dword [esi + 0x18], edx
jbe 0x5090f4
mov ecx, dword [esi + 0x80]
xor eax, eax
mov edx, dword [ecx + 0xf0]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5090f4
mov edi, dword [esi + 0x30e8]
mov eax, edx
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x508f6f
test cl, cl
je 0x508f6b
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x508f6f
add eax, 2
add edi, 2
test cl, cl
jne 0x508f47
xor eax, eax
jmp 0x508f74
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5090f4
jmp 0x509094
mov dl, byte [esi + 0x3125]
test dl, dl
je 0x50901e
mov edi, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
cmp edi, ebx
jl 0x5090f4
jg 0x508fa7
cmp eax, ebx
jbe 0x5090f4
mov ecx, dword [esi + 0x3148]
mov edx, dword [esi + 0x314c]
cmp ecx, eax
jne 0x508fbf
cmp edx, edi
je 0x5090f4
cmp edx, ebx
jl 0x5090f4
jg 0x508fd1
cmp ecx, ebx
jbe 0x5090f4
mov eax, dword [esi + 0x84]
cmp eax, ebx
jne 0x508ff3
mov eax, dword [esi + 0x80]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00586ba1
mov dword [ebp - 0x14], 8
mov eax, dword [eax]
push str..dailymotion.com
push eax
call fcn.0056ab30
mov edi, eax
mov al, byte [ebp - 0x14]
add esp, 8
test al, 8
je 0x509014
lea ecx, [ebp - 0x18]
call fcn.00586b33
cmp edi, ebx
je 0x5090f4
jmp 0x509096
mov edx, dword [esi + 0x3148]
mov edi, dword [esi + 0x314c]
sub ecx, 1
sbb eax, ebx
cmp edx, ecx
jne 0x50903b
cmp edi, eax
je 0x5090f4
cmp edi, ebx
jl 0x5090f4
jg 0x50904d
cmp edx, ebx
jbe 0x5090f4
mov eax, dword [esi + 0x84]
cmp eax, ebx
jne 0x50906f
mov edx, dword [esi + 0x80]
lea ecx, [ebp - 0x20]
mov eax, dword [edx]
push eax
call fcn.00586ba1
mov dword [ebp - 0x14], 0x10
mov eax, dword [eax]
push str..dailymotion.com
push eax
call fcn.0056ab30
mov edi, eax
mov al, byte [ebp - 0x14]
add esp, 8
test al, 0x10
je 0x509090
lea ecx, [ebp - 0x20]
call fcn.00586b33
cmp edi, ebx
je 0x5090f4
xor ebx, ebx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [0x6624d4]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.004fa710
mov eax, dword [esi + 0x30cc]
cmp eax, ebx
je 0x5091bf
mov dword [eax + 0xf8], 0x7577
mov esi, dword [esi + 0x30cc]
cmp dword [esi + 0xec], ebx
jne 0x5091bf
mov edx, dword [esi]
push 2
mov ecx, esi
call dword [edx + 0xc]
mov eax, 0x7542
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 + 0x84]
test eax, eax
je 0x50914d
mov eax, dword [esi + 0x3140]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jne 0x50917d
mov ecx, dword [esi + 0x3144]
mov eax, dword [esi + 0x1c]
cmp ecx, eax
jne 0x50917d
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
test ecx, ecx
jl 0x50913c
jg 0x509128
test eax, eax
jbe 0x50913c
mov edx, dword [esi + 0x3150]
cmp edx, eax
jne 0x50917d
mov eax, dword [esi + 0x3154]
cmp eax, ecx
jne 0x50917d
mov al, byte [esi + 0x3128]
test al, al
je 0x50914d
mov byte [esi + 0x3127], 0
mov dword [esi + 0x5c], 6
mov dword [esi + 0x78], 0
mov eax, dword [0x66249c]
push 1
push eax
mov ecx, esi
call fcn.004f72f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [0x6624d4]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.004fa710
mov eax, dword [esi + 0x30cc]
test eax, eax
je 0x5091bf
mov dword [eax + 0xf8], 0x7577
mov esi, dword [esi + 0x30cc]
mov eax, dword [esi + 0xec]
test eax, eax
jne 0x5091bf
mov edx, dword [esi]
push 2
mov ecx, esi
call dword [edx + 0xc]
mov eax, 0x7542
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret