Function at 0x6471b222
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x21d8
call fcn.64726940
mov eax, dword [0x6475a360]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push str.GpcUrlRoot
push eax
mov dword [ebp - 0x219c], ecx
xor edi, edi
call fcn.647277ec
pop ecx
pop ecx
test eax, eax
jne 0x6471b4c6
push ebx
push str.GpcUrlRoot:__s
call fcn.64721861
mov dword [ebp - 0x2198], 0x824
pop ecx
pop ecx
test ebx, ebx
je 0x6471b28c
push ebx
call fcn.64725b00
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x6471b290
xor eax, eax
jmp 0x6471b2a4
lea eax, [esi + esi]
call fcn.64726c30
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.64710c25
push 0
lea ecx, [ebp - 0x2198]
push ecx
push 0x824
lea ecx, [ebp - 0x116c]
push ecx
push 0x18000000
push 1
push eax
call sub.urlmon.dll_CoInternetParseUrl
test eax, eax
je 0x6471b2d1
xor eax, eax
jmp 0x6471b4ca
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x21d8]
push 0
push eax
call fcn.64725a70
lea eax, [ebp - 0x24]
mov dword [ebp - 0x21d8], esi
mov dword [ebp - 0x21d4], eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x21c8], eax
lea eax, [ebp - 0x2190]
mov dword [ebp - 0x21ac], eax
lea eax, [ebp - 0x116c]
push eax
mov dword [ebp - 0x21d0], 0x20
mov dword [ebp - 0x21c4], 0x100
mov dword [ebp - 0x21a8], 0x800
call fcn.647274a1
add esp, 0x10
inc eax
cmp eax, 0x3fffffff
jle 0x6471b343
xor eax, eax
jmp 0x6471b35f
lea esi, [eax + eax]
mov eax, esi
call fcn.64726c30
mov eax, esp
lea ecx, [ebp - 0x116c]
push 3
push esi
push ecx
push eax
call fcn.64710c5d
lea ecx, [ebp - 0x21d8]
push ecx
push 0x10000000
push dword [ebp - 0x2198]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x6471b2ca
push dword [ebp - 0x21ac]
push str.The_path_of_URLRoot:__s_
call fcn.64721861
push 0x64747dc8
push dword [ebp - 0x21ac]
call fcn.647297a1
add esp, 0x10
test eax, eax
jne 0x6471b2ca
push str._client_
push dword [ebp - 0x21ac]
call fcn.647297a1
pop ecx
pop ecx
cmp eax, dword [ebp - 0x21ac]
jne 0x6471b2ca
cmp dword [ebp - 0x21cc], 3
jne 0x6471b49e
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
call esi
cmp eax, 0x3b6
jg 0x6471b4c8
mov ebx, 0x647456ec
push ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
push dword [ebp - 0x21d4]
mov dword [ebp - 0x21d0], eax
call esi
mov eax, 0x1bb
mov dword [ebp - 0x21cc], 4
mov word [ebp - 0x21c0], ax
lea eax, [ebp - 0x2194]
push eax
lea eax, [ebp - 0x1990]
mov dword [ebp - 0x2194], 0x824
push eax
push SysReAllocString
lea eax, [ebp - 0x21d8]
push eax
call dword [sym.imp.WININET.dll_InternetCreateUrlA]
test eax, eax
je 0x6471b4c8
mov eax, dword [ebp - 0x2194]
inc eax
push eax
call fcn.64722f0e
mov edi, eax
lea eax, [ebp - 0x1990]
pop ecx
push eax
push edi
mov byte [edi], 0
call esi
push edi
push dword [ebp - 0x2194]
push str.URLRoot_is_changed_to_HTTPS_scheme:__d__s
call fcn.64721861
mov ecx, dword [ebp - 0x219c]
add esp, 0xc
push 0xb
push 0x6474a138
push 0
push edi
call fcn.6471b8d0
test al, al
jne 0x6471b4c8
push edi
call fcn.647261f1
pop ecx
jmp 0x6471b4c2
cmp dword [ebp - 0x21cc], 4
jne 0x6471b4c8
mov ecx, dword [ebp - 0x219c]
mov edi, ebx
push 0xb
push 0x6474a138
push 0
push ebx
call fcn.6471b8d0
test al, al
jne 0x6471b4c8
xor edi, edi
jmp 0x6471b4c8
mov edi, ebx
mov eax, edi
lea esp, [ebp - 0x21e4]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.647263d1
mov esp, ebp
pop ebp
ret 8