Function at 0x436e10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x6c
mov dword [esp + 0x5c], ebx
mov ebx, eax
lea eax, [eax + 0x64]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 0x60], esi
mov esi, edx
mov dword [esp + 0x64], edi
mov edi, ecx
mov dword [esp + 0x68], ebp
call sub.msvcrt.dll_strtoul
test eax, eax
js 0x437050
mov ebp, eax
and ebp, 1
add ebp, eax
mov eax, dword [ebx + 0x28]
test edi, edi
lea eax, [ebp + eax + 0x3c]
mov dword [ebx + 0x28], eax
je 0x436ed4
cmp esi, 8
ja 0x436f20
cmp ebp, esi
jb 0x436ec0
mov eax, dword [ebx + 4]
lea edi, [esp + 0x48]
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fread
cmp eax, esi
je 0x436f70
mov eax, dword [ebx]
mov dword [esp], str._s:_failed_to_read_archive_index_n
mov dword [esp + 4], eax
call fcn.00436bb0
xor eax, eax
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
add esp, 0x6c
ret
mov eax, dword [ebx]
mov dword [esp], str._s:_the_archive_index_is_empty_n
mov dword [esp + 4], eax
call fcn.00436bb0
jmp 0x436ea7
mov eax, dword [ebx + 4]
mov dword [esp + 8], 1
mov dword [esp + 4], ebp
mov dword [esp], eax
call sub.msvcrt.dll_fseek
test eax, eax
jne 0x437070
mov eax, dword [ebx + 4]
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x34]
mov dword [esp], eax
call sub.msvcrt.dll_fread
test eax, eax
jne 0x436f50
mov eax, 1
jmp 0x436ea9
mov dword [esp + 8], 0x1ed
mov dword [esp + 4], str._home_build_work_GCC_5_build_src_binutils_binutils_elfcomm.c
mov dword [esp], str.sizeof_ar_index___sizeof_integer_buffer
call fcn.00441200
cmp ebp, esi
jae 0x436e6e
jmp 0x436ec0
cmp eax, 0x3c
je 0x436f19
mov eax, dword [ebx]
mov dword [esp], str._s:_failed_to_read_archive_header_following_archive_index_n
mov dword [esp + 4], eax
call fcn.00436bb0
xor eax, eax
jmp 0x436ea9
mov dword [esp], edi
sub ebp, esi
mov dword [esp + 4], esi
mov dword [esp + 0x2c], eax
call fcn.00436c10
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], ebp
mov ebp, edx
mov edi, eax
imul ebp, esi
mov dword [esp + 0x30], edx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mul esi
add edx, ebp
test edx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jne 0x437023
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x34], edx
jb 0x437023
cmp dword [esp + 0x30], 0
ja 0x437023
cmp edi, dword [esp + 0x34]
ja 0x437023
mov eax, esi
imul eax, edi
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov ecx, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x30], eax
je 0x437135
mov eax, dword [ebx + 4]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov ecx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [ebx + 8]
xor eax, ebp
or eax, dword [ebx + 0xc]
je 0x437089
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_free
jmp 0x436e95
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp], str._s:_the_archive_index_is_supposed_to_have_0x_lx_entries_of__d_bytes__but_the_size_is_only_0x_lx_n
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov dword [esp + 4], eax
call fcn.00436bb0
jmp 0x436ea7
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], str._s:_invalid_archive_header_size:__ld_n
mov dword [esp + 4], eax
call fcn.00436bb0
xor eax, eax
jmp 0x436ea9
mov eax, dword [ebx]
mov dword [esp], str._s:_failed_to_skip_archive_symbol_table_n
mov dword [esp + 4], eax
call fcn.00436bb0
xor eax, eax
jmp 0x436ea9
mov eax, ebp
mov edx, dword [esp + 0x34]
imul eax, esi
mov dword [esp + 0x2c], ecx
sub edx, eax
lea eax, [ebp*8]
mov dword [esp], eax
mov dword [esp + 0x34], edx
call sub.msvcrt.dll_malloc
mov ecx, dword [esp + 0x2c]
test eax, eax
mov dword [ebx + 0x10], eax
je 0x4371a0
mov edx, dword [esp + 0x30]
xor edi, edi
test ebp, ebp
mov dword [esp + 0x38], edx
je 0x4370ff
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], esi
mov edx, dword [esp + 0x38]
lea esi, [eax + edi*8]
add edi, 1
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00436c10
add ebp, dword [esp + 0x3c]
mov dword [esi], eax
xor eax, eax
mov dword [esi + 4], edx
cmp eax, dword [ebx + 0xc]
jb 0x437130
cmp edi, dword [ebx + 8]
jb 0x437130
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x437146
mov eax, dword [ebx]
mov dword [esp], str._s:_the_archive_has_an_index_but_no_symbols_n
mov dword [esp + 4], eax
call fcn.00436bb0
jmp 0x436ea7
mov eax, dword [ebx + 0x10]
jmp 0x4370d4
mov dword [esp], str.Out_of_memory_whilst_trying_to_read_archive_symbol_index_n
call fcn.00436bb0
jmp 0x436ea7
mov edx, dword [esp + 0x34]
mov dword [esp], edx
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [ebx + 0x14], eax
je 0x4371bd
mov edx, dword [esp + 0x34]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [ebx + 0x18], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
call sub.msvcrt.dll_fread
cmp eax, dword [esp + 0x34]
je 0x436ef3
mov eax, dword [ebx]
mov dword [esp], str._s:_failed_to_read_archive_index_symbol_table_n
mov dword [esp + 4], eax
call fcn.00436bb0
jmp 0x436ea7
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esp], str.Out_of_memory_whilst_trying_to_convert_the_archive_symbol_index_n
call fcn.00436bb0
jmp 0x436ea7
mov dword [esp], str.Out_of_memory_whilst_trying_to_read_archive_index_symbol_table_n
call fcn.00436bb0
jmp 0x436ea7