Function at 0x1400093a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0xd0]
mov qword [rbp + 0x20], rcx
mov qword [rbp - 0x90], 0
cmp qword [rbp + 0x20], 0
jne 0x1400093eb
lea r8, str.self_path___NULL
lea rax, str.decryption_Initialize
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_return_if_fail_warning]
call rax
jmp 0x14000972a
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x14], 0
mov rax, qword [rbp + 0x20]
lea rdx, [0x140013db2]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_fopen]
call rax
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
jne 0x1400094fc
call sym.error_type_quark
lea r8, str.FILE_NOT_FOUND
mov edx, 0
mov ecx, eax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_error_new_literal]
call rax
mov qword [rbp - 0x88], rax
mov rax, qword [rbp - 0x88]
mov qword [rbp - 0x90], rax
cmp qword [rbp - 8], 0
je 0x140009484
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.fclose
mov qword [rbp - 8], 0
mov rax, qword [rbp - 0x90]
mov ebx, dword [rax + 4]
mov rax, qword [rbp - 0x90]
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 - 0x90]
mov rdx, qword [rdx + 8]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x90
lea r9, str.C:_msys64_home_poco_decryption.vala.c
lea r8, str.file__s:_line__d:_uncaught_error:__s___s___d_
mov edx, 8
mov ecx, 0
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_log]
call rax
lea rax, [rbp - 0x90]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_clear_error]
call rax
jmp 0x14000972a
mov edx, 1
mov ecx, 8
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_malloc0_n]
call rax
mov qword [rbp - 0x30], rax
mov rax, qword [0x140017170]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [0x140017170], 0
mov rax, qword [rbp - 0x30]
mov qword [0x140017170], rax
mov dword [0x140017178], 8
mov eax, dword [0x140017178]
mov dword [0x14001717c], eax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
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 - 0x40], rax
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x44], 4
mov eax, dword [rbp - 0x44]
mov dword [rbp - 0x48], eax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x50], rax
mov eax, dword [rbp - 0x44]
movsxd rdx, eax
mov rcx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x10]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
mov edx, dword [rbp - 0x44]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.program_ToInt32
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x58], rax
mov eax, 0xfffffff4
sub eax, dword [rbp - 0x14]
mov edx, eax
mov rax, qword [rbp - 0x58]
mov r8d, 2
mov rcx, rax
call sym.fseek
mov rax, qword [rbp - 8]
mov qword [rbp - 0x60], rax
mov rax, qword [0x140017170]
mov qword [rbp - 0x68], rax
mov eax, dword [0x140017178]
mov dword [rbp - 0x6c], eax
mov eax, dword [rbp - 0x6c]
movsxd rdx, eax
mov rcx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x68]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
mov rax, qword [rbp - 8]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 0x78]
mov rcx, rax
call sym.fflush
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
cmp qword [rbp - 8], 0
je 0x140009680
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.fclose
mov qword [rbp - 8], 0
mov edx, 1
mov ecx, 8
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_malloc0_n]
call rax
mov qword [rbp - 0x80], rax
mov rax, qword [rbp - 0x80]
mov byte [rax], 0x46
mov rax, qword [rbp - 0x80]
add rax, 1
mov byte [rax], 0x45
mov rax, qword [rbp - 0x80]
add rax, 2
mov byte [rax], 0xc3
mov rax, qword [rbp - 0x80]
add rax, 3
mov byte [rax], 0xf7
mov rax, qword [rbp - 0x80]
add rax, 4
mov byte [rax], 0xbf
mov rax, qword [rbp - 0x80]
add rax, 5
mov byte [rax], 0x93
mov rax, qword [rbp - 0x80]
add rax, 6
mov byte [rax], 0xee
mov rax, qword [rbp - 0x80]
add rax, 7
mov byte [rax], 0xa0
mov rax, qword [0x140017180]
mov rcx, rax
mov rax, qword [sym.imp.libglib_2.0_0.dll_g_free]
call rax
mov qword [0x140017180], 0
mov rax, qword [rbp - 0x80]
mov qword [0x140017180], rax
mov dword [0x140017188], 8
mov eax, dword [0x140017188]
mov dword [0x14001718c], eax
add rsp, 0xd8
pop rbx
pop rbp
ret