Function at 0x585580
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a8c9
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x74f8a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x5c], esi
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0xbb8
mov eax, dword [esi + 0xc0]
cmp byte [eax + 0x17b], 0
je 0x5855df
cmp byte [eax + 0x347], 0
mov eax, 5
jne 0x5855e4
mov eax, 0xf
lea ebx, [esi + 0x31f0]
mov edx, dword [esi]
push eax
mov eax, dword [ebx]
push eax
mov ecx, esi
mov edx, dword [edx + 0x1c]
call edx
mov edi, eax
mov dword [ebp - 0x24], edi
mov eax, dword [esi + 0x31f8]
cmp dword [eax + 0x1c], 0
jne 0x5857f1
cmp edi, 0x2751
je 0x585620
cmp edi, 0x2743
jne 0x58571a
mov eax, dword [esi + 0xc0]
test dword [eax + 0x154], 0x2400000
jne 0x58571a
mov dword [ebp - 0x34], edi
mov dword [eax + 0x1ac], edi
mov eax, dword [esi + 0xc0]
xor ecx, ecx
cmp byte [eax + 0x17b], cl
sete cl
mov byte [eax + 0x17b], cl
mov edx, dword [esi]
push ebx
mov ecx, esi
mov eax, dword [edx + 0x18]
call eax
mov edx, dword [esi]
push 0x1e
mov eax, dword [ebx]
push eax
mov ecx, esi
mov edx, dword [edx + 0x1c]
call edx
mov edi, eax
mov dword [ebp - 0x24], edi
mov eax, dword [esi + 0x31f8]
cmp dword [eax + 0x1c], 0
jne 0x5857f1
cmp dword [ebp - 0x34], edi
jne 0x58569f
mov eax, dword [esi + 0xc0]
xor ecx, ecx
cmp byte [eax + 0x17b], cl
sete cl
mov byte [eax + 0x17b], cl
test edi, edi
je 0x58580b
push edi
mov ecx, esi
call fcn.0055b870
test eax, eax
je 0x5856c3
push edi
mov ecx, esi
call fcn.0055b7f0
test eax, eax
je 0x5857a3
mov ecx, esi
call fcn.0055c620
test eax, eax
je 0x5857a3
mov edx, dword [esi]
push ebx
mov ecx, esi
mov eax, dword [edx + 0x18]
call eax
mov edx, dword [esi]
push 0x1e
mov eax, dword [ebx]
push eax
mov ecx, esi
mov edx, dword [edx + 0x1c]
call edx
mov edi, eax
mov dword [ebp - 0x24], edi
mov eax, dword [esi + 0x31f8]
cmp dword [eax + 0x1c], 0
jne 0x5857f1
test edi, edi
je 0x58580b
push edi
mov ecx, esi
call fcn.0055b870
test eax, eax
je 0x5856c3
mov eax, edi
jmp 0x5877d7
cmp edi, 0x274c
jne 0x58569f
mov eax, dword [esi + 0xc0]
cmp byte [eax + 0x17b], 0
je 0x5856a7
test dword [eax + 0x154], 0x400000
jne 0x5856a7
mov dword [eax + 0x1ac], edi
mov edx, dword [esi + 0xc0]
mov byte [edx + 0x17b], 0
mov eax, dword [esi]
push ebx
mov ecx, esi
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [esi]
push 0x1e
mov ecx, dword [ebx]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x1c]
call edx
mov edi, eax
mov dword [ebp - 0x24], edi
mov eax, dword [esi + 0x31f8]
cmp dword [eax + 0x1c], 0
jne 0x5857f1
cmp edi, 0x274c
jne 0x58569f
mov eax, dword [esi + 0xc0]
mov byte [eax + 0x17b], 1
jmp 0x5856a7
test edi, edi
je 0x58580b
mov dword [ebp - 0x58], 0
mov edi, edi
push edi
mov ecx, esi
call fcn.0055b870
test eax, eax
jne 0x585803
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp eax, 5
jg 0x585803
mov eax, dword [esi]
push ebx
mov ecx, esi
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [esi]
push 0x1e
mov ecx, dword [ebx]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x1c]
call edx
mov edi, eax
mov dword [ebp - 0x24], edi
mov eax, dword [esi + 0x31f8]
cmp dword [eax + 0x1c], 0
je 0x5857b0
lea ecx, [eax + 0x28]
call fcn.00553780
mov eax, 0x7540
jmp 0x5877d7
test edi, edi
jne 0x585713
mov dword [esi + 0x3244], 1
add dword [ebp - 0x28], 0x7d0
mov eax, dword [esi + 0x194]
test eax, eax
je 0x58588b
mov cl, byte [eax + 0x15c]
mov byte [ebp - 0x35], cl
test cl, cl
je 0x58588f
mov ecx, esi
call fcn.005753b0
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x585a28
cmp edi, 0x7585
jne 0x58591e
push str.Restart_type_002_n
mov ecx, esi
call fcn.0055b6c0
mov ecx, esi
call fcn.00576d20
mov eax, dword [esi]
push ebx
mov ecx, esi
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5877d7
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.00585580
jmp 0x5877d7
mov byte [ebp - 0x35], 0
test eax, eax
je 0x585a28
cmp byte [eax + 0x137], 0
je 0x585a28
mov ecx, dword [esi + 0x346c]
test ecx, ecx
je 0x585a28
lea edx, [ecx + 0x3328]
push edx
mov eax, dword [ecx + 0x337c]
push eax
call fcn.005d4020
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5877d7
mov ecx, dword [esi + 0x346c]
push 1
lea edx, [ecx + 0x3338]
push edx
lea eax, [ecx + 0x3330]
push eax
mov edx, dword [esi + 0x194]
mov eax, dword [edx]
push eax
lea edx, [ecx + 0x3328]
push edx
mov eax, dword [ebx]
push eax
call fcn.005d6eb0
mov dword [ebp - 0x24], eax
test eax, eax
je 0x585a16
cmp eax, 0x757e
jne 0x5877d7
push str.Restart_type_005_n
jmp 0x5859b5
mov ecx, dword [esi + 0x194]
mov al, byte [ecx + 0x15d]
test al, al
jne 0x58597d
cmp edi, 0x7559
jne 0x58597d
cmp dword [ecx + 0x154], 5
jne 0x58597d
cmp byte [ecx + 0x15e], al
jne 0x58597d
cmp byte [ecx + 0x15f], al
jne 0x58597d
mov byte [ecx + 0x15e], 1
mov ecx, dword [esi + 0x194]
mov byte [ecx + 0x15f], 1
mov edx, dword [esi + 0x194]
mov dword [edx + 0x154], 4
push str.Restart_type_003_n
jmp 0x585858
mov edx, dword [ecx + 0x154]
cmp edx, 5
jne 0x5859e8
cmp edi, 0x7580
jne 0x5859e8
cmp byte [ecx + 0x15e], 0
jne 0x5859e8
mov byte [ecx + 0x15e], 1
mov ecx, dword [esi + 0x194]
mov dword [ecx + 0x154], 4
push str.Restart_type_004_n
mov ecx, esi
call fcn.0055b6c0
mov ecx, esi
call fcn.00576d20
push ebx
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5877d7
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00585580
jmp 0x5877d7
test al, al
jne 0x585a0f
cmp edx, 4
jne 0x585a0f
cmp byte [ecx + 0x15e], al
je 0x585a0f
cmp byte [ecx + 0x15f], al
je 0x585a0f
mov dword [ecx + 0x154], edx
mov edi, 0x7559
mov dword [ebp - 0x24], edi
mov eax, edi
jmp 0x5877d7
mov ecx, dword [esi + 0x346c]
lea edx, [ecx + 0x3330]
push edx
call fcn.005d46e0
add dword [ebp - 0x28], 0x153
mov byte [ebp - 0x36], 1
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x585a42
mov eax, dword [eax + 0x10]
jmp 0x585a4b
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x24]
cmp eax, 2
jne 0x585b88
mov byte [ebp - 0x36], 0
mov ecx, dword [esi + 0x194]
cmp dword [ecx], 0
je 0x585aa9
push 1
mov ecx, esi
call fcn.00582330
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5877d7
cmp dword [esi + 0x324c], 0xc8
je 0x585a9f
mov edx, dword [esi + 0x3234]
push edx
mov ecx, dword [esi + 0xac]
call fcn.005646e0
mov eax, 0x756d
jmp 0x5877d7
mov dword [esi + 0x9c], 0x10
lea eax, [esi + 0x3328]
push eax
mov eax, dword [esi + 0x337c]
push eax
mov ecx, esi
call fcn.005d4020
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5877d7
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x585ad7
mov eax, dword [eax]
jmp 0x585adf
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx]
lea edi, [esi + 0x3330]
push 1
lea edx, [esi + 0x3338]
push edx
push edi
push eax
lea eax, [esi + 0x3328]
push eax
mov eax, dword [ebx]
push eax
mov ecx, esi
call fcn.005d6eb0
mov dword [ebp - 0x24], eax
mov ecx, esi
test eax, eax
je 0x585b82
call fcn.00576d20
cmp byte [esi + 0xdb], 0
jne 0x585b69
mov ecx, dword [esi + 0xc0]
cmp dword [ecx + 0x168], 5
jne 0x585b69
mov eax, dword [ebp - 0x24]
cmp eax, 0x80090304
jne 0x585b6c
mov ecx, esi
call fcn.0055c620
test eax, eax
je 0x585b78
push str.Try_next_server_n
mov ecx, esi
call fcn.0055b6c0
mov edx, dword [esi + 0xc0]
mov dword [edx + 0x168], 0
push str.Restart_type_006_n
mov ecx, esi
call fcn.0055b6c0
jmp 0x585866
mov eax, dword [ebp - 0x24]
cmp eax, 0x757e
je 0x585b58
jmp 0x5877d7
mov eax, 0x80090304
jmp 0x5877d7
push edi
call fcn.005d46e0
mov ecx, esi
cmp dword [ebp + 8], 0
je 0x585b97
call fcn.005749a0
jmp 0x585ba0
mov edx, dword [esi]
push 0
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5877d7
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00581f70
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, 0x757e
jne 0x585c5a
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x585bd6
mov eax, dword [eax + 0x10]
jmp 0x585bdf
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x24]
cmp eax, 2
jne 0x585cf1
mov edx, dword [esi + 0x3224]
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x585bf3
sub eax, ebx
je 0x585c31
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax]
mov eax, edx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x585c28
test dl, dl
je 0x585c24
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x585c28
add eax, 2
add ecx, 2
test dl, dl
jne 0x585c08
xor eax, eax
jmp 0x585c2d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x585c3b
cmp byte [ebp - 0x36], 0
je 0x585cf1
push str.Restart_type_007_n
mov ecx, esi
call fcn.0055b6c0
mov ecx, esi
call fcn.00576d20
lea eax, [esi + 0x31f0]
push eax
jmp 0x5859c4
cmp edi, 0x7586
jne 0x585c89
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x585c71
mov eax, dword [eax + 0x10]
jmp 0x585c7a
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x24]
cmp eax, 2
jne 0x585cf1
push str.Restart_type_007b_n
jmp 0x585858
test edi, edi
jne 0x585cf1
cmp dword [esi + 0x324c], 0xce
jne 0x585cf1
mov eax, dword [esi + 0x3258]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x585ca2
sub eax, edx
je 0x585cf1
mov eax, dword [esi + 0xc4]
test eax, eax
jne 0x585cd0
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x34]
call fcn.004030b0
mov byte [ebp - 4], 1
or dword [ebp - 0x50], 1
mov eax, dword [eax]
push str.sciencedirect.com
push eax
call fcn.00619720
add esp, 8
test eax, eax
je 0x585cf1
cmp dword [esi + 0x31ec], 2
je 0x585cf1
mov bl, 1
jmp 0x585cf3
xor bl, bl
mov dword [ebp - 4], 0
test byte [ebp - 0x50], 1
je 0x585d0c
and dword [ebp - 0x50], 0xfffffffe
lea ecx, [ebp - 0x34]
call fcn.00402570
test bl, bl
je 0x585d4c
mov ecx, dword [esi + 0x31f8]
test ecx, ecx
je 0x585d23
mov eax, dword [ecx]
push 2
mov edx, dword [eax + 0xc]
call edx
mov dword [esi + 0x31ec], 2
mov ecx, esi
call fcn.00576d20
push str.Restart_type_11_n
mov ecx, esi
call fcn.0055b6c0
lea eax, [esi + 0x31f0]
push eax
jmp 0x5859c4
cmp dword [esi + 0x324c], 0xc8
jne 0x585ea1
mov edx, dword [esi + 0x58]
or edx, dword [esi + 0x5c]
jne 0x585ea1
cmp dword [esi + 0x64], edx
jg 0x585ea1
jl 0x585d7c
cmp dword [esi + 0x60], edx
ja 0x585ea1
cmp byte [esi + 0x31fd], 0
jne 0x585ea1
mov eax, dword [esi + 0x3270]
mov ecx, dword [esi + 0x3274]
mov edx, eax
or edx, ecx
je 0x585ea1
add eax, 1
adc ecx, 0
cmp eax, dword [esi + 0x3208]
jne 0x585ea1
cmp ecx, dword [esi + 0x320c]
jne 0x585ea1
mov edi, 0x7542
mov dword [ebp - 0x24], edi
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x318]
cmp ecx, 0x40
je 0x585de2
cmp ecx, 0x80
jne 0x585ecb
mov ecx, dword [esi + 0x31f8]
test ecx, ecx
je 0x585ecb
cmp byte [ecx + 0x251], 0
je 0x585ecb
cmp byte [ecx + 0x252], 0
jne 0x585ecb
mov byte [ecx + 0x252], 1
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 8]
push str._tmp_dashinit
push eax
call fcn.00619720
add esp, 8
test eax, eax
je 0x585e82
lea ecx, [ebp - 0x28]
call fcn.00402500
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 8]
push edx
push 0x66fea8
lea eax, [ebp - 0x28]
push eax
call fcn.00402f70
add esp, 0xc
push 0x670984
push str._tmp_dashinit
lea ecx, [ebp - 0x28]
call fcn.00402c10
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.00426850
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00402570
mov ecx, esi
call fcn.00576d20
push str.Restart_type_s020s1_n
mov ecx, esi
call fcn.0055b6c0
lea eax, [esi + 0x31f0]
push eax
jmp 0x5859c4
test edi, edi
je 0x5865f8
cmp edi, 0x7563
jne 0x585eb8
mov eax, edi
jmp 0x5877d7
cmp edi, 0x7581
jne 0x585dc5
mov eax, edi
jmp 0x5877d7
cmp byte [eax + 0x180], 0
jne 0x585f1b
cmp dword [eax + 0x2fc], 0
jl 0x585f1b
jg 0x585ee8
cmp dword [eax + 0x2f8], 0
jbe 0x585f1b
mov ebx, 0x100
test dword [eax + 0x154], ebx
je 0x585f20
mov byte [eax + 0x180], 1
mov ecx, esi
call fcn.00576d20
push str.Restart_type_s021s2_n
mov ecx, esi
call fcn.0055b6c0
lea eax, [esi + 0x31f0]
push eax
jmp 0x5859c4
mov ebx, 0x100
cmp byte [eax + 0x1a2], 0
je 0x585f60
cmp byte [eax + 0x1a1], 0
jne 0x585f60
test dword [eax + 0x154], ebx
je 0x585f60
mov byte [eax + 0x1a1], 1
mov ecx, esi
call fcn.00576d20
push str.Restart_type_s021s3_n
mov ecx, esi
call fcn.0055b6c0
lea eax, [esi + 0x31f0]
push eax
jmp 0x5859c4
cmp dword [eax + 0x320], 0
jne 0x586139
test dword [eax + 0x154], ebx
je 0x586139
test edi, edi
je 0x586139
mov eax, dword [eax]
push str.youtube.com
push eax
call fcn.00619720
add esp, 8
test eax, eax
jne 0x585fb3
mov edx, dword [esi + 0xc0]
mov eax, dword [edx]
push str.googlevideo.com
push eax
call fcn.00619720
add esp, 8
test eax, eax
je 0x586139
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 8]
push str.sourceyt_otf
push eax
call fcn.00619720
add esp, 8
test eax, eax
jne 0x585fed
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 8]
push str._sourceyt_otf
push eax
call fcn.00619720
add esp, 8
test eax, eax
je 0x586139
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 8]
push str.otf1
push eax
call fcn.00619720
add esp, 8
test eax, eax
jne 0x586027
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 8]
push str._otf1
push eax
call fcn.00619720
add esp, 8
test eax, eax
je 0x586139
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 8]
push 0x6a87f8
push eax
call fcn.00619720
add esp, 8
test eax, eax
jne 0x586139
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 8]
push str._sq
push eax
call fcn.00619720
add esp, 8
test eax, eax
jne 0x586139
mov ecx, esi
call fcn.00576d20
push str.Restart_type_s020y_n
mov ecx, esi
call fcn.0055b6c0
mov eax, dword [esi + 0xc0]
mov dword [eax + 0x320], 0x200
mov ecx, dword [esi + 0xc0]
mov byte [ecx + 0x324], 1
mov eax, dword [esi + 0x31f8]
test eax, eax
je 0x5860b5
mov eax, dword [eax + 0xb8]
test eax, eax
je 0x5860b5
push eax
mov ecx, dword [esi + 0xc0]
call fcn.005c7b70
lea ecx, [ebp - 0x28]
call fcn.00402500
mov byte [ebp - 4], 3
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 8]
push eax
push str._ssq0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00402f70
add esp, 0xc
push 0
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [esi + 0xc0]
call fcn.00426850
mov edx, dword [esi]
lea eax, [esi + 0x31f0]
push eax
mov ecx, esi
mov eax, dword [edx + 0x18]
call eax
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x586119
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00402570
mov eax, ebx
jmp 0x5877d7
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00585580
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00402570
mov eax, esi
jmp 0x5877d7
cmp edi, 0x7566
jne 0x5862b5
mov edx, dword [esi + 0xc0]
mov eax, dword [edx]
push str..dailymotion.com
push eax
call fcn.00619720
add esp, 8
test eax, eax
jne 0x58617d
mov eax, dword [esi + 0xc0]
mov eax, dword [eax]
push str..dmcdn.net
push eax
call fcn.00619720
add esp, 8
test eax, eax
je 0x5862b5
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 8]
test eax, eax
je 0x5862b5
test dword [ecx + 0x154], ebx
je 0x5862b5
push 0x2e
push eax
call fcn.0061a820
add esp, 8
test eax, eax
je 0x5862b5
push 0x678c88
push eax
call fcn.00619b9e
add esp, 8
test eax, eax
jne 0x5862b5
lea ecx, [ebp - 0x34]
call fcn.00402500
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 8]
push edx
push 0x66fea8
lea eax, [ebp - 0x34]
push eax
call fcn.00402f70
push 0x2e
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0061a820
add esp, 0x14
test eax, eax
je 0x5862a9
mov byte [eax], 0
lea ecx, [ebp - 0x28]
call fcn.00402500
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x34]
push edx
push str._s.mnft
lea eax, [ebp - 0x28]
push eax
call fcn.00402f70
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.00426850
mov ecx, esi
call fcn.00576d20
push str.Restart_type_12_n
mov ecx, esi
call fcn.0055b6c0
mov edx, dword [esi]
lea eax, [esi + 0x31f0]
push eax
mov ecx, esi
mov eax, dword [edx + 0x18]
call eax
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x58627d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00402570
mov eax, ebx
jmp 0x5877d7
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00585580
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00402570
mov eax, esi
jmp 0x5877d7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00402570
cmp dword [esi + 0x64], 0
jg 0x58634e
jl 0x5862cb
cmp dword [esi + 0x60], 0
ja 0x58634e
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x378]
lea ebx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5862e0
sub eax, ebx
je 0x58634e
cmp byte [edx + 0x345], cl
jne 0x58634e
cmp edi, 0x7565
je 0x58631b
cmp edi, 0x7566
je 0x58631b
cmp edi, 0x7542
je 0x58631b
cmp edi, 0x756e
je 0x58631b
cmp edi, 0x755e
jne 0x58634e
mov byte [edx + 0x345], 1
mov edx, dword [esi + 0xc0]
mov byte [edx + 0x34d], 1
mov ecx, esi
call fcn.00576d20
push str.Restart__type_18_n
mov ecx, esi
call fcn.0055b6c0
lea eax, [esi + 0x31f0]
push eax
jmp 0x5859c4
lea ecx, [ebp - 0x30]
call fcn.00402500
mov byte [ebp - 4], 6
push 0
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [esi + 0xc0]
call fcn.0058ae10
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a91e0
add esp, 4
cmp edi, 0x7565
je 0x58638b
cmp edi, 0x7542
jne 0x5864b0
mov ecx, dword [esi + 0xc0]
cmp byte [ecx + 0x327], 0
jne 0x586441
test al, al
je 0x586441
mov ecx, esi
call fcn.00576d20
push str.Restart_type_14_n
mov ecx, esi
call fcn.0055b6c0
cmp edi, 0x7542
jne 0x5863f7
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x5863d0
mov eax, dword [eax + 0x10]
jmp 0x5863d9
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 0x24]
cmp eax, 2
jne 0x5863f7
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0x168], 0
jne 0x5863f7
mov dword [eax + 0x168], 1
mov edx, dword [esi]
lea eax, [esi + 0x31f0]
push eax
mov ecx, esi
mov eax, dword [edx + 0x18]
call eax
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
jne 0x58682f
mov ecx, dword [esi + 0xc0]
mov byte [ecx + 0x327], 1
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.00585580
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00402570
mov eax, esi
jmp 0x5877d7
cmp edi, 0x7542
jne 0x5864b0
cmp dword [ebp + 8], 0
jne 0x5864b0
cmp dword [esi + 0x64], 0
jl 0x5864c6
jg 0x58645d
cmp dword [esi + 0x60], 0
jbe 0x5864b0
cmp dword [ecx + 0x300], 0
je 0x5864b0
mov eax, dword [esi + 0x31f8]
mov edx, dword [eax + 0xb8]
push edx
push 0
call fcn.005c6fc0
mov ecx, esi
call fcn.00576d20
push str.Restart_type_15_n
mov ecx, esi
call fcn.0055b6c0
mov edx, dword [esi]
lea eax, [esi + 0x31f0]
push eax
mov ecx, esi
mov eax, dword [edx + 0x18]
call eax
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
jne 0x58682f
push eax
jmp 0x586425
cmp dword [esi + 0x64], 0
jg 0x5865b4
jl 0x5864c6
cmp dword [esi + 0x60], 0
ja 0x5865b4
cmp byte [esi + 0x31fd], 0
jne 0x5865b4
mov eax, dword [esi + 0xc0]
cmp byte [eax + 0x33e], 0
je 0x5865b4
cmp byte [eax + 0x340], 0
jne 0x5865b4
cmp edi, 0x7565
je 0x58651f
cmp edi, 0x7566
je 0x58651f
cmp edi, 0x7542
je 0x58651f
cmp edi, 0x756e
je 0x58651f
cmp edi, 0x755e
jne 0x5865b4
mov byte [esi + 0x31fc], 1
mov byte [esi + 0x31fd], 1
cmp byte [eax + 0x33e], 0
je 0x58653d
mov byte [eax + 0x340], 1
mov ecx, esi
call fcn.00576d20
push str.Restart_type_16_n
mov ecx, esi
call fcn.0055b6c0
cmp edi, 0x7542
jne 0x58658e
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x586567
mov eax, dword [eax + 0x10]
jmp 0x586570
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 0x24]
cmp eax, 2
jne 0x58658e
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0x168], 0
jne 0x58658e
mov dword [eax + 0x168], 1
mov edx, dword [esi]
lea eax, [esi + 0x31f0]
push eax
mov ecx, esi
mov eax, dword [edx + 0x18]
call eax
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
jne 0x58682f
mov ecx, dword [ebp + 8]
push ecx
jmp 0x586425
mov ecx, dword [esi + 0x3210]
test ecx, ecx
je 0x586650
call fcn.005a1840
test al, al
jne 0x58663d
mov eax, dword [esi + 0xc0]
cmp byte [eax + 0x33f], 0
je 0x58663d
cmp byte [eax + 0x340], 0
jne 0x58663d
cmp byte [eax + 0x341], 0
jne 0x58663d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00402570
cmp dword [esi + 0x3210], 0
je 0x586dcb
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0xbc]
test eax, eax
jne 0x586625
test edi, edi
je 0x586dcb
test eax, eax
je 0x58688e
push str.text_html
push eax
call fcn.00619b9e
add esp, 8
test eax, eax
sete bl
jmp 0x586890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00402570
mov eax, edi
jmp 0x5877d7
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 0x3f8]
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x586660
sub eax, ebx
je 0x5866bd
cmp byte [ecx + 0x34d], dl
jne 0x5866bd
mov byte [ecx + 0x34d], 1
mov ecx, esi
call fcn.00576d20
push str.Restart_type_26_n
mov ecx, esi
call fcn.0055b6c0
mov edx, dword [esi]
lea eax, [esi + 0x31f0]
push eax
mov ecx, esi
mov eax, dword [edx + 0x18]
call eax
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x5865ab
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00402570
mov eax, ebx
jmp 0x5877d7
test dword [ecx + 0x154], 0x80000
je 0x586740
mov ecx, dword [ecx + 0x18c]
push str.Firefox_
push ecx
call fcn.00619720
add esp, 8
test eax, eax
jne 0x5866ff
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x18c]
push str.Chrome_
push eax
call fcn.00619720
add esp, 8
test eax, eax
je 0x586740
mov ecx, dword [esi + 0xc0]
add ecx, 0x18c
push 0x754a2c
call fcn.00405930
mov eax, dword [esi + 0xc0]
mov byte [eax + 0x345], 0
mov ecx, dword [esi + 0xc0]
mov byte [ecx + 0x34b], 1
mov ecx, esi
call fcn.00576d20
push str.Restart_type_25_n
jmp 0x586686
mov eax, dword [esi + 0x3218]
test eax, eax
jne 0x58674f
mov eax, 0x670984
push eax
lea ecx, [ebp - 0x28]
call fcn.004030b0
mov byte [ebp - 4], 7
push 0x670984
mov ecx, dword [esi + 0xc0]
call fcn.0044fec0
mov eax, dword [esi + 0x31f8]
test eax, eax
je 0x586786
push 0x670984
lea ecx, [eax + 0x184]
call fcn.005494d0
mov ecx, esi
call fcn.0057a130
mov edi, dword [esi + 0x31f8]
test edi, edi
je 0x58686e
cmp byte [edi + 0x253], 0
jne 0x58686e
mov eax, dword [esi + 0x3218]
test eax, eax
je 0x58686e
mov ecx, eax
lea ebx, [ecx + 1]
jmp 0x5867c0
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x5867c0
sub ecx, ebx
je 0x58686e
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5867d2
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x28]
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5867e3
sub eax, ebx
cmp edx, eax
je 0x58686e
mov byte [edi + 0x253], 1
mov ecx, esi
call fcn.00576d20
push str.Restart_type_23_n
mov ecx, esi
call fcn.0055b6c0
mov edx, dword [esi]
lea eax, [esi + 0x31f0]
push eax
mov ecx, esi
mov eax, dword [edx + 0x18]
call eax
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x586842
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00402570
mov eax, ebx
jmp 0x5877d7
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00585580
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00402570
mov eax, esi
jmp 0x5877d7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00402570
mov eax, dword [ebp - 0x24]
jmp 0x5877d7
xor bl, bl
mov ecx, dword [esi + 0x3210]
call fcn.005a1840
test al, al
jne 0x586dcb
mov eax, dword [esi + 0xc0]
cmp byte [eax + 0x33f], 0
je 0x586dcb
cmp byte [eax + 0x340], 0
jne 0x586dcb
cmp byte [eax + 0x341], 0
jne 0x586dcb
test bl, bl
jne 0x5868dc
test edi, edi
je 0x586dcb
lea ecx, [ebp - 0x48]
call fcn.00402500
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4c]
call fcn.00402500
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.00402500
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x34]
call fcn.00402500
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x30]
call fcn.00402500
mov byte [ebp - 4], 0xc
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [esi + 0x3210]
call fcn.005a1a00
test al, al
je 0x586d83
mov eax, dword [esi + 0xc0]
mov byte [eax + 0x340], 1
mov ecx, dword [esi + 0xc0]
mov byte [ecx + 0x33e], 1
mov edx, dword [esi + 0xc0]
mov byte [edx + 0x341], 1
mov ecx, dword [esi + 0x3210]
call fcn.005a19f0
mov eax, dword [esi + 0xc0]
mov ecx, dword [ebp - 0x54]
mov dword [eax + 0x24], ecx
mov eax, dword [esi + 0xc0]
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [esi + 0xc0]
call fcn.0044ff40
mov ebx, eax
cmp ebx, edi
je 0x586a0b
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20]
call fcn.00401210
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x30]
call fcn.00402570
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x34]
call fcn.00402570
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.00402570
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4c]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00402570
mov eax, ebx
jmp 0x5877d7
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.0044ffb0
mov ebx, eax
cmp ebx, edi
jne 0x5869bc
push edi
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [esi + 0xc0]
call fcn.00426850
mov ebx, eax
cmp ebx, edi
jne 0x5869bc
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [esi + 0xc0]
call fcn.0044fec0
push 0x670984
mov ecx, dword [esi + 0xc0]
add ecx, 0xc4
call fcn.005494d0
mov ecx, dword [esi + 0xc0]
mov byte [ecx + 0x32d], 0
push 0x670984
mov ecx, dword [esi + 0xc0]
call fcn.0044fe40
mov eax, dword [esi + 0x31f8]
cmp eax, edi
je 0x586abc
mov eax, dword [eax + 0xb8]
cmp eax, edi
je 0x586abc
mov ecx, dword [esi + 0xc0]
cmp dword [ecx + 0x47c], edi
jne 0x586aa0
push eax
call fcn.005c6e60
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x47c]
cmp eax, edi
je 0x586abc
push str.Referer
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebx, dword [ebp - 0x20]
cmp ebx, edi
mov eax, ebx
jne 0x586ac8
lea eax, [ebp - 0x1c]
lea edx, [eax + 2]
jmp 0x586ad0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x586ad0
sub eax, edx
sar eax, 1
je 0x586b41
cmp ebx, edi
mov eax, ebx
jne 0x586aea
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [esi + 0xc0]
call fcn.005c5e40
mov eax, dword [esi + 0x31f8]
cmp eax, edi
je 0x586b41
mov eax, dword [eax + 0xb8]
cmp eax, edi
je 0x586b16
push eax
mov ecx, dword [esi + 0xc0]
call fcn.005c7b40
mov eax, dword [esi + 0x31f8]
mov ecx, dword [eax + 0x14]
cmp ecx, edi
je 0x586b41
mov eax, dword [eax + 0xb8]
push eax
push 0x13c9
push 0x111
mov ecx, dword [ecx]
push ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
call ebx
jmp 0x586b47
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0xc0]
mov byte [edx + 0x19e], 1
push 0x670984
mov ecx, dword [esi + 0xc0]
add ecx, 0x188
call fcn.005494d0
mov eax, dword [esi + 0xc0]
mov byte [eax + 0x184], 0
mov ecx, dword [esi + 0xc0]
mov byte [ecx + 0x333], 0
mov byte [esi + 0xd8], 0
mov edx, dword [esi + 0xc0]
push edx
call fcn.0050cc70
add esp, 4
mov ecx, esi
call fcn.00577000
cmp dword [esi + 0xbc], edi
jne 0x586c31
mov eax, dword [esi + 0xb0]
mov eax, dword [eax]
cmp dword [eax], edi
je 0x586bc9
push edi
push 0x1478
push 0x111
mov ecx, dword [eax]
push ecx
call ebx
mov eax, dword [esi + 0x31f8]
cmp eax, edi
je 0x586c31
mov eax, dword [eax + 0xb8]
cmp eax, edi
je 0x586c31
push edi
push edi
push eax
mov ecx, dword [esi + 0xc0]
call fcn.005ca110
mov eax, dword [esi + 0x31f8]
mov ecx, dword [eax + 0x14]
cmp ecx, edi
je 0x586c0e
mov edx, dword [eax + 0xb8]
push edx
push 0x1395
push 0x111
mov eax, dword [ecx]
push eax
call ebx
mov eax, dword [esi + 0x31f8]
mov ecx, dword [eax + 0x18]
cmp ecx, edi
je 0x586c31
mov edx, dword [eax + 0xb8]
push edx
push 0x1395
push 0x111
mov eax, dword [ecx]
push eax
call ebx
cmp dword [esi + 0x31e8], edi
je 0x586c65
mov byte [ebp - 4], 0xe
mov eax, dword [esi + 0x31e8]
push eax
call fcn.005ec337
add esp, 4
mov dword [ebp - 4], 0xd
jmp 0x586c65
mov dword [esi + 0x31e8], 0
mov ecx, dword [esi + 0xc0]
call fcn.005c3a70
mov ecx, esi
call fcn.00576d20
push str.Restart_type_17_n
mov ecx, esi
call fcn.0055b6c0
mov edx, dword [esi]
lea eax, [esi + 0x31f0]
push eax
mov ecx, esi
mov edx, dword [edx + 0x18]
call edx
mov edi, eax
test edi, edi
jne 0x586d34
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.00585580
mov edi, eax
test edi, edi
jne 0x586d34
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 0xbc]
test eax, eax
je 0x586d34
push str.text_html
push eax
call fcn.00619b9e
add esp, 8
test eax, eax
je 0x586d34
mov eax, dword [esi + 0x31f8]
test eax, eax
je 0x586d34
mov eax, dword [eax + 0xb8]
test eax, eax
je 0x586d34
mov ecx, dword [esi + 0xc0]
cmp dword [ecx + 0x47c], edi
jne 0x586d02
push eax
call fcn.005c6e60
mov esi, dword [esi + 0xc0]
cmp dword [esi + 0x47c], 0
je 0x586d34
mov dword [ebp - 0x28], 1
push 4
lea edx, [ebp - 0x28]
push edx
push 4
push 0
push str.noSyntRef
mov eax, dword [esi + 0x47c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20]
call fcn.00401210
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x30]
call fcn.00402570
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x34]
call fcn.00402570
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.00402570
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4c]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00402570
mov eax, edi
jmp 0x5877d7
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x20]
call fcn.00401210
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x30]
call fcn.00402570
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x34]
call fcn.00402570
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.00402570
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4c]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00402570
mov edx, dword [esi + 0x324c]
cmp edx, 0xc8
jne 0x586df3
mov ecx, dword [esi + 0x58]
or ecx, dword [esi + 0x5c]
jne 0x586df3
mov eax, dword [esi + 0x3208]
mov dword [esi + 0x58], eax
mov ecx, dword [esi + 0x320c]
mov dword [esi + 0x5c], ecx
cmp edx, 0xce
jne 0x586ee7
mov eax, dword [esi + 0x58]
or eax, dword [esi + 0x5c]
jne 0x586e39
cmp dword [esi + 0x64], eax
jg 0x586e39
jl 0x586e13
cmp dword [esi + 0x60], eax
ja 0x586e39
mov eax, dword [esi + 0x3208]
mov ecx, dword [esi + 0x320c]
mov edi, eax
or edi, ecx
je 0x586e39
mov edi, dword [esi + 0x3270]
or edi, dword [esi + 0x3274]
jne 0x586e39
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
cmp edx, 0xce
jne 0x586ee7
mov ecx, dword [esi + 0x58]
or ecx, dword [esi + 0x5c]
jne 0x586ee7
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x64]
test edi, edi
jg 0x586ed5
jl 0x586e61
test eax, eax
ja 0x586e91
mov ebx, dword [esi + 0x3270]
mov ecx, dword [esi + 0x3274]
mov edx, ebx
or edx, ecx
je 0x586e91
mov edx, dword [esi + 0x3208]
mov eax, dword [esi + 0x320c]
cmp ecx, eax
jg 0x586e91
jl 0x586e89
cmp ebx, edx
jae 0x586e91
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], eax
jmp 0x586ee7
test edi, edi
jg 0x586ed5
jl 0x586e9d
cmp dword [esi + 0x60], 0
ja 0x586ed5
mov edx, dword [esi + 0x3208]
mov ebx, dword [esi + 0x320c]
mov eax, edx
or eax, ebx
je 0x586ed5
mov eax, edx
add eax, 1
mov ecx, ebx
adc ecx, 0
mov edi, dword [esi + 0x3270]
cmp edi, eax
jne 0x586ed5
mov eax, dword [esi + 0x3274]
cmp eax, ecx
jne 0x586ed5
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], ebx
jmp 0x586ee7
mov ecx, dword [esi + 0x3270]
mov dword [esi + 0x58], ecx
mov edx, dword [esi + 0x3274]
mov dword [esi + 0x5c], edx
mov edx, dword [esi + 0x324c]
cmp edx, 0xc8
je 0x586efd
cmp edx, 0xce
jne 0x586f21
mov eax, dword [esi + 0x58]
or eax, dword [esi + 0x5c]
jne 0x586f21
mov ecx, dword [esi + 0x3288]
mov eax, dword [esi + 0x328c]
test eax, eax
jl 0x586f21
jg 0x586f1b
test ecx, ecx
jbe 0x586f21
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0xc0]
xor edi, edi
cmp dword [eax + 0x320], edi
je 0x586f6f
mov eax, dword [esi + 0x31f8]
cmp eax, edi
je 0x586f6f
cmp dword [eax + 0x40], edi
je 0x586f6f
cmp edx, 0xc8
jne 0x586f69
mov ecx, dword [esi + 0x3208]
mov eax, dword [esi + 0x320c]
cmp eax, edi
jl 0x586f69
jg 0x586f5e
cmp ecx, edi
jbe 0x586f69
sub ecx, 1
sbb eax, edi
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov edi, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
mov ecx, edi
or ecx, eax
je 0x587051
mov eax, dword [esi + 0x31f8]
mov ecx, dword [eax + 0xd0]
mov edx, dword [eax + 0xd4]
mov ebx, ecx
or ebx, edx
je 0x587051
cmp ecx, edi
jne 0x586fa8
cmp edx, dword [esi + 0x5c]
je 0x587051
mov edi, dword [eax + 0xc8]
or edi, dword [eax + 0xcc]
je 0x587051
cmp byte [esi + 0x3254], 0
jne 0x5875b5
cmp dword [esi + 0x324c], 0xce
jne 0x587007
mov edi, dword [esi + 0x3270]
mov ebx, dword [esi + 0x3274]
sub ecx, 1
sbb edx, 0
cmp edi, ecx
jne 0x587007
cmp ebx, edx
jne 0x587007
mov edx, dword [esi + 0x3278]
or edx, dword [esi + 0x327c]
jne 0x587007
mov dword [esi + 0x3278], edi
mov dword [esi + 0x327c], ebx
mov edi, dword [esi + 0x3278]
mov ecx, dword [esi + 0x327c]
mov edx, edi
or edx, ecx
je 0x5872ee
mov ebx, dword [eax + 0xd0]
mov edx, dword [eax + 0xd4]
mov dword [ebp - 0x3c], edx
mov ecx, ebx
sub ecx, 1
sbb edx, 0
cmp edi, ecx
jne 0x5872ee
cmp dword [esi + 0x327c], edx
jne 0x5872ee
mov dword [esi + 0x58], ebx
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x5c], eax
cmp byte [esi + 0x3254], 0
jne 0x5875b5
mov eax, dword [esi + 0xc0]
mov edi, dword [eax + 0xbc]
xor ebx, ebx
cmp edi, ebx
je 0x587589
mov eax, dword [eax + 0x114]
mov dword [ebp - 0x3c], eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x587080
sub eax, edx
je 0x587589
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x587094
sub eax, edx
je 0x587589
mov dword [ebp - 0x60], 1
push 0x3b
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00619660
add esp, 8
test eax, eax
je 0x587112
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0xbc]
push 0x3b
push eax
call fcn.00619660
add esp, 8
test eax, eax
jne 0x587112
mov edi, dword [esi + 0xc0]
mov ecx, dword [edi + 0xbc]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp - 0x3c], edx
jmp 0x5870f0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5870f0
sub eax, dword [ebp - 0x3c]
mov edi, dword [edi + 0x114]
push eax
push ecx
push edi
call fcn.0061f7bf
add esp, 0xc
test eax, eax
jne 0x587112
mov dword [ebp - 0x60], ebx
mov edx, dword [esi + 0xc0]
mov edi, dword [edx + 0x114]
mov eax, edi
lea ecx, [eax + 1]
mov dword [ebp - 0x3c], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x587126
sub eax, dword [ebp - 0x3c]
push eax
mov edx, dword [edx + 0xbc]
push edx
push edi
call fcn.0061f7bf
add esp, 0xc
test eax, eax
je 0x587589
cmp dword [ebp - 0x60], ebx
je 0x587589
mov byte [ebp - 0x29], 1
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x114]
push 9
push str.text_html
push eax
call fcn.0061caaf
add esp, 0xc
test eax, eax
jne 0x58719a
push 9
push str.text_html
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0xbc]
push edx
call fcn.0061caaf
add esp, 0xc
test eax, eax
je 0x58719a
mov byte [ebp - 0x29], 0
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x114]
push 0xa
push 0x67555c
push eax
call fcn.0061caaf
add esp, 0xc
test eax, eax
jne 0x5871de
push 9
push str.text_html
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0xbc]
push edx
call fcn.0061caaf
add esp, 0xc
test eax, eax
je 0x5871de
mov byte [ebp - 0x29], 0
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x114]
push 0x15
push str.application_x_mpegURL
push eax
call fcn.0061f7bf
add esp, 0xc
test eax, eax
jne 0x587256
push 0x1d
push str.application_vnd.apple.mpegurl
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0xbc]
push edx
call fcn.0061f7bf
add esp, 0xc
test eax, eax
je 0x58723c
push str.video_MP2T
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0xbc]
push ecx
call fcn.00619b9e
add esp, 8
test eax, eax
jne 0x587256
mov byte [ebp - 0x29], 0
push 0x670984
mov ecx, dword [esi + 0xc0]
add ecx, 0x114
call fcn.005494d0
push 9
push str.text_html
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0xbc]
push eax
call fcn.0061caaf
add esp, 0xc
test eax, eax
je 0x5874ec
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx]
push str..youtube.com
push eax
call fcn.00619720
add esp, 8
test eax, eax
jne 0x5872b2
mov edx, dword [esi + 0xc0]
mov eax, dword [edx]
push str..googlevideo.com
push eax
call fcn.00619720
add esp, 8
test eax, eax
je 0x5874ec
mov eax, dword [esi + 0xc0]
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x5874ec
mov ecx, 0xe
mov eax, str.videoplayback_
lea ecx, [ecx]
cmp ecx, 4
jb 0x58745d
mov edx, dword [edi]
cmp edx, dword [eax]
jne 0x5874ec
sub ecx, 4
add eax, 4
add edi, 4
jmp 0x5872d0
cmp dword [esi + 0x324c], 0xce
jne 0x587347
mov edi, dword [esi + 0x3290]
mov ecx, dword [esi + 0x3294]
mov edx, edi
or edx, ecx
je 0x587347
mov ebx, dword [eax + 0xd0]
mov edx, dword [eax + 0xd4]
mov dword [ebp - 0x3c], edx
mov ecx, ebx
sub ecx, edi
sbb edx, dword [esi + 0x3294]
mov edi, dword [esi + 0x3208]
cmp edi, ecx
jne 0x587347
mov ecx, dword [esi + 0x320c]
cmp ecx, edx
jne 0x587347
mov dword [esi + 0x58], ebx
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0x5c], edx
jmp 0x587051
mov edx, dword [esi + 0xc0]
cmp dword [eax + 0x13c], 0
je 0x587374
cmp byte [edx + 0x343], 0
jne 0x587368
cmp byte [edx + 0x17a], 0
je 0x587374
mov byte [esi + 0x3254], 1
jmp 0x587051
mov bl, byte [esi + 0x3262]
test bl, bl
je 0x5873b2
mov ecx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd4]
mov edi, dword [esi + 0x3270]
cmp edi, ecx
jne 0x5873b2
mov edi, dword [esi + 0x3274]
cmp edi, eax
jne 0x5873b2
cmp dword [esi + 0x324c], 0xce
jne 0x5873b2
mov dword [esi + 0x58], ecx
jmp 0x58704e
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
test eax, eax
jg 0x58740f
jl 0x5873c2
test ecx, ecx
ja 0x587405
cmp byte [esi + 0x31fd], 0
jne 0x587405
cmp byte [edx + 0x33e], 0
je 0x587405
cmp byte [edx + 0x340], 0
jne 0x587405
mov byte [esi + 0x31fc], 1
mov byte [esi + 0x31fd], 1
cmp byte [edx + 0x33e], 0
je 0x5873fb
mov byte [edx + 0x340], 1
push str.Restart_type_21a_n
jmp 0x585c40
test eax, eax
jl 0x58744c
jg 0x58740f
test ecx, ecx
jbe 0x58744c
cmp byte [esi + 0x3204], 0
jne 0x58744c
test bl, bl
jne 0x58744c
mov byte [esi + 0x3262], 1
mov dword [edx + 0x300], 1
mov eax, dword [esi + 0xc0]
cmp byte [eax + 0x33e], bl
je 0x587442
mov byte [eax + 0x340], 1
push str.Restart_type_21b_n
jmp 0x585c40
mov ecx, esi
call fcn.00576d20
mov eax, 0x757a
jmp 0x5877d7
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x5874ec
mov dl, byte [eax + 1]
cmp dl, byte [edi + 1]
jne 0x5874ec
push 6
push str.video_
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0xbc]
push ecx
call fcn.0061caaf
add esp, 0xc
test eax, eax
jne 0x5874cd
push 6
push str.audio_
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0xbc]
push eax
call fcn.0061caaf
add esp, 0xc
test eax, eax
jne 0x5874cd
push str.application_octet_stream
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0xbc]
push edx
call fcn.00619b9e
add esp, 8
test eax, eax
jne 0x5874ec
mov byte [ebp - 0x29], 0
push 0x670984
mov ecx, dword [esi + 0xc0]
add ecx, 0x114
call fcn.005494d0
jmp 0x587589
cmp byte [ebp - 0x29], 0
je 0x587589
mov ecx, dword [esi + 0x31f8]
cmp dword [ecx + 0x13c], ebx
je 0x587533
mov eax, dword [esi + 0xc0]
cmp byte [eax + 0x343], 0
jne 0x58751c
cmp byte [eax + 0x17a], 0
je 0x587533
mov eax, dword [ecx + 0xc8]
or eax, dword [ecx + 0xcc]
je 0x587589
mov byte [esi + 0x3254], 1
jmp 0x587589
push 9
push str.text_html
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0xbc]
push edx
call fcn.0061caaf
add esp, 0xc
test eax, eax
je 0x58744c
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
mov ecx, eax
or ecx, edx
je 0x58744c
mov ecx, dword [esi + 0xc0]
cmp eax, dword [ecx + 0x130]
jne 0x58744c
cmp edx, dword [ecx + 0x134]
jne 0x58744c
mov byte [ebp - 0x29], 0
cmp byte [esi + 0x3254], 0
jne 0x5875b7
mov edx, dword [esi + 0x321c]
mov eax, edx
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5875a0
sub eax, edi
je 0x5875b7
push edx
mov ecx, esi
call fcn.005758b0
jmp 0x5875b7
xor ebx, ebx
push 0x670984
lea ecx, [esi + 0x321c]
call fcn.005494d0
cmp byte [esi + 0x3254], 0
je 0x58772c
mov byte [esi + 0x3254], 0
lea ecx, [esi + 0x10]
call fcn.005647d0
mov eax, dword [esi + 0x31f8]
cmp dword [eax + 0xb0], ebx
setne byte [ebp - 0x35]
lea ecx, [eax + 0x28]
call fcn.00554600
mov eax, dword [esi + 0x31f8]
mov dword [eax + 0xc8], ebx
mov dword [eax + 0xcc], ebx
mov eax, dword [esi + 0x31f8]
mov dword [eax + 0xd0], ebx
mov dword [eax + 0xd4], ebx
mov eax, dword [esi + 0x31f8]
mov dword [eax + 0x1c0], ebx
mov dword [eax + 0x1c4], ebx
mov dword [esi + 0x3250], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x3208], ebx
mov dword [esi + 0x320c], ebx
mov dword [esi + 0x3268], ebx
mov dword [esi + 0x326c], ebx
mov dword [esi + 0x3270], ebx
mov dword [esi + 0x3274], ebx
mov dword [esi + 0x3278], ebx
mov dword [esi + 0x327c], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x3288], ebx
mov dword [esi + 0x328c], ebx
mov eax, dword [esi + 0x31f8]
cmp eax, ebx
je 0x5876b4
mov byte [eax + 0x871], 0
push str.Restart_type_008_n
mov ecx, esi
call fcn.0055b6c0
mov ecx, esi
call fcn.00576d20
mov edx, dword [esi]
lea eax, [esi + 0x31f0]
push eax
mov ecx, esi
mov edx, dword [edx + 0x18]
call edx
mov dword [ebp - 0x24], eax
cmp eax, ebx
jne 0x5877d7
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.00585580
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, ebx
jne 0x585713
cmp byte [ebp - 0x35], 0
je 0x58771e
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0x30]
push edx
push esi
mov ecx, dword [esi + 0x31f8]
add ecx, 0x28
call fcn.00554790
mov edi, eax
mov dword [ebp - 0x24], edi
mov ecx, esi
call fcn.0055b9f0
mov eax, edi
jmp 0x5877d7
mov dword [esi + 0x9c], 6
mov dword [esi + 0xb8], ebx
push 1
mov eax, dword [0x755aa8]
push eax
mov ecx, esi
call fcn.0055bf00
cmp dword [esi + 0xbc], ebx
jne 0x587779
mov eax, dword [esi + 0x31f8]
mov ecx, dword [eax + 0x18]
cmp ecx, ebx
je 0x587779
mov edx, dword [eax + 0xb8]
push edx
mov eax, dword [ebp - 0x28]
push eax
push 0x111
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [ebp - 0x35], 0
je 0x5877b6
mov esi, dword [esi + 0x194]
mov eax, 4
cmp dword [esi + 0x154], eax
jne 0x5877b6
cmp byte [esi + 0x15e], 0
je 0x5877b6
mov dword [ebp - 0x3c], eax
push eax
lea edx, [ebp - 0x3c]
push edx
push eax
push ebx
push str.SocksType
mov eax, dword [0x754bec]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor eax, eax
jmp 0x5877d7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061807e
mov esp, ebp
pop ebp
ret 4