Function at 0x140064964
Capabilities:
Parse url

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400c2270]
xor rax, rsp
mov qword [rbp + 0x78], 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 0x1400649a8
test ebx, ebx
jne 0x1400649c7
mov dword [rcx + 0x130], 0x57
xor al, al
jmp 0x1400651f2
lea rdx, [0x140099c20]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
test rax, rax
jne 0x1400649e9
mov dword [r14 + 0x130], 0x2ee8
jmp 0x1400649c0
lea eax, [rbx + 0x20]
mov dword [rsp + 0x30], eax
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.1400652b0
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rsi, qword [rbp - 0x70]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
jne 0x140064a7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140064a6a
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140065e80
mov rbx, rax
mov rcx, rsi
mov rsi, rax
mov qword [rbp - 0x70], rax
test rcx, rcx
je 0x140064a52
call fcn.140065f28
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
jne 0x140064a7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
mov r12b, r13b
jmp 0x1400651e2
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x38], eax
mov edi, eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r13
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140018560
mov r13, qword [rbp - 0x38]
xor ebx, ebx
test al, al
je 0x140064ac7
lea rbx, [rdi + rdi]
mov r8, rbx
xor edx, edx
mov rcx, r13
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
lea rax, [rbx + r13]
mov qword [rbp - 0x30], rax
xor ebx, ebx
lea r12, [rdi + rdi]
mov r8, r12
xor edx, edx
mov rcx, r13
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140018560
mov rbx, qword [rbp - 0x50]
test al, al
je 0x140064b0d
mov r8, r12
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
lea rax, [rbx + rdi*2]
mov qword [rbp - 0x48], rax
mov r8, r12
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
xor eax, eax
mov qword [rbp - 0x58], rax
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140018560
xor edx, edx
test al, al
je 0x140064b52
mov r8, r12
mov rcx, qword [rbp - 0x68]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov rcx, qword [rbp - 0x68]
lea rax, [rcx + rdi*2]
mov qword [rbp - 0x60], rax
mov r8, r12
xor edx, edx
mov rcx, qword [rbp - 0x68]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
xor eax, eax
mov qword [rbp - 0x78], rax
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140018560
xor edx, edx
test al, al
je 0x140064ba3
lea rbx, [rdi + rdi]
mov r8, rbx
mov rcx, qword [rsp + 0x78]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov rax, qword [rsp + 0x78]
add rax, rbx
mov qword [rbp - 0x80], rax
mov rbx, qword [rbp - 0x50]
mov r8, r12
xor edx, edx
mov rcx, qword [rsp + 0x78]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor eax, eax
mov qword [rsp + 0x70], rax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140018560
xor edx, edx
test al, al
je 0x140064bf0
mov r8, r12
mov rcx, qword [rsp + 0x60]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rdi*2]
mov qword [rsp + 0x68], rax
mov r8, r12
xor edx, edx
mov rcx, qword [rsp + 0x60]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor eax, eax
mov qword [rsp + 0x58], rax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140018560
xor edx, edx
test al, al
je 0x140064c3d
mov r8, r12
mov rcx, qword [rsp + 0x48]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rdi*2]
mov qword [rsp + 0x50], rax
mov r8, r12
xor edx, edx
mov rcx, qword [rsp + 0x48]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov dword [rbp - 0x20], 0x68
mov qword [rbp - 0x18], r13
mov eax, dword [rsp + 0x38]
mov dword [rbp - 0x10], eax
mov qword [rbp - 8], rbx
mov dword [rbp], eax
mov r12, qword [rbp - 0x68]
mov qword [rbp + 8], r12
mov dword [rbp + 0x10], eax
mov rcx, qword [rsp + 0x78]
mov qword [rbp + 0x18], rcx
mov dword [rbp + 0x20], eax
mov rcx, qword [rsp + 0x60]
mov qword [rbp + 0x28], rcx
mov dword [rbp + 0x30], eax
mov rcx, qword [rsp + 0x48]
mov qword [rbp + 0x38], rcx
mov dword [rbp + 0x40], eax
lea r9, [rbp - 0x20]
mov r8d, 0x90000000
mov edx, eax
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x140064cc5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
xor r13d, r13d
mov r12b, r13b
jmp 0x1400651a3
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcslwr_s]
mov r8, r15
xor eax, eax
inc r8
cmp word [r13 + r8*2], ax
jne 0x140064cd6
lea rdi, [r14 + 0x60]
mov rdx, r13
mov rcx, rdi
call fcn.1400030f0
mov eax, dword [rbp - 0xc]
mov dword [r14 + 0x80], eax
mov r8, r15
xor r13d, r13d
inc r8
cmp word [rbx + r8*2], r13w
jne 0x140064d00
lea rbx, [r14 + 0x88]
mov rdx, qword [rbp - 0x50]
mov rcx, rbx
call fcn.1400030f0
movzx eax, word [rbp + 4]
mov word [r14 + 0xa8], ax
mov r8, r15
inc r8
cmp word [r12 + r8*2], r13w
jne 0x140064d2c
lea rcx, [r14 + 0x20]
mov rdx, r12
call fcn.1400030f0
mov r8, r15
mov rax, qword [rsp + 0x78]
inc r8
cmp word [rax + r8*2], r13w
jne 0x140064d4a
lea rcx, [r14 + 0x40]
mov rdx, rax
call fcn.1400030f0
mov r8, r15
mov rax, qword [rsp + 0x60]
inc r8
cmp word [rax + r8*2], r13w
jne 0x140064d68
lea r13, [r14 + 0xb0]
mov rdx, rax
mov rcx, r13
call fcn.1400030f0
mov r8, r15
mov rax, qword [rsp + 0x48]
xor ecx, ecx
inc r8
cmp word [rax + r8*2], cx
jne 0x140064d8e
lea rcx, [r14 + 0x110]
mov rdx, rax
call fcn.1400030f0
mov r12d, 1
mov eax, dword [rbp - 0xc]
cmp eax, 3
jne 0x140064dcf
xor eax, eax
cmp word [r14 + 0xa8], ax
jne 0x140064ec0
lea eax, [r12 + 0x4f]
jmp 0x140064eb8
mov r8d, 4
cmp eax, r8d
jne 0x140064dfb
mov byte [r14 + 0x84], r12b
xor eax, eax
cmp word [r14 + 0xa8], ax
jne 0x140064ec0
mov eax, 0x1bb
jmp 0x140064eb8
cmp eax, r15d
jne 0x140064ec0
cmp qword [rdi + 0x18], 8
jb 0x140064e10
mov rcx, qword [rdi]
jmp 0x140064e13
mov rcx, rdi
cmp qword [rdi + 0x10], r8
jne 0x140064e5a
lea rdx, str.rtsp
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x140064e3a
add rcx, 2
add rdx, 2
sub r8, r12
jne 0x140064e20
mov eax, r8d
jmp 0x140064e45
sbb eax, eax
and eax, 0xfffffffe
add eax, r12d
xor r8d, r8d
test eax, eax
jne 0x140064e5d
cmp word [r14 + 0xa8], r8w
jne 0x140064ec0
mov eax, 0x22a
jmp 0x140064eb8
xor r8d, r8d
lea rax, [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x140064e6b
mov rdi, qword [rdi]
mov edx, 5
cmp qword [rax], rdx
jne 0x140064ec0
lea rcx, str.rtsps
movzx eax, word [rcx]
cmp word [rdi], ax
jne 0x140064e96
add rdi, 2
add rcx, 2
sub rdx, r12
jne 0x140064e7c
mov eax, r8d
jmp 0x140064e9e
sbb eax, eax
and eax, 0xfffffffe
add eax, r12d
test eax, eax
jne 0x140064ec0
mov byte [r14 + 0x84], r12b
cmp word [r14 + 0xa8], r8w
jne 0x140064ec0
mov eax, reloc.OLEAUT32.dll_GetRecordInfoFromTypeInfo
mov word [r14 + 0xa8], ax
lea rdx, [0x14009072c]
mov rcx, r13
call fcn.14006521c
mov rdi, rax
mov rcx, r13
cmp rax, r15
jne 0x140064f11
lea rdx, [0x14008c6bc]
call fcn.14006521c
mov rdi, rax
cmp rax, r15
jne 0x140064f0e
lea rcx, [r14 + 0xd0]
cmp rcx, r13
je 0x140064f89
mov r9, r15
xor r8d, r8d
mov rdx, r13
call fcn.14000333c
jmp 0x140064f89
mov rcx, r13
mov r9, r15
lea r8, [rax + 1]
lea rdx, [rbp + 0x58]
call fcn.14003d9b8
mov rdx, rax
lea rcx, [r14 + 0xd0]
call fcn.1400184b0
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x140064f4c
mov r8d, 2
inc rdx
mov rcx, qword [rbp + 0x58]
call fcn.140002ec0
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp + 0x58]
mov rcx, r13
call fcn.14003d9b8
mov rdx, rax
lea rcx, [r14 + 0xf0]
call fcn.1400184b0
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x140064f89
mov r8d, 2
inc rdx
mov rcx, qword [rbp + 0x58]
call fcn.140002ec0
mov edi, 0x276
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.1400652b0
nop
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140064fab
mov rdx, qword [rbx]
jmp 0x140064fae
mov rdx, rbx
lea r8d, [rax + 1]
mov dword [rsp + 0x20], edi
mov rdi, qword [rsp + 0x38]
mov r9, rdi
mov ecx, 2
call qword [sym.imp.Normaliz.dll_IdnToNameprepUnicode]
xor r13d, r13d
test eax, eax
jne 0x140065089
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
cmp eax, 0x7a
jne 0x140065081
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140064ffa
mov rdx, qword [rbx]
jmp 0x140064ffd
mov rdx, rbx
lea r8d, [rax + 1]
mov dword [rsp + 0x20], r13d
mov r9, rdi
mov ecx, 2
call qword [sym.imp.Normaliz.dll_IdnToNameprepUnicode]
movsxd r13, eax
mov eax, 2
mul r13
cmovo rax, r15
mov rcx, rax
call fcn.140065e80
mov rcx, rdi
mov rdi, rax
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x140065043
call fcn.140065f28
mov rax, rdi
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140065053
mov rdx, qword [rbx]
jmp 0x140065056
mov rdx, rbx
lea r8d, [rcx + 1]
mov dword [rsp + 0x20], r13d
mov r9, rax
mov ecx, 2
call qword [sym.imp.Normaliz.dll_IdnToNameprepUnicode]
xor r13d, r13d
test eax, eax
jne 0x140065089
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
mov r12b, r13b
jmp 0x140065195
mov r8, r15
inc r8
cmp word [rdi + r8*2], r13w
jne 0x14006508c
mov rdx, rdi
mov rcx, rbx
call fcn.1400030f0
cmp qword [rbx + 0x18], 8
jb 0x1400650ad
mov rax, qword [rbx]
jmp 0x1400650b0
mov rax, rbx
mov qword [rbp - 8], rax
cmp qword [rbx + 0x18], 8
jb 0x1400650be
mov rbx, qword [rbx]
mov rax, r15
inc rax
cmp word [rbx + rax*2], r13w
jne 0x1400650c1
mov dword [rbp], eax
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140065e80
mov rbx, rax
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x30]
mov r8, rax
xor edx, edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.WININET.dll_InternetCreateUrlW]
test eax, eax
jne 0x14006516e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14006515c
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140065e80
mov r13, rax
mov rcx, rbx
mov rbx, rax
mov qword [rsp + 0x40], rax
test rcx, rcx
je 0x140065141
call fcn.140065f28
lea r9, [rsp + 0x30]
mov r8, r13
xor edx, edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.WININET.dll_InternetCreateUrlW]
xor r13d, r13d
test eax, eax
jne 0x14006516e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
mov r12b, r13b
jmp 0x140065187
inc r15
cmp word [rbx + r15*2], r13w
jne 0x14006516e
mov r8, r15
mov rdx, rbx
mov rcx, r14
call fcn.1400030f0
nop
test rbx, rbx
je 0x140065195
mov rcx, rbx
call fcn.140065f28
nop
test rdi, rdi
je 0x1400651a3
mov rcx, rdi
call fcn.140065f28
nop
lea rcx, [rsp + 0x48]
call fcn.140018474
nop
lea rcx, [rsp + 0x60]
call fcn.140018474
nop
lea rcx, [rsp + 0x78]
call fcn.140018474
nop
lea rcx, [rbp - 0x68]
call fcn.140018474
nop
lea rcx, [rbp - 0x50]
call fcn.140018474
nop
lea rcx, [rbp - 0x38]
call fcn.140018474
nop
test rsi, rsi
je 0x1400651ef
mov rcx, rsi
call fcn.140065f28
mov al, r12b
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.140065760
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret