Function at 0x4a06d5
Capabilities:
Parse url

Disassembly:
push 0x50
mov eax, 0x50f543
call fcn.004d0de3
mov ebx, ecx
push 0x3c
pop edi
xor esi, esi
lea eax, [ebp - 0x5c]
push edi
push esi
push eax
mov dword [ebp - 0x10], esi
call fcn.004d39c0
push edi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.004d39c0
add esp, 0x18
mov dword [ebp - 0x5c], edi
mov edi, dword [ebx + 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.0040cc51
push eax
push esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.00406935
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 1
push eax
xor edi, edi
push edi
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4a075a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebx], edi
jmp 0x4a097f
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4a0795
mov esi, dword [ebp - 0x48]
call fcn.0040cc51
push eax
push esi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.00406935
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 0x10]
call fcn.0044d0c3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040ca45
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4a07d0
mov esi, dword [ebp - 0x2c]
call fcn.0040cc51
push eax
push esi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.00406935
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebx + 0x14]
call fcn.0044d0c3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040ca45
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4a082c
mov esi, dword [ebp - 0x3c]
call fcn.0040cc51
push eax
push esi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.00406935
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.004a366e
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebx + 0x1c]
call fcn.0044d0c3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0040ca45
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040ca45
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4a0886
mov esi, dword [ebp - 0x34]
call fcn.0040cc51
push eax
push esi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
call fcn.00406935
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
call fcn.004a366e
or dword [ebp - 0x10], 2
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebx + 0x20]
call fcn.0044d0c3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.0040ca45
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040ca45
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4a08c1
mov esi, dword [ebp - 0x24]
call fcn.0040cc51
push eax
push esi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.00406935
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebx + 0x18]
call fcn.0044d0c3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040ca45
mov ecx, dword [ebp - 0x50]
mov ax, word [ebp - 0x44]
mov dword [ebx + 8], ecx
mov word [ebx + 0xc], ax
cmp ecx, 5
jne 0x4a097f
lea esi, [ebx + 0x14]
mov eax, dword [esi]
cmp dword [eax - 0xc], 3
jle 0x4a097f
push edi
mov ecx, esi
call fcn.0046fde0
push 0x5c
pop ecx
cmp ax, cx
jne 0x4a097f
push 1
mov ecx, esi
call fcn.0046fde0
push 0x5c
pop ecx
cmp ax, cx
jne 0x4a097f
push 2
mov ecx, esi
call fcn.0046fde0
cmp ax, 0x3f
je 0x4a097f
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004066bb
add ebx, 0x10
mov byte [ebp - 4], 0xe
push eax
mov ecx, ebx
call fcn.0044d0c3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0040ca45
push edi
push 0x52d76c
mov ecx, ebx
call fcn.00435a56
test eax, eax
jle 0x4a097f
push eax
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0040666a
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xf
call fcn.0044d0c3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0040ca45
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040ca45
mov eax, edi
call fcn.004d0dac
ret