Function at 0x49afe1
Capabilities:
Parse url

Disassembly:
push 0x4c
mov eax, 0x50ce70
call fcn.004cea03
mov ebx, ecx
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004cfc80
mov edi, dword [ebx + 4]
add esp, 0xc
mov dword [ebp - 0x58], esi
push 0x64
pop eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov esi, dword [edi - 0xc]
call fcn.00406abb
push eax
push esi
push edi
lea ecx, [ebp - 0x14]
call fcn.004480cf
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
xor edi, edi
push edi
push edi
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x49b057
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebx], edi
jmp 0x49b26c
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x49b092
mov esi, dword [ebp - 0x44]
call fcn.00406abb
push eax
push esi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.004480cf
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 0x10]
call fcn.00446330
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004068c3
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x49b0cd
mov esi, dword [ebp - 0x28]
call fcn.00406abb
push eax
push esi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.004480cf
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebx + 0x14]
call fcn.00446330
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004068c3
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x49b120
mov esi, dword [ebp - 0x38]
call fcn.00406abb
push eax
push esi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.004480cf
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.0049dea2
push eax
lea ecx, [ebx + 0x1c]
mov byte [ebp - 4], 8
call fcn.00446330
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004068c3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004068c3
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x49b173
mov esi, dword [ebp - 0x30]
call fcn.00406abb
push eax
push esi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.004480cf
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
call fcn.0049dea2
push eax
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 0xb
call fcn.00446330
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.004068c3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004068c3
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x49b1ae
mov esi, dword [ebp - 0x20]
call fcn.00406abb
push eax
push esi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.004480cf
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebx + 0x18]
call fcn.00446330
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004068c3
mov ecx, dword [ebp - 0x4c]
mov ax, word [ebp - 0x40]
mov dword [ebx + 8], ecx
mov word [ebx + 0xc], ax
cmp ecx, 5
jne 0x49b26c
lea esi, [ebx + 0x14]
mov eax, dword [esi]
cmp dword [eax - 0xc], 3
jle 0x49b26c
push edi
mov ecx, esi
call fcn.0046a4e0
push 0x5c
pop ecx
cmp ax, cx
jne 0x49b26c
push 1
mov ecx, esi
call fcn.0046a4e0
push 0x5c
pop ecx
cmp ax, cx
jne 0x49b26c
push 2
mov ecx, esi
call fcn.0046a4e0
cmp ax, 0x3f
je 0x49b26c
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00447dd4
add ebx, 0x10
mov byte [ebp - 4], 0xe
push eax
mov ecx, ebx
call fcn.00446330
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004068c3
push edi
push 0x52995c
mov ecx, ebx
call fcn.0042e2bd
test eax, eax
jle 0x49b26c
push eax
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.00447d83
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xf
call fcn.00446330
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004068c3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004068c3
mov eax, edi
call fcn.004ce9cc
ret