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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [rcx]
mov r12, rcx
mov rcx, qword [rax + 8]
mov rdi, qword [rax]
cmp rcx, 0x14
jb 0x18006b432
mov r14d, dword [rdi]
bswap r14d
mov r14d, r14d
mov qword [rsp + 0x80], r14
cmp rcx, r14
jb 0x18006b432
mov ecx, dword [rdi + 4]
mov edx, ecx
mov ebx, dword [rdi + 8]
and edx, 0xff0000
mov r15d, dword [rdi + 0xc]
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov eax, dword [rdi + 0x10]
bswap eax
bswap ebx
add rdi, 0x14
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], ebx
bswap r15d
mov dword [r11 - 0x38], r15d
test eax, eax
jne 0x18006b417
lea ecx, [rbx + 1]
mov qword [r11 + 0x10], rbp
lea edx, [rax + 8]
call sym.glib_2.0.dll_g_malloc0_n
mov ecx, r15d
mov edx, 8
mov rsi, rax
mov qword [rsp + 0x38], rax
call sym.glib_2.0.dll_g_malloc0_n
mov qword [rsp + 0x48], rax
mov r13, rax
test ebx, ebx
je 0x18006b29c
mov r14, rsi
mov ebp, ebx
nop
mov ecx, dword [rdi]
add rdi, 4
bswap ecx
mov ebx, ecx
mov edx, ecx
mov rcx, rdi
call sym.glib_2.0.dll_g_strndup
add rdi, rbx
mov qword [r14], rax
lea r14, [r14 + 8]
sub rbp, 1
jne 0x18006b270
mov r14, qword [rsp + 0x80]
test r15d, r15d
je 0x18006b345
mov r10d, r15d
mov r8, r13
mov r15d, 0xff000000
movabs rbx, 0xff0000000000
movabs rbp, 0xff00000000
movabs r11, 0xff000000000000
nop
mov rdx, qword [rdi]
lea r8, [r8 + 8]
mov r9, rdx
mov rax, rdx
shr rax, 0x10
and r9, r11
or r9, rax
mov rcx, rdx
shl rcx, 0x10
mov rax, rdx
and rax, rbx
shr r9, 0x10
or r9, rax
add rdi, 8
shr r9, 0x10
mov rax, rdx
and rax, rbp
or r9, rax
mov rax, rdx
and eax, 0xff00
shr r9, 8
or rcx, rax
mov rax, rdx
shl rcx, 0x10
and eax, 0xff0000
or rcx, rax
and rdx, r15
shl rcx, 0x10
or rcx, rdx
shl rcx, 8
or r9, rcx
mov qword [r8 - 8], r9
sub r10, 1
jne 0x18006b2d0
mov rcx, qword [r12]
mov rbp, qword [rsp + 0x88]
mov rdx, qword [rcx]
add rdx, r14
cmp rdi, rdx
ja 0x18006b3d5
mov r8, r14
xor edx, edx
call sym.glib_2.0.dll_g_string_erase
mov ecx, 0x20
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x18006b3a2
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:105
mov qword [rsp + 0x20], 0x20
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
jmp 0x18006b3a0
movups xmm0, xmmword [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_recv
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov rbx, qword [r12 + 8]
call sym.glib_2.0.dll_g_slice_alloc
mov qword [rax], rdi
mov qword [rax + 8], rbx
mov qword [r12 + 8], rax
mov eax, 1
jmp 0x18006b434
test r13, r13
je 0x18006b3e3
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rsi, rsi
je 0x18006b417
cmp qword [rsi], 0
je 0x18006b40e
mov rax, qword [rsi]
xor ebx, ebx
test rax, rax
je 0x18006b401
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsi + rbx*8 + 8]
inc rbx
test rax, rax
jne 0x18006b3f8
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea r8, str.corrupt_log_stream_from_test_program
mov edx, 4
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
nop
jmp 0x18006b430
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret