Function at 0x180008310
Capabilities:
Reference absolute stream path on windows

Disassembly:
push r14
push r15
sub rsp, 0xa8
mov rax, qword [0x18011c010]
xor rax, rsp
mov qword [rsp + 0x88], rax
cmp qword [rcx + 0x10], 0
mov r14, rcx
mov qword [rsp + 0x60], rcx
jne 0x180008343
xor eax, eax
jmp 0x1800087b4
mov qword [rsp + 0xc8], rbx
mov ecx, 0x18
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x98], r12
call sym.glib_2.0.dll_g_slice_alloc
xor r15d, r15d
mov edx, 0x400
mov rcx, rax
mov rdi, rax
mov qword [rax + 0x10], r15
mov qword [rax + 8], r15
mov qword [rax], r15
call fcn.180064fd0
mov rax, qword [rdi]
lea r8, str._______metadata_owner_http:__freedesktop.org___n
mov r9, 0xffffffffffffffff
mov rcx, rdi
mov rdx, r9
mov byte [rax], r15b
call sym.glib_2.0.dll_g_string_insert_len
mov rdx, qword [r14]
lea r12, str.____n
test rdx, rdx
je 0x1800083e9
xor r9d, r9d
lea rcx, str._________mime:mime_type_type_
mov r8, r12
call sym.glib_2.0.dll_g_strconcat
mov r9, 0xffffffffffffffff
mov r8, rax
mov rdx, r9
mov rcx, rdi
mov rbx, rax
call sym.glib_2.0.dll_g_string_insert_len
test rbx, rbx
je 0x1800083e9
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xd8], rsi
cmp qword [r14 + 8], r15
je 0x1800084d1
mov r9, 0xffffffffffffffff
lea r8, str._________bookmark:groups__n
mov rdx, r9
mov rcx, rdi
call sym.glib_2.0.dll_g_string_insert_len
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x1800084b8
mov rax, qword [rbx + 8]
test rax, rax
je 0x18000843e
mov rbx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x180008432
test rbx, rbx
je 0x1800084b8
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx]
mov rdx, 0xffffffffffffffff
call sym.glib_2.0.dll_g_markup_escape_text
xor r9d, r9d
lea r8, str.__bookmark:group__n
mov rdx, rax
lea rcx, str.___________bookmark:group_
mov rsi, rax
call sym.glib_2.0.dll_g_strconcat
mov r9, 0xffffffffffffffff
mov r8, rax
mov rdx, r9
mov rcx, rdi
mov rbp, rax
call sym.glib_2.0.dll_g_string_insert_len
test rbp, rbp
je 0x1800084a1
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rsi, rsi
je 0x1800084af
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x180008450
mov r9, 0xffffffffffffffff
lea r8, str.__________bookmark:groups__n
mov rdx, r9
mov rcx, rdi
call sym.glib_2.0.dll_g_string_insert_len
cmp qword [r14 + 0x10], r15
je 0x18000865e
mov r9, 0xffffffffffffffff
lea r8, str._________bookmark:applications__n
mov rdx, r9
mov rcx, rdi
call sym.glib_2.0.dll_g_string_insert_len
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x180008645
mov rax, qword [rbx + 8]
test rax, rax
je 0x18000851c
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x180008510
test rbx, rbx
je 0x180008645
mov qword [rsp + 0x90], r13
lea r14, str.app_info___NULL
lea r13, [0x1800f4334]
lea rbp, str._runtime_check_failed:__
lea r12, [0x1800eb598]
nop dword [rax]
mov rsi, qword [rbx]
test rsi, rsi
jne 0x1800085f3
mov r9d, 0x1bc
lea r8, [0x1800f1604]
lea edx, [rsi + 0x20]
lea rcx, [rsp + 0x68]
call sym.glib_2.0.dll_g_snprintf
mov qword [rsp + 0x50], r15
lea rax, str.bookmark_metadata_dump
mov qword [rsp + 0x48], r13
lea r9, [rsp + 0x68]
mov qword [rsp + 0x40], r14
lea rdx, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgbookmarkfile.c
mov qword [rsp + 0x38], rbp
lea rcx, [0x1800f4358]
mov qword [rsp + 0x30], r12
mov r8, r12
mov qword [rsp + 0x28], rax
lea rax, [0x1800f4354]
mov qword [rsp + 0x20], rax
call sym.glib_2.0.dll_g_strconcat
mov r9, rax
lea r8, [0x18009d028]
lea edx, [rsi + 0x10]
mov rbp, rax
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
test rbp, rbp
je 0x1800085ec
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rbp, str._runtime_check_failed:__
mov rcx, rsi
call fcn.180008050
mov rsi, rax
test rax, rax
je 0x180008624
mov r9, 0xffffffffffffffff
mov r8, rax
mov rdx, r9
mov rcx, rdi
call sym.glib_2.0.dll_g_string_insert_len
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x180008550
mov r14, qword [rsp + 0x60]
lea r12, str.____n
mov r13, qword [rsp + 0x90]
mov r9, 0xffffffffffffffff
lea r8, str.__________bookmark:applications__n
mov rdx, r9
mov rcx, rdi
call sym.glib_2.0.dll_g_string_insert_len
mov rdx, qword [r14 + 0x20]
mov rsi, qword [rsp + 0xd8]
mov rbp, qword [rsp + 0xd0]
test rdx, rdx
je 0x18000872f
mov r9, qword [r14 + 0x28]
test r9, r9
jne 0x1800086ec
lea ecx, [r9 + 0x19]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
test rax, rax
jne 0x1800086c2
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:105
mov qword [rsp + 0x20], 0x19
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
nop dword [rax]
jmp 0x1800086c0
movups xmm0, xmmword [str.application_octet_stream]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1800ea378]
movsd qword [rax + 0x10], xmm1
movzx eax, byte [0x1800ea380]
mov byte [r9 + 0x18], al
mov rdx, qword [r14 + 0x20]
mov qword [r14 + 0x28], r9
mov qword [rsp + 0x28], r15
lea r8, str.__type_
lea rcx, str.________bookmark:icon_href_
mov qword [rsp + 0x20], r12
call sym.glib_2.0.dll_g_strconcat
mov r9, 0xffffffffffffffff
mov r8, rax
mov rdx, r9
mov rcx, rdi
mov rbx, rax
call sym.glib_2.0.dll_g_string_insert_len
test rbx, rbx
je 0x18000872f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test byte [r14 + 0x30], 1
mov r12, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xc8]
je 0x18000875f
mov r9, 0xffffffffffffffff
lea r8, str._________bookmark:private___n
mov rdx, r9
mov rcx, rdi
call sym.glib_2.0.dll_g_string_insert_len
mov r9, 0xffffffffffffffff
lea r8, str.________metadata__n
mov rdx, r9
mov rcx, rdi
call sym.glib_2.0.dll_g_string_insert_len
test rdi, rdi
je 0x18000878f
mov r15, qword [rdi]
mov rdx, rdi
mov ecx, 0x18
call sym.glib_2.0.dll_g_slice_free1
jmp 0x1800087a9
lea r8, str.string___NULL
lea rdx, [0x1800f83a8]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_return_if_fail_warning
mov rdi, qword [rsp + 0xa0]
mov rax, r15
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1800989b0
add rsp, 0xa8
pop r15
pop r14
ret