Function at 0x4a1d24
Capabilities:
Parse url

Disassembly:
push 0x48
mov eax, 0x50b8a5
call fcn.004d2c19
mov ebx, ecx
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004d3e90
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.00406d01
push eax
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.00445221
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 0x4a1d94
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebx], edi
jmp 0x4a1fa9
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a1dce
mov edi, dword [ebp - 0x40]
call fcn.00406d01
push eax
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00445221
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x10]
call fcn.004434b9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a1e08
mov edi, dword [ebp - 0x24]
call fcn.00406d01
push eax
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.00445221
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x14]
call fcn.004434b9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a1e5c
mov edi, dword [ebp - 0x34]
call fcn.00406d01
push eax
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.00445221
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.004a28ec
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x1c]
call fcn.004434b9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406df6
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4a1eb0
mov edi, dword [ebp - 0x2c]
call fcn.00406d01
push eax
push edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.00445221
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.004a28ec
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x20]
call fcn.004434b9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406df6
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a1eea
mov edi, dword [ebp - 0x1c]
call fcn.00406d01
push eax
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.00445221
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x18]
call fcn.004434b9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406df6
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 0x4a1fa9
lea ecx, [ebx + 0x14]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 3
jle 0x4a1fa9
push edi
call fcn.0046ddb0
push 0x5c
pop ecx
cmp ax, cx
jne 0x4a1fa9
push 1
lea ecx, [ebx + 0x14]
call fcn.0046ddb0
push 0x5c
pop ecx
cmp ax, cx
jne 0x4a1fa9
push 2
lea ecx, [ebx + 0x14]
call fcn.0046ddb0
cmp ax, 0x3f
je 0x4a1fa9
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.00444f2b
push eax
mov ecx, ebx
call fcn.004434b9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406df6
push edi
push 0x523a24
mov ecx, ebx
call fcn.0046dbc0
test eax, eax
jle 0x4a1fa9
push eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00444ed9
push eax
mov ecx, ebx
call fcn.004434b9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406df6
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00406df6
mov eax, edi
call fcn.004d2be2
ret