Function at 0x140060bd4
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 [0x1400ab2e8]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov rdi, rdx
mov r14, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x140060c11
mov rax, qword [rcx]
xor esi, esi
mov qword [rcx + 0x10], rsi
mov word [rax], si
lea r13, [rcx + 0x60]
mov rax, r13
cmp qword [r13 + 0x18], 8
jb 0x140060c2c
mov rax, qword [r13]
mov qword [r13 + 0x10], rsi
mov word [rax], si
mov dword [rcx + 0x80], esi
mov byte [rcx + 0x84], sil
add rcx, 0x20
cmp qword [r14 + 0x38], 8
jb 0x140060c4f
mov rcx, qword [r14 + 0x20]
mov qword [r14 + 0x30], rsi
mov word [rcx], si
lea r12, [r14 + 0x40]
mov rax, r12
cmp qword [r12 + 0x18], 8
jb 0x140060c69
mov rax, qword [r12]
mov qword [r12 + 0x10], rsi
mov word [rax], si
lea r15, [r14 + 0x88]
mov rax, r15
cmp qword [r15 + 0x18], 8
jb 0x140060c85
mov rax, qword [r15]
mov qword [r15 + 0x10], rsi
mov word [rax], si
mov word [r14 + 0xa8], si
lea rax, [r14 + 0xb0]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140060ca8
mov rcx, qword [rax]
mov qword [rax + 0x10], rsi
mov word [rcx], si
lea rax, [r14 + 0xd0]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140060cc3
mov rcx, qword [rax]
mov qword [rax + 0x10], rsi
mov word [rcx], si
lea rax, [r14 + 0xf0]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140060cde
mov rcx, qword [rax]
mov qword [rax + 0x10], rsi
mov word [rcx], si
mov dword [r14 + 0x130], esi
test rdi, rdi
jne 0x140060d03
mov dword [r14 + 0x130], 0x57
xor al, al
jmp 0x14006140b
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdx + rbx*2], si
jne 0x140060d07
test ebx, ebx
je 0x140060cf1
lea rdx, [0x1400921c0]
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 0x140060d3c
mov dword [r14 + 0x130], 0x2ee8
jmp 0x140060cfc
lea eax, [rbx + 0x20]
mov dword [rsp + 0x30], eax
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.1400615a8
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
nop dword [rax + rax]
test eax, eax
jne 0x140060dfb
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
jne 0x140060ddd
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140062310
mov rbx, rax
mov rcx, rsi
mov rsi, rax
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x140060dbf
call fcn.14006239c
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 0x140060dfb
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [r14 + 0x130], eax
xor r13d, r13d
mov r12b, r13b
jmp 0x1400613fb
mov edi, dword [rsp + 0x30]
inc edi
mov ebx, edi
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.14001bc28
nop
add rbx, rbx
mov r8, rbx
xor edx, edx
mov rcx, qword [rsp + 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, edi
lea rcx, [rbp + 0x40]
call fcn.14001bc28
nop
mov r8, rbx
xor edx, edx
mov rcx, qword [rbp + 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, edi
lea rcx, [rbp + 0x28]
call fcn.14001bc28
nop
mov r8, rbx
xor edx, edx
mov rcx, qword [rbp + 0x28]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, edi
lea rcx, [rbp + 0x10]
call fcn.14001bc28
nop
mov r8, rbx
xor edx, edx
mov rcx, qword [rbp + 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, edi
lea rcx, [rbp - 8]
call fcn.14001bc28
nop
mov r8, rbx
xor edx, edx
mov rcx, qword [rbp - 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, edi
lea rcx, [rbp - 0x20]
call fcn.14001bc28
nop
mov r8, rbx
xor edx, edx
mov rcx, qword [rbp - 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x70], 0x68
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], edi
mov rax, qword [rbp + 0x40]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], edi
mov rax, qword [rbp + 0x28]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], edi
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], edi
mov rax, qword [rbp - 8]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], edi
lea r9, [rsp + 0x70]
mov r8d, 0x90000000
mov edx, edi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
nop dword [rax + rax]
test eax, eax
jne 0x140060f2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [r14 + 0x130], eax
xor r13d, r13d
mov r12b, r13b
jmp 0x1400613be
mov edx, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcslwr_s]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call fcn.140003d68
mov eax, dword [rbp - 0x7c]
mov dword [r14 + 0x80], eax
mov rdx, qword [rbp + 0x40]
mov rcx, r15
call fcn.140003d68
movzx eax, word [rbp - 0x6c]
mov word [r14 + 0xa8], ax
mov rdx, qword [rbp + 0x28]
lea rcx, [r14 + 0x20]
call fcn.140003d68
mov rdx, qword [rbp + 0x10]
mov rcx, r12
call fcn.140003d68
mov rdx, qword [rbp - 8]
lea rbx, [r14 + 0xb0]
mov rcx, rbx
call fcn.140003d68
lea rcx, [r14 + 0x110]
mov rdx, qword [rbp - 0x20]
call fcn.140003d68
mov r12d, 1
mov eax, dword [rbp - 0x7c]
cmp eax, 3
jne 0x140060fd5
xor r13d, r13d
cmp word [r14 + 0xa8], r13w
jne 0x1400610ad
lea eax, [r12 + 0x4f]
jmp 0x140061109
cmp eax, 4
jne 0x140060ffc
mov byte [r14 + 0x84], r12b
xor r13d, r13d
cmp word [r14 + 0xa8], r13w
jne 0x1400610ad
mov eax, 0x1bb
jmp 0x140061109
or rcx, 0xffffffffffffffff
cmp eax, ecx
jne 0x1400610aa
mov rax, qword [r13 + 0x10]
mov r8, r13
cmp qword [r13 + 0x18], 8
jb 0x14006101a
mov r8, qword [r13]
mov ecx, 0x72
cmp rax, 4
jne 0x140061064
mov r11, rax
lea rdx, str.rtsp
movzx r9d, word [r8]
mov r10d, ecx
cmp r9w, cx
jb 0x140061064
sub r8, rdx
cmp r9w, r10w
ja 0x140061064
cmp r11, r12
je 0x1400610f7
sub r11, r12
add rdx, 2
movzx r9d, word [r8 + rdx]
movzx r10d, word [rdx]
cmp r9w, r10w
jae 0x140061043
cmp qword [r13 + 0x18], 8
jb 0x14006106f
mov r13, qword [r13]
cmp rax, 5
jne 0x1400610aa
lea rdx, str.rtsps
movzx r8d, word [r13]
cmp r8w, cx
jb 0x1400610aa
sub r13, rdx
cmp r8w, cx
ja 0x1400610aa
cmp rax, r12
je 0x140061113
sub rax, r12
add rdx, 2
movzx r8d, word [rdx + r13]
movzx ecx, word [rdx]
cmp r8w, cx
jae 0x14006108e
xor r13d, r13d
lea rdx, [0x140088bd8]
mov rcx, rbx
call fcn.140061458
mov rdi, rax
or rax, 0xffffffffffffffff
mov rcx, rbx
cmp rdi, rax
jne 0x140061131
lea rdx, [0x140084d5c]
call fcn.140061458
mov rdi, rax
or rax, 0xffffffffffffffff
cmp rdi, rax
jne 0x14006112e
mov rdx, rbx
lea rcx, [r14 + 0xd0]
call fcn.140035318
jmp 0x140061183
xor r13d, r13d
cmp word [r14 + 0xa8], r13w
jne 0x1400610ad
mov eax, 0x22a
mov word [r14 + 0xa8], ax
jmp 0x1400610ad
mov byte [r14 + 0x84], r12b
xor r13d, r13d
cmp word [r14 + 0xa8], r13w
jne 0x1400610ad
mov eax, reloc.OLEAUT32.dll_GetRecordInfoFromTypeInfo
jmp 0x140061109
mov rcx, rbx
mov r9, rax
lea r8, [rdi + 1]
lea rdx, [rbp + 0x58]
call fcn.14003d564
mov rdx, rax
lea rcx, [r14 + 0xd0]
call fcn.14001bcc0
lea rcx, [rbp + 0x58]
call fcn.140003cf8
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp + 0x58]
mov rcx, rbx
call fcn.14003d564
mov rdx, rax
lea rcx, [r14 + 0xf0]
call fcn.14001bcc0
lea rcx, [rbp + 0x58]
call fcn.140003cf8
mov ebx, 0x276
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.1400615a8
nop
mov r8d, dword [r14 + 0x98]
add r8d, r12d
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x1400611ac
mov rdx, qword [r15]
mov dword [rsp + 0x20], ebx
mov rdi, qword [rsp + 0x40]
mov r9, rdi
mov ecx, 2
call qword [sym.imp.Normaliz.dll_IdnToNameprepUnicode]
nop dword [rax + rax]
test eax, eax
jne 0x1400612a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [r14 + 0x130], eax
cmp eax, 0x7a
jne 0x14006129c
mov r8d, dword [r14 + 0x98]
add r8d, r12d
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140061204
mov rdx, qword [r15]
mov dword [rsp + 0x20], r13d
mov r9, rdi
mov ecx, 2
call qword [sym.imp.Normaliz.dll_IdnToNameprepUnicode]
nop dword [rax + rax]
movsxd rbx, eax
mov eax, 2
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140062310
mov r13, rax
mov rcx, rdi
mov rdi, rax
mov qword [rsp + 0x40], rax
test rcx, rcx
je 0x140061253
call fcn.14006239c
mov r8d, dword [r14 + 0x98]
add r8d, r12d
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x14006126a
mov rdx, qword [r15]
mov dword [rsp + 0x20], ebx
mov r9, r13
mov ecx, 2
call qword [sym.imp.Normaliz.dll_IdnToNameprepUnicode]
nop dword [rax + rax]
xor r13d, r13d
test eax, eax
jne 0x1400612a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [r14 + 0x130], eax
mov r12b, r13b
jmp 0x1400613b0
mov rdx, rdi
mov rcx, r15
call fcn.140003d68
cmp qword [r15 + 0x18], 8
jb 0x1400612c2
mov rax, qword [r15]
mov qword [rbp - 0x78], rax
mov r15, rax
jmp 0x1400612c6
mov qword [rbp - 0x78], r15
or r8, 0xffffffffffffffff
mov rax, r8
inc rax
cmp word [r15 + rax*2], r13w
jne 0x1400612cd
mov dword [rbp - 0x70], eax
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.140062310
mov r15, rax
mov rbx, rax
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x30]
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.WININET.dll_InternetCreateUrlW]
nop dword [rax + rax]
test eax, eax
jne 0x140061396
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
jne 0x140061433
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140062310
mov rbx, rax
mov qword [rsp + 0x48], rax
mov rcx, r15
call fcn.14006239c
lea r9, [rsp + 0x30]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.WININET.dll_InternetCreateUrlW]
nop dword [rax + rax]
test eax, eax
jne 0x140061393
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r15, rbx
jmp 0x140061440
mov r15, rbx
mov rdx, rbx
mov rcx, r14
call fcn.140003d68
nop
test r15, r15
je 0x1400613b0
mov rcx, rbx
call fcn.14006239c
nop
test rdi, rdi
je 0x1400613be
mov rcx, rdi
call fcn.14006239c
nop
lea rcx, [rbp - 0x20]
call fcn.14001bbbc
nop
lea rcx, [rbp - 8]
call fcn.14001bbbc
nop
lea rcx, [rbp + 0x10]
call fcn.14001bbbc
nop
lea rcx, [rbp + 0x28]
call fcn.14001bbbc
nop
lea rcx, [rbp + 0x40]
call fcn.14001bbbc
nop
lea rcx, [rsp + 0x50]
call fcn.14001bbbc
nop
test rsi, rsi
je 0x140061408
mov rcx, rsi
call fcn.14006239c
mov al, r12b
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.140061aa0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
nop
mov dword [r14 + 0x130], eax
mov r12b, r13b
jmp 0x1400613a2