Function at 0x4f155c
Capabilities:
Parse url

Disassembly:
push 0x4c0
mov eax, 0x5a40f6
call fcn.00587224
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], ecx
mov esi, edx
mov dword [ebp - 0x41c], edi
cmp eax, edi
je 0x4f1a86
cmp word [eax], di
je 0x4f1a86
cmp ecx, edi
je 0x4f1a86
cmp word [ecx], di
je 0x4f1a86
cmp esi, edi
je 0x4f1a86
cmp word [esi], di
je 0x4f1a86
xor eax, eax
mov ebx, 0x1fe
push ebx
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push edi
push eax
call fcn.005847c0
add esp, 0xc
push 0x38
lea eax, [ebp - 0x4c8]
push edi
push eax
call fcn.005847c0
add esp, 0xc
lea eax, [ebp - 0x410]
mov dword [ebp - 0x4bc], eax
lea eax, [ebp - 0x4cc]
push eax
push edi
push edi
push esi
mov esi, dword [0x61e868]
mov dword [ebp - 0x4cc], 0x3c
mov dword [ebp - 0x4b8], 0xff
call esi
test eax, eax
je 0x4f1a86
xor eax, eax
push ebx
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.005847c0
add esp, 0xc
push 0x38
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.005847c0
add esp, 0xc
lea eax, [ebp - 0x210]
mov dword [ebp - 0x480], eax
lea eax, [ebp - 0x490]
push eax
push edi
push edi
push dword [ebp - 0x424]
mov dword [ebp - 0x490], 0x3c
mov dword [ebp - 0x47c], 0xff
call esi
test eax, eax
je 0x4f1a86
lea eax, [ebp - 0x43c]
push eax
call fcn.004fae32
lea eax, [ebp - 0x43c]
push eax
push 0x5d8e74
push dword [ebp - 0x420]
mov dword [ebp - 4], edi
call fcn.004f1cd3
mov eax, dword [ebp - 0x42c]
sub eax, dword [ebp - 0x430]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x4f16e1
lea esi, [ebp - 0x43c]
call fcn.0040490e
push dword [ebp - 0x43c]
call fcn.0057d6c3
pop ecx
mov eax, edi
jmp 0x4f1a88
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.xmlhttprequest
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x418], edi
call fcn.004f1a90
cmp eax, edi
je 0x4f1714
mov edi, dword [ebp + 0xc]
jmp 0x4f16c3
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 9
jne 0x4f174b
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.popup
lea eax, [ebp - 0x43c]
call fcn.004f1a90
cmp eax, edi
je 0x4f16c3
cmp dword [ebp - 0x418], edi
jne 0x4f16c3
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.third_party
lea eax, [ebp - 0x43c]
call fcn.004f1a90
cmp eax, edi
je 0x4f17a1
lea ecx, [ebp - 0x210]
lea ebx, [ebp - 0x410]
call fcn.004f1e31
xor ecx, ecx
cmp eax, edi
sete cl
mov eax, ecx
cmp dword [ebp - 0x418], edi
jne 0x4f1799
cmp eax, edi
je 0x4f16c3
jmp 0x4f17a1
cmp eax, edi
jne 0x4f16c3
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.domain
lea eax, [ebp - 0x43c]
call fcn.004f1a90
cmp eax, edi
je 0x4f190c
push dword [ebp - 0x414]
lea esi, [ebp - 0x43c]
call fcn.004048a3
cmp dword [eax + 0x18], 8
jb 0x4f17e3
mov eax, dword [eax + 4]
jmp 0x4f17e6
add eax, 4
push 0x3d
push eax
call fcn.00580b9d
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x4f190c
lea eax, [ebp - 0x454]
inc esi
push eax
inc esi
call fcn.004fae32
mov byte [ebp - 4], 1
cmp esi, edi
je 0x4f1822
lea eax, [ebp - 0x454]
push eax
push 0x5cbfe4
push esi
call fcn.004f1cd3
mov eax, dword [ebp - 0x444]
sub eax, dword [ebp - 0x448]
push 0x1c
cdq
pop ecx
idiv ecx
xor ebx, ebx
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x418], edi
test eax, eax
jbe 0x4f18f5
push ebx
lea esi, [ebp - 0x454]
call fcn.004048a3
xor edi, edi
call fcn.004f37f1
push 0x7e
pop ecx
xor edx, edx
cmp cx, word [eax]
push ebx
sete dl
mov edi, edx
call fcn.004048a3
cmp dword [eax + 0x18], 8
jb 0x4f187b
mov eax, dword [eax + 4]
jmp 0x4f187e
add eax, 4
lea eax, [eax + edi*2]
push eax
lea eax, [ebp - 0x210]
call fcn.004f1dad
test edi, edi
je 0x4f18b3
test eax, eax
je 0x4f18c6
lea esi, [ebp - 0x454]
call fcn.0040490e
push dword [ebp - 0x454]
call fcn.0057d6c3
pop ecx
xor edi, edi
jmp 0x4f16c3
xor ecx, ecx
inc ecx
mov dword [ebp - 0x414], ecx
test eax, eax
je 0x4f18c6
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x444]
sub eax, dword [ebp - 0x448]
push 0x1c
cdq
pop ecx
idiv ecx
inc ebx
cmp ebx, eax
jb 0x4f184a
cmp dword [ebp - 0x414], 0
je 0x4f18f3
cmp dword [ebp - 0x418], 0
je 0x4f1895
xor edi, edi
lea esi, [ebp - 0x454]
call fcn.0040490e
push dword [ebp - 0x454]
call fcn.0057d6c3
pop ecx
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x424], edi
xor ebx, ebx
mov eax, dword [ebp - 0x42c]
sub eax, dword [ebp - 0x430]
push 0x1c
cdq
pop ecx
idiv ecx
cmp ebx, eax
jae 0x4f19b4
push ebx
lea esi, [ebp - 0x43c]
mov dword [ebp - 0x418], edi
call fcn.004048a3
cmp dword [eax + 0x18], 8
jb 0x4f1953
mov eax, dword [eax + 4]
jmp 0x4f1956
add eax, 4
cmp eax, edi
je 0x4f1967
lea ecx, [ebp - 0x418]
call fcn.004f28a6
jmp 0x4f1969
xor eax, eax
cmp eax, edi
jle 0x4f19a7
cmp eax, 0xa
jg 0x4f19a7
mov ecx, dword [ebp + 0x10]
cmp dword [ebp - 0x418], edi
je 0x4f198e
cmp eax, dword [ecx + 4]
jne 0x4f19a7
mov dword [ebp - 0x414], 1
jmp 0x4f19a7
mov dword [ebp - 0x420], 1
cmp eax, dword [ecx + 4]
jne 0x4f19a7
mov dword [ebp - 0x424], 1
inc ebx
cmp dword [ebp - 0x414], edi
je 0x4f1920
cmp dword [ebp - 0x414], edi
jne 0x4f19d6
cmp dword [ebp - 0x420], edi
je 0x4f19cc
cmp dword [ebp - 0x424], edi
je 0x4f19d6
mov dword [ebp - 0x41c], 1
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], edi
jne 0x4f1a67
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x4f19f3
cmp dword [ebp - 0x41c], edi
je 0x4f19fb
jmp 0x4f1a67
cmp dword [ebp - 0x41c], edi
je 0x4f1a67
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.script
lea eax, [ebp - 0x43c]
call fcn.004f1a90
test eax, eax
jne 0x4f1a61
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.image
lea eax, [ebp - 0x43c]
call fcn.004f1a90
test eax, eax
jne 0x4f1a61
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.stylesheet
lea eax, [ebp - 0x43c]
call fcn.004f1a90
test eax, eax
je 0x4f1a67
mov dword [ebp - 0x41c], esi
lea esi, [ebp - 0x43c]
call fcn.0040490e
push dword [ebp - 0x43c]
call fcn.0057d6c3
mov eax, dword [ebp - 0x41c]
pop ecx
jmp 0x4f1a88
xor eax, eax
call fcn.005872a7
ret 0xc