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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x180032037
test r9, r9
je 0x180031df4
cmp qword [r9], 0
je 0x180031df4
lea rax, str._error__NULL____error__NULL_
lea r9, [0x1800f04d8]
mov qword [rsp + 0x20], rax
lea r8, str._s:_assertion__s_failed
mov edx, 8
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
xor eax, eax
jmp 0x180031e68
test byte [rcx + 0x60], 8
je 0x18003202b
mov qword [rsp + 0x40], rbp
xor ebp, ebp
test rsi, rsi
je 0x180031e0d
mov qword [rdx], rbp
test r14, r14
je 0x180031e15
mov qword [r8], rbp
test byte [rcx + 0x60], 1
jne 0x180031e80
call fcn.18002a6c0
call fcn.18002aa30
test eax, eax
jne 0x180031e32
lea rbx, str.Cant_do_a_raw_read_in_g_io_channel_read_to_end
jmp 0x180031e49
lea rdx, str.Cant_do_a_raw_read_in_g_io_channel_read_to_end
lea rcx, str.glib20
call qword [sym.imp.intl.dll_libintl_dgettext]
mov rbx, rax
call sym.glib_2.0.dll_g_convert_error_quark
mov edx, eax
mov r9, rbx
mov r8d, 2
mov rcx, rdi
call sym.glib_2.0.dll_g_set_error_literal
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov rdx, rdi
mov rcx, rbx
call fcn.180030e00
cmp eax, 1
je 0x180031e80
cmp eax, 2
jne 0x180031e63
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x40]
test rax, rax
je 0x180031ef1
cmp qword [rcx + 8], rbp
jbe 0x180031eeb
call fcn.18002a6c0
call fcn.18002aa30
test eax, eax
jne 0x180031ebf
lea rbx, str.Channel_terminates_in_a_partial_character
jmp 0x180031ed6
lea rdx, str.Channel_terminates_in_a_partial_character
lea rcx, str.glib20
call qword [sym.imp.intl.dll_libintl_dgettext]
mov rbx, rax
call sym.glib_2.0.dll_g_convert_error_quark
mov edx, eax
mov r9, rbx
mov r8d, 3
jmp 0x180031e59
mov rdx, qword [rbx + 0x48]
jmp 0x180031ef4
mov rdx, rcx
test rdx, rdx
jne 0x180031f58
test rsi, rsi
je 0x180032021
lea ecx, [rdx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
jne 0x180031f42
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:105
mov qword [rsp + 0x20], 1
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 0x180031f40
movzx eax, byte [0x1800eaba1]
mov byte [rcx], al
mov eax, 1
mov qword [rsi], rcx
jmp 0x180031e63
test r14, r14
je 0x180031f71
test rax, rax
je 0x180031f66
mov rcx, qword [rbx + 0x48]
mov rax, qword [rcx + 8]
mov qword [r14], rax
mov rax, qword [rbx + 0x10]
test rsi, rsi
je 0x180031fbe
test rax, rax
je 0x180031f81
mov rdx, qword [rbx + 0x48]
jmp 0x180031f85
mov rdx, qword [rbx + 0x40]
test rdx, rdx
je 0x180031f9c
mov rdi, qword [rdx]
mov ecx, 0x18
call sym.glib_2.0.dll_g_slice_free1
mov qword [rsi], rdi
jmp 0x180032009
lea r8, str.string___NULL
lea rdx, [0x1800f83a8]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_return_if_fail_warning
mov rdi, rbp
mov qword [rsi], rbp
jmp 0x180032009
test rax, rax
je 0x180031fc9
mov rdi, qword [rbx + 0x48]
jmp 0x180031fcd
mov rdi, qword [rbx + 0x40]
test rdi, rdi
je 0x180031fef
mov rcx, qword [rdi]
test rcx, rcx
je 0x180031fe0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, rdi
mov ecx, 0x18
call sym.glib_2.0.dll_g_slice_free1
jmp 0x180032009
lea r8, str.string___NULL
lea rdx, [0x1800f83a8]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_return_if_fail_warning
cmp qword [rbx + 0x10], rbp
je 0x18003201d
mov qword [rbx + 0x48], rbp
mov eax, 1
jmp 0x180031e63
mov qword [rbx + 0x40], rbp
mov eax, 1
jmp 0x180031e63
lea rax, str.channel__is_readable
jmp 0x180031dcc
lea rax, str.channel___NULL
jmp 0x180031dcc