Function at 0x45f970
Capabilities:
Parse url

Disassembly:
mov eax, 0x125c
call fcn.0049d320
push esi
mov esi, dword [esp + 0x1264]
push edi
push esi
push esi
call fcn.0045f710
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0xec]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x16c]
mov dword [esp + 0x14], eax
mov eax, 0x80
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov eax, 0x800
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov eax, dword [esi + 8]
mov esi, dword [esi + 4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
add esp, 8
lea edx, [esp + 0x264]
lea ecx, [esp + 0xa64]
test esi, esi
mov dword [esp + 8], 0x3c
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x1c], 0x100
mov word [esp + 0x20], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
jne 0x45fa1f
mov esi, dword [0x4ab258]
lea edx, [esp + 8]
push edx
push 0x10000000
push eax
push esi
call dword [0x4ab724]
test eax, eax
jne 0x45fa3e
pop edi
pop esi
add esp, 0x125c
ret
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov esi, edi
repne scasb al, byte es:[edi]
not ecx
push ebx
dec ecx
push ebp
mov ebp, dword [esp + 0x1274]
mov ebx, ecx
push 1
push ebx
mov ecx, ebp
call dword [0x4ab264]
test al, al
je 0x45fa85
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [ecx + ebx], 0
mov edi, dword [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
mov esi, edi
repne scasb al, byte es:[edi]
mov ebx, dword [esp + 0x1278]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
call dword [0x4ab268]
cmp eax, ebp
jae 0x45fab0
call dword [0x4ab304]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x45fad6
mov al, byte [ecx - 1]
test al, al
je 0x45fad6
cmp al, 0xff
je 0x45fad6
test ebp, ebp
jne 0x45fafc
dec al
push ebp
mov byte [ecx - 1], al
mov ecx, ebx
call dword [0x4ab28c]
jmp 0x45fb22
test ebp, ebp
jne 0x45fae6
push 1
mov ecx, ebx
call dword [0x4ab28c]
jmp 0x45fb22
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x45faf2
cmp eax, ebp
jae 0x45fb05
push 1
mov ecx, ebx
call dword [0x4ab28c]
push ebp
mov ecx, ebx
call dword [0x4ab290]
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov edi, dword [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
mov esi, edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [0x4ab348]
mov edx, dword [ecx]
mov ecx, dword [ebx + 8]
sub edx, ecx
cmp edx, edi
ja 0x45fb4b
call dword [0x4ab304]
test edi, edi
jbe 0x45fbd5
mov edx, dword [ebx + 8]
mov ebp, edi
mov ecx, ebx
add ebp, edx
call dword [0x4ab268]
cmp eax, ebp
jae 0x45fb6c
call dword [0x4ab304]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x45fb92
mov al, byte [ecx - 1]
test al, al
je 0x45fb92
cmp al, 0xff
je 0x45fb92
test ebp, ebp
jne 0x45fbaa
dec al
push ebp
mov byte [ecx - 1], al
mov ecx, ebx
call dword [0x4ab28c]
jmp 0x45fbd5
test ebp, ebp
jne 0x45fba5
test ecx, ecx
je 0x45fbd5
push ebp
mov ecx, ebx
call dword [0x4ab26c]
jmp 0x45fbd5
cmp dword [ebx + 0xc], ebp
jae 0x45fbb3
push ebp
mov ecx, ebx
call dword [0x4ab290]
mov eax, dword [ebx + 8]
mov ecx, edi
mov edi, dword [ebx + 4]
add edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [ecx + ebp], 0
push ebx
push ebx
call fcn.0045f860
mov edx, dword [esp + 0x1284]
mov ax, word [esp + 0x30]
add esp, 8
mov word [edx], ax
mov eax, 1
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x125c
ret