Function at 0x46f430
Capabilities:
Parse url

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51eb73
push eax
mov dword fs:[0], esp
sub esp, 0x898
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 8]
push esi
cmp eax, ebp
push edi
jne 0x46f45f
call fcn.0046ed10
mov esi, dword [esp + 0x8b8]
cmp esi, ebp
je 0x46f79f
cmp byte [esi], 0
je 0x46f79f
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x85]
mov byte [esp + 0x84], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x48], 0x3c
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x8bc]
cmp eax, ebp
mov dword [esp + 0x5c], 0x824
je 0x46f4fc
push 0x7fffffff
push ebp
lea ecx, [esp + 0x8c]
push 0x824
push ecx
call fcn.00470490
cmp eax, ebp
jl 0x46f51d
push 0x7ffffffe
push esi
push ebp
lea edx, [esp + 0x90]
push 0x824
push edx
call fcn.00470500
jmp 0x46f51d
lea eax, [esp + 0x48]
push eax
push 0x10000000
push esi
call dword [0x523308]
push eax
push esi
call dword [0x523ad8]
test eax, eax
je 0x46f79f
mov al, byte [esp + 0x84]
test al, al
je 0x46f79f
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x18], cl
push ebp
lea ecx, [esp + 0x1c]
call fcn.00470980
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
lea edx, [esp + 0x84]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x8b8], ebp
call fcn.0046f240
mov eax, dword [esp + 0x18]
mov ebp, dword [eax]
cmp ebp, eax
je 0x46f63a
mov cl, byte [ebp + 8]
lea esi, [ebp + 8]
mov byte [esp + 0x24], cl
push 0
lea ecx, [esp + 0x28]
call dword [0x5233f4]
mov edx, dword [0x523408]
lea ecx, [esp + 0x24]
mov eax, dword [edx]
push eax
push 0
push esi
call dword [0x523404]
mov esi, dword [esp + 0x28]
mov byte [esp + 0x8b0], 1
test esi, esi
jne 0x46f5b2
mov esi, dword [0x523400]
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x38], cl
lea ecx, [esp + 0x38]
call dword [0x5233f4]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x3c]
call dword [0x5233f0]
lea edx, [esp + 0x34]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [ebx + 0xc]
mov byte [esp + 0x8b8], 2
call fcn.004707b0
mov esi, dword [esp + 0x20]
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x8b4], 1
call dword [0x5233f4]
mov eax, dword [ebx + 0x10]
mov byte [esp + 0x8b0], 0
cmp esi, eax
push 1
lea ecx, [esp + 0x28]
jne 0x46f661
call dword [0x5233f4]
mov ebp, dword [ebp]
mov eax, dword [esp + 0x18]
cmp ebp, eax
jne 0x46f570
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x8bc], 0xffffffff
call fcn.004708f0
mov edx, dword [esp + 0x18]
push edx
jmp 0x46f797
call dword [0x5233f4]
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0x84]
push eax
push 0
push ecx
call dword [0x5236f8]
test eax, eax
je 0x46f766
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx + 0x100]
cmp byte [edx + eax], 0
jne 0x46f766
lea edx, [esp + 0x84]
cmp edx, eax
je 0x46f6ab
cmp byte [eax - 1], 0x2e
jne 0x46f766
mov eax, dword [ecx + 0x108]
test eax, eax
je 0x46f6f3
mov edx, dword [ecx + 0x10c]
sub edx, eax
sar edx, 2
je 0x46f6f3
mov edi, eax
mov eax, dword [ecx + 0x10c]
cmp edi, eax
je 0x46f6f3
mov ebx, dword [0x5236f4]
mov eax, dword [edi]
push eax
mov eax, dword [esp + 0x8bc]
push eax
call ebx
test eax, eax
jne 0x46f733
mov ecx, dword [esi + 0x1c]
add edi, 4
cmp edi, dword [ecx + 0x10c]
jne 0x46f6d4
mov edi, dword [esp + 0x18]
mov dword [esp + 0x8b0], 0xffffffff
mov esi, dword [edi]
cmp esi, edi
je 0x46f71f
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004713b0
cmp esi, edi
jne 0x46f708
mov edx, dword [esp + 0x18]
push edx
call fcn.0051c55a
add esp, 4
mov eax, 1
jmp 0x46f7a1
mov edi, dword [esp + 0x18]
mov dword [esp + 0x8b0], 0xffffffff
mov esi, dword [edi]
cmp esi, edi
je 0x46f75f
mov eax, esi
mov esi, dword [esi]
lea edx, [esp + 0x20]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004713b0
cmp esi, edi
jne 0x46f748
mov eax, dword [esp + 0x18]
push eax
jmp 0x46f797
mov edi, dword [esp + 0x18]
mov dword [esp + 0x8b0], 0xffffffff
mov esi, dword [edi]
cmp esi, edi
je 0x46f792
mov eax, esi
mov esi, dword [esi]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
call fcn.004713b0
cmp esi, edi
jne 0x46f77b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0051c55a
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x8a8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8a4
ret 8