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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x40
mov r14, rdx
mov rbx, rcx
test rdx, rdx
je 0x18004ea8c
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rdi
xor edi, edi
mov esi, edi
cmp qword [rdx], rsi
je 0x18004e870
mov rax, rdx
inc esi
lea rax, [rax + 0x30]
cmp qword [rax], rdi
jne 0x18004e865
mov eax, dword [rcx + 0x50]
movabs rdx, 0x555555555555555
add eax, esi
movsxd rcx, eax
mov rax, qword [rbx + 0x48]
cmp rcx, rdx
jbe 0x18004e8ba
mov qword [rsp + 0x28], 0x30
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:383
mov qword [rsp + 0x20], rcx
lea r8, str._s:_overflow_allocating__I64u_I64u_bytes
lea rcx, [0x18009cbc8]
mov edx, 4
call sym.glib_2.0.dll_g_log
jmp 0x18004e8b8
lea rbp, [rcx + rcx*2]
shl rbp, 4
test rbp, rbp
je 0x18004e902
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rdi, rax
test rax, rax
jne 0x18004e910
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:170
mov qword [rsp + 0x20], rbp
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 0x18004e900
test rax, rax
je 0x18004e910
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x48], rdi
test esi, esi
je 0x18004e93a
movsxd rax, esi
mov rdx, r14
lea r8, [rax + rax*2]
movsxd rax, dword [rbx + 0x50]
shl r8, 4
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movsxd r14, dword [rbx + 0x50]
lea eax, [r14 + rsi]
cmp r14d, eax
jge 0x18004ea6a
lea rdi, [r14 + r14*2]
shl rdi, 4
lea rbp, [0x18009d910]
nop word [rax + rax]
mov rcx, qword [rbx + 0x48]
movzx edx, byte [rdi + rcx + 8]
lea r8, [rdi + rcx]
cmp dl, 0x2d
je 0x18004e980
test dl, dl
je 0x18004e9be
movzx eax, dl
test byte [rbp + rax*2], 0x40
jne 0x18004e9be
mov rax, qword [r8]
lea rcx, [0x18009cbc8]
mov qword [rsp + 0x30], rax
lea r8, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgoption.c:2376:_ignoring_invalid_short_option__c___d__in_entry__s:_s
mov rax, qword [rbx]
movsx r9d, dl
mov edx, reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
call sym.glib_2.0.dll_g_log
mov rax, qword [rbx + 0x48]
mov byte [rdi + rax + 8], 0
mov rcx, qword [rbx + 0x48]
mov r9d, dword [rdi + rcx + 0x10]
lea rax, [rdi + rcx]
test r9d, r9d
je 0x18004ea07
test byte [rax + 0xc], 4
je 0x18004ea07
mov rax, qword [rax]
lea r8, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgoption.c:2384:_ignoring_reverse_flag_on_option_of_arg_type__d_in_entry__s:_s
mov qword [rsp + 0x28], rax
lea rcx, [0x18009cbc8]
mov rax, qword [rbx]
mov edx, reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
call sym.glib_2.0.dll_g_log
mov rax, qword [rbx + 0x48]
and dword [rdi + rax + 0xc], 0xfffffffb
mov rcx, qword [rbx + 0x48]
mov edx, dword [rdi + rcx + 0x10]
cmp edx, 3
je 0x18004ea51
mov r9d, dword [rdi + rcx + 0xc]
test r9b, 0x38
je 0x18004ea51
mov rax, qword [rdi + rcx]
lea r8, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgoption.c:2393:_ignoring_no_arg__optional_arg_or_filename_flags___d__on_option_of_arg_type__d_in_entry__s:_s
mov qword [rsp + 0x30], rax
lea rcx, [0x18009cbc8]
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
mov edx, reloc.WS2_32.dll_recv
call sym.glib_2.0.dll_g_log
mov rax, qword [rbx + 0x48]
and dword [rdi + rax + 0xc], 0xffffffc7
mov ecx, dword [rbx + 0x50]
inc r14d
add rdi, 0x30
lea eax, [rcx + rsi]
cmp r14d, eax
jl 0x18004e960
mov r14d, ecx
mov rdi, qword [rsp + 0x58]
lea eax, [r14 + rsi]
mov rbp, qword [rsp + 0x50]
mov dword [rbx + 0x50], eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
lea rax, str.entries___NULL
mov edx, 8
lea r9, [0x1800f4d70]
mov qword [rsp + 0x20], rax
lea r8, str._s:_assertion__s_failed
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret