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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
sub rsp, 0x40
mov rax, 0xffffffffffffffff
mov rbx, rax
nop dword [rax + rax]
inc rbx
cmp byte [rcx + rbx], 0
jne 0x180085d70
mov rcx, qword [rsp + 0x68]
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x180085d80
add rbx, rax
je 0x180085dc3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
jne 0x180085dc5
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:105
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 0x180085dc1
xor ebp, ebp
mov rax, qword [rsp + 0x60]
mov rdi, rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x38], r14
movzx ecx, byte [rax]
mov qword [rsp + 0x30], r15
test cl, cl
je 0x180085f70
movabs r12, 0x100100001
nop word [rax + rax]
mov rax, qword [rsp + 0x68]
movzx edx, byte [rax]
test dl, dl
je 0x180085f66
cmp cl, dl
jne 0x180085e28
inc qword [rsp + 0x60]
mov byte [rdi], cl
inc rdi
inc qword [rsp + 0x68]
jmp 0x180085f54
lea r14, [rsp + 0x60]
lea rbx, [rsp + 0x68]
mov rsi, qword [r14]
movzx eax, byte [rsi]
cmp al, 0x2a
jne 0x180085e7a
mov rcx, qword [rbx]
movzx edx, byte [rcx]
cmp dl, 0x29
je 0x180085e8d
xor r8d, r8d
nop word [rax + rax]
lea eax, [rdx - 0x4d]
cmp al, 0x20
ja 0x180085ef1
movsx rax, al
bt r12, rax
jae 0x180085ef1
mov byte [rdi], dl
inc rdi
movzx edx, byte [rcx + 1]
inc rcx
mov qword [rbx], rcx
jmp 0x180085e50
cmp al, 0x4d
jne 0x180085e9a
mov rcx, qword [rbx]
movzx edx, byte [rcx]
cmp dl, 0x6d
je 0x180085f27
cmp al, 0x4d
jne 0x180085e9a
cmp dl, 0x6d
jne 0x180085f1e
cmp al, 0x4e
jne 0x180085eb7
mov r15, qword [rbx]
lea rcx, str.ynqiuxthd
movsx edx, byte [r15]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
jne 0x180085f36
cmp byte [rsi], 0x53
jne 0x180085ed4
mov rsi, qword [rbx]
lea rcx, [0x1800fcf34]
movsx edx, byte [rsi]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
jne 0x180085f42
lea rax, [rsp + 0x60]
cmp r14, rax
jne 0x180085f66
lea r14, [rsp + 0x68]
lea rbx, [rsp + 0x60]
jmp 0x180085e32
movzx eax, byte [rcx]
cmp al, 0x28
je 0x180085f09
cmp al, 0x7b
je 0x180085f09
cmp al, 0x29
je 0x180085f04
cmp al, 0x7d
jne 0x180085f0c
dec r8d
jmp 0x180085f0c
inc r8d
mov byte [rdi], al
inc rdi
inc rcx
mov qword [rbx], rcx
test r8d, r8d
jne 0x180085ef1
jmp 0x180085f51
lea rax, [rsi + 1]
mov qword [r14], rax
jmp 0x180085f54
lea rax, [rcx + 1]
mov byte [rdi], WSAGetLastError
mov qword [rbx], rax
inc rdi
jmp 0x180085f54
movzx eax, byte [r15]
mov byte [rdi], al
lea rax, [r15 + 1]
jmp 0x180085f4b
movzx eax, byte [rsi]
mov byte [rdi], al
lea rax, [rsi + 1]
mov qword [rbx], rax
inc rdi
inc qword [r14]
mov rax, qword [rsp + 0x60]
movzx ecx, byte [rax]
test cl, cl
jne 0x180085e00
jmp 0x180085f70
mov rcx, qword [rsp + 0x60]
cmp byte [rcx], 0
jne 0x180085f82
mov rcx, qword [rsp + 0x68]
cmp byte [rcx], 0
jne 0x180085f82
mov byte [rdi], 0
mov rax, rbp
jmp 0x180085f92
test rbp, rbp
je 0x180085f90
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret