Function at 0x14006676c
Capabilities:
Parse url

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400b35a8]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rdx
mov r14, rcx
or r15, 0xffffffffffffffff
mov rbx, r15
xor r13d, r13d
inc rbx
cmp word [rdx + rbx*2], r13w
jne 0x1400667a6
test ebx, ebx
jne 0x1400667c5
mov dword [rcx + 0x130], 0x57
xor al, al
jmp 0x140066ffe
lea rdx, [0x140099188]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
jne 0x1400667ed
mov dword [r14 + 0x130], 0x2ee8
jmp 0x1400667be
lea eax, [rbx + 0x20]
mov dword [rsp + 0x30], eax
mov ecx, eax
mov r12d, 2
mov eax, r12d
mul rcx
mov rsi, rax
cmovo rsi, r15
mov rcx, rsi
call fcn.140067f8c
mov rbx, rax
test rax, rax
je 0x140066828
mov r8, rsi
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x14006682b
mov rbx, r13
mov rsi, rbx
mov qword [rbp - 0x30], rbx
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
nop dword [rax + rax]
test eax, eax
jne 0x1400668c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
jne 0x1400668a9
mov ecx, dword [rsp + 0x30]
mov rax, r12
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140067f8c
mov rsi, rax
mov qword [rbp - 0x30], rax
test rbx, rbx
je 0x14006688b
mov rcx, rbx
call fcn.140067998
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
nop dword [rax + rax]
test eax, eax
jne 0x1400668c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [r14 + 0x130], eax
mov r15b, r13b
jmp 0x140066fee
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x38], eax
mov edi, eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
je 0x14006690b
mov edx, edi
call fcn.1400043f4
mov r15, rax
mov qword [rbp - 0x48], rax
lea rbx, [rax + rdi*2]
mov qword [rbp - 0x38], rbx
mov r8, rbx
sub r8, rax
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rbp - 0x40], rbx
jmp 0x14006690f
mov r15, qword [rbp - 0x48]
lea r12, [rdi + rdi]
mov r8, r12
xor edx, edx
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
test rdi, rdi
je 0x14006695e
mov rdx, rdi
call fcn.1400043f4
mov qword [rsp + 0x58], rax
lea rbx, [rax + rdi*2]
mov qword [rsp + 0x68], rbx
mov r8, rbx
sub r8, rax
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rsp + 0x60], rbx
mov r8, r12
xor edx, edx
mov rcx, qword [rsp + 0x58]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
test rdi, rdi
je 0x1400669ab
mov rdx, rdi
call fcn.1400043f4
mov qword [rsp + 0x40], rax
lea rbx, [rax + rdi*2]
mov qword [rsp + 0x50], rbx
mov r8, rbx
sub r8, rax
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rsp + 0x48], rbx
mov r8, r12
xor edx, edx
mov rcx, qword [rsp + 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
test rdi, rdi
je 0x1400669ff
mov rdx, rdi
call fcn.1400043f4
mov r13, rax
mov qword [rbp - 0x60], rax
lea rbx, [rdi*2]
add rbx, rax
mov qword [rbp - 0x50], rbx
mov r8, rbx
sub r8, rax
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rbp - 0x58], rbx
jmp 0x140066a03
mov r13, qword [rbp - 0x60]
mov r8, r12
xor edx, edx
mov rcx, r13
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
xor ebx, ebx
mov qword [rbp - 0x68], rbx
test rdi, rdi
je 0x140066a52
mov rdx, rdi
call fcn.1400043f4
mov r12, rax
mov qword [rbp - 0x78], rax
lea rbx, [rax + rdi*2]
mov qword [rbp - 0x68], rbx
mov r8, rbx
sub r8, rax
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rbp - 0x70], rbx
xor ebx, ebx
jmp 0x140066a56
mov r12, qword [rbp - 0x78]
lea r8, [rdi + rdi]
xor edx, edx
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
test rdi, rdi
je 0x140066aa0
mov rdx, rdi
call fcn.1400043f4
mov qword [rsp + 0x70], rax
lea rbx, [rax + rdi*2]
mov qword [rbp - 0x80], rbx
mov r8, rbx
sub r8, rax
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rsp + 0x78], rbx
lea r8, [rdi + rdi]
xor edx, edx
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rbp - 0x20], 0x68
mov qword [rbp - 0x18], r15
mov ecx, dword [rsp + 0x38]
mov dword [rbp - 0x10], ecx
mov rax, qword [rsp + 0x58]
mov qword [rbp - 8], rax
mov dword [rbp], ecx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 8], rax
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], r13
mov dword [rbp + 0x20], ecx
mov qword [rbp + 0x28], r12
mov dword [rbp + 0x30], ecx
mov qword [rbp + 0x38], rbx
mov dword [rbp + 0x40], ecx
lea r9, [rbp - 0x20]
mov r8d, 0x90000000
mov edx, ecx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
nop dword [rax + rax]
test eax, eax
jne 0x140066b2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [r14 + 0x130], eax
xor r13d, r13d
mov r15b, r13b
jmp 0x140066faf
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcslwr_s]
nop dword [rax + rax]
lea rdi, [r14 + 0x60]
mov rdx, r15
mov rcx, rdi
call fcn.140004374
mov eax, dword [rbp - 0xc]
mov dword [r14 + 0x80], eax
lea rbx, [r14 + 0x88]
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140004374
movzx eax, word [rbp + 4]
mov word [r14 + 0xa8], ax
lea rcx, [r14 + 0x20]
mov rdx, qword [rsp + 0x40]
call fcn.140004374
lea rcx, [r14 + 0x40]
mov rdx, r13
call fcn.140004374
mov rdx, r12
lea r12, [r14 + 0xb0]
mov rcx, r12
call fcn.140004374
lea rcx, [r14 + 0x110]
mov rdx, qword [rsp + 0x70]
call fcn.140004374
mov r15d, 1
mov ecx, dword [rbp - 0xc]
cmp ecx, 3
jne 0x140066bdd
xor eax, eax
cmp word [r14 + 0xa8], ax
jne 0x140066cd1
lea eax, [rcx + 0x4d]
jmp 0x140066cc9
mov eax, 4
cmp ecx, eax
jne 0x140066c07
mov byte [r14 + 0x84], r15b
xor eax, eax
cmp word [r14 + 0xa8], ax
jne 0x140066cd1
mov eax, 0x1bb
jmp 0x140066cc9
or rdx, 0xffffffffffffffff
cmp ecx, edx
jne 0x140066cd1
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140066c20
mov rcx, qword [rdi]
mov r10, qword [rdi + 0x10]
cmp r10, rax
jne 0x140066c6f
lea rdx, str.rtsp
movzx r8d, word [rcx]
cmp r8w, word [rdx]
jne 0x140066c4f
add rcx, 2
add rdx, 2
sub rax, r15
jne 0x140066c30
xor r9d, r9d
mov eax, r9d
jmp 0x140066c5a
sbb eax, eax
and eax, 0xfffffffe
add eax, r15d
xor r9d, r9d
test eax, eax
jne 0x140066c72
cmp word [r14 + 0xa8], r9w
jne 0x140066cd1
mov eax, 0x22a
jmp 0x140066cc9
xor r9d, r9d
cmp qword [rdi + 0x18], 8
jb 0x140066c7c
mov rdi, qword [rdi]
mov ecx, 5
cmp r10, rcx
jne 0x140066cd1
lea rax, str.rtsps
movzx edx, word [rdi]
cmp dx, word [rax]
jne 0x140066ca7
add rdi, 2
add rax, 2
sub rcx, r15
jne 0x140066c8d
mov eax, r9d
jmp 0x140066caf
sbb eax, eax
and eax, 0xfffffffe
add eax, r15d
test eax, eax
jne 0x140066cd1
mov byte [r14 + 0x84], r15b
cmp word [r14 + 0xa8], r9w
jne 0x140066cd1
mov eax, reloc.OLEAUT32.dll_GetRecordInfoFromTypeInfo
mov word [r14 + 0xa8], ax
lea rdx, [0x14008fbac]
mov rcx, r12
call fcn.14006702c
mov r13, rax
lea rdi, [r14 + 0xd0]
or rax, 0xffffffffffffffff
mov rcx, r12
cmp r13, rax
jne 0x140066d1e
lea rdx, [0x14008bd04]
call fcn.14006702c
mov r13, rax
or rax, 0xffffffffffffffff
cmp r13, rax
jne 0x140066d1b
mov rdx, r12
mov rcx, rdi
call fcn.140039048
jmp 0x140066d6c
mov rcx, r12
mov r9, rax
lea r8, [r13 + 1]
lea rdx, [rbp + 0x50]
call fcn.140041874
mov rdx, rax
mov rcx, rdi
call fcn.140020c4c
lea rcx, [rbp + 0x50]
call fcn.1400042d4
mov r9, r13
xor r8d, r8d
lea rdx, [rbp + 0x50]
mov rcx, r12
call fcn.140041874
mov rdx, rax
lea rcx, [r14 + 0xf0]
call fcn.140020c4c
lea rcx, [rbp + 0x50]
call fcn.1400042d4
mov edi, 0x4ec
mov ecx, edi
call fcn.140067f8c
mov r12, rax
xor r13d, r13d
test rax, rax
je 0x140066d92
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x140066d95
mov r12, r13
mov rdi, r12
mov qword [rsp + 0x38], r12
mov rax, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140066dae
mov rdx, qword [rbx]
lea r8d, [rax + 1]
mov dword [rsp + 0x20], 0x276
mov r9, r12
mov ecx, 2
call qword [sym.imp.Normaliz.dll_IdnToNameprepUnicode]
nop dword [rax + rax]
test eax, eax
jne 0x140066e9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [r14 + 0x130], eax
cmp eax, 0x7a
jne 0x140066e97
mov rax, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140066e03
mov rdx, qword [rbx]
lea r8d, [rax + 1]
mov dword [rsp + 0x20], r13d
mov r9, r12
mov edi, 2
mov ecx, edi
call qword [sym.imp.Normaliz.dll_IdnToNameprepUnicode]
nop dword [rax + rax]
movsxd r13, eax
mov eax, edi
mul r13
lea rdx, [rdi - 3]
cmovo rax, rdx
mov rcx, rax
call fcn.140067f8c
mov rdi, rax
mov qword [rsp + 0x38], rax
test r12, r12
je 0x140066e4f
mov rcx, r12
call fcn.140067998
mov rax, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140066e60
mov rdx, qword [rbx]
lea r8d, [rax + 1]
mov dword [rsp + 0x20], r13d
mov r9, rdi
mov ecx, 2
call qword [sym.imp.Normaliz.dll_IdnToNameprepUnicode]
nop dword [rax + rax]
xor r13d, r13d
test eax, eax
jne 0x140066e9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [r14 + 0x130], eax
mov r15b, r13b
jmp 0x140066fa1
mov rdx, rdi
mov rcx, rbx
call fcn.140004374
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140066eb7
mov rax, qword [rbx]
mov qword [rbp - 8], rax
jb 0x140066ec0
mov rbx, qword [rbx]
or r12, 0xffffffffffffffff
mov rax, r12
inc rax
cmp word [rbx + rax*2], r13w
jne 0x140066ec7
mov dword [rbp], eax
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.140067f8c
mov rbx, rax
mov qword [rbp - 0x28], rax
lea r9, [rsp + 0x30]
mov r8, rax
xor edx, edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.WININET.dll_InternetCreateUrlW]
nop dword [rax + rax]
test eax, eax
jne 0x140066f87
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
jne 0x140066f6f
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.140067f8c
mov r12, rax
mov rcx, rbx
mov rbx, rax
mov qword [rbp - 0x28], rax
test rcx, rcx
je 0x140066f51
call fcn.140067998
lea r9, [rsp + 0x30]
mov r8, r12
xor edx, edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.WININET.dll_InternetCreateUrlW]
nop dword [rax + rax]
test eax, eax
jne 0x140066f87
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [r14 + 0x130], eax
mov r15b, r13b
jmp 0x140066f93
mov rdx, rbx
mov rcx, r14
call fcn.140004374
nop
test rbx, rbx
je 0x140066fa1
mov rcx, rbx
call fcn.140067998
nop
test rdi, rdi
je 0x140066faf
mov rcx, rdi
call fcn.140067998
nop
lea rcx, [rsp + 0x70]
call fcn.140020b54
nop
lea rcx, [rbp - 0x78]
call fcn.140020b54
nop
lea rcx, [rbp - 0x60]
call fcn.140020b54
nop
lea rcx, [rsp + 0x40]
call fcn.140020b54
nop
lea rcx, [rsp + 0x58]
call fcn.140020b54
nop
lea rcx, [rbp - 0x48]
call fcn.140020b54
nop
test rsi, rsi
je 0x140066ffb
mov rcx, rsi
call fcn.140067998
mov al, r15b
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140067670
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret