Function at 0x4a8c11
Capabilities:
Parse url

Disassembly:
push 0x50
mov eax, 0x51b02b
call fcn.004db273
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x3c
pop edi
xor ebx, ebx
lea eax, [ebp - 0x5c]
push edi
push ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.004de4e0
push edi
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.004de4e0
add esp, 0x18
mov dword [ebp - 0x5c], edi
mov edi, dword [esi + 4]
push 0x64
pop eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov esi, dword [edi - 0xc]
call fcn.0040d266
push eax
push esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.00406f36
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 1
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4a8c9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
jmp 0x4a9053
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4a8d0c
mov esi, dword [ebp - 0x48]
call fcn.0040d266
push eax
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.00406f36
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x10]
sub ecx, 0x10
lea esi, [eax - 0x10]
mov dword [ebp - 0x10], ecx
cmp esi, ecx
je 0x4a8cfe
cmp dword [ecx + 0xc], ebx
jl 0x4a8cf2
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x4a8cf2
mov ecx, esi
call fcn.00406f9b
mov ecx, dword [ebp - 0x10]
mov esi, eax
call fcn.0040d570
lea eax, [esi + 0x10]
mov dword [edi + 0x10], eax
jmp 0x4a8cfe
push dword [eax - 0xc]
lea ecx, [edi + 0x10]
push eax
call fcn.0040d7d9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040d05a
jmp 0x4a8d0f
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4a8d81
mov esi, dword [ebp - 0x2c]
call fcn.0040d266
push eax
push esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.00406f36
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x14]
sub ecx, 0x10
mov dword [ebp - 0x10], ecx
lea esi, [eax - 0x10]
cmp esi, ecx
je 0x4a8d75
cmp dword [ecx + 0xc], ebx
jl 0x4a8d69
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x4a8d69
mov ecx, esi
call fcn.00406f9b
mov ecx, dword [ebp - 0x10]
mov esi, eax
call fcn.0040d570
lea eax, [esi + 0x10]
mov dword [edi + 0x14], eax
jmp 0x4a8d75
push dword [eax - 0xc]
lea ecx, [edi + 0x14]
push eax
call fcn.0040d7d9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040d05a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4a8e18
mov esi, dword [ebp - 0x3c]
call fcn.0040d266
push eax
push esi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
call fcn.00406f36
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.004abf6d
xor eax, eax
inc eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x1c]
sub ecx, 0x10
mov dword [ebp - 0x20], ecx
lea esi, [eax - 0x10]
cmp esi, ecx
je 0x4a8e00
cmp dword [ecx + 0xc], ebx
jl 0x4a8df4
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x4a8df4
mov ecx, esi
call fcn.00406f9b
mov ecx, dword [ebp - 0x20]
mov esi, eax
call fcn.0040d570
lea eax, [esi + 0x10]
mov dword [edi + 0x1c], eax
jmp 0x4a8e00
push dword [eax - 0xc]
lea ecx, [edi + 0x1c]
push eax
call fcn.0040d7d9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.0040d05a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040d05a
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4a8ead
mov esi, dword [ebp - 0x34]
call fcn.0040d266
push eax
push esi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
call fcn.00406f36
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
call fcn.004abf6d
or dword [ebp - 0x14], 2
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x20]
sub ecx, 0x10
mov dword [ebp - 0x20], ecx
lea esi, [eax - 0x10]
cmp esi, ecx
je 0x4a8e95
cmp dword [ecx + 0xc], ebx
jl 0x4a8e89
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x4a8e89
mov ecx, esi
call fcn.00406f9b
mov ecx, dword [ebp - 0x20]
mov esi, eax
call fcn.0040d570
lea eax, [esi + 0x10]
mov dword [edi + 0x20], eax
jmp 0x4a8e95
push dword [eax - 0xc]
lea ecx, [edi + 0x20]
push eax
call fcn.0040d7d9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.0040d05a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040d05a
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4a8f1f
mov esi, dword [ebp - 0x24]
call fcn.0040d266
push eax
push esi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.00406f36
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x18]
sub ecx, 0x10
mov dword [ebp - 0x20], ecx
lea esi, [eax - 0x10]
cmp esi, ecx
je 0x4a8f13
cmp dword [ecx + 0xc], ebx
jl 0x4a8f07
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x4a8f07
mov ecx, esi
call fcn.00406f9b
mov ecx, dword [ebp - 0x20]
mov esi, eax
call fcn.0040d570
lea eax, [esi + 0x10]
mov dword [edi + 0x18], eax
jmp 0x4a8f13
push dword [eax - 0xc]
lea ecx, [edi + 0x18]
push eax
call fcn.0040d7d9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040d05a
mov ecx, dword [ebp - 0x50]
mov ax, word [ebp - 0x44]
mov dword [edi + 8], ecx
mov word [edi + 0xc], ax
cmp ecx, 5
jne 0x4a9053
lea esi, [edi + 0x14]
mov eax, dword [esi]
cmp dword [eax - 0xc], 3
jle 0x4a9053
push ebx
mov ecx, esi
call fcn.00474210
push 0x5c
pop ecx
cmp ax, cx
jne 0x4a9053
push 1
mov ecx, esi
call fcn.00474210
push 0x5c
pop ecx
cmp ax, cx
jne 0x4a9053
push 2
mov ecx, esi
call fcn.00474210
cmp ax, 0x3f
je 0x4a9053
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406c93
add edi, 0x10
mov byte [ebp - 4], 0xe
mov edx, dword [eax]
mov ecx, dword [edi]
sub ecx, 0x10
lea esi, [edx - 0x10]
mov dword [ebp - 0x20], ecx
cmp esi, ecx
je 0x4a8fdb
cmp dword [ecx + 0xc], ebx
jl 0x4a8fd0
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x4a8fd0
mov ecx, esi
call fcn.00406f9b
mov ecx, dword [ebp - 0x20]
mov esi, eax
call fcn.0040d570
lea eax, [esi + 0x10]
mov dword [edi], eax
jmp 0x4a8fdb
push dword [edx - 0xc]
mov ecx, edi
push edx
call fcn.0040d7d9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040d05a
push ebx
push 0x5397c4
mov ecx, edi
call fcn.00438008
test eax, eax
jle 0x4a9053
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00406c2e
mov byte [ebp - 4], 0xf
mov edx, dword [eax]
mov ecx, dword [edi]
sub ecx, 0x10
mov dword [ebp - 0x20], ecx
lea esi, [edx - 0x10]
cmp esi, ecx
je 0x4a9047
cmp dword [ecx + 0xc], ebx
jl 0x4a903c
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x4a903c
mov ecx, esi
call fcn.00406f9b
mov ecx, dword [ebp - 0x20]
mov esi, eax
call fcn.0040d570
lea eax, [esi + 0x10]
mov dword [edi], eax
jmp 0x4a9047
push dword [edx - 0xc]
mov ecx, edi
push edx
call fcn.0040d7d9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040d05a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040d05a
mov eax, ebx
call fcn.004db23c
ret