Function at 0x4377a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x30], esi
mov dword [esp], eax
mov dword [esp + 0x34], edi
call sub.msvcrt.dll__strdup
mov dword [ebx + 4], ebp
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x28], 8
mov dword [esp + 8], 0
mov dword [esp + 4], 8
mov dword [esp], ebp
call sub.msvcrt.dll_fseek
test eax, eax
jne 0x437880
lea eax, [ebx + 0x34]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll_fread
cmp eax, 0x3c
je 0x4378a0
test eax, eax
jne 0x437973
xor eax, eax
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
add esp, 0x3c
ret
mov eax, dword [esp + 0x44]
mov dword [esp], str._s:_failed_to_seek_to_first_archive_header_n
mov dword [esp + 4], eax
call fcn.00436bb0
mov eax, 1
jmp 0x437867
mov esi, dword [esp + 0x1c]
mov edi, str._
mov ecx, 0x10
repe cmpsb byte [esi], byte es:[edi]
je 0x4379b3
mov esi, dword [esp + 0x1c]
mov edi, str._SYM64_
mov ecx, 0x10
repe cmpsb byte [esi], byte es:[edi]
je 0x4379d5
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x4379f6
mov esi, dword [esp + 0x1c]
mov edi, 0x46a5be
mov ecx, 0x10
repe cmpsb byte [esi], byte es:[edi]
jne 0x437865
lea eax, [ebx + 0x64]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_strtoul
cmp eax, 7
mov edi, eax
mov dword [ebx + 0x20], eax
jbe 0x437991
test eax, eax
js 0x437a40
mov eax, dword [ebx + 0x28]
lea eax, [edi + eax + 0x3c]
mov dword [ebx + 0x28], eax
lea eax, [edi + 1]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [ebx + 0x1c], eax
je 0x437a72
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_fread
cmp eax, 1
jne 0x437a10
mov eax, dword [ebx + 0x20]
test al, 1
jne 0x437a62
mov edx, dword [ebx + 0x1c]
mov byte [edx + eax], 0
jmp 0x437865
mov eax, dword [esp + 0x44]
mov dword [esp], str._s:_failed_to_read_archive_header_n
mov dword [esp + 4], eax
call fcn.00436bb0
mov eax, 1
jmp 0x437867
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp], str._s:_long_name_table_is_too_small___size___ld__n
mov dword [esp + 4], eax
call fcn.00436bb0
mov eax, 1
jmp 0x437867
mov ecx, dword [esp + 0x50]
mov edx, 4
mov eax, ebx
call fcn.00436e10
test eax, eax
jne 0x4378d8
mov eax, 1
jmp 0x437867
mov ecx, dword [esp + 0x50]
mov edx, 8
mov eax, ebx
mov dword [ebx + 0x30], 1
call fcn.00436e10
test eax, eax
jne 0x4378d8
jmp 0x4379cb
mov eax, dword [esp + 0x44]
mov dword [esp], str._s_has_no_archive_index_n
mov dword [esp + 4], eax
call sub.msvcrt.dll_printf
jmp 0x4378d8
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x1c], 0
mov dword [esp], str._s:_failed_to_read_long_symbol_name_string_table_n
mov dword [esp + 4], eax
call fcn.00436bb0
mov eax, 1
jmp 0x437867
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp], str._s:_long_name_table_is_too_big___size__0x_lx__n
mov dword [esp + 4], eax
call fcn.00436bb0
mov eax, 1
jmp 0x437867
mov dword [esp], ebp
call sub.msvcrt.dll_getc
mov eax, dword [ebx + 0x20]
jmp 0x437967
mov dword [esp], str.Out_of_memory_reading_long_symbol_names_in_archive_n
call fcn.00436bb0
jmp 0x4379cb