Function at 0x140060bf4
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 0x140060c31
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 0x140060c4c
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 0x140060c6f
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 0x140060c89
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 0x140060ca5
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 0x140060cc8
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 0x140060ce3
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 0x140060cfe
mov rcx, qword [rax]
mov qword [rax + 0x10], rsi
mov word [rcx], si
mov dword [r14 + 0x130], esi
test rdi, rdi
jne 0x140060d23
mov dword [r14 + 0x130], 0x57
xor al, al
jmp 0x14006142b
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdx + rbx*2], si
jne 0x140060d27
test ebx, ebx
je 0x140060d11
lea rdx, [0x1400921f0]
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 0x140060d5c
mov dword [r14 + 0x130], 0x2ee8
jmp 0x140060d1c
lea eax, [rbx + 0x20]
mov dword [rsp + 0x30], eax
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.1400615c8
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 0x140060e1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
jne 0x140060dfd
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140062330
mov rbx, rax
mov rcx, rsi
mov rsi, rax
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x140060ddf
call fcn.1400623bc
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 0x140060e1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [r14 + 0x130], eax
xor r13d, r13d
mov r12b, r13b
jmp 0x14006141b
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 0x140060f4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [r14 + 0x130], eax
xor r13d, r13d
mov r12b, r13b
jmp 0x1400613de
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 0x140060ff5
xor r13d, r13d
cmp word [r14 + 0xa8], r13w
jne 0x1400610cd
lea eax, [r12 + 0x4f]
jmp 0x140061129
cmp eax, 4
jne 0x14006101c
mov byte [r14 + 0x84], r12b
xor r13d, r13d
cmp word [r14 + 0xa8], r13w
jne 0x1400610cd
mov eax, 0x1bb
jmp 0x140061129
or rcx, 0xffffffffffffffff
cmp eax, ecx
jne 0x1400610ca
mov rax, qword [r13 + 0x10]
mov r8, r13
cmp qword [r13 + 0x18], 8
jb 0x14006103a
mov r8, qword [r13]
mov ecx, 0x72
cmp rax, 4
jne 0x140061084
mov r11, rax
lea rdx, str.rtsp
movzx r9d, word [r8]
mov r10d, ecx
cmp r9w, cx
jb 0x140061084
sub r8, rdx
cmp r9w, r10w
ja 0x140061084
cmp r11, r12
je 0x140061117
sub r11, r12
add rdx, 2
movzx r9d, word [r8 + rdx]
movzx r10d, word [rdx]
cmp r9w, r10w
jae 0x140061063
cmp qword [r13 + 0x18], 8
jb 0x14006108f
mov r13, qword [r13]
cmp rax, 5
jne 0x1400610ca
lea rdx, str.rtsps
movzx r8d, word [r13]
cmp r8w, cx
jb 0x1400610ca
sub r13, rdx
cmp r8w, cx
ja 0x1400610ca
cmp rax, r12
je 0x140061133
sub rax, r12
add rdx, 2
movzx r8d, word [rdx + r13]
movzx ecx, word [rdx]
cmp r8w, cx
jae 0x1400610ae
xor r13d, r13d
lea rdx, [0x140088c08]
mov rcx, rbx
call fcn.140061478
mov rdi, rax
or rax, 0xffffffffffffffff
mov rcx, rbx
cmp rdi, rax
jne 0x140061151
lea rdx, [0x140084d5c]
call fcn.140061478
mov rdi, rax
or rax, 0xffffffffffffffff
cmp rdi, rax
jne 0x14006114e
mov rdx, rbx
lea rcx, [r14 + 0xd0]
call fcn.140035318
jmp 0x1400611a3
xor r13d, r13d
cmp word [r14 + 0xa8], r13w
jne 0x1400610cd
mov eax, 0x22a
mov word [r14 + 0xa8], ax
jmp 0x1400610cd
mov byte [r14 + 0x84], r12b
xor r13d, r13d
cmp word [r14 + 0xa8], r13w
jne 0x1400610cd
mov eax, reloc.OLEAUT32.dll_GetRecordInfoFromTypeInfo
jmp 0x140061129
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.1400615c8
nop
mov r8d, dword [r14 + 0x98]
add r8d, r12d
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x1400611cc
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 0x1400612c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [r14 + 0x130], eax
cmp eax, 0x7a
jne 0x1400612bc
mov r8d, dword [r14 + 0x98]
add r8d, r12d
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140061224
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.140062330
mov r13, rax
mov rcx, rdi
mov rdi, rax
mov qword [rsp + 0x40], rax
test rcx, rcx
je 0x140061273
call fcn.1400623bc
mov r8d, dword [r14 + 0x98]
add r8d, r12d
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x14006128a
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 0x1400612c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [r14 + 0x130], eax
mov r12b, r13b
jmp 0x1400613d0
mov rdx, rdi
mov rcx, r15
call fcn.140003d68
cmp qword [r15 + 0x18], 8
jb 0x1400612e2
mov rax, qword [r15]
mov qword [rbp - 0x78], rax
mov r15, rax
jmp 0x1400612e6
mov qword [rbp - 0x78], r15
or r8, 0xffffffffffffffff
mov rax, r8
inc rax
cmp word [r15 + rax*2], r13w
jne 0x1400612ed
mov dword [rbp - 0x70], eax
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.140062330
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 0x1400613b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
jne 0x140061453
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140062330
mov rbx, rax
mov qword [rsp + 0x48], rax
mov rcx, r15
call fcn.1400623bc
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 0x1400613b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r15, rbx
jmp 0x140061460
mov r15, rbx
mov rdx, rbx
mov rcx, r14
call fcn.140003d68
nop
test r15, r15
je 0x1400613d0
mov rcx, rbx
call fcn.1400623bc
nop
test rdi, rdi
je 0x1400613de
mov rcx, rdi
call fcn.1400623bc
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 0x140061428
mov rcx, rsi
call fcn.1400623bc
mov al, r12b
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.140061ac0
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 0x1400613c2