Function at 0x140028530
Capabilities:
Read file on windows

Disassembly:
jmp 0x140028530
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3b0
mov rax, qword [0x1400a75c0]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov qword [rbp - 0x58], rcx
lea rcx, str.MiniZip_1.1__demo_of_zLib__MiniZip64_package__written_by_Gilles_Vollant_n
or r13d, 0xffffffff
xor ebx, ebx
xor r12d, r12d
mov r15, r8
mov qword [rbp - 0x68], r8
mov esi, edx
mov dword [rbp - 0x80], edx
xor edi, edi
mov dword [rbp - 0x74], r13d
xor r14d, r14d
mov dword [rbp - 0x7c], r12d
mov qword [rbp - 0x48], rbx
call qword [sym.imp.MSVCR120.dll_printf]
lea rcx, str.more_info_on_MiniZip_at_http:__www.winimage.com_zLibDll_minizip.html_n_n
call qword [sym.imp.MSVCR120.dll_printf]
cmp esi, 1
jne 0x1400285be
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 qword [sym.imp.MSVCR120.dll_printf]
or eax, r13d
jmp 0x140028b1d
mov ecx, 1
mov r8d, ecx
cmp esi, ecx
jle 0x14002868b
mov r10d, ecx
lea r12d, [rcx + 1]
nop word [rax + rax]
mov r11, qword [r15 + r10*8]
cmp byte [r11], 0x2d
jne 0x140028671
movzx eax, byte [r11 + 1]
inc r11
test al, al
je 0x140028678
lea r9, [r15 + 8]
lea edx, [r8 + 1]
mov r15d, 1
lea r9, [r9 + r10*8]
lea ecx, [rax - 0x4f]
lea r11, [r11 + 1]
test cl, 0xdf
lea ecx, [rax - 0x41]
cmove edi, r15d
test cl, 0xdf
lea ecx, [rax - 0x30]
cmove edi, r12d
cmp cl, 9
ja 0x140028638
movsx r13d, al
sub r13d, 0x30
lea ecx, [rax - 0x4a]
test cl, 0xdf
cmove ebx, r15d
sub al, 0x50
test al, 0xdf
jne 0x14002865f
cmp edx, esi
jge 0x14002865f
mov rax, qword [r9]
inc r8d
inc edx
inc r10
add r9, 8
mov qword [rbp - 0x48], rax
movzx eax, byte [r11]
test al, al
jne 0x140028610
mov r15, qword [rbp - 0x68]
mov dword [rbp - 0x74], r13d
jmp 0x140028678
test r14d, r14d
cmove r14d, r8d
inc r8d
inc r10
cmp r8d, esi
jl 0x1400285e0
mov r12d, dword [rbp - 0x7c]
mov ecx, 0x4000
call qword [sym.imp.MSVCR120.dll_malloc]
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x1400286b6
lea rcx, str.Error_allocating_memory_n
call qword [sym.imp.MSVCR120.dll_printf]
mov eax, 0xffffff98
jmp 0x140028b1d
test r14d, r14d
je 0x140028b03
movsxd rdx, r14d
lea rcx, [rbp + 0x180]
mov r8d, 0xff
mov rdx, qword [r15 + rdx*8]
xor esi, esi
call qword [sym.imp.MSVCR120.dll_strncpy]
xor eax, eax
or rcx, 0xffffffffffffffff
mov byte [rbp + 0x280], sil
lea rdx, [rbp + 0x180]
nop
inc rcx
cmp byte [rdx + rcx], al
jne 0x1400286f0
movsxd rdx, ecx
test ecx, ecx
jle 0x140028727
mov ecx, 1
nop dword [rax]
nop dword [rax + rax]
cmp byte [rbp + rax + 0x180], 0x2e
cmove esi, ecx
inc rax
cmp rax, rdx
jl 0x140028710
test esi, esi
jne 0x14002874d
lea rcx, [rbp + 0x180]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140028731
mov eax, dword [str..zip]
mov dword [rcx], eax
movzx eax, byte [0x140079654]
mov byte [rcx + 4], al
cmp edi, 2
jne 0x14002877d
lea rdx, [0x140079278]
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCR120.dll_fopen]
test rax, rax
je 0x140028776
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_fclose]
jmp 0x1400287bc
mov edi, 1
jmp 0x1400287bc
test edi, edi
jne 0x1400287bc
lea rdx, [0x140079278]
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCR120.dll_fopen]
test rax, rax
je 0x1400287bc
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_fclose]
lea rdx, [rbp + 0x180]
lea rcx, str.The_file__s_exists._Overwrite____y_es___n_o___a_ppend_:
call qword [sym.imp.MSVCR120.dll_printf]
mov edi, 2
lea rcx, [rbp - 0x30]
call sub.zlibwapi.dll_Ordinal_112
xor edx, edx
mov eax, 2
cmp edi, 2
lea r9, [rbp - 0x30]
lea rcx, [rbp + 0x180]
cmove edx, eax
xor r8d, r8d
call fcn.140001f32
lea rdx, [rbp + 0x180]
mov rdi, rax
mov qword [rbp - 0x68], rax
test rax, rax
jne 0x14002880b
lea rcx, str.error_opening__s_n
call qword [sym.imp.MSVCR120.dll_printf]
or r12d, 0xffffffff
jmp 0x140028818
lea rcx, str.creating__s_n
call qword [sym.imp.MSVCR120.dll_printf]
lea esi, [r14 + 1]
mov dword [rbp - 0x7c], esi
cmp esi, dword [rbp - 0x80]
jge 0x140028adf
movsxd rcx, ebx
movsxd rax, esi
mov qword [rbp - 0x50], rcx
mov ecx, dword [rbp - 0x80]
lea rax, [r15 + rax*8]
mov r14, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
test r12d, r12d
jne 0x140028adb
mov rsi, qword [rax]
movzx eax, byte [rsi]
sub al, 0x2d
test al, 0xfd
jne 0x140028873
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x140028860
cmp rax, 2
je 0x140028abf
xor r12d, r12d
lea rdx, [rbp + 0x40]
mov rcx, rsi
mov edi, r12d
mov dword [rbp - 0x70], r12d
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x28], r12
mov dword [rbp + 0x30], r12d
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400288d0
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x54]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x2a]
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rbp - 0x48]
mov r15, qword [rbp - 0x60]
test rbx, rbx
je 0x1400288fe
mov rcx, qword [rbp - 0x58]
lea rax, [rbp - 0x70]
mov r9d, 0x4000
mov r8, r15
mov rdx, rsi
mov qword [rsp + 0x20], rax
call fcn.1400014e7
mov edi, dword [rbp - 0x70]
mov rcx, qword [rbp - 0x58]
mov rdx, rsi
call fcn.1400028e2
mov rdx, rsi
mov r9d, eax
movzx ecx, byte [rdx]
cmp cl, 0x5c
je 0x14002891d
cmp cl, 0x2f
jne 0x140028922
inc rdx
jmp 0x140028910
cmp qword [rbp - 0x50], r12
je 0x140028954
movzx eax, byte [rdx]
mov r8, r12
mov rcx, rdx
test al, al
je 0x140028954
cmp al, 0x5c
je 0x14002893d
cmp al, 0x2f
jne 0x140028940
mov r8, rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x140028935
test r8, r8
je 0x140028954
lea rdx, [r8 + 1]
mov dword [rsp + 0x80], r9d
mov dword [rsp + 0x78], edi
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x68], r12d
mov dword [rsp + 0x60], 8
mov dword [rsp + 0x58], 0xfffffff1
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x48], r13d
mov eax, r13d
neg eax
lea r8, [rbp + 0x10]
sbb ecx, ecx
xor r9d, r9d
and ecx, 8
mov dword [rsp + 0x40], ecx
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r12, qword [rbp - 0x68]
mov rcx, r12
call fcn.140003323
mov ebx, eax
test eax, eax
je 0x1400289d4
lea rcx, str.error_in_opening__s_in_zipfile_n
mov rdx, rsi
call qword [sym.imp.MSVCR120.dll_printf]
jmp 0x140028a85
lea rdx, [0x140079278]
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll_fopen]
mov r14, rax
test rax, rax
jne 0x140028a05
lea rcx, str.error_in_opening__s_for_reading_n
mov rdx, rsi
call qword [sym.imp.MSVCR120.dll_printf]
or r12d, 0xffffffff
jmp 0x140028abc
mov r13d, 1
nop dword [rax + rax]
mov r9, r14
mov r8d, 0x4000
mov rdx, r13
mov rcx, r15
xor ebx, ebx
call qword [sym.imp.MSVCR120.dll_fread]
mov rdi, rax
cmp eax, 0x4000
jge 0x140028a51
mov rcx, r14
call qword [sym.imp.MSVCR120.dll_feof]
test eax, eax
jne 0x140028a51
lea rcx, str.error_in_reading__s_n
mov rdx, rsi
call qword [sym.imp.MSVCR120.dll_printf]
or ebx, 0xffffffff
test edi, edi
jle 0x140028a79
mov r8d, edi
mov rdx, r15
mov rcx, r12
call fcn.1400023c4
mov ebx, eax
test eax, eax
jns 0x140028a79
lea rcx, str.error_in_writing__s_in_the_zipfile_n
mov rdx, rsi
call qword [sym.imp.MSVCR120.dll_printf]
test ebx, ebx
jne 0x140028a81
test edi, edi
jg 0x140028a10
mov r13d, dword [rbp - 0x74]
test r14, r14
je 0x140028a93
mov rcx, r14
call qword [sym.imp.MSVCR120.dll_fclose]
test ebx, ebx
jns 0x140028a9d
or r12d, 0xffffffff
jmp 0x140028abc
mov rcx, r12
call fcn.1400037dd
mov r12d, eax
test eax, eax
je 0x140028abc
lea rcx, str.error_in_closing__s_in_the_zipfile_n
mov rdx, rsi
call qword [sym.imp.MSVCR120.dll_printf]
mov ecx, dword [rbp - 0x80]
mov esi, dword [rbp - 0x7c]
mov rax, qword [rbp - 0x40]
inc esi
add rax, 8
mov dword [rbp - 0x7c], esi
mov qword [rbp - 0x40], rax
cmp esi, ecx
jl 0x140028841
mov rdi, qword [rbp - 0x68]
xor edx, edx
mov rcx, rdi
call fcn.1400030d5
test eax, eax
je 0x140028b10
lea rdx, [rbp + 0x180]
lea rcx, str.error_in_closing__s_n
call qword [sym.imp.MSVCR120.dll_printf]
jmp 0x140028b10
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 qword [sym.imp.MSVCR120.dll_printf]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.MSVCR120.dll_free]
mov eax, r12d
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.14005cb00
mov rbx, qword [rsp + 0x3f8]
add rsp, 0x3b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret