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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push r12
push r13
sub rsp, 0x60
xor esi, esi
xor r12d, r12d
mov rbx, r8
mov r13, rdx
cmp r8, 0xffffffffffffffff
je 0x18001958d
mov qword [rax + 0x10], rdi
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
test rdx, rdx
jns 0x18001918a
mov r13, 0xffffffffffffffff
nop word [rax + rax]
inc r13
cmp byte [r13 + rcx], sil
jne 0x180019180
lea r15, [r13 + 4]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], r13
lea rax, [r15 - 4]
mov qword [rsp + 0x38], rax
test r15, r15
je 0x1800191e2
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1800191e4
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:105
mov qword [rsp + 0x20], r15
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 0x1800191e0
xor edi, edi
mov r14, qword [rsp + 0xb8]
mov qword [rsp + 0x30], rdi
test esi, esi
jne 0x1800194c2
mov rcx, qword [rbx]
lea rdx, [rsp + 0x38]
mov rax, qword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
test r12d, r12d
je 0x18001921d
xor edx, edx
jmp 0x180019222
lea rdx, [rsp + 0x48]
call qword [case.0x180005f92.0]
mov rbp, rax
mov rax, qword [rbx + 0x18]
call qword [case.0x180005f92.0]
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rbx]
mov dword [rax], ecx
cmp rbp, 0xffffffffffffffff
jne 0x1800193e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
cmp ecx, 7
je 0x180019369
cmp ecx, 0x16
je 0x1800194c2
cmp ecx, 0x2a
je 0x1800192da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call fcn.18002a6c0
call fcn.18002aa30
test eax, eax
jne 0x18001928a
lea rsi, str.Error_during_conversion:__s
jmp 0x1800192a1
lea rdx, str.Error_during_conversion:__s
lea rcx, str.glib20
call qword [sym.imp.intl.dll_libintl_dgettext]
mov rsi, rax
mov ecx, ebx
call sym.glib_2.0.dll_g_strerror
mov rbx, rax
call sym.glib_2.0.dll_g_convert_error_quark
mov edx, eax
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov r8d, 2
mov rcx, r14
call sym.glib_2.0.dll_g_set_error
mov rbx, qword [rsp + 0xa0]
mov esi, 1
jmp 0x1800191f1
call fcn.18002a6c0
call fcn.18002aa30
test eax, eax
jne 0x1800192f1
lea rbx, str.Invalid_byte_sequence_in_conversion_input
jmp 0x180019308
lea rdx, str.Invalid_byte_sequence_in_conversion_input
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
test r14, r14
je 0x180019357
cmp qword [r14], 0
jne 0x18001933c
mov r8, rbx
mov edx, 1
mov ecx, eax
call sym.glib_2.0.dll_g_error_new_literal
mov rbx, qword [rsp + 0xa0]
mov esi, 1
mov qword [r14], rax
jmp 0x1800191f1
mov r9, rbx
lea r8, str.GError_set_over_the_top_of_a_previous_GError_or_uninitialized_memory._nThis_indicates_a_bug_in_someones_code._You_must_ensure_an_error_is_NULL_before_its_set._nThe_overwriting_error_message_was:__s
mov edx, reloc.WS2_32.dll_recv
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
mov rbx, qword [rsp + 0xa0]
mov esi, 1
jmp 0x1800191f1
mov rbx, qword [rsp + 0x30]
sub rbx, rdi
add r15, r15
je 0x1800193b2
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rdi, rax
test rax, rax
jne 0x1800193c2
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:170
mov qword [rsp + 0x20], r15
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 0x1800193b0
test rdi, rdi
je 0x1800193c0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor edi, edi
lea rax, [rbx + rdi]
mov qword [rsp + 0x30], rax
mov rax, r15
sub rax, rbx
mov rbx, qword [rsp + 0xa0]
sub rax, 4
mov qword [rsp + 0x38], rax
jmp 0x1800191f1
test rbp, rbp
je 0x1800194a1
call fcn.18002a6c0
call fcn.18002aa30
test eax, eax
jne 0x180019407
lea rsi, str.Unrepresentable_character_in_conversion_input
jmp 0x18001941e
lea rdx, str.Unrepresentable_character_in_conversion_input
lea rcx, str.glib20
call qword [sym.imp.intl.dll_libintl_dgettext]
mov rsi, rax
mov ebx, dword [0x18011e7ac]
test ebx, ebx
jne 0x180019466
mov rax, qword [0x18011ef58]
lea rcx, [0x18011ead0]
call qword [case.0x180005f92.0]
xor edx, edx
lea rcx, str.g_convert_error
call fcn.1800502e0
mov ebx, eax
lea rcx, [0x18011ead0]
mov rax, qword [0x18011ef68]
call qword [case.0x180005f92.0]
mov dword [0x18011e7ac], ebx
test r14, r14
je 0x180019357
cmp qword [r14], 0
jne 0x180019499
mov r8, rsi
mov edx, 1
mov ecx, ebx
call sym.glib_2.0.dll_g_error_new_literal
mov rbx, qword [rsp + 0xa0]
mov esi, 1
mov qword [r14], rax
jmp 0x1800191f1
mov r9, rsi
jmp 0x18001933f
test r12d, r12d
jne 0x1800194c2
mov rbx, qword [rsp + 0xa0]
mov r12d, 1
mov qword [rsp + 0x40], 0
jmp 0x1800191f1
mov rax, qword [rsp + 0x30]
xor ecx, ecx
mov r15, qword [rsp + 0x50]
mov dword [rax], ecx
mov rax, qword [rsp + 0x48]
sub rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1800194ef
mov qword [rcx], rax
jmp 0x180019543
cmp rax, r13
je 0x180019543
test esi, esi
jne 0x180019543
call fcn.18002a6c0
call fcn.18002aa30
test eax, eax
jne 0x18001950f
lea rbx, str.Partial_character_sequence_at_end_of_input
jmp 0x180019526
lea rdx, str.Partial_character_sequence_at_end_of_input
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
mov rcx, r14
call sym.glib_2.0.dll_g_set_error_literal
mov esi, 1
mov rcx, qword [rsp + 0xb0]
mov r14, qword [rsp + 0x58]
test rcx, rcx
je 0x180019560
mov rax, qword [rsp + 0x30]
sub rax, rdi
mov qword [rcx], rax
test esi, esi
je 0x180019588
test rdi, rdi
je 0x180019572
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rdi, qword [rsp + 0x98]
add rsp, 0x60
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
mov rax, rdi
jmp 0x180019574
lea r8, str.converter____GIConv___1
lea rdx, [0x1800ec9f0]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_return_if_fail_warning
xor eax, eax
add rsp, 0x60
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret