Function at 0x140005553
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x188
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x120], rcx
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0xf0], 0
mov dword [rbp + 0xec], 0
mov qword [rbp + 0xe0], 0
mov dword [rbp + 0xdc], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp - 0x38], 0
cmp qword [rbp + 0x120], 0
jne 0x1400055fc
lea r8, [0x1400154a1]
lea rax, str.program_Initialize
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_return_if_fail_warning]
call rax
mov eax, 0
jmp 0x140005c09
mov rax, qword [rbp + 0x120]
lea rdx, [0x1400154ae]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_fopen]
call rax
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0xf8], rax
cmp qword [rbp + 0x120], 0
jne 0x1400056e1
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0x120]
mov rcx, rax
call sym.string_to_string
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov r9d, 0
lea r8, str._was_not_found_n
mov rdx, rax
lea rax, str.File
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_strconcat]
call rax
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x98], rax
mov rdx, qword [rbp + 0x98]
mov rax, qword [rbp + 0xb0]
mov r8, rdx
lea rdx, [0x14001516f]
mov rcx, rax
call sym.fprintf
mov rax, qword [rbp + 0x98]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0x98], 0
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x90]
mov r8d, 2
mov edx, 0xfffffffc
mov rcx, rax
call sym.fseek
mov edx, 1
mov ecx, 4
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_malloc0_n]
call rax
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0xf0], rax
mov dword [rbp + 0x84], 4
mov eax, dword [rbp + 0x84]
mov dword [rbp + 0x80], eax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x78], rax
mov eax, dword [rbp + 0x84]
movsxd rdx, eax
mov rcx, qword [rbp + 0x78]
mov rax, qword [rbp + 0xf0]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
mov edx, dword [rbp + 0x84]
mov rax, qword [rbp + 0xf0]
mov rcx, rax
call sym.program_ToInt32
mov dword [rbp + 0xec], eax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x70], rax
mov eax, 0xfffffff8
sub eax, dword [rbp + 0xec]
mov edx, eax
mov rax, qword [rbp + 0x70]
mov r8d, 2
mov rcx, rax
call sym.fseek
mov edx, 1
mov ecx, 4
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_malloc0_n]
call rax
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0x64], 4
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x60], eax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x58], rax
mov eax, dword [rbp + 0x64]
movsxd rdx, eax
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0xe0]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
mov edx, dword [rbp + 0x64]
mov rax, qword [rbp + 0xe0]
mov rcx, rax
call sym.program_ToInt32
mov dword [rbp + 0xdc], eax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x50], rax
mov eax, 0xfffffff8
sub eax, dword [rbp + 0xec]
sub eax, dword [rbp + 0xdc]
mov edx, eax
mov rax, qword [rbp + 0x50]
mov r8d, 2
mov rcx, rax
call sym.fseek
mov eax, dword [rbp + 0xdc]
cdqe
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_malloc0_n]
call rax
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0xd0], rax
mov eax, dword [rbp + 0xdc]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
mov dword [rbp + 0x40], eax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x38], rax
mov eax, dword [rbp + 0x44]
movsxd rdx, eax
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0xd0]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov rcx, rax
call sym.fflush
mov rax, qword [rbp + 0xd0]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_strdup]
call rax
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0xc8], rax
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0xc8]
mov rcx, rax
call sym.string_to_string
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x18]
mov r8d, 0
lea rdx, [0x1400154c7]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_strconcat]
call rax
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 8], rax
mov rdx, qword [rbp + 8]
mov rax, qword [rbp + 0x20]
mov r8, rdx
lea rdx, [0x14001516f]
mov rcx, rax
call sym.fprintf
mov rax, qword [rbp + 8]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 8], 0
lea rax, str.asv
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_variant_type_new]
call rax
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp - 8], rax
mov rdx, qword [rbp + 0xc8]
mov rax, qword [rbp - 8]
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, 0
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_variant_parse]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x18], rax
cmp qword [rbp - 8], 0
je 0x140005a01
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_variant_type_free]
call rax
mov qword [rbp - 8], 0
mov rax, qword [rbp - 0x18]
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x140005b26
mov rax, qword [rbp + 0xc8]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0xc8], 0
mov rax, qword [rbp + 0xd0]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0xd0], 0
mov rax, qword [rbp + 0xe0]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0xe0], 0
mov rax, qword [rbp + 0xf0]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0xf0], 0
cmp qword [rbp + 0xf8], 0
je 0x140005ab5
mov rax, qword [rbp + 0xf8]
mov rcx, rax
call sym.fclose
mov qword [rbp + 0xf8], 0
mov rax, qword [rbp - 0x38]
mov ebx, dword [rax + 4]
mov rax, qword [rbp - 0x38]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_quark_to_string]
call rax
mov rdx, qword [rbp - 0x38]
mov rdx, qword [rdx + 8]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x722
lea r9, str.C:_msys64_home_poco_main.vala.c
lea r8, [0x1400150e0]
mov edx, 8
mov ecx, 0
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_log]
call rax
lea rax, [rbp - 0x38]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_clear_error]
call rax
mov eax, 0
jmp 0x140005c09
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call sym.settings_from_variant
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x28], rax
cmp qword [rbp + 0xc0], 0
je 0x140005b69
mov rax, qword [rbp + 0xc0]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_variant_unref]
call rax
mov qword [rbp + 0xc0], 0
mov rax, qword [rbp + 0xc8]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0xc8], 0
mov rax, qword [rbp + 0xd0]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0xd0], 0
mov rax, qword [rbp + 0xe0]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0xe0], 0
mov rax, qword [rbp + 0xf0]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0xf0], 0
cmp qword [rbp + 0xf8], 0
je 0x140005c05
mov rax, qword [rbp + 0xf8]
mov rcx, rax
call sym.fclose
mov qword [rbp + 0xf8], 0
mov rax, qword [rbp - 0x28]
add rsp, 0x188
pop rbx
pop rbp
ret