Function at 0x45e7f9
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x28], r9d
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sub.msvcrt.dll__strdup
mov rdx, rax
mov rax, qword [rbp + 0x10]
mov qword [rax], rdx
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x20]
mov qword [rax + 8], rdx
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x10], 0
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x18], 0
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x20], 0
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x28], 0
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x38], 0
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x3c], 0
mov rax, qword [rbp + 0x10]
mov edx, dword [rbp + 0x28]
mov dword [rax + 0x44], edx
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x48], 0
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x40], 8
mov rax, qword [rbp + 0x20]
mov r8d, 0
mov edx, 8
mov rcx, rax
call sub.msvcrt.dll_fseek
test eax, eax
je 0x45e8dc
mov rax, qword [rbp + 0x18]
mov rdx, rax
lea rcx, str._s:_failed_to_seek_to_first_archive_header_n
call fcn.0045d76f
mov eax, 1
jmp 0x45ebad
mov rax, qword [rbp + 0x10]
add rax, 0x4c
mov rdx, qword [rbp + 0x20]
mov r9, rdx
mov r8d, 0x3c
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fread
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0x3c
je 0x45e937
cmp qword [rbp - 8], 0
jne 0x45e91a
mov eax, 0
jmp 0x45ebad
mov rax, qword [rbp + 0x18]
mov rdx, rax
lea rcx, str._s:_failed_to_read_archive_header_n
call fcn.0045d76f
mov eax, 1
jmp 0x45ebad
mov rax, qword [rbp + 0x10]
add rax, 0x4c
mov r8d, 0x10
lea rdx, str._
mov rcx, rax
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x45e97a
mov eax, dword [rbp + 0x30]
mov r8d, eax
mov edx, 4
mov rcx, qword [rbp + 0x10]
call fcn.0045e384
test eax, eax
jne 0x45e9e1
mov eax, 1
jmp 0x45ebad
mov rax, qword [rbp + 0x10]
add rax, 0x4c
mov r8d, 0x10
lea rdx, str._SYM64_
mov rcx, rax
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x45e9c8
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x48], 1
mov eax, dword [rbp + 0x30]
mov r8d, eax
mov edx, 8
mov rcx, qword [rbp + 0x10]
call fcn.0045e384
test eax, eax
jne 0x45e9e1
mov eax, 1
jmp 0x45ebad
cmp dword [rbp + 0x30], 0
je 0x45e9e1
mov rax, qword [rbp + 0x18]
mov rdx, rax
lea rcx, str._s_has_no_archive_index_n
call sub.msvcrt.dll_printf
mov rax, qword [rbp + 0x10]
add rax, 0x4c
mov r8d, 0x10
lea rdx, [0x0049bede]
mov rcx, rax
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x45eba8
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 0x86]
mov byte [rbp - 9], al
mov rax, qword [rbp + 0x10]
mov byte [rax + 0x86], 0
mov rax, qword [rbp + 0x10]
add rax, 0x7c
mov r8d, 0xa
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_strtoul
mov edx, eax
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x38], edx
mov rax, qword [rbp + 0x10]
movzx edx, byte [rbp - 9]
mov byte [rax + 0x86], dl
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x38]
cmp eax, 7
ja 0x45ea84
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x38]
mov rax, qword [rbp + 0x18]
mov r8d, edx
mov rdx, rax
lea rcx, str._s:_long_name_table_is_too_small___size___ld__n
call fcn.0045d76f
mov eax, 1
jmp 0x45ebad
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x38]
test eax, eax
jns 0x45eab6
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x38]
mov rax, qword [rbp + 0x18]
mov r8d, edx
mov rdx, rax
lea rcx, str._s:_long_name_table_is_too_big___size__0x_lx__n
call fcn.0045d76f
mov eax, 1
jmp 0x45ebad
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x40]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x38]
add eax, edx
lea edx, [rax + 0x3c]
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x40], edx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x38]
add eax, 1
mov eax, eax
mov rcx, rax
call sub.msvcrt.dll_malloc
mov rdx, rax
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x30], rdx
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x45eb12
lea rcx, str.Out_of_memory_reading_long_symbol_names_in_archive_n
call fcn.0045d76f
mov eax, 1
jmp 0x45ebad
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x38]
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x30]
mov rdx, qword [rbp + 0x20]
mov r9, rdx
mov r8d, 1
mov rdx, rcx
mov rcx, rax
call sub.msvcrt.dll_fread
cmp rax, 1
je 0x45eb77
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp + 0x18]
mov rdx, rax
lea rcx, str._s:_failed_to_read_long_symbol_name_string_table_n
call fcn.0045d76f
mov eax, 1
jmp 0x45ebad
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x38]
and eax, 1
test eax, eax
je 0x45eb91
mov rax, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_getc
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 0x30]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x38]
mov eax, eax
add rax, rdx
mov byte [rax], 0
mov eax, 0
add rsp, 0x30
pop rbp
ret