Function at 0x4f8423
Capabilities:
Parse url

Disassembly:
push 0x4c0
mov eax, 0x5b60c2
call fcn.00598f94
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 0x4f894d
cmp word [eax], di
je 0x4f894d
cmp ecx, edi
je 0x4f894d
cmp word [ecx], di
je 0x4f894d
cmp esi, edi
je 0x4f894d
cmp word [esi], di
je 0x4f894d
xor eax, eax
mov ebx, 0x1fe
push ebx
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push edi
push eax
call fcn.00596530
add esp, 0xc
push 0x38
lea eax, [ebp - 0x4c8]
push edi
push eax
call fcn.00596530
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 [sym.imp.WININET.dll_InternetCrackUrlW]
mov dword [ebp - 0x4cc], 0x3c
mov dword [ebp - 0x4b8], 0xff
call esi
test eax, eax
je 0x4f894d
xor eax, eax
push ebx
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.00596530
add esp, 0xc
push 0x38
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.00596530
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 0x4f894d
lea eax, [ebp - 0x43c]
push eax
call fcn.00440517
lea eax, [ebp - 0x43c]
push eax
push 0x5ed624
push dword [ebp - 0x420]
mov dword [ebp - 4], edi
call fcn.004f93c8
mov eax, dword [ebp - 0x42c]
sub eax, dword [ebp - 0x430]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x4f85a8
lea esi, [ebp - 0x43c]
call fcn.00404ef6
push dword [ebp - 0x43c]
call fcn.0058f3c4
pop ecx
mov eax, edi
jmp 0x4f894f
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.004f8957
cmp eax, edi
je 0x4f85db
mov edi, dword [ebp + 0xc]
jmp 0x4f858a
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 9
jne 0x4f8612
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.popup
lea eax, [ebp - 0x43c]
call fcn.004f8957
cmp eax, edi
je 0x4f858a
cmp dword [ebp - 0x418], edi
jne 0x4f858a
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.third_party
lea eax, [ebp - 0x43c]
call fcn.004f8957
cmp eax, edi
je 0x4f8668
lea ecx, [ebp - 0x210]
lea ebx, [ebp - 0x410]
call fcn.004f9645
xor ecx, ecx
cmp eax, edi
sete cl
mov eax, ecx
cmp dword [ebp - 0x418], edi
jne 0x4f8660
cmp eax, edi
je 0x4f858a
jmp 0x4f8668
cmp eax, edi
jne 0x4f858a
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.domain
lea eax, [ebp - 0x43c]
call fcn.004f8957
cmp eax, edi
je 0x4f87d3
push dword [ebp - 0x414]
lea esi, [ebp - 0x43c]
call fcn.00404e8b
cmp dword [eax + 0x18], 8
jb 0x4f86aa
mov eax, dword [eax + 4]
jmp 0x4f86ad
add eax, 4
push 0x3d
push eax
call fcn.0059289e
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x4f87d3
lea eax, [ebp - 0x454]
inc esi
push eax
inc esi
call fcn.00440517
mov byte [ebp - 4], 1
cmp esi, edi
je 0x4f86e9
lea eax, [ebp - 0x454]
push eax
push 0x5df204
push esi
call fcn.004f93c8
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 0x4f87bc
push ebx
lea esi, [ebp - 0x454]
call fcn.00404e8b
xor edi, edi
call fcn.004fb95f
push 0x7e
pop ecx
xor edx, edx
cmp cx, word [eax]
push ebx
sete dl
mov edi, edx
call fcn.00404e8b
cmp dword [eax + 0x18], 8
jb 0x4f8742
mov eax, dword [eax + 4]
jmp 0x4f8745
add eax, 4
lea eax, [eax + edi*2]
push eax
lea eax, [ebp - 0x210]
call fcn.004f95c4
test edi, edi
je 0x4f877a
test eax, eax
je 0x4f878d
lea esi, [ebp - 0x454]
call fcn.00404ef6
push dword [ebp - 0x454]
call fcn.0058f3c4
pop ecx
xor edi, edi
jmp 0x4f858a
xor ecx, ecx
inc ecx
mov dword [ebp - 0x414], ecx
test eax, eax
je 0x4f878d
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 0x4f8711
cmp dword [ebp - 0x414], 0
je 0x4f87ba
cmp dword [ebp - 0x418], 0
je 0x4f875c
xor edi, edi
lea esi, [ebp - 0x454]
call fcn.00404ef6
push dword [ebp - 0x454]
call fcn.0058f3c4
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 0x4f887b
push ebx
lea esi, [ebp - 0x43c]
mov dword [ebp - 0x418], edi
call fcn.00404e8b
cmp dword [eax + 0x18], 8
jb 0x4f881a
mov eax, dword [eax + 4]
jmp 0x4f881d
add eax, 4
cmp eax, edi
je 0x4f882e
lea ecx, [ebp - 0x418]
call fcn.004fa772
jmp 0x4f8830
xor eax, eax
cmp eax, edi
jle 0x4f886e
cmp eax, 0xa
jg 0x4f886e
mov ecx, dword [ebp + 0x10]
cmp dword [ebp - 0x418], edi
je 0x4f8855
cmp eax, dword [ecx + 4]
jne 0x4f886e
mov dword [ebp - 0x414], 1
jmp 0x4f886e
mov dword [ebp - 0x420], 1
cmp eax, dword [ecx + 4]
jne 0x4f886e
mov dword [ebp - 0x424], 1
inc ebx
cmp dword [ebp - 0x414], edi
je 0x4f87e7
cmp dword [ebp - 0x414], edi
jne 0x4f889d
cmp dword [ebp - 0x420], edi
je 0x4f8893
cmp dword [ebp - 0x424], edi
je 0x4f889d
mov dword [ebp - 0x41c], 1
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], edi
jne 0x4f892e
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x4f88ba
cmp dword [ebp - 0x41c], edi
je 0x4f88c2
jmp 0x4f892e
cmp dword [ebp - 0x41c], edi
je 0x4f892e
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.script
lea eax, [ebp - 0x43c]
call fcn.004f8957
test eax, eax
jne 0x4f8928
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.image
lea eax, [ebp - 0x43c]
call fcn.004f8957
test eax, eax
jne 0x4f8928
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.stylesheet
lea eax, [ebp - 0x43c]
call fcn.004f8957
test eax, eax
je 0x4f892e
mov dword [ebp - 0x41c], esi
lea esi, [ebp - 0x43c]
call fcn.00404ef6
push dword [ebp - 0x43c]
call fcn.0058f3c4
mov eax, dword [ebp - 0x41c]
pop ecx
jmp 0x4f894f
xor eax, eax
call fcn.00599017
ret 0xc