Function at 0x1400074c5
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x1b8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x150], rcx
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x120], 0
mov dword [rbp + 0x11c], 0
mov qword [rbp + 0x110], 0
mov dword [rbp + 0x10c], 0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp - 0x38], 0
cmp qword [rbp + 0x150], 0
jne 0x14000756e
lea r8, [0x14001915a]
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 0x140007c48
mov rax, qword [rbp + 0x150]
lea rdx, [0x140019939]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_fopen]
call rax
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x150], 0
jne 0x140007653
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0x150]
mov rcx, rax
call sym.string_to_string
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xd8]
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 + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xc8], rax
mov rdx, qword [rbp + 0xc8]
mov rax, qword [rbp + 0xe0]
mov r8, rdx
lea rdx, [0x14001917f]
mov rcx, rax
call sym.fprintf
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 + 0x128]
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
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 + 0xb8], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0x120], rax
mov dword [rbp + 0xb4], 4
mov eax, dword [rbp + 0xb4]
mov dword [rbp + 0xb0], eax
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0xa8], rax
mov eax, dword [rbp + 0xb4]
movsxd rdx, eax
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0x120]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
mov edx, dword [rbp + 0xb4]
mov rax, qword [rbp + 0x120]
mov rcx, rax
call sym.program_ToInt32
mov dword [rbp + 0x11c], eax
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0xa0], rax
mov eax, 0xfffffff8
sub eax, dword [rbp + 0x11c]
mov edx, eax
mov rax, qword [rbp + 0xa0]
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 + 0x98], rax
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x110], rax
mov dword [rbp + 0x94], 4
mov eax, dword [rbp + 0x94]
mov dword [rbp + 0x90], eax
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x88], rax
mov eax, dword [rbp + 0x94]
movsxd rdx, eax
mov rcx, qword [rbp + 0x88]
mov rax, qword [rbp + 0x110]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
mov edx, dword [rbp + 0x94]
mov rax, qword [rbp + 0x110]
mov rcx, rax
call sym.program_ToInt32
mov dword [rbp + 0x10c], eax
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x80], rax
mov eax, 0xfffffff8
sub eax, dword [rbp + 0x11c]
sub eax, dword [rbp + 0x10c]
mov edx, eax
mov rax, qword [rbp + 0x80]
mov r8d, 2
mov rcx, rax
call sym.fseek
mov eax, dword [rbp + 0x10c]
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 + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x100], rax
mov eax, dword [rbp + 0x10c]
mov dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x74]
mov dword [rbp + 0x70], eax
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x74]
movsxd rdx, eax
mov rcx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x100]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov rcx, rax
call sym.fflush
mov rax, qword [rbp + 0x100]
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 + 0x58], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov r8d, 0
mov edx, 0x7d
mov rcx, rax
call sym.string_index_of_char
lea ebx, [rax + 1]
mov rax, qword [rbp + 0x48]
mov r8d, 0
mov edx, 0x7b
mov rcx, rax
call sym.string_index_of_char
mov edx, eax
mov rax, qword [rbp + 0x50]
mov r8d, ebx
mov rcx, rax
call sym.string_slice
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0xf8]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0xf8], 0
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0xf8], rax
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rcx, rax
call sym.string_to_string
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov r8d, 0
lea rdx, [0x140019952]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_strconcat]
call rax
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x10], rax
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x30]
mov r8, rdx
lea rdx, [0x14001917f]
mov rcx, rax
call sym.fprintf
mov rax, qword [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0x10], 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 + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp], rax
mov rax, qword [rbp + 0xf8]
mov qword [rbp - 8], rax
mov rdx, qword [rbp - 8]
mov rax, qword [rbp]
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], 0
je 0x140007a40
mov rax, qword [rbp]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_variant_type_free]
call rax
mov qword [rbp], 0
mov rax, qword [rbp - 0x18]
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x140007b65
mov rax, qword [rbp + 0xf8]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0xf8], 0
mov rax, qword [rbp + 0x100]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0x100], 0
mov rax, qword [rbp + 0x110]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0x110], 0
mov rax, qword [rbp + 0x120]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0x120], 0
cmp qword [rbp + 0x128], 0
je 0x140007af4
mov rax, qword [rbp + 0x128]
mov rcx, rax
call sym.fclose
mov qword [rbp + 0x128], 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], 0xa46
lea r9, str.C:_msys64_home_poco_main.vala.c
lea r8, [0x1400190e0]
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 0x140007c48
mov rax, qword [rbp + 0xf0]
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 + 0xf0], 0
je 0x140007ba8
mov rax, qword [rbp + 0xf0]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_variant_unref]
call rax
mov qword [rbp + 0xf0], 0
mov rax, qword [rbp + 0xf8]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0xf8], 0
mov rax, qword [rbp + 0x100]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0x100], 0
mov rax, qword [rbp + 0x110]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0x110], 0
mov rax, qword [rbp + 0x120]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [rbp + 0x120], 0
cmp qword [rbp + 0x128], 0
je 0x140007c44
mov rax, qword [rbp + 0x128]
mov rcx, rax
call sym.fclose
mov qword [rbp + 0x128], 0
mov rax, qword [rbp - 0x28]
add rsp, 0x1b8
pop rbx
pop rbp
ret