Function at 0x526880
Capabilities:
Parse url

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60a81f
push eax
mov dword fs:[0], esp
sub esp, 0x7fc
xor eax, eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x818]
mov ebp, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x7d0
ja 0x5272df
push 7
push esi
push 0x6a2054
call fcn.005cab90
add esp, 0xc
test eax, eax
je 0x52693c
push 6
push esi
push 0x6a2030
call fcn.005cab90
add esp, 0xc
test eax, eax
je 0x52693c
push 6
push esi
push 0x6a2038
call fcn.005cab90
add esp, 0xc
test eax, eax
je 0x52693c
push 8
push esi
push 0x6a2048
call fcn.005cab90
add esp, 0xc
test eax, eax
je 0x52693c
push 8
push esi
push str.rtmpt:__
call fcn.005cab90
add esp, 0xc
test eax, eax
je 0x52693c
push 7
push esi
push 0x6a2040
call fcn.005cab90
add esp, 0xc
test eax, eax
jne 0x5272df
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x6cc564]
and ecx, 3
mov dword [esp + 0x30], eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x814], 0
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x3c]
push 0x40
push ecx
mov byte [esp + 0x81c], 1
mov byte [esp + 0x29], 0
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x526b66
lea edx, [esp + 0x3c]
push 0x6a2090
push edx
call fcn.005c7380
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x526b66
lea ecx, [esp + 0x3c]
sub eax, ecx
cmp eax, 8
jg 0x526b66
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jbe 0x526b66
add ebx, 3
push 0x6a98c4
push ebx
call fcn.005c8bd0
add esp, 8
test eax, eax
je 0x526b66
cmp byte [eax], 0x40
jne 0x526b66
inc eax
push 0x6a98c4
push eax
call fcn.005c8bd0
mov cl, byte [eax]
add esp, 8
cmp cl, 0x40
mov dword [esp + 0x14], eax
jne 0x526b66
cmp cl, 0x40
jne 0x526a3e
inc eax
push 0x6a98c4
push eax
call fcn.005c8bd0
add esp, 8
test eax, eax
je 0x526a3e
cmp byte [eax], 0x40
jne 0x526a3e
mov dword [esp + 0x14], eax
jmp 0x526a20
mov edx, dword [0x6cc564]
mov dword [esp + 0x24], edx
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
sub esi, ebx
mov byte [esp + 0x814], 2
mov dword [esp + 0x28], esi
lea eax, [esi + 1]
push eax
call fcn.005e3c86
mov ecx, esi
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
lea edx, [esp + 0x2c]
push edx
mov byte [eax + ecx], 0
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.00526520
add esp, 0xc
test eax, eax
je 0x526b55
mov edx, dword [0x6cc564]
mov byte [esp + 0x21], 1
mov dword [esp + 0x18], edx
lea eax, [esp + 0x3c]
mov byte [esp + 0x814], 3
sub ebx, eax
lea ecx, [ebx + 1]
push ecx
lea ecx, [esp + 0x1c]
call fcn.005e3c86
mov ecx, ebx
lea esi, [esp + 0x3c]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + ebx], 0
mov eax, dword [0x6cc564]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc ecx
lea eax, [esp + 0x1c]
push ecx
push edx
push 0x6a2074
push eax
mov byte [esp + 0x824], 4
call fcn.005dc6eb
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3c]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x814], 3
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.005e38b9
lea ecx, [esp + 0x18]
mov byte [esp + 0x814], 2
call fcn.005e38b9
lea ecx, [esp + 0x24]
mov byte [esp + 0x814], 1
call fcn.005e38b9
lea ecx, [esp + 0x3c]
push 0x6a2090
push ecx
call fcn.005c7380
add esp, 8
test eax, eax
je 0x526f02
add eax, 4
push 0x2f
push eax
call fcn.005c72c0
mov esi, eax
add esp, 8
test esi, esi
je 0x526f02
inc esi
push 0x6bcdcc
push esi
mov dword [esp + 0x2c], esi
call fcn.005c7380
add esp, 8
test eax, eax
jne 0x526bc5
push str._26
push esi
call fcn.005c7380
add esp, 8
test eax, eax
je 0x526f02
mov edx, dword [0x6cc564]
mov dword [esp + 0x1c], edx
push esi
lea eax, [esp + 0x20]
push 0x6a1fe8
push eax
mov byte [esp + 0x820], 5
call fcn.005dc6eb
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0x6bcdcc
push str._26
call fcn.005dc10e
mov ecx, dword [esp + 0x1c]
push 0x6bcdcc
push ecx
call fcn.005c7380
mov edx, eax
add esp, 8
test edx, edx
mov byte [esp + 0x23], 0
je 0x526ef1
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jbe 0x526e9a
lea edi, [edx + 2]
push 0x3b
push edi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x526e9a
sub eax, edi
mov ebx, eax
je 0x526e5a
push 0x6bcdcc
lea ecx, [esp + 0x1c]
call fcn.005e3927
mov edx, dword [0x6cc564]
mov dword [esp + 0x14], edx
mov al, byte [edi]
mov byte [esp + 0x814], 7
cmp al, 0x78
mov byte [esp + 0x13], 1
mov byte [esp + 0x22], 1
je 0x526cce
cmp al, 0x58
je 0x526cce
xor esi, esi
mov byte [esp + 0x22], 0
test ebx, ebx
jbe 0x526d23
movsx eax, byte [esi + edi]
push eax
call fcn.005c790c
add esp, 4
test eax, eax
jne 0x526cad
mov byte [esp + 0x13], al
jmp 0x526cc7
mov cl, byte [esi + edi]
push ecx
lea ecx, [esp + 0x1c]
call fcn.005e3be2
mov dl, byte [esi + edi]
lea ecx, [esp + 0x14]
push edx
call fcn.005e3be2
inc esi
cmp esi, ebx
jb 0x526c96
jmp 0x526d17
push eax
lea ecx, [esp + 0x1c]
call fcn.005e3be2
mov esi, 1
cmp ebx, esi
jbe 0x526d23
movsx eax, byte [esi + edi]
push eax
call fcn.005c7934
add esp, 4
test eax, eax
jne 0x526cf8
mov byte [esp + 0x13], al
jmp 0x526d12
mov cl, byte [esi + edi]
push ecx
lea ecx, [esp + 0x1c]
call fcn.005e3be2
mov dl, byte [esi + edi]
lea ecx, [esp + 0x14]
push edx
call fcn.005e3be2
inc esi
cmp esi, ebx
jb 0x526ce1
mov al, byte [esp + 0x13]
test al, al
je 0x526e74
push 0x6a9840
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27], 1
call fcn.005e3bbb
mov al, byte [esp + 0x22]
test al, al
je 0x526d86
push 0x6bcdc0
lea ecx, [esp + 0x38]
call fcn.005e3927
lea eax, [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0x818], 8
call fcn.005e3bf7
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005dc10e
mov byte [esp + 0x814], 7
lea ecx, [esp + 0x34]
jmp 0x526e2f
mov eax, dword [0x6cc564]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x814], 9
push ecx
call fcn.005c7603
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [esp + 0x38]
mov word [esp + 0x38], ax
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
push 0
push 0xfde9
mov word [esp + 0x5a], 0
call ebx
mov esi, eax
test esi, esi
je 0x526e23
push esi
lea ecx, [esp + 0x2c]
call fcn.005e3c86
push 0
push 0
push esi
push eax
lea eax, [esp + 0x48]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
test eax, eax
je 0x526e23
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0048d3e0
mov esi, eax
add esp, 4
test esi, esi
je 0x526e23
mov edx, dword [esp + 0x18]
push esi
push edx
lea ecx, [esp + 0x24]
call fcn.005dc10e
push esi
call fcn.005dfce5
add esp, 4
mov byte [esp + 0x814], 7
lea ecx, [esp + 0x28]
call fcn.005e38b9
lea ecx, [esp + 0x14]
mov byte [esp + 0x814], 6
call fcn.005e38b9
lea ecx, [esp + 0x18]
mov byte [esp + 0x814], 5
call fcn.005e38b9
mov esi, dword [esp + 0x24]
push 0x6bcdcc
push edi
call fcn.005c7380
mov edx, eax
add esp, 8
test edx, edx
jne 0x526c1e
jmp 0x526e9a
lea ecx, [esp + 0x14]
mov byte [esp + 0x814], 6
call fcn.005e38b9
lea ecx, [esp + 0x18]
mov byte [esp + 0x814], 5
call fcn.005e38b9
mov esi, dword [esp + 0x24]
mov al, byte [esp + 0x23]
test al, al
je 0x526ef1
mov edx, dword [esp + 0x1c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x80c]
dec ecx
sub eax, esi
cmp ecx, eax
jge 0x526ef1
mov ecx, dword [esp + 0x24]
mov edi, edx
xor eax, eax
lea ebx, [esp + 0x3c]
mov byte [ecx], 0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x814], 1
call fcn.005e38b9
lea eax, [esp + 0x3c]
push eax
call fcn.005265c0
mov ecx, dword [esp + 0x824]
lea ebx, [ebp + 4]
mov byte [ebp + 0x1888], al
mov dword [ebp + 0x1884], ecx
mov ecx, 0xf
xor eax, eax
mov edi, ebx
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [ebp + 0x40]
lea ecx, [ebp + 0x810]
lea edi, [ebp + 0x1044]
mov dword [ebp + 0x38], eax
mov byte [eax], 0
lea eax, [ebp + 0x1878]
mov byte [ecx], 0
mov byte [edi], 0
mov dword [ebp + 0x14], ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0x20], edi
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
lea edx, [ebp + 0xfe0]
push ebx
not ecx
mov byte [edx], 0
mov dword [ebp + 0x28], edx
dec ecx
lea esi, [ebp + 0x10a8]
push 0
lea edx, [esp + 0x44]
push ecx
push edx
mov byte [ebp + 0x1878], 0
mov byte [esi], 0
mov dword [ebx], 0x3c
mov dword [ebp + 0x3c], 0x7d0
mov dword [ebp + 0x18], 0x7d0
mov dword [ebp + 0x2c], 0x64
mov dword [ebp + 0xc], 0xa
mov dword [ebp + 0x34], 0x7d0
mov dword [ebp + 0x24], 0x64
mov dword [ebp + 0x30], esi
mov word [ebp + 0x1c], 0
mov byte [ebp + 0x188c], 0
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x5272ba
push 0x26
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x527003
push str._IDMAppersandRpl_Sansan_P789EO96_
push esi
call fcn.005c7380
add esp, 8
test eax, eax
jne 0x527003
mov byte [ebp + 0x188c], 1
push 3
lea eax, [ebp + 0x1878]
push 0x6a21c0
push eax
call fcn.005c9620
add esp, 0xc
test eax, eax
je 0x5270a1
push 3
lea eax, [ebp + 0x1878]
push 0x6a21b4
push eax
call fcn.005c9620
add esp, 0xc
test eax, eax
je 0x5270a1
push 4
lea eax, [ebp + 0x1878]
push str.rtmp
push eax
call fcn.005c9620
add esp, 0xc
test eax, eax
je 0x5270a1
mov al, byte [ebp + 0x1888]
test al, al
jne 0x5270af
lea eax, [ebp + 0x10a8]
push 0x25
push eax
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x5270a1
mov ecx, 3
mov edi, 0x6bcd98
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x527134
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x5270a1
push 0x25
push eax
call fcn.005c72c0
add esp, 8
test eax, eax
jne 0x527074
mov al, byte [ebp + 0x1888]
test al, al
je 0x527252
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x28]
push eax
call fcn.005e3927
mov ecx, dword [esp + 0x820]
mov edx, dword [ebp + 0x30]
push ecx
push edx
mov byte [esp + 0x81c], 0xa
call fcn.00597310
lea eax, [ebp + 0x1878]
push 0x6a21c0
push eax
call fcn.005c8740
add esp, 0x10
test eax, eax
jne 0x527241
mov eax, dword [ebp + 0x30]
push eax
call fcn.005265c0
add esp, 4
test al, al
je 0x527241
mov edi, dword [esp + 0x28]
mov esi, dword [ebp + 0x30]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x527140
test al, al
je 0x527130
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x527140
add esi, 2
add edi, 2
test al, al
jne 0x52710c
xor eax, eax
jmp 0x527145
mov ecx, ebp
call fcn.00526630
jmp 0x52745b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x527241
lea eax, [ebp + 0x40]
lea ecx, [esp + 0x24]
push eax
call fcn.005e3927
mov eax, 0x7d0
mov ecx, 0x64
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x24], ecx
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ebx
dec ecx
push 0x10000000
lea eax, [esp + 0x44]
push ecx
push eax
mov byte [esp + 0x824], 0xb
mov dword [ebx], 0x3c
mov dword [ebp + 0xc], 0xa
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x5271fa
lea ecx, [esp + 0x24]
mov byte [esp + 0x814], 0xa
call fcn.005e38b9
lea ecx, [esp + 0x28]
mov byte [esp + 0x814], 1
call fcn.005e38b9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x814], 0
call fcn.005e38b9
lea ecx, [esp + 0x30]
mov dword [esp + 0x814], 0xffffffff
call fcn.005e38b9
xor eax, eax
jmp 0x527485
mov ecx, dword [esp + 0x820]
mov edx, dword [ebp + 0x30]
push ecx
push edx
call fcn.00597310
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x814], 0xa
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call fcn.005e38b9
mov byte [esp + 0x814], 1
lea ecx, [esp + 0x28]
jmp 0x527356
lea eax, [ebp + 0x40]
lea ecx, [esp + 0x14]
push eax
call fcn.005e3927
mov eax, 0x7d0
mov ecx, 0x64
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x24], ecx
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ebx
dec ecx
push 0x10000000
push ecx
lea ecx, [esp + 0x48]
mov dword [ebx], 0x3c
push ecx
mov dword [ebp + 0xc], 0xa
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x5272e6
lea ecx, [esp + 0x14]
mov byte [esp + 0x814], 1
call fcn.005e38b9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x814], 0
call fcn.005e38b9
lea ecx, [esp + 0x30]
mov dword [esp + 0x814], 0xffffffff
call fcn.005e38b9
xor eax, eax
jmp 0x527485
mov edx, dword [esp + 0x14]
push 0x23
push edx
call fcn.005c72c0
mov esi, eax
add esp, 8
test esi, esi
je 0x527328
lea edi, [ebp + 0x1878]
push 0x6a240c
push edi
call fcn.005c8740
add esp, 8
test eax, eax
je 0x527325
push 0x6a21b8
push edi
call fcn.005c8740
add esp, 8
test eax, eax
jne 0x527328
mov byte [esi], 0
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x814], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.005e38b9
mov ecx, ebp
call fcn.00526630
mov al, byte [ebp + 0x188c]
test al, al
je 0x52738b
lea eax, [ebp + 0x10a8]
push str._IDMAppersandRpl_Sansan_P789EO96_
push eax
call fcn.005c7380
add esp, 8
test eax, eax
je 0x52738b
mov byte [ebp + 0x188c], 0
mov al, byte [esp + 0x21]
test al, al
je 0x5273f7
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x64
jae 0x5273f7
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x64
jae 0x5273f7
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebp + 0x1878]
push 0x6a21b4
push esi
call fcn.005c8740
add esp, 8
test eax, eax
jne 0x52741d
cmp word [ebp + 0x1c], ax
jne 0x52741d
mov word [ebp + 0x1c], 0x6db
jmp 0x52745b
push str.rtmp
push esi
call fcn.005c8740
add esp, 8
test eax, eax
jne 0x52743d
cmp word [ebp + 0x1c], ax
jne 0x52743d
mov word [ebp + 0x1c], 0x78f
jmp 0x52745b
push str.rtmpt
push esi
call fcn.005c8740
add esp, 8
test eax, eax
jne 0x52745b
cmp word [ebp + 0x1c], ax
jne 0x52745b
mov word [ebp + 0x1c], 0x50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x814], 0
call fcn.005e38b9
lea ecx, [esp + 0x30]
mov dword [esp + 0x814], 0xffffffff
call fcn.005e38b9
mov eax, 1
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x808
ret 8