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

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rsi
push r12
push r13
push r14
sub rsp, 0x30
xor esi, esi
mov r13, r9
mov r12, rdx
mov r14, rcx
lea ebp, [rsi - 1]
test rdx, rdx
je 0x180033794
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], r15
nop word [rax + rax]
mov r15, qword [r12]
test r15, r15
je 0x180033677
cmp ebp, 0xffffffff
jne 0x18003375d
lea ecx, [rbp + 2]
mov rbx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x180033697
movzx eax, byte [0x1800eaba1]
mov byte [rdi], al
test r14, r14
je 0x18003365f
cmp ebp, 0xffffffff
jne 0x18003365f
xor r9d, r9d
mov r8, rbx
mov rdx, rdi
mov rcx, r15
call sym.glib_2.0.dll_g_build_filename
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov rsi, rax
call sym.glib_2.0.dll_g_open
mov ebp, eax
cmp eax, 0xffffffff
jne 0x180033601
test rsi, rsi
je 0x1800335ff
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor esi, esi
mov edx, 0x2d
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov rbx, rax
test rax, rax
je 0x18003365f
inc rbx
test rdi, rdi
je 0x180033628
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, rbx
mov rcx, r14
sub rdx, r14
dec rdx
call sym.glib_2.0.dll_g_strndup
mov rdi, rax
movzx ecx, byte [rax]
test cl, cl
je 0x180033656
cmp cl, 0x2d
jne 0x18003364b
mov byte [rax], 0x5c
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
jne 0x180033643
test rbx, rbx
jne 0x1800335c0
test rdi, rdi
je 0x18003366d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add r12, 8
jne 0x180033580
cmp ebp, 0xffffffff
jne 0x18003375d
call fcn.18002a6c0
call fcn.18002aa30
test eax, eax
jne 0x1800336c2
lea rbx, str.Valid_key_file_could_not_be_found_in_search_dirs
jmp 0x1800336d9
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:105
mov qword [rsp + 0x20], 1
lea r8, str._s:_failed_to_allocate__I64u_bytes
mov edx, 4
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
nop
jmp 0x1800336c0
lea rdx, str.Valid_key_file_could_not_be_found_in_search_dirs
lea rcx, str.glib20
call qword [sym.imp.intl.dll_libintl_dgettext]
mov rbx, rax
mov edi, dword [0x18011e9d4]
test edi, edi
jne 0x180033721
mov rax, qword [0x18011ef58]
lea rcx, [0x18011ead0]
call qword [case.0x180005f92.0]
xor edx, edx
lea rcx, [0x1800f08b0]
call fcn.1800502e0
mov edi, eax
lea rcx, [0x18011ead0]
mov rax, qword [0x18011ef68]
call qword [case.0x180005f92.0]
mov dword [0x18011e9d4], edi
test r13, r13
je 0x18003375d
cmp qword [r13], 0
jne 0x180033742
mov r8, rbx
mov edx, 2
mov ecx, edi
call sym.glib_2.0.dll_g_error_new_literal
mov qword [r13], rax
jmp 0x18003375d
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 + 0x70]
mov r15, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x68]
test rbx, rbx
je 0x180033781
cmp ebp, 0xffffffff
je 0x180033781
mov rcx, rsi
call sym.glib_2.0.dll_g_strdup
mov qword [rbx], rax
mov rbx, qword [rsp + 0x60]
test rsi, rsi
je 0x180033794
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, ebp
add rsp, 0x30
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret