Function at 0x14019be80
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0xa0
xor r13d, r13d
cmp qword [0x1404cbe38], r13
mov edi, r13d
mov dword [rsp + 0x44], r13d
mov esi, r13d
mov qword [rsp + 0x58], r13
mov r12d, r13d
mov qword [rsp + 0x68], r13
mov r15d, r13d
mov dword [rsp + 0xd8], r13d
mov dword [rsp + 0x48], r13d
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x50], r13
jne 0x14019bef8
call fcn.14019fc60
mov qword [0x1404cbe38], rax
test rax, rax
jne 0x14019bef8
lea eax, [r13 + 4]
add rsp, 0xa0
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
mov rcx, qword [0x1403dbd40]
test rcx, rcx
je 0x14019bf50
cmp dword [0x1403dbde4], esi
je 0x14019bf50
mov eax, r13d
cmp dword [0x1403dbd68], eax
sete al
xor edx, edx
mov dword [0x1403dbde0], eax
call fcn.140154620
cmp eax, 0x200
jle 0x14019bf50
cmp eax, 0xa00
mov ecx, 2
mov edx, 4
cmove ecx, edx
mov eax, ecx
add rsp, 0xa0
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
lea rax, [0x1403dbe30]
mov qword [rsp + 0x98], rbx
mov qword [0x1404bbe30], rax
mov eax, 1
mov dword [0x1403dbde8], eax
mov eax, dword [0x1403dbdd0]
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x88], r14
mov dword [0x1404cbf94], r13d
test eax, eax
je 0x14019bfd0
mov ecx, eax
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x58], rax
mov rsi, rax
test rax, rax
je 0x14019bfd0
mov ecx, r13d
cmp dword [0x1403dbdd0], ecx
jbe 0x14019bfd0
nop word [rax + rax]
mov eax, ecx
inc ecx
mov dword [rsi + rax*4], r13d
cmp ecx, dword [0x1403dbdd0]
jb 0x14019bfc0
mov eax, dword [0x1403dbdd4]
test eax, eax
je 0x14019c010
mov ecx, eax
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x68], rax
mov r12, rax
test rax, rax
je 0x14019c010
mov ecx, r13d
cmp dword [0x1403dbdd4], ecx
jbe 0x14019c010
nop
mov eax, ecx
inc ecx
mov dword [r12 + rax*4], r13d
cmp ecx, dword [0x1403dbdd4]
jb 0x14019c000
mov rbp, r13
mov qword [rsp + 0x60], r13
mov dword [rsp + 0xe8], r13d
mov dword [rsp + 0xd0], r13d
mov dword [rsp + 0xe0], r13d
mov ebx, 2
mov r14d, r13d
mov eax, r14d
mov edx, 4
imul rcx, rax, 0x38
lea rax, [0x1403dbe30]
add rcx, rax
mov qword [0x1404bbe30], rcx
lea rcx, [0x1403dbe20]
call fcn.1401539d0
test eax, eax
je 0x14019c384
mov ecx, dword [0x1403dbe20]
cmp ecx, dword [0x1403808bc]
jne 0x14019c2a8
call fcn.14014d0e0
test eax, eax
jne 0x14019c2a1
movzx ecx, word [0x1404cbf0a]
mov edx, ebx
call fcn.1401524d0
test eax, eax
je 0x14019c0a8
cmp eax, edi
cmovg edi, eax
cmp eax, 1
jg 0x14019c1f0
movzx ecx, word [0x1404cbf0c]
mov edx, 3
call fcn.1401524d0
test eax, eax
je 0x14019c0cb
cmp eax, edi
cmovg edi, eax
cmp eax, 1
jg 0x14019c248
movzx ecx, word [0x1404cbf0e]
xor edx, edx
call fcn.1401524d0
test eax, eax
je 0x14019c0eb
cmp eax, edi
cmovg edi, eax
cmp eax, 1
jg 0x14019c26a
cmp dword [0x1403dbdd8], r13d
je 0x14019c10f
call fcn.14019d8d0
test eax, eax
je 0x14019c102
inc r14d
jmp 0x14019c153
inc r15d
mov dword [rsp + 0xd8], r15d
jmp 0x14019c153
mov eax, dword [0x1403dbdd0]
test eax, eax
je 0x14019c17b
mov ebx, r13d
nop dword [rax]
mov rdx, qword [0x1403dbe10]
lea rcx, [0x1404cbfdc]
mov r8d, dword [0x1403dbd60]
mov eax, ebx
mov rdx, qword [rdx + rax*8]
call fcn.14019f790
test eax, eax
jne 0x14019c16d
inc ebx
cmp ebx, dword [0x1403dbdd0]
jb 0x14019c120
mov ebx, 2
inc rbp
mov qword [rsp + 0x60], rbp
cmp r14d, 0x4000
jae 0x14019c394
jmp 0x14019c038
test rsi, rsi
je 0x14019c17b
mov eax, ebx
mov dword [rsi + rax*4], 1
mov ebx, r13d
cmp dword [0x1403dbdd4], ebx
jbe 0x14019c1be
nop word [rax + rax]
mov rdx, qword [0x1403dbe18]
lea rcx, [0x1404cbfdc]
mov r8d, dword [0x1403dbd60]
mov eax, ebx
mov rdx, qword [rdx + rax*8]
call fcn.14019f790
test eax, eax
jne 0x14019c1d8
inc ebx
cmp ebx, dword [0x1403dbdd4]
jb 0x14019c190
call fcn.14019d8d0
mov ebx, 2
test eax, eax
je 0x14019c102
inc r14d
jmp 0x14019c153
test r12, r12
je 0x14019c14e
mov eax, ebx
mov dword [r12 + rax*4], 1
jmp 0x14019c14e
mov r8d, 0x4000
lea rdx, [0x1404c3e38]
lea rcx, [0x1404cbfdc]
call fcn.14019d4e0
lea rdx, str._s:__bad_filename_length___s__n
lea r9, str.central
mov r8, rax
lea rcx, [0x1404bbe38]
call fcn.1401066c0
mov r9d, 0x401
mov r8d, eax
lea rdx, [0x1404bbe38]
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
jmp 0x14019c389
mov r8d, 0x4000
lea rdx, [0x1404c3e38]
lea rcx, [0x1404cbfdc]
call fcn.14019d4e0
lea rdx, str._s:__bad_extra_field_length___s__n
jmp 0x14019c210
mov r8d, 0x4000
lea rdx, [0x1404c3e38]
lea rcx, [0x1404cbfdc]
call fcn.14019d4e0
mov r8, rax
lea rdx, str._s:__bad_file_comment_length_n
lea rcx, [0x1404bbe38]
call fcn.1401066c0
mov r9d, 0x421
jmp 0x14019c22c
mov edi, eax
jmp 0x14019c389
mov edx, dword [0x1404cbf38]
mov eax, 0xffff
test edx, edx
mov r8, 0xffffffffffffffff
cmovne rax, r8
and rax, rbp
cmp rax, qword [0x1404cbf28]
jne 0x14019c30f
test edx, edx
lea rax, [0x1403808c0]
lea rdx, [0x1403808c4]
cmovne rax, rdx
cmp ecx, dword [rax]
je 0x14019c305
cmp dword [0x1404cbf3c], r13d
jne 0x14019c305
cmp ecx, dword [0x1403808c0]
je 0x14019c305
mov dword [rsp + 0xe8], 1
jmp 0x14019c389
mov dword [rsp + 0xe8], r13d
jmp 0x14019c389
mov r8d, dword [rsp + 0xe0]
lea rdx, str.error:__expected_central_file_header_signature_not_found__file__lu_._n
inc r8d
lea rcx, [0x1404bbe38]
add r8d, r14d
call fcn.1401066c0
mov r8d, eax
lea rdx, [0x1404bbe38]
mov r9d, 0x401
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
lea rdx, str.___please_check_that_you_have_transferred_or_created_the_zipfile_in_the_n__appropriate_BINARY_mode_and_that_you_have_compiled_UnZip_properly__n
lea rcx, [0x1404bbe38]
call fcn.1401066c0
mov r8d, eax
lea rdx, [0x1404bbe38]
mov r9d, 0x401
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
mov edi, 3
jmp 0x14019c389
mov edi, 0x33
mov dword [rsp + 0xd0], 1
mov rbx, qword [0x1404cbe90]
lea rax, [rsp + 0x50]
mov rsi, qword [0x1404cbe50]
lea r9, [rsp + 0x70]
mov ebp, dword [0x1404cbe58]
lea r8, [rsp + 0x48]
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov ecx, r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.14019b0d0
test eax, eax
je 0x14019c3ee
cmp eax, edi
cmovg edi, eax
cmp dword [0x1404cbf98], 1
jg 0x14019c451
cmp edi, 0x50
je 0x14019c451
mov ecx, dword [0x1404cbe80]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseeki64]
mov rdx, qword [0x1404cbe48]
mov r8d, 0x2000
mov ecx, dword [0x1404cbe80]
mov qword [0x1404cbe90], rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
add dword [rsp + 0xe0], 0x4000
mov qword [0x1404cbe50], rsi
mov dword [0x1404cbe58], ebp
cmp dword [rsp + 0xd0], r13d
jne 0x14019c459
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
jmp 0x14019c030
mov dword [rsp + 0xd0], r13d
mov ebx, dword [rsp + 0x40]
test ebx, ebx
je 0x14019c5ea
lea rcx, [rbx*8]
mov ebp, ebx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
test rax, rax
jne 0x14019c4d6
lea rdx, str.warning:__cannot_alloc_memory_to_sort_dir_times_perms_etc._n
lea rcx, [0x1404bbe38]
call fcn.1401066c0
mov r8d, eax
lea rdx, [0x1404bbe38]
mov r9d, 0x401
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14019c5ea
nop dword [rax + rax]
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
jne 0x14019c4c0
jmp 0x14019c5ea
mov r15d, r13d
cmp ebx, 1
jne 0x14019c4e9
mov rax, qword [rsp + 0x50]
mov qword [r12], rax
jmp 0x14019c52d
test ebx, ebx
je 0x14019c510
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
nop word [rax + rax]
mov qword [rax], rcx
lea rax, [rax + 8]
mov rcx, qword [rcx]
sub rdx, 1
jne 0x14019c500
lea r9, [0x14019afb0]
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
test ebx, ebx
je 0x14019c592
mov rsi, r12
mov rbx, qword [rsi]
mov rcx, rbx
call fcn.140156490
mov r14d, eax
test eax, eax
je 0x14019c57f
mov r8, qword [rbx + 8]
lea rdx, str.warning:__set_times_attribs_failed_for__s_n
lea rcx, [0x1404bbe38]
inc r15d
call fcn.1401066c0
mov r8d, eax
lea rdx, [0x1404bbe38]
mov r9d, 0x201
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
test edi, edi
cmove edi, r14d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rsi, 8
sub rbp, 1
jne 0x14019c530
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [0x1403dbd90], r13d
jne 0x14019c5e2
cmp dword [0x1403dbd84], r13d
jne 0x14019c5e2
test r15d, r15d
je 0x14019c5e2
mov r8d, r15d
lea rdx, str._____failed_setting_times_attribs_for__lu_dir_entries
lea rcx, [0x1404bbe38]
call fcn.1401066c0
mov r8d, eax
lea rdx, [0x1404bbe38]
xor r9d, r9d
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
mov r15d, dword [rsp + 0xd8]
mov rsi, qword [rsp + 0x58]
mov r12d, recv
mov ebp, dword [rsp + 0xd0]
test rsi, rsi
je 0x14019c671
test ebp, ebp
je 0x14019c668
mov ecx, dword [0x1403dbdd0]
mov ebx, r13d
test ecx, ecx
je 0x14019c668
mov eax, ebx
cmp dword [rsi + rax*4], r13d
jne 0x14019c662
mov r8, qword [0x1403dbe10]
lea rdx, str.caution:_filename_not_matched:___s_n
lea rcx, [0x1404bbe38]
mov r8, qword [r8 + rax*8]
call fcn.1401066c0
mov r8d, eax
lea rdx, [0x1404bbe38]
mov r9d, 1
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
mov ecx, dword [0x1403dbdd0]
cmp edi, 1
cmovle edi, r12d
inc ebx
cmp ebx, ecx
jb 0x14019c612
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14019c6eb
test ebp, ebp
je 0x14019c6e2
mov ecx, dword [0x1403dbdd4]
test ecx, ecx
je 0x14019c6e2
nop dword [rax]
mov eax, r13d
cmp dword [rbx + rax*4], 0
jne 0x14019c6da
mov r8, qword [0x1403dbe18]
lea rdx, str.caution:_excluded_filename_not_matched:___s_n
lea rcx, [0x1404bbe38]
mov r8, qword [r8 + rax*8]
call fcn.1401066c0
mov r8d, eax
lea rdx, [0x1404bbe38]
mov r9d, 0x401
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
mov ecx, dword [0x1403dbdd4]
inc r13d
cmp r13d, ecx
jb 0x14019c690
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test ebp, ebp
je 0x14019c92d
mov eax, dword [rsp + 0xe8]
test eax, eax
je 0x14019c76c
lea rdx, str._nnote:__didnt_find_end_of_central_dir_signature_at_end_of_central_dir._n
lea rcx, [0x1404bbe38]
call fcn.1401066c0
mov r8d, eax
lea rdx, [0x1404bbe38]
mov r9d, 0x401
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
lea rdx, str.___please_check_that_you_have_transferred_or_created_the_zipfile_in_the_n__appropriate_BINARY_mode_and_that_you_have_compiled_UnZip_properly__n
lea rcx, [0x1404bbe38]
call fcn.1401066c0
mov r8d, eax
lea rdx, [0x1404bbe38]
mov r9d, 0x401
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
test edi, edi
mov r13d, 1
cmove edi, r13d
jmp 0x14019c772
mov r13d, 1
cmp dword [0x1403dbd90], 0
mov ebp, dword [rsp + 0x44]
mov ebx, dword [rsp + 0x48]
je 0x14019c8e9
mov r9d, ebp
sub r9d, ebx
cmp dword [0x1403dbd84], 2
jge 0x14019c8e9
lea r14, [0x140329b42]
lea rsi, [0x140258f8c]
test edi, edi
je 0x14019c7d9
mov r9, qword [0x1404cbe78]
lea rax, str.warning_
cmp edi, 1
lea rdx, str.At_least_one__serror_was_detected_in__s._n
mov r8, r14
lea rcx, [0x1404bbe38]
cmove r8, rax
call fcn.1401066c0
jmp 0x14019c851
test r9d, r9d
jne 0x14019c7fa
mov r8, qword [0x1404cbe78]
lea rdx, str.Caution:__zero_files_tested_in__s._n
lea rcx, [0x1404bbe38]
call fcn.1401066c0
jmp 0x14019c851
cmp dword [0x1403dbdd8], 0
je 0x14019c827
lea eax, [rbx + r15]
test eax, eax
jne 0x14019c827
mov r8, qword [0x1404cbe78]
lea rdx, str.No_errors_detected_in_compressed_data_of__s._n
lea rcx, [0x1404bbe38]
call fcn.1401066c0
jmp 0x14019c851
mov r8, qword [0x1404cbe78]
lea rdx, str.No_errors_detected_in__s_for_the__lu_file_s_tested._n
cmp r9d, 1
lea rcx, [0x1404bbe38]
mov rax, rsi
cmove rax, r14
mov qword [rsp + 0x20], rax
call fcn.1401066c0
xor r9d, r9d
lea rdx, [0x1404bbe38]
mov r8d, eax
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
test r15d, r15d
je 0x14019c8ab
cmp r15d, 1
lea rdx, str._lu_file_s_skipped_because_of_unsupported_compression_or_encoding._n
mov r9, rsi
lea rcx, [0x1404bbe38]
cmove r9, r14
mov r8d, r15d
call fcn.1401066c0
mov r8d, eax
lea rdx, [0x1404bbe38]
xor r9d, r9d
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
test ebx, ebx
je 0x14019c8e9
cmp ebx, 1
lea rdx, str._lu_file_s_skipped_because_of_incorrect_password._n
mov r8d, ebx
lea rcx, [0x1404bbe38]
cmove rsi, r14
mov r9, rsi
call fcn.1401066c0
mov r8d, eax
lea rdx, [0x1404bbe38]
xor r9d, r9d
lea rcx, [0x1403dbd40]
call qword [0x1404cc1f8]
test ebp, ebp
jne 0x14019c902
cmp edi, 1
jg 0x14019c902
test r15d, r15d
mov edi, r12d
mov eax, 0x51
cmovne edi, eax
jmp 0x14019c92d
cmp ebp, ebx
jne 0x14019c912
cmp edi, 1
jg 0x14019c912
mov edi, 0x52
jmp 0x14019c92d
test r15d, r15d
je 0x14019c923
cmp edi, 1
jg 0x14019c923
mov edi, 0x51
jmp 0x14019c92d
test ebx, ebx
je 0x14019c92d
test edi, edi
cmove edi, r13d
mov rbp, qword [rsp + 0x90]
mov eax, edi
mov rbx, qword [rsp + 0x98]
mov r14, qword [rsp + 0x88]
add rsp, 0xa0
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret