Function at 0x43c8f5
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov dword [rbp - 4], 1
lea rax, [rbp - 0x50]
mov rdx, rax
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.msvcrt.dll__stat64]
call rax
test eax, eax
jns 0x43c979
mov rax, qword [sym.imp.msvcrt.dll__errno]
call rax
mov eax, dword [rax]
cmp eax, 2
jne 0x43c94a
mov rdx, qword [rbp + 0x10]
lea rcx, str._s:_No_such_file_n
call fcn.0045d76f
jmp 0x43c96f
mov rax, qword [sym.imp.msvcrt.dll__errno]
call rax
mov eax, dword [rax]
mov ecx, eax
call sub.msvcrt.dll_strerror
mov r8, rax
mov rdx, qword [rbp + 0x10]
lea rcx, str.Could_not_locate__s.__System_error_message:__s_n
call fcn.0045d76f
mov eax, 0
jmp 0x43cb8f
movzx eax, word [rbp - 0x4a]
movzx eax, ax
and eax, 0xf000
cmp eax, 0x8000
je 0x43c9a6
mov rdx, qword [rbp + 0x10]
lea rcx, str._s_is_not_an_ordinary_file_n
call fcn.0045d76f
mov eax, 0
jmp 0x43cb8f
mov edx, 0x98
mov ecx, 1
call sub.msvcrt.dll_calloc
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x43c9d6
lea rcx, str.Out_of_memory_allocating_file_data_structure_n
call fcn.0045d76f
mov eax, 0
jmp 0x43cb8f
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp + 0x10]
mov qword [rax], rdx
lea rdx, [0x00491a42]
mov rcx, qword [rbp + 0x10]
call sub.msvcrt.dll_fopen
mov rdx, rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
test rax, rax
jne 0x43ca2f
mov rdx, qword [rbp + 0x10]
lea rcx, str.Input_file__s_is_not_readable._n
call fcn.0045d76f
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
jmp 0x43cb8f
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
lea rax, [rbp - 0x58]
mov r9, rdx
mov r8d, 1
mov edx, 8
mov rcx, rax
call sub.msvcrt.dll_fread
cmp rax, 1
je 0x43ca8d
mov rdx, qword [rbp + 0x10]
lea rcx, str._s:_Failed_to_read_files_magic_number_n
call fcn.0045d76f
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov rcx, rax
call sub.msvcrt.dll_fclose
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
jmp 0x43cb8f
mov rax, qword [rbp - 0x38]
mov rdx, rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x10], rdx
lea rax, [rbp - 0x58]
mov r8d, 8
lea rdx, str.__arch__n
mov rcx, rax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x43cade
mov rax, qword [rbp - 0x10]
mov edx, 0
mov rcx, rax
call fcn.0043bf57
test eax, eax
jne 0x43cb70
mov dword [rbp - 4], 0
jmp 0x43cb70
lea rax, [rbp - 0x58]
mov r8d, 8
lea rdx, str.__thin__n
mov rcx, rax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x43cb19
mov rax, qword [rbp - 0x10]
mov edx, 1
mov rcx, rax
call fcn.0043bf57
test eax, eax
jne 0x43cb70
mov dword [rbp - 4], 0
jmp 0x43cb70
mov eax, dword [0x004a83b8]
test eax, eax
je 0x43cb33
mov rdx, qword [rbp + 0x10]
lea rcx, str.File__s_is_not_an_archive_so_its_index_cannot_be_displayed._n
call fcn.0045d76f
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov rcx, rax
call sub.msvcrt.dll_rewind
mov dword [0x004a8040], 0
mov eax, dword [0x004a8040]
mov dword [0x004a8044], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.0043ba41
test eax, eax
jne 0x43cb70
mov dword [rbp - 4], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov rcx, rax
call sub.msvcrt.dll_fclose
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp - 4]
sub rsp, 0xffffffffffffff80
pop rbp
ret