Function at 0x14005f630
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 [0x1400bc288]
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 0x14005f679
test ebx, ebx
jne 0x14005f698
mov dword [rcx + 0x130], 0x57
xor al, al
jmp 0x14005fda3
lea rdx, [0x140093bf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
test rax, rax
jne 0x14005f6ba
mov dword [r14 + 0x130], 0x2ee8
jmp 0x14005f691
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.1400609a0
mov rbx, rax
test rax, rax
je 0x14005f6f5
mov r8, rsi
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x14005f6f8
mov rbx, r13
mov rsi, rbx
mov qword [rsp + 0x40], rbx
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
jne 0x14005f77b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14005f766
mov ecx, dword [rsp + 0x30]
mov rax, r12
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.1400609a0
mov rsi, rax
mov qword [rsp + 0x40], rax
test rbx, rbx
je 0x14005f74e
mov rcx, rbx
call fcn.140060998
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
jne 0x14005f77b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
mov r15b, r13b
jmp 0x14005fd93
mov edi, dword [rsp + 0x30]
inc edi
mov r15d, edi
mov edx, edi
lea rcx, [rbp + 0x48]
call fcn.14001741c
nop
lea rbx, [rdi + rdi]
mov r8, rbx
xor edx, edx
mov r12, qword [rbp + 0x48]
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, edi
lea rcx, [rbp + 0x30]
call fcn.14001741c
nop
mov r8, rbx
xor edx, edx
mov r13, qword [rbp + 0x30]
mov rcx, r13
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.14001741c
nop
mov r8, rbx
xor edx, edx
mov rcx, qword [rbp - 0x80]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.14001741c
nop
mov r8, rbx
xor edx, edx
mov rcx, qword [rsp + 0x68]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.14001741c
nop
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 + 0x10]
call fcn.14001741c
nop
mov r8, rbx
xor edx, edx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_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 0x14005f8a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
xor r13d, r13d
mov r15b, r13b
jmp 0x14005fd55
mov rdx, r15
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcslwr_s]
lea rdi, [r14 + 0x60]
mov rdx, r12
mov rcx, rdi
call fcn.1400033fc
mov eax, dword [rbp - 0x4c]
mov dword [r14 + 0x80], eax
lea rbx, [r14 + 0x88]
mov rdx, r13
mov rcx, rbx
call fcn.1400033fc
movzx eax, word [rbp - 0x3c]
mov word [r14 + 0xa8], ax
lea rcx, [r14 + 0x20]
mov rdx, qword [rbp - 0x80]
call fcn.1400033fc
lea rcx, [r14 + 0x40]
mov rdx, qword [rsp + 0x68]
call fcn.1400033fc
lea r13, [r14 + 0xb0]
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call fcn.1400033fc
lea rcx, [r14 + 0x110]
mov rdx, qword [rbp + 0x10]
call fcn.1400033fc
mov r15d, 1
mov ecx, dword [rbp - 0x4c]
cmp ecx, 3
jne 0x14005f949
xor eax, eax
cmp word [r14 + 0xa8], ax
jne 0x14005fa46
lea eax, [rcx + 0x4d]
jmp 0x14005fa3e
mov eax, 4
cmp ecx, eax
jne 0x14005f973
mov byte [r14 + 0x84], r15b
xor eax, eax
cmp word [r14 + 0xa8], ax
jne 0x14005fa46
mov eax, 0x1bb
jmp 0x14005fa3e
or rdx, 0xffffffffffffffff
cmp ecx, edx
jne 0x14005fa46
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005f98c
mov rcx, qword [rdi]
mov r10, qword [rdi + 0x10]
cmp r10, rax
jne 0x14005f9df
lea rdx, str.rtsp
movzx r8d, word [rcx]
movzx r9d, word [rdx]
cmp r8w, r9w
jne 0x14005f9bf
add rcx, 2
add rdx, 2
sub rax, r15
jne 0x14005f99c
xor r9d, r9d
mov eax, r9d
jmp 0x14005f9ca
sbb eax, eax
and eax, 0xfffffffe
add eax, r15d
xor r9d, r9d
test eax, eax
jne 0x14005f9e2
cmp word [r14 + 0xa8], r9w
jne 0x14005fa46
mov eax, 0x22a
jmp 0x14005fa3e
xor r9d, r9d
cmp qword [rdi + 0x18], 8
jb 0x14005f9ec
mov rdi, qword [rdi]
mov ecx, 5
cmp r10, rcx
jne 0x14005fa46
lea rax, str.rtsps
movzx edx, word [rdi]
movzx r8d, word [rax]
cmp dx, r8w
jne 0x14005fa1c
add rdi, 2
add rax, 2
sub rcx, r15
jne 0x14005f9fd
mov eax, r9d
jmp 0x14005fa24
sbb eax, eax
and eax, 0xfffffffe
add eax, r15d
test eax, eax
jne 0x14005fa46
mov byte [r14 + 0x84], r15b
cmp word [r14 + 0xa8], r9w
jne 0x14005fa46
mov eax, reloc.OLEAUT32.dll_GetRecordInfoFromTypeInfo
mov word [r14 + 0xa8], ax
lea rdx, [0x14008a6ec]
mov rcx, r13
call fcn.14005fdd0
mov qword [rsp + 0x38], rax
lea rdi, [r14 + 0xd0]
or rcx, 0xffffffffffffffff
cmp rax, rcx
jne 0x14005fa97
lea rdx, [0x14008645c]
mov rcx, r13
call fcn.14005fdd0
mov qword [rsp + 0x38], rax
or rcx, 0xffffffffffffffff
cmp rax, rcx
jne 0x14005fa97
mov rdx, r13
mov rcx, rdi
call fcn.140031fcc
jmp 0x14005fb41
mov r9, rcx
lea r8, [rax + 1]
lea rdx, [rbp + 0x60]
mov rcx, r13
call fcn.14003b9e4
cmp rdi, rax
mov r12, rax
je 0x14005fae1
mov rcx, rdi
call fcn.140003388
movups xmm0, xmmword [r12]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [r12 + 0x10]
movups xmmword [rdi + 0x10], xmm1
xor eax, eax
mov qword [r12 + 0x10], rax
mov qword [r12 + 0x18], 7
mov word [r12], ax
lea rcx, [rbp + 0x60]
call fcn.140003388
mov r9, qword [rsp + 0x38]
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, r13
call fcn.14003b9e4
lea r12, [r14 + 0xf0]
cmp r12, rax
mov rdi, rax
je 0x14005fb38
mov rcx, r12
call fcn.140003388
movups xmm0, xmmword [rdi]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [r12 + 0x10], xmm1
xor eax, eax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], ax
lea rcx, [rbp + 0x60]
call fcn.140003388
mov edi, 0x4ec
mov ecx, edi
call fcn.1400609a0
mov r12, rax
xor r13d, r13d
test rax, rax
je 0x14005fb67
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
jmp 0x14005fb6a
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 0x14005fb83
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]
test eax, eax
jne 0x14005fc56
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
cmp eax, 0x7a
jne 0x14005fc4e
mov rax, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005fbcc
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]
movsxd r13, eax
mov eax, edi
mul r13
lea rdx, [rdi - 3]
cmovo rax, rdx
mov rcx, rax
call fcn.1400609a0
mov rdi, rax
mov qword [rsp + 0x38], rax
test r12, r12
je 0x14005fc12
mov rcx, r12
call fcn.140060998
mov rax, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005fc23
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]
xor r13d, r13d
test eax, eax
jne 0x14005fc56
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
mov r15b, r13b
jmp 0x14005fd47
mov rdx, rdi
mov rcx, rbx
call fcn.1400033fc
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005fc6e
mov rax, qword [rbx]
mov qword [rbp - 0x48], rax
cmp qword [rbx + 0x18], 8
jb 0x14005fc7c
mov rbx, qword [rbx]
or r12, 0xffffffffffffffff
mov rax, r12
inc rax
cmp word [rbx + rax*2], r13w
jne 0x14005fc83
mov dword [rbp - 0x40], eax
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1400609a0
mov rbx, rax
mov qword [rsp + 0x48], 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 0x14005fd2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14005fd1b
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1400609a0
mov r12, rax
mov rcx, rbx
mov rbx, rax
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x14005fd03
call fcn.140060998
lea r9, [rsp + 0x30]
mov r8, r12
xor edx, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.WININET.dll_InternetCreateUrlW]
test eax, eax
jne 0x14005fd2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x130], eax
mov r15b, r13b
jmp 0x14005fd39
mov rdx, rbx
mov rcx, r14
call fcn.1400033fc
nop
test rbx, rbx
je 0x14005fd47
mov rcx, rbx
call fcn.140060998
nop
test rdi, rdi
je 0x14005fd55
mov rcx, rdi
call fcn.140060998
nop
lea rcx, [rbp + 0x10]
call fcn.1400174fc
nop
lea rcx, [rsp + 0x50]
call fcn.1400174fc
nop
lea rcx, [rsp + 0x68]
call fcn.1400174fc
nop
lea rcx, [rbp - 0x80]
call fcn.1400174fc
nop
lea rcx, [rbp + 0x30]
call fcn.1400174fc
nop
lea rcx, [rbp + 0x48]
call fcn.1400174fc
nop
test rsi, rsi
je 0x14005fda0
mov rcx, rsi
call fcn.140060998
mov al, r15b
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140060290
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret