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

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push r12
push r13
push r15
sub rsp, 0x38
mov r13, rdx
mov r15, rcx
test rcx, rcx
je 0x180001e93
test rdx, rdx
je 0x180001e8a
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x78], rdi
mov rdi, 0xffffffffffffffff
mov rbp, rdi
mov qword [rsp + 0x30], r14
inc rbp
cmp byte [rbp + rdx], 0
jne 0x180001ba1
mov rdx, qword [rcx + 0x10]
xor r14d, r14d
mov qword [rsp + 0x68], rsi
test rdx, rdx
je 0x180001c6d
cmp qword [rcx + 0x18], r14
lea r12, [rcx + 0x18]
je 0x180001c6d
mov r8, rdi
inc r8
cmp byte [rdx + r8], r14b
jne 0x180001bd1
cmp r8, rbp
ja 0x180001c6d
mov rax, qword [r15 + 0x20]
mov rcx, r13
call qword [case.0x180005f92.0]
test eax, eax
jne 0x180001c6d
mov rsi, qword [r12]
test rsi, rsi
je 0x180001d1b
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r15 + 8]
mov r14, qword [rsi + 8]
mov rdx, qword [rsi]
test rax, rax
je 0x180001c2c
mov rcx, rdx
call qword [case.0x180005f92.0]
mov rdx, rax
mov rax, qword [r15 + 0x20]
mov r8, rbp
mov rcx, r13
call qword [case.0x180005f92.0]
test eax, eax
je 0x180001c60
mov rcx, qword [r12]
mov rdx, rsi
call fcn.18003b3e0
mov rdx, rsi
mov ecx, 0x18
mov rbx, rax
call sym.glib_2.0.dll_g_slice_free1
mov qword [r12], rbx
mov rsi, r14
test r14, r14
jne 0x180001c10
jmp 0x180001d18
mov rdx, qword [r15 + 0x18]
lea r12, [r15 + 0x18]
mov r8d, 8
lea ecx, [r8 + 0x10]
call sym.glib_2.0.dll_g_slice_free_chain_with_offset
mov qword [r12], r14
cmp byte [r13], 0
mov r14, qword [r15]
je 0x180001d18
xor edi, edi
test r14, r14
je 0x180001d11
mov rax, qword [r15 + 8]
mov rdx, qword [r14]
test rax, rax
je 0x180001cb5
mov rcx, rdx
call qword [case.0x180005f92.0]
mov rdx, rax
mov rax, qword [r15 + 0x20]
mov r8, rbp
mov rcx, r13
call qword [case.0x180005f92.0]
test eax, eax
jne 0x180001d07
mov rbx, qword [r14]
lea ecx, [rax + 0x18]
mov rsi, qword [r12]
call sym.glib_2.0.dll_g_slice_alloc
mov qword [rax], rbx
mov qword [rax + 8], rsi
test rsi, rsi
je 0x180001cff
mov rcx, qword [rsi + 0x10]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x180001cf9
mov qword [rcx + 8], rax
mov qword [rsi + 0x10], rax
jmp 0x180001d03
mov qword [rax + 0x10], rdi
mov qword [r12], rax
mov r14, qword [r14 + 8]
cmp byte [r13], dil
jne 0x180001c98
mov rdi, 0xffffffffffffffff
xor r14d, r14d
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x180001d2e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r15 + 0x10], r14
cmp qword [r12], 0
je 0x180001d41
mov rcx, r13
call sym.glib_2.0.dll_g_strdup
mov qword [r15 + 0x10], rax
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x180001e5d
mov rbx, qword [r12]
test rbx, rbx
jne 0x180001d60
mov qword [rax], r14
jmp 0x180001e5d
mov rax, qword [r15 + 0x10]
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x180001d67
mov rdx, qword [r15 + 8]
mov rax, qword [rbx]
test rdx, rdx
je 0x180001d88
mov rcx, rax
mov rax, rdx
call qword [case.0x180005f92.0]
lea rbp, [rax + rsi]
nop dword [rax]
inc rdi
cmp byte [rdi + rbp], 0
jne 0x180001d90
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x180001df0
test rdi, rdi
je 0x180001df0
mov rax, qword [r15 + 8]
mov rcx, qword [rbx]
test rax, rax
je 0x180001dbc
call qword [case.0x180005f92.0]
mov rcx, rax
add rcx, rsi
mov rdx, r14
test rdi, rdi
je 0x180001de4
mov r8, rbp
sub r8, rcx
nop dword [rax]
movzx eax, byte [rcx]
cmp byte [rcx + r8], al
jne 0x180001de4
inc rdx
inc rcx
cmp rdx, rdi
jb 0x180001dd0
mov rbx, qword [rbx + 8]
mov rdi, rdx
test rbx, rbx
jne 0x180001da2
lea rbx, [rsi + 1]
add rbx, rdi
je 0x180001e33
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r14, rax
test rax, rax
jne 0x180001e33
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], rbx
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
jmp 0x180001e31
mov rbx, qword [rsp + 0x70]
mov r8, rsi
mov rcx, r14
mov qword [rbx], r14
mov rdx, qword [r15 + 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov rcx, qword [rbx]
mov r8, rdi
add rcx, rsi
mov rdx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
cmp byte [r13], 0
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x78]
cmove r12, r15
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rax, qword [r12]
add rsp, 0x38
pop r15
pop r13
pop r12
pop rbx
ret
lea rax, str.prefix___NULL
jmp 0x180001e9a
lea rax, str.cmp___NULL
lea r9, [0x18009ce08]
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
add rsp, 0x38
pop r15
pop r13
pop r12
pop rbx
ret