Function at 0x14000169a
Capabilities:
Read file on windows

Disassembly:
jmp 0x140028d40
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x3a0
mov rax, qword [0x140098f68]
xor rax, rsp
mov qword [rbp + 0x280], rax
xor ebx, ebx
mov dword [rbp - 0x80], edx
xor r12d, r12d
mov qword [rbp - 0x70], rbx
lea rcx, str.MiniZip_1.1__demo_of_zLib__MiniZip64_package__written_by_Gilles_Vollant_n
mov dword [rbp - 0x7c], r12d
mov r14, r8
mov dword [rbp - 0x78], 0xffffffff
mov edi, edx
xor esi, esi
xor r15d, r15d
call fcn.140001a69
lea rcx, str.more_info_on_MiniZip_at_http:__www.winimage.com_zLibDll_minizip.html_n_n
call fcn.140001a69
cmp edi, 1
jne 0x140028dc4
lea rcx, str.Usage_:_minizip___o____a____0_to__9____p_password____j__file.zip__files_to_add__n_n___o__Overwrite_existing_file.zip_n___a__Append_to_existing_file.zip_n___0__Store_only_n___1__Compress_faster_n___9__Compress_better_n_n___j__exclude_path._store_only_the_file_name._n_n
call fcn.140001a69
lea eax, [rdi - 2]
jmp 0x1400293fc
mov qword [rsp + 0x3d0], r13
mov r13d, 1
mov edx, r13d
jle 0x140028e8d
mov r10d, r13d
lea r15d, [r13 + 1]
mov r11, qword [r14 + r10*8]
cmp byte [r11], 0x2d
jne 0x140028e78
movzx eax, byte [r11 + 1]
inc r11
test al, al
je 0x140028e7d
lea r9, [r14 + 8]
lea r9, [r9 + r10*8]
lea r8d, [rdx + 1]
nop dword [rax]
lea ecx, [rax - 0x4f]
test cl, 0xdf
lea r11, [r11 + 1]
lea ecx, [rax - 0x41]
cmove ebx, r13d
test cl, 0xdf
lea ecx, [rax - 0x30]
cmove ebx, r15d
cmp cl, 9
ja 0x140028e3c
movsx edi, al
sub edi, 0x30
mov dword [rbp - 0x78], edi
mov edi, dword [rbp - 0x80]
lea ecx, [rax - 0x4a]
test cl, 0xdf
cmove r12d, r13d
sub al, 0x50
test al, 0xdf
jne 0x140028e6a
cmp r8d, edi
jge 0x140028e6a
mov r13, qword [r9]
inc edx
inc r8d
mov qword [rbp - 0x70], r13
inc r10
mov r13d, 1
add r9, 8
movzx eax, byte [r11]
test al, al
jne 0x140028e10
mov dword [rbp - 0x7c], r12d
jmp 0x140028e7d
test esi, esi
cmove esi, edx
inc edx
inc r10
cmp edx, edi
jl 0x140028de2
xor r15d, r15d
mov ecx, 0x4000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
test rax, rax
jne 0x140028eb5
lea rcx, str.Error_allocating_memory_n
call fcn.140001a69
lea eax, [r13 - 0x68]
jmp 0x1400293f4
test esi, esi
jne 0x140028eca
lea rcx, str.Usage_:_minizip___o____a____0_to__9____p_password____j__file.zip__files_to_add__n_n___o__Overwrite_existing_file.zip_n___a__Append_to_existing_file.zip_n___0__Store_only_n___1__Compress_faster_n___9__Compress_better_n_n___j__exclude_path._store_only_the_file_name._n_n
call fcn.140001a69
jmp 0x1400293e8
movsxd rdx, esi
lea rcx, [rbp + 0x170]
xor edi, edi
mov r8d, 0xff
mov rdx, qword [r14 + rdx*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rcx, [rbp + 0x170]
mov byte [rbp + 0x270], dil
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], dil
jne 0x140028f00
movsxd rcx, eax
test eax, eax
jle 0x140028f37
xor eax, eax
mov edx, 1
nop word [rax + rax]
cmp byte [rbp + rax + 0x170], 0x2e
cmove edi, edx
inc rax
cmp rax, rcx
jl 0x140028f20
test edi, edi
jne 0x140028f5d
lea rcx, [rbp + 0x170]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140028f41
mov eax, dword [str..zip]
mov dword [rcx], eax
movzx eax, byte [0x14007a484]
mov byte [rcx + 4], al
cmp ebx, 2
jne 0x140028f8b
lea rdx, [0x14007a198]
lea rcx, [rbp + 0x170]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
test rax, rax
jne 0x140028f80
lea ebx, [rax + 1]
jmp 0x140028fc9
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140028fc9
test ebx, ebx
jne 0x140028fc9
lea rdx, [0x14007a198]
lea rcx, [rbp + 0x170]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
test rax, rax
je 0x140028fc9
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rdx, [rbp + 0x170]
lea rcx, str.The_file__s_exists._Overwrite____y_es___n_o___a_ppend_:
call fcn.140001a69
mov ebx, 2
lea rcx, [rbp - 0x40]
call sub.zlibwapi.dll_Ordinal_112
xor edx, edx
lea r9, [rbp - 0x40]
mov eax, 2
lea rcx, [rbp + 0x170]
cmp ebx, 2
cmove edx, eax
xor r8d, r8d
call fcn.140001587
mov qword [rbp - 0x60], rax
mov rbx, rax
test rax, rax
jne 0x14002900b
lea r15d, [rax - 1]
lea rcx, str.error_opening__s_n
jmp 0x140029012
lea rcx, str.creating__s_n
lea rdx, [rbp + 0x170]
call fcn.140001a69
inc esi
mov dword [rbp - 0x74], esi
cmp esi, dword [rbp - 0x80]
jge 0x1400293c7
movsxd rax, esi
mov rsi, qword [rbp - 0x58]
lea r14, [r14 + rax*8]
mov qword [rbp - 0x68], r14
nop dword [rax + rax]
mov qword [rbp - 0x58], rsi
test r15d, r15d
jne 0x1400293c3
mov r14, qword [r14]
movzx eax, byte [r14]
sub al, 0x2d
test al, 0xfd
jne 0x140029075
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax], 0
jne 0x140029061
cmp rax, 2
je 0x1400293a6
xor r15d, r15d
lea rdx, [rbp + 0x30]
mov rcx, r14
mov qword [rbp + 0x10], r15
mov qword [rbp + 8], r15
mov qword [rbp], r15
mov qword [rbp + 0x18], r15
mov dword [rbp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400290cb
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x44]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0x1a]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rbp - 0x70], r15
je 0x14002917e
lea rdx, [0x14007a198]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
je 0x14002916c
mov r12d, 1
nop dword [rax]
nop word [rax + rax]
mov r9, rsi
mov r8d, 0x4000
mov rdx, r12
mov rcx, r13
xor edi, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbx, rax
cmp eax, 0x4000
jae 0x140029142
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x140029142
mov rdx, r14
lea rcx, str.error_in_reading__s_n
call fcn.140001a69
mov edi, 0xffffffff
test ebx, ebx
je 0x140029157
mov r8d, ebx
mov rdx, r13
mov ecx, r15d
call sub.zlibwapi.dll_Ordinal_3
mov r15d, eax
test edi, edi
jne 0x14002915f
test ebx, ebx
jne 0x140029100
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r12d, dword [rbp - 0x7c]
mov r8d, r15d
lea rcx, str.file__s_crc__lx_n
mov rdx, r14
call fcn.140001a69
lea rdx, [0x14007a198]
mov rcx, r14
xor esi, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
je 0x1400291de
xor edx, edx
lea r8d, [rsi + 2]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov rdx, r14
lea rcx, str.File_:__s_is__lld_bytes_n
mov r8, rax
mov rbx, rax
call fcn.140001a69
mov eax, 0xffffffff
mov rcx, rdi
cmp rbx, rax
mov eax, 1
cmovae esi, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, r14
movzx eax, byte [rdx]
cmp al, 0x5c
je 0x1400291ec
cmp al, 0x2f
jne 0x1400291f1
inc rdx
jmp 0x1400291e1
test r12d, r12d
je 0x14002921f
xor r8d, r8d
mov rcx, rdx
test al, al
je 0x14002921f
cmp al, 0x5c
je 0x140029208
cmp al, 0x2f
jne 0x14002920b
mov r8, rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x140029200
test r8, r8
je 0x14002921f
lea rdx, [r8 + 1]
mov r8d, dword [rbp - 0x78]
mov eax, r8d
mov dword [rsp + 0x80], esi
neg eax
mov rax, qword [rbp - 0x70]
mov dword [rsp + 0x78], r15d
sbb ecx, ecx
mov r15, qword [rbp - 0x60]
and ecx, 8
mov qword [rsp + 0x70], rax
xor r9d, r9d
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x60], 8
mov dword [rsp + 0x58], 0xfffffff1
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x48], r8d
lea r8, [rbp]
mov dword [rsp + 0x40], ecx
mov rcx, r15
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call fcn.140001537
mov ebx, eax
test eax, eax
je 0x1400292ca
mov rdx, r14
lea rcx, str.error_in_opening__s_in_zipfile_n
call fcn.140001a69
mov rax, qword [rbp - 0x58]
mov rsi, rax
test rax, rax
je 0x14002937c
jmp 0x140029373
lea rdx, [0x14007a198]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
jne 0x140029300
mov rdx, r14
lea rcx, str.error_in_opening__s_for_reading_n
call fcn.140001a69
lea r15d, [rsi - 1]
jmp 0x1400293a6
xor ebx, ebx
mov r9, rsi
mov r8d, 0x4000
mov rcx, r13
lea edx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rdi, rax
cmp eax, 0x4000
jge 0x140029342
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x140029342
mov rdx, r14
lea rcx, str.error_in_reading__s_n
call fcn.140001a69
mov ebx, 0xffffffff
test edi, edi
jle 0x14002935a
mov r8d, edi
mov rdx, r13
mov rcx, r15
call fcn.1400024a0
mov ebx, eax
test eax, eax
js 0x140029364
test ebx, ebx
jne 0x140029373
test edi, edi
jg 0x140029300
jmp 0x140029373
mov rdx, r14
lea rcx, str.error_in_writing__s_in_the_zipfile_n
call fcn.140001a69
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
jns 0x140029388
mov r15d, 0xffffffff
jmp 0x1400293a6
mov rcx, r15
call fcn.14000108c
mov r15d, eax
test eax, eax
je 0x1400293a6
mov rdx, r14
lea rcx, str.error_in_closing__s_in_the_zipfile_n
call fcn.140001a69
mov eax, dword [rbp - 0x74]
mov r14, qword [rbp - 0x68]
inc eax
add r14, 8
mov dword [rbp - 0x74], eax
mov qword [rbp - 0x68], r14
cmp eax, dword [rbp - 0x80]
jl 0x140029040
mov rbx, qword [rbp - 0x60]
xor edx, edx
mov rcx, rbx
call fcn.140002806
test eax, eax
je 0x1400293e8
lea rdx, [rbp + 0x170]
lea rcx, str.error_in_closing__s_n
call fcn.140001a69
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, r15d
mov r13, qword [rsp + 0x3d0]
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140001a9b
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret