Function at 0x1000660b
Capabilities:
Parse url

Disassembly:
push 0x464
mov eax, 0x1001cbcf
call fcn.1001c34a
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x41c], esi
add ecx, 0x10
mov byte [ebp - 4], 3
lea edx, [ebp - 0x428]
push edx
push 0x1001e42c
mov eax, dword [ecx]
push ecx
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
js 0x10006852
mov eax, dword [ebp - 0x428]
lea edx, [ebp - 0x424]
push edx
push 0x1001e44c
push 0x1001e43c
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
js 0x10006852
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 0x41c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
test eax, eax
js 0x10006852
test ebx, ebx
jne 0x10006852
mov dword [ebp - 0x420], esi
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0xd
push eax
push 0x1001e41c
push ecx
mov ecx, 0x1001e40c
call fcn.1001507c
mov ebx, eax
test ebx, ebx
jne 0x1000683e
mov eax, dword [ebp - 0x420]
lea edx, [ebp - 0x42c]
push esi
push edx
push dword [ebp - 0x41c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ebx, eax
test ebx, ebx
jne 0x1000683e
mov eax, dword [ebp - 0x42c]
inc ebx
test eax, eax
je 0x10006714
cmp eax, ebx
je 0x10006714
cmp eax, 2
jne 0x1000683e
push 0x3c
lea eax, [ebp - 0x470]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, 0x202
xor eax, eax
push esi
push eax
lea eax, [ebp - 0x418]
push eax
call sub.VCRUNTIME140.dll_memset
push esi
xor esi, esi
lea eax, [ebp - 0x214]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x418]
add esp, 0x24
mov dword [ebp - 0x470], 0x3c
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], 0x100
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x10006774
mov esi, dword [sym.imp.WININET.dll_InternetCrackUrlW]
lea eax, [ebp - 0x470]
push eax
sub ecx, edx
push 0x10000000
sar ecx, 1
push ecx
push dword [ebp - 0x41c]
call esi
cmp eax, ebx
jne 0x1000683e
mov ecx, edi
mov dword [ebp - 0x45c], 0x100
lea eax, [ebp - 0x214]
mov dword [ebp - 0x460], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x430]
jne 0x100067c1
lea eax, [ebp - 0x470]
sub ecx, edx
push eax
push 0x10000000
sar ecx, 1
push ecx
push edi
call esi
cmp eax, ebx
jne 0x1000683e
lea ecx, [ebp - 0x214]
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x100067f3
sub ecx, edx
lea edx, [ebp - 0x418]
sar ecx, 1
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x1000680b
push ecx
sub edx, esi
lea eax, [ebp - 0x214]
push eax
sar edx, 1
lea eax, [ebp - 0x418]
push edx
push eax
push ebx
push 0x409
call dword [sym.imp.kernel32.dll_CompareStringW]
xor ebx, ebx
cmp eax, 2
setne bl
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x420]
test eax, eax
je 0x10006852
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x41c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x10006872
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x10006889
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
call fcn.1001c2fc
ret 4