Function at 0x460100
Capabilities:
Parse url

Disassembly:
push 0x4c0
mov eax, 0x564318
call fcn.00539a44
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x424], ecx
mov esi, edx
mov dword [ebp - 0x420], edi
cmp eax, edi
je 0x460638
cmp word [eax], di
je 0x460638
cmp ecx, edi
je 0x460638
cmp word [ecx], di
je 0x460638
cmp esi, edi
je 0x460638
cmp word [esi], di
je 0x460638
xor eax, eax
mov ebx, 0x1fe
push ebx
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push edi
push eax
call fcn.00537010
add esp, 0xc
push 0x38
lea eax, [ebp - 0x4c8]
push edi
push eax
call fcn.00537010
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 0x460638
xor eax, eax
push ebx
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.00537010
add esp, 0xc
push 0x38
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.00537010
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 0x460638
lea ecx, [ebp - 0x43c]
call fcn.00416626
lea eax, [ebp - 0x43c]
push eax
push 0x584db0
mov dword [ebp - 4], edi
push dword [ebp - 0x41c]
call fcn.0046096b
mov eax, dword [ebp - 0x42c]
sub eax, dword [ebp - 0x430]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x460284
lea ecx, [ebp - 0x43c]
call fcn.0041675a
push dword [ebp - 0x43c]
call fcn.0052f7c5
pop ecx
mov eax, edi
jmp 0x46063a
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.00460642
cmp eax, edi
je 0x4602b7
mov edi, dword [ebp + 0xc]
jmp 0x460266
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 9
jne 0x4602ee
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.popup
lea eax, [ebp - 0x43c]
call fcn.00460642
cmp eax, edi
je 0x460266
cmp dword [ebp - 0x418], edi
jne 0x460266
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.third_party
lea eax, [ebp - 0x43c]
call fcn.00460642
cmp eax, edi
je 0x460344
lea ecx, [ebp - 0x210]
lea ebx, [ebp - 0x410]
call fcn.00460ac6
xor ecx, ecx
cmp eax, edi
sete cl
mov eax, ecx
cmp dword [ebp - 0x418], edi
jne 0x46033c
cmp eax, edi
je 0x460266
jmp 0x460344
cmp eax, edi
jne 0x460266
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.domain
lea eax, [ebp - 0x43c]
call fcn.00460642
cmp eax, edi
je 0x4604be
push dword [ebp - 0x414]
lea esi, [ebp - 0x43c]
call fcn.0047448e
cmp dword [eax + 0x18], 8
jb 0x460386
mov eax, dword [eax + 4]
jmp 0x460389
add eax, 4
push 0x3d
push eax
call fcn.00534049
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x4604be
inc esi
lea ecx, [ebp - 0x454]
inc esi
call fcn.00416626
mov byte [ebp - 4], 1
cmp esi, edi
je 0x4603c4
lea eax, [ebp - 0x454]
push eax
push 0x5802dc
push esi
call fcn.0046096b
mov eax, dword [ebp - 0x444]
sub eax, dword [ebp - 0x448]
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x414], edi
test eax, eax
jbe 0x4604a7
push edi
push dword [ebp - 0x414]
lea esi, [ebp - 0x454]
call fcn.0047448e
mov ecx, eax
call fcn.00405cbc
push 0x7e
pop ecx
push dword [ebp - 0x414]
xor ebx, ebx
cmp cx, word [eax]
sete bl
call fcn.0047448e
cmp dword [eax + 0x18], 8
jb 0x46042a
mov eax, dword [eax + 4]
jmp 0x46042d
add eax, 4
lea eax, [eax + ebx*2]
push eax
lea eax, [ebp - 0x210]
call fcn.00460a45
cmp ebx, edi
je 0x460460
cmp eax, edi
je 0x460473
lea ecx, [ebp - 0x454]
call fcn.0041675a
push dword [ebp - 0x454]
call fcn.0052f7c5
pop ecx
jmp 0x460266
xor ecx, ecx
inc ecx
mov dword [ebp - 0x418], ecx
cmp eax, edi
je 0x460473
mov dword [ebp - 0x41c], ecx
mov eax, dword [ebp - 0x444]
sub eax, dword [ebp - 0x448]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [ebp - 0x414]
cmp dword [ebp - 0x414], eax
jb 0x4603f0
cmp dword [ebp - 0x418], edi
je 0x4604a7
cmp dword [ebp - 0x41c], edi
je 0x460444
lea ecx, [ebp - 0x454]
call fcn.0041675a
push dword [ebp - 0x454]
call fcn.0052f7c5
pop ecx
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x418], 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 0x460566
push ebx
lea esi, [ebp - 0x43c]
mov dword [ebp - 0x41c], edi
call fcn.0047448e
cmp dword [eax + 0x18], 8
jb 0x460505
mov eax, dword [eax + 4]
jmp 0x460508
add eax, 4
cmp eax, edi
je 0x460519
lea ecx, [ebp - 0x41c]
call fcn.00461584
jmp 0x46051b
xor eax, eax
cmp eax, edi
jle 0x460559
cmp eax, 0xa
jg 0x460559
mov ecx, dword [ebp + 0x10]
cmp dword [ebp - 0x41c], edi
je 0x460540
cmp eax, dword [ecx + 4]
jne 0x460559
mov dword [ebp - 0x414], 1
jmp 0x460559
mov dword [ebp - 0x418], 1
cmp eax, dword [ecx + 4]
jne 0x460559
mov dword [ebp - 0x424], 1
inc ebx
cmp dword [ebp - 0x414], edi
je 0x4604d2
cmp dword [ebp - 0x414], edi
jne 0x460588
cmp dword [ebp - 0x418], edi
je 0x46057e
cmp dword [ebp - 0x424], edi
je 0x460588
mov dword [ebp - 0x420], 1
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], edi
jne 0x460619
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x4605a5
cmp dword [ebp - 0x420], edi
je 0x4605ad
jmp 0x460619
cmp dword [ebp - 0x420], edi
je 0x460619
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.script
lea eax, [ebp - 0x43c]
call fcn.00460642
test eax, eax
jne 0x460613
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.image
lea eax, [ebp - 0x43c]
call fcn.00460642
test eax, eax
jne 0x460613
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push str.stylesheet
lea eax, [ebp - 0x43c]
call fcn.00460642
test eax, eax
je 0x460619
mov dword [ebp - 0x420], esi
lea ecx, [ebp - 0x43c]
call fcn.0041675a
push dword [ebp - 0x43c]
call fcn.0052f7c5
mov eax, dword [ebp - 0x420]
pop ecx
jmp 0x46063a
xor eax, eax
call fcn.00539ac7
ret 0xc