Function at 0x1400241a0
Capabilities:
Read file on windows

Disassembly:
mov byte [rsp + 0x20], r9b
push rbp
push rsi
push rdi
push r13
push r14
mov eax, 0x1020
call fcn.140156570
sub rsp, rax
cmp byte [rsp + 0x1070], 0
movzx ebp, r9b
movsxd rdi, r8d
mov r14, rdx
mov r13, rcx
jne 0x140024205
xor edx, edx
call fcn.140063ba0
mov rsi, rax
test rax, rax
jne 0x14002423d
mov r9, r13
lea r8, str.Failed_to_open_zip___s__n
lea edx, [rax + 1]
mov ecx, 0x7f0
call fcn.140001480
add rsp, 0x1020
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
mov edx, 2
call fcn.140063ba0
mov rsi, rax
test rax, rax
jne 0x14002423d
mov r9, r13
lea r8, str.Failed_to_append_zip___s__n
lea edx, [rax + 1]
mov ecx, 0x7f0
call fcn.140001480
add rsp, 0x1020
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x1050], rbx
xor ebx, ebx
mov qword [rsp + 0x1058], r12
mov r12d, ebx
mov qword [rsp + 0x1060], r15
mov r15, rdi
test edi, edi
jle 0x14002437c
mov ebp, ebx
nop word [rax + rax]
mov rcx, qword [r14 + rbp*8]
lea rdx, [0x14017f864]
call fcn.14001ccc0
mov rcx, qword [r14 + rbp*8]
mov rdi, rax
test rax, rax
jne 0x1400242a8
mov r9, rcx
lea r8, str.Failed_to_add_file___s__to_zip_file___sopen_n
mov ecx, 0x7f1
lea edx, [rax + 1]
call fcn.140001480
jmp 0x140024365
call fcn.140013910
mov rdx, rax
mov rcx, rsi
call fcn.140063bc0
test eax, eax
jne 0x140024479
mov r9, rdi
lea edx, [rax + 1]
mov r8d, 0x1000
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
test eax, eax
jle 0x140024315
nop dword [rax + rax]
mov r8d, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400ef778
test eax, eax
jne 0x14002446d
mov r9, rdi
lea edx, [rax + 1]
mov r8d, 0x1000
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
test eax, eax
jg 0x1400242e0
test eax, eax
jns 0x140024331
lea r8, str.Failed_to_add_file___s__to_zip_file___sread_n
mov r9, qword [r14 + rbp*8]
mov edx, 1
mov ecx, 0x7f1
call fcn.140001480
mov rcx, rsi
call fcn.1400eeb4c
test eax, eax
je 0x140024357
mov r9, qword [r14 + rbp*8]
lea r8, str.Failed_to_add_file___s__to_zip_file___zclose_n
mov edx, 1
mov ecx, 0x7f1
call fcn.140001480
call fcn.140008a90
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
inc r12d
inc rbp
cmp rbp, r15
jl 0x140024270
movzx ebp, byte [rsp + 0x1068]
xor edx, edx
mov rcx, rsi
call fcn.1400ef0fc
test eax, eax
je 0x1400243a3
mov r9, r13
lea r8, str.Failed_to_close_zip_file___s__n
mov edx, 1
mov ecx, 0x7f1
call fcn.140001480
cmp bpl, 1
jne 0x140024444
movsxd rax, dword [0x1401bafec]
imul rcx, rax, 0x38
mov rax, qword [0x140175020]
test byte [rcx + rax + 0x18], 0x10
je 0x1400243e9
mov r8, qword [rcx + rax]
lea rcx, str._s_MONITOR:_s:
mov rdx, qword [section..data]
call fcn.140002310
lea rcx, str.Removing_Files_n
call fcn.140001fb0
test r15, r15
jle 0x140024444
nop
movsxd rax, dword [0x1401bafec]
imul rcx, rax, 0x38
mov rax, qword [0x140175020]
test dword [rcx + rax + 0x18], 0x100
je 0x140024433
mov r8, qword [rcx + rax]
lea rcx, str._s_MONITOR:_s:
mov rdx, qword [section..data]
call fcn.140002310
mov rdx, qword [r14 + rbx*8]
lea rcx, str.Rm:__s_n
call fcn.140001fb0
mov rcx, qword [r14 + rbx*8]
call fcn.14001cc60
inc rbx
cmp rbx, r15
jl 0x1400243f0
xor eax, eax
mov r12, qword [rsp + 0x1058]
mov rbx, qword [rsp + 0x1050]
mov r15, qword [rsp + 0x1060]
add rsp, 0x1020
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
lea r8, str.Failed_to_add_file___s__to_zip_file___zwrite_n
jmp 0x14002431e
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r9d, r12d
lea r8, str.Failed_to_add_file___s__to_zip_file___zadd_n
mov edx, 1
mov ecx, 0x7f1
mov r9, qword [r14 + r9*8]
call fcn.140001480
jmp 0x140024446