Function at 0x4411b4
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x80]
mov qword [rbp], rcx
mov dword [rbp + 8], edx
mov dword [rbp + 0x10], r8d
mov rax, qword [rbp]
movzx eax, byte [rax + 0x86]
mov byte [rbp - 0x25], al
mov rax, qword [rbp]
mov byte [rax + 0x86], 0
mov rax, qword [rbp]
add rax, 0x7c
mov r8d, 0xa
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_strtoul
mov dword [rbp - 0x2c], eax
mov rax, qword [rbp]
movzx edx, byte [rbp - 0x25]
mov byte [rax + 0x86], dl
mov eax, dword [rbp - 0x2c]
test eax, eax
jns 0x44123f
mov rax, qword [rbp]
mov rax, qword [rax]
mov edx, dword [rbp - 0x2c]
mov r8d, edx
mov rdx, rax
lea rcx, str._s:_invalid_archive_header_size:__ld_n
call fcn.0044059f
mov eax, 0
jmp 0x441622
mov eax, dword [rbp - 0x2c]
add eax, 1
and eax, 0xfffffffe
mov dword [rbp - 0x2c], eax
mov rax, qword [rbp]
mov edx, dword [rax + 0x40]
mov eax, dword [rbp - 0x2c]
add eax, edx
lea edx, [rax + 0x3c]
mov rax, qword [rbp]
mov dword [rax + 0x40], edx
cmp dword [rbp + 0x10], 0
jne 0x4412a8
mov edx, dword [rbp - 0x2c]
mov rax, qword [rbp]
mov rax, qword [rax + 8]
mov r8d, 1
mov rcx, rax
call sub.msvcrt.dll_fseek
test eax, eax
je 0x4415c8
mov rax, qword [rbp]
mov rax, qword [rax]
mov rdx, rax
lea rcx, str._s:_failed_to_skip_archive_symbol_table_n
call fcn.0044059f
mov eax, 0
jmp 0x441622
cmp dword [rbp + 8], 8
jbe 0x4412c7
mov r8d, 0x1f9
lea rdx, str._workdir_repo_binutils_gdb_gnu_binutils_elfcomm.c
lea rcx, str.sizeof_ar_index___sizeof_integer_buffer
call fcn.0050e700
mov eax, dword [rbp - 0x2c]
cmp eax, dword [rbp + 8]
jae 0x4412ef
mov rax, qword [rbp]
mov rax, qword [rax]
mov rdx, rax
lea rcx, str._s:_the_archive_index_is_empty_n
call fcn.0044059f
mov eax, 0
jmp 0x441622
mov rax, qword [rbp]
mov rcx, qword [rax + 8]
mov edx, dword [rbp + 8]
lea rax, [rbp - 0x48]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fread
mov qword [rbp - 0x38], rax
mov eax, dword [rbp + 8]
cmp qword [rbp - 0x38], rax
je 0x44133e
mov rax, qword [rbp]
mov rax, qword [rax]
mov rdx, rax
lea rcx, str._s:_failed_to_read_archive_index_n
call fcn.0044059f
mov eax, 0
jmp 0x441622
mov edx, dword [rbp + 8]
lea rax, [rbp - 0x48]
mov rcx, rax
call fcn.00440bc8
mov rdx, rax
mov rax, qword [rbp]
mov qword [rax + 0x10], rdx
mov eax, dword [rbp + 8]
sub dword [rbp - 0x2c], eax
mov edx, dword [rbp - 0x2c]
mov rax, qword [rbp]
mov rcx, qword [rax + 0x10]
mov eax, dword [rbp + 8]
imul rax, rcx
cmp rdx, rax
jb 0x441385
mov edx, dword [rbp - 0x2c]
mov rax, qword [rbp]
mov rax, qword [rax + 0x10]
cmp rdx, rax
jae 0x4413bd
mov rax, qword [rbp]
mov rax, qword [rax + 0x10]
mov r8d, eax
mov rax, qword [rbp]
mov rax, qword [rax]
mov ecx, dword [rbp + 8]
mov edx, dword [rbp - 0x2c]
mov dword [rsp + 0x20], edx
mov r9d, ecx
mov rdx, rax
lea rcx, str._s:_the_archive_index_is_supposed_to_have_0x_lx_entries_of__d_bytes__but_the_size_is_only_0x_lx_n
call fcn.0044059f
mov eax, 0
jmp 0x441622
mov rax, qword [rbp]
mov rdx, qword [rax + 0x10]
mov eax, dword [rbp + 8]
imul rax, rdx
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp - 0x40], rax
cmp qword [rbp - 0x40], 0
jne 0x4413f5
lea rcx, str.Out_of_memory_whilst_trying_to_read_archive_symbol_index_n
call fcn.0044059f
mov eax, 0
jmp 0x441622
mov rax, qword [rbp]
mov r8, qword [rax + 8]
mov rax, qword [rbp]
mov rcx, qword [rax + 0x10]
mov edx, dword [rbp + 8]
mov rax, qword [rbp - 0x40]
mov r9, r8
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_fread
mov qword [rbp - 0x38], rax
mov rax, qword [rbp]
mov rax, qword [rax + 0x10]
cmp qword [rbp - 0x38], rax
je 0x441458
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp]
mov rax, qword [rax]
mov rdx, rax
lea rcx, str._s:_failed_to_read_archive_index_n
call fcn.0044059f
mov eax, 0
jmp 0x441622
mov rax, qword [rbp]
mov rax, qword [rax + 0x10]
imul eax, dword [rbp + 8]
sub dword [rbp - 0x2c], eax
mov rax, qword [rbp]
mov rax, qword [rax + 0x10]
shl rax, 3
mov rcx, rax
call sub.msvcrt.dll_malloc
mov rdx, rax
mov rax, qword [rbp]
mov qword [rax + 0x18], rdx
mov rax, qword [rbp]
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x4414b5
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sub.msvcrt.dll_free
lea rcx, str.Out_of_memory_whilst_trying_to_convert_the_archive_symbol_index_n
call fcn.0044059f
mov eax, 0
jmp 0x441622
mov dword [rbp - 0x24], 0
jmp 0x4414f3
mov eax, dword [rbp + 8]
mov edx, dword [rbp - 0x24]
imul edx, dword [rbp + 8]
mov ecx, edx
mov rdx, qword [rbp - 0x40]
add rcx, rdx
mov rdx, qword [rbp]
mov rdx, qword [rdx + 0x18]
mov r8d, dword [rbp - 0x24]
shl r8, 3
lea rbx, [rdx + r8]
mov edx, eax
call fcn.00440bc8
mov qword [rbx], rax
add dword [rbp - 0x24], 1
mov edx, dword [rbp - 0x24]
mov rax, qword [rbp]
mov rax, qword [rax + 0x10]
cmp rdx, rax
jb 0x4414be
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sub.msvcrt.dll_free
cmp dword [rbp - 0x2c], 0
jne 0x441535
mov rax, qword [rbp]
mov rax, qword [rax]
mov rdx, rax
lea rcx, str._s:_the_archive_has_an_index_but_no_symbols_n
call fcn.0044059f
mov eax, 0
jmp 0x441622
mov eax, dword [rbp - 0x2c]
mov rcx, rax
call sub.msvcrt.dll_malloc
mov rdx, rax
mov rax, qword [rbp]
mov qword [rax + 0x20], rdx
mov rax, qword [rbp]
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x44156e
lea rcx, str.Out_of_memory_whilst_trying_to_read_archive_index_symbol_table_n
call fcn.0044059f
mov eax, 0
jmp 0x441622
mov rax, qword [rbp]
mov edx, dword [rbp - 0x2c]
mov dword [rax + 0x28], edx
mov rax, qword [rbp]
mov rcx, qword [rax + 8]
mov edx, dword [rbp - 0x2c]
mov rax, qword [rbp]
mov rax, qword [rax + 0x20]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fread
mov qword [rbp - 0x38], rax
mov eax, dword [rbp - 0x2c]
cmp qword [rbp - 0x38], rax
je 0x4415c8
mov rax, qword [rbp]
mov rax, qword [rax]
mov rdx, rax
lea rcx, str._s:_failed_to_read_archive_index_symbol_table_n
call fcn.0044059f
mov eax, 0
jmp 0x441622
mov rax, qword [rbp]
mov rdx, qword [rax + 8]
mov rax, qword [rbp]
add rax, 0x4c
mov r9, rdx
mov r8d, 0x3c
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fread
mov qword [rbp - 0x38], rax
cmp qword [rbp - 0x38], 0x3c
je 0x44161d
cmp qword [rbp - 0x38], 0
je 0x44161d
mov rax, qword [rbp]
mov rax, qword [rax]
mov rdx, rax
lea rcx, str._s:_failed_to_read_archive_header_following_archive_index_n
call fcn.0044059f
mov eax, 0
jmp 0x441622
mov eax, 1
add rsp, 0x68
pop rbx
pop rbp
ret