Function at 0x4a2790
Capabilities:
Parse url

Disassembly:
push 0x48
mov eax, 0x50e2dc
call fcn.004d0cf3
mov ebx, ecx
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004d1f70
mov edi, dword [ebx + 4]
add esp, 0xc
mov dword [ebp - 0x54], esi
push 0x64
pop eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov esi, dword [edi - 0xc]
call fcn.00406cde
push eax
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.0044540d
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4a2800
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebx], edi
jmp 0x4a2a15
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a283a
mov edi, dword [ebp - 0x40]
call fcn.00406cde
push eax
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.0044540d
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x10]
call fcn.0044369a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a2874
mov edi, dword [ebp - 0x24]
call fcn.00406cde
push eax
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.0044540d
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x14]
call fcn.0044369a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a28c8
mov edi, dword [ebp - 0x34]
call fcn.00406cde
push eax
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.0044540d
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.004a3358
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x1c]
call fcn.0044369a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4a291c
mov edi, dword [ebp - 0x2c]
call fcn.00406cde
push eax
push edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.0044540d
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.004a3358
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x20]
call fcn.0044369a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a2956
mov edi, dword [ebp - 0x1c]
call fcn.00406cde
push eax
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.0044540d
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x18]
call fcn.0044369a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov ecx, dword [ebp - 0x48]
xor edi, edi
mov ax, word [ebp - 0x3c]
mov dword [ebx + 8], ecx
mov word [ebx + 0xc], ax
cmp ecx, 5
jne 0x4a2a15
lea ecx, [ebx + 0x14]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 3
jle 0x4a2a15
push edi
call fcn.0046e610
push 0x5c
pop ecx
cmp ax, cx
jne 0x4a2a15
push 1
lea ecx, [ebx + 0x14]
call fcn.0046e610
push 0x5c
pop ecx
cmp ax, cx
jne 0x4a2a15
push 2
lea ecx, [ebx + 0x14]
call fcn.0046e610
cmp ax, 0x3f
je 0x4a2a15
lea ecx, [ebx + 0x14]
add ebx, 0x10
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00445117
push eax
mov ecx, ebx
call fcn.0044369a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
push edi
push 0x52940c
mov ecx, ebx
call fcn.0046e420
test eax, eax
jle 0x4a2a15
push eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004450c5
push eax
mov ecx, ebx
call fcn.0044369a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00406dd3
mov eax, edi
call fcn.004d0cbc
ret