Function at 0x140060b64
Capabilities:
Parse url

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x190
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400bc178]
xor rax, rsp
mov qword [rbp + 0x80], 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 0x140060bad
test ebx, ebx
jne 0x140060bcc
mov dword [rcx + 0x130], 0x57
xor al, al
jmp 0x140061293
lea rdx, [0x140094cc0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
test rax, rax
jne 0x140060bee
mov dword [r14 + 0x130], 0x2ee8
jmp 0x140060bc5
lea eax, [rbx + 0x20]
mov dword [rsp + 0x30], eax
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140061384
nop
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
jne 0x140060c87
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140060c72
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140061cf4
mov rbx, rax
mov rcx, rsi
mov rsi, rax
mov qword [rsp + 0x40], rax
test rcx, rcx
je 0x140060c5a
call fcn.140061bc8
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
jne 0x140060c87
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
mov r12b, r13b
jmp 0x140061283
mov edi, dword [rsp + 0x30]
inc edi
mov edx, edi
lea rcx, [rbp + 0x48]
call fcn.140019044
nop
lea rbx, [rdi*2]
mov r8, rbx
xor edx, edx
mov r12, qword [rbp + 0x48]
mov rcx, r12
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov edx, edi
lea rcx, [rbp + 0x30]
call fcn.140019044
nop
mov r8, rbx
xor edx, edx
mov r13, qword [rbp + 0x30]
mov rcx, r13
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.140019044
nop
mov r8, rbx
xor edx, edx
mov rcx, qword [rbp - 0x80]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.140019044
nop
mov r8, rbx
xor edx, edx
mov rcx, qword [rsp + 0x68]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140019044
nop
mov r8, rbx
xor edx, edx
mov rcx, qword [rsp + 0x50]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov edx, edi
lea rcx, [rbp + 0x10]
call fcn.140019044
nop
mov r8, rbx
xor edx, edx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov dword [rbp - 0x60], 0x68
mov qword [rbp - 0x58], r12
mov dword [rbp - 0x50], edi
mov qword [rbp - 0x48], r13
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], edi
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], edi
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], edi
mov qword [rbp - 8], rbx
mov dword [rbp], edi
lea r9, [rbp - 0x60]
mov r8d, 0x90000000
mov edx, edi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x140060dae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
xor r13d, r13d
mov r12b, r13b
jmp 0x140061245
mov edx, edi
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcslwr_s]
xor edi, edi
cmp word [r12], di
jne 0x140060dc7
mov r8d, edi
jmp 0x140060dd4
mov r8, r15
inc r8
cmp word [r12 + r8*2], di
jne 0x140060dca
lea rcx, [r14 + 0x60]
mov rdx, r12
call fcn.140003394
mov eax, dword [rbp - 0x4c]
mov dword [r14 + 0x80], eax
cmp word [r13], di
jne 0x140060df6
mov r8, rdi
jmp 0x140060e04
mov r8, r15
inc r8
cmp word [r13 + r8*2], di
jne 0x140060df9
lea rbx, [r14 + 0x88]
mov rdx, r13
mov rcx, rbx
call fcn.140003394
movzx eax, word [rbp - 0x3c]
mov word [r14 + 0xa8], ax
mov rax, qword [rbp - 0x80]
cmp word [rax], di
jne 0x140060e30
mov r8, rdi
jmp 0x140060e3d
mov r8, r15
inc r8
cmp word [rax + r8*2], di
jne 0x140060e33
lea rcx, [r14 + 0x20]
mov rdx, rax
call fcn.140003394
mov rax, qword [rsp + 0x68]
cmp word [rax], di
jne 0x140060e58
mov r8, rdi
jmp 0x140060e65
mov r8, r15
inc r8
cmp word [rax + r8*2], di
jne 0x140060e5b
lea rcx, [r14 + 0x40]
mov rdx, rax
call fcn.140003394
mov rax, qword [rsp + 0x50]
cmp word [rax], di
jne 0x140060e80
mov r8, rdi
jmp 0x140060e8d
mov r8, r15
inc r8
cmp word [rax + r8*2], di
jne 0x140060e83
lea rdi, [r14 + 0xb0]
mov rdx, rax
mov rcx, rdi
call fcn.140003394
mov rax, qword [rbp + 0x10]
xor r13d, r13d
cmp word [rax], r13w
jne 0x140060eb1
mov r8d, r13d
jmp 0x140060ebe
mov r8, r15
inc r8
cmp word [rax + r8*2], r13w
jne 0x140060eb4
lea rcx, [r14 + 0x110]
mov rdx, rax
call fcn.140003394
mov r12b, 1
mov eax, dword [rbp - 0x4c]
cmp eax, 3
jne 0x140060eed
cmp word [r14 + 0xa8], r13w
jne 0x140060f6a
mov eax, 0x50
jmp 0x140060f62
cmp eax, 4
jne 0x140060f0a
mov byte [r14 + 0x84], r12b
cmp word [r14 + 0xa8], r13w
jne 0x140060f6a
mov eax, 0x1bb
jmp 0x140060f62
cmp eax, r15d
jne 0x140060f6a
lea rdx, str.rtsp
lea rcx, [r14 + 0x60]
call fcn.14003b0b8
xor edx, edx
test eax, eax
jne 0x140060f36
cmp word [r14 + 0xa8], dx
jne 0x140060f6a
mov eax, 0x22a
jmp 0x140060f62
lea rdx, str.rtsps
lea rcx, [r14 + 0x60]
call fcn.14003b0b8
xor ecx, ecx
test eax, eax
jne 0x140060f6a
mov byte [r14 + 0x84], r12b
cmp word [r14 + 0xa8], cx
jne 0x140060f6a
mov eax, reloc.OLEAUT32.dll_GetRecordInfoFromTypeInfo
mov word [r14 + 0xa8], ax
lea rdx, [0x14008bb80]
mov rcx, rdi
call fcn.1400612c4
mov r13, rax
mov rcx, rdi
cmp rax, r15
jne 0x140060fb7
lea rdx, [0x140087f1c]
call fcn.1400612c4
mov r13, rax
cmp rax, r15
jne 0x140060fb4
lea rcx, [r14 + 0xd0]
cmp rcx, rdi
je 0x140061015
mov r9, r15
xor r8d, r8d
mov rdx, rdi
call fcn.1400034b4
jmp 0x140061015
mov rcx, rdi
mov r9, r15
lea r8, [rax + 1]
lea rdx, [rbp + 0x60]
call fcn.14003c3ec
mov rdx, rax
lea rcx, [r14 + 0xd0]
call fcn.1400190e0
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp + 0x60]
call fcn.14000328c
mov r9, r13
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, rdi
call fcn.14003c3ec
mov rdx, rax
lea rcx, [r14 + 0xf0]
call fcn.1400190e0
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp + 0x60]
call fcn.14000328c
mov edi, 0x276
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140061384
nop
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140061037
mov rdx, qword [rbx]
jmp 0x14006103a
mov rdx, rbx
lea r8d, [rax + 1]
mov dword [rsp + 0x20], edi
mov rdi, qword [rsp + 0x48]
mov r9, rdi
mov ecx, 2
call qword [sym.imp.Normaliz.dll_IdnToNameprepUnicode]
xor r13d, r13d
test eax, eax
jne 0x140061115
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
cmp eax, 0x7a
jne 0x14006110d
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140061086
mov rdx, qword [rbx]
jmp 0x140061089
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.140061cf4
mov rcx, rdi
mov rdi, rax
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x1400610cf
call fcn.140061bc8
mov rax, rdi
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x1400610df
mov rdx, qword [rbx]
jmp 0x1400610e2
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 0x140061115
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
mov r12b, r13b
jmp 0x140061237
cmp word [rdi], r13w
jne 0x140061120
mov r8, r13
jmp 0x14006112d
mov r8, r15
inc r8
cmp word [rdi + r8*2], r13w
jne 0x140061123
mov rdx, rdi
mov rcx, rbx
call fcn.140003394
cmp qword [rbx + 0x18], 8
jb 0x140061144
mov rax, qword [rbx]
jmp 0x140061147
mov rax, rbx
mov qword [rbp - 0x48], rax
cmp qword [rbx + 0x18], 8
jb 0x140061155
mov rbx, qword [rbx]
mov rax, r15
inc rax
cmp word [rbx + rax*2], r13w
jne 0x140061158
mov dword [rbp - 0x40], eax
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140061cf4
mov rbx, rax
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x30]
mov r8, rax
xor edx, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.WININET.dll_InternetCreateUrlW]
test eax, eax
jne 0x140061205
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400611f3
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140061cf4
mov r13, rax
mov rcx, rbx
mov rbx, rax
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x1400611d8
call fcn.140061bc8
lea r9, [rsp + 0x30]
mov r8, r13
xor edx, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.WININET.dll_InternetCreateUrlW]
xor r13d, r13d
test eax, eax
jne 0x140061205
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
mov r12b, r13b
jmp 0x140061229
cmp word [rbx], r13w
jne 0x140061210
mov r15, r13
jmp 0x14006121a
inc r15
cmp word [rbx + r15*2], r13w
jne 0x140061210
mov r8, r15
mov rdx, rbx
mov rcx, r14
call fcn.140003394
nop
test rbx, rbx
je 0x140061237
mov rcx, rbx
call fcn.140061bc8
nop
test rdi, rdi
je 0x140061245
mov rcx, rdi
call fcn.140061bc8
nop
lea rcx, [rbp + 0x10]
call fcn.140019004
nop
lea rcx, [rsp + 0x50]
call fcn.140019004
nop
lea rcx, [rsp + 0x68]
call fcn.140019004
nop
lea rcx, [rbp - 0x80]
call fcn.140019004
nop
lea rcx, [rbp + 0x30]
call fcn.140019004
nop
lea rcx, [rbp + 0x48]
call fcn.140019004
nop
test rsi, rsi
je 0x140061290
mov rcx, rsi
call fcn.140061bc8
mov al, r12b
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140061880
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret