Function at 0x180025ea0
Capabilities:
Check if file exists
Get file attributes
Reference absolute stream path on windows

Disassembly:
mov r11, rsp
sub rsp, 0x468
mov rax, qword [0x18011c010]
xor rax, rsp
mov qword [rsp + 0x450], rax
test rcx, rcx
je 0x1800261ab
mov qword [r11 + 0x18], rsi
xor r9d, r9d
mov qword [r11 - 8], rdi
xor r8d, r8d
xor edi, edi
mov qword [rsp + 0x20], rdi
lea edx, [rdi - 1]
call sym.glib_2.0.dll_g_utf8_to_utf16
mov rsi, rax
test rax, rax
je 0x18002617c
mov qword [rsp + 0x478], rbx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], edi
cmp word [rsi], di
jne 0x180025f14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x14
jmp 0x180026077
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180025f33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 2
jmp 0x180026077
test al, 0x10
jne 0x180025f48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x14
jmp 0x180026077
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfullpath]
lea rax, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rax + rcx*2 + 2], di
lea rcx, [rcx + 1]
jne 0x180025f70
lea rcx, [rcx*2 + 0x456]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x180025fa2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], recv
jmp 0x180026077
lea rdx, [rsp + 0x30]
sub rax, rdx
lea rcx, [rsp + 0x30]
lea rdx, [rax + 0x44c]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180025fc0
lea rcx, [rbx + 0x44c]
cmp word [rcx], di
je 0x180026032
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x180025fe3
cmp word [rbx + rax*2 + 0x44a], 0x2f
je 0x180026032
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x180026000
cmp word [rbx + rax*2 + 0x44a], 0x5c
je 0x180026032
lea rdx, [rcx - 2]
nop word [rax + rax]
cmp word [rdx + 2], di
lea rdx, [rdx + 2]
jne 0x180026020
mov eax, dword [0x1800ee7ac]
mov dword [rdx], eax
sub rcx, 2
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x180026036
mov eax, dword [0x1800ee7b0]
xor edx, edx
mov dword [rcx], eax
mov r8d, 0x104
lea rcx, [rbx + 0x238]
mov qword [rbx + 0x440], 0xffffffffffffffff
mov dword [rbx + 0x448], edi
mov qword [rbx + 0x230], rdi
call sub.VCRUNTIME140.dll_memset
mov rdi, rbx
mov qword [rsp + 0x30], rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rcx, rsi
mov ebx, dword [rax]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], ebx
mov rbx, qword [rsp + 0x478]
test rdi, rdi
je 0x1800261a7
mov ecx, 0x418
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rax
test rax, rax
jne 0x1800260e2
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:105
mov qword [rsp + 0x20], 0x418
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 0x1800260e0
mov rcx, r8
lea rax, [rsp + 0x30]
mov edx, 8
nop
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1800260f0
movups xmm0, xmmword [rax]
mov rax, qword [rax + 0x10]
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov rax, r8
mov rsi, qword [rsp + 0x480]
mov rdi, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1800989b0
add rsp, 0x468
ret
lea rax, str.wpath___NULL
mov edx, 8
lea r9, str.g_dir_open_with_errno
mov qword [rsp + 0x20], rax
lea r8, str._s:_assertion__s_failed
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
xor eax, eax
jmp 0x180026154
lea rax, str.path___NULL
mov edx, 8
lea r9, str.g_dir_open_with_errno
mov qword [rsp + 0x20], rax
lea r8, str._s:_assertion__s_failed
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1800989b0
add rsp, 0x468
ret