Function at 0x1400247e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x848
mov r12, r9
mov qword [rsp + 0x30], 0
mov r15, r8
mov rbp, rdx
mov r13, rcx
mov r14, 0xffffffffffffffff
inc r14
cmp byte [r8 + r14], 0
jne 0x140024812
add r14, r15
cmp byte [r14 - 1], 0x2f
je 0x140024831
mov byte [r14], 0x2f
inc r14
mov byte [r14], 0
xor edi, edi
mov qword [rsp + 0x880], rbx
mov qword [rsp + 0x840], rsi
mov dword [rsp + 0x890], edi
cmp dword [rsp + 0x8a8], edi
jle 0x140024bca
mov rbx, qword [rsp + 0x8a0]
mov rax, rbx
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rsi, qword [rax]
mov rdx, r14
mov rcx, rsi
sub rdx, rsi
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140024880
movsxd rax, dword [0x1401ba7d4]
imul rcx, rax, 0x38
mov rax, qword [0x140175020]
test byte [rcx + rax + 0x18], 1
je 0x1400248cf
mov r8, qword [rcx + rax]
lea rcx, str._s_MONITOR:_s:
mov rdx, qword [section..data]
call fcn.140002310
mov r8, rsi
lea rcx, str.Input_file_name__d__:_s__n
mov edx, edi
call fcn.140001fb0
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rsi + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400248e0
cmp byte [rax + rsi - 1], 0x2f
mov rcx, rbp
jne 0x140024939
lea rdx, [rsp + 0x30]
call fcn.140022330
mov ebx, eax
test eax, eax
js 0x140024c36
mov rcx, qword [rsp + 0x30]
mov r9, r12
mov dword [rsp + 0x28], eax
mov r8, r15
mov qword [rsp + 0x20], rcx
mov rdx, rbp
mov rcx, r13
call fcn.1400247e0
mov rdx, qword [rsp + 0x30]
mov ecx, ebx
call fcn.1400226d0
jmp 0x140024b9e
lea rdx, [0x14017f79c]
call fcn.14001ccc0
mov rbp, rax
test rax, rax
jne 0x140024971
mov r9, rsi
lea r8, [0x14017f938]
lea edx, [rax + 1]
mov ecx, 0x7f1
call fcn.140001480
mov rbp, qword [rsp + 0x888]
jmp 0x140024ba6
test rbx, rbx
je 0x140024ac1
lea rdi, [rsp + 0x40]
mov rcx, rsi
sub rdi, rsi
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdi + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140024990
mov edx, 0x2e
mov rcx, rsi
call fcn.1401570ce
mov rbx, rax
test rax, rax
je 0x140024a26
inc rbx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
jle 0x140024a26
mov r8d, eax
lea rdx, [0x14017f73c]
lea rcx, [rsp + 0x440]
call fcn.140002a20
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400249e1
lea rdx, [rsp + 0x440]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140024a00
cmp rax, rcx
jne 0x140024a26
mov rcx, rsi
movzx eax, byte [rcx]
mov byte [rdi + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140024a11
sub rbx, rsi
mov byte [rsp + rbx + 0x3f], al
mov r9d, 0x9e
lea r8, [0x14017f8b0]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14001fb00
mov rdi, rax
xor ebx, ebx
movsxd rax, dword [rsp + 0x8a8]
test rax, rax
jle 0x140024a79
mov rax, qword [rsp + 0x8a0]
mov rdx, rdi
mov rcx, qword [rax + rbx*8]
call fcn.14001d3e0
test eax, eax
je 0x140024ac1
movsxd rax, dword [rsp + 0x8a8]
inc rbx
cmp rbx, rax
jl 0x140024a51
movsxd rax, dword [0x1401ba7d4]
imul rcx, rax, 0x38
mov rax, qword [0x140175020]
test byte [rcx + rax + 0x18], 1
je 0x140024b86
mov r8, qword [rcx + rax]
lea rcx, str._s_MONITOR:_s:
mov rdx, qword [section..data]
call fcn.140002310
mov rdx, rsi
lea rcx, str.Excluding_file___s__from_archieve._n
call fcn.140001fb0
jmp 0x140024b86
mov rdx, r15
mov rcx, r13
call fcn.140063bc0
test eax, eax
je 0x140024aee
mov r9, r15
lea r8, [0x14017f9f8]
mov edx, 1
mov ecx, 0x7f1
call fcn.140001480
jmp 0x140024b86
mov r9, rbp
mov edx, 1
mov r8d, 0x1000
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
test eax, eax
jle 0x140024b41
nop dword [rax]
mov r8d, eax
mov rdx, r12
mov rcx, r13
call fcn.1400ef778
test eax, eax
jne 0x140024c2a
mov r9, rbp
lea edx, [rax + 1]
mov r8d, 0x1000
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
test eax, eax
jg 0x140024b10
test eax, eax
jns 0x140024b5c
lea r8, [0x14017fa28]
mov r9, r15
mov edx, 1
mov ecx, 0x7f1
call fcn.140001480
mov rcx, r13
call fcn.1400eeb4c
test eax, eax
je 0x140024b81
mov r9, r15
lea r8, [0x14017fa58]
mov edx, 1
mov ecx, 0x7f1
call fcn.140001480
call fcn.140008a90
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov edi, dword [rsp + 0x890]
mov rbp, qword [rsp + 0x888]
mov rbx, qword [rsp + 0x8a0]
mov rax, qword [rsp + 0x38]
inc edi
add rax, 8
mov dword [rsp + 0x890], edi
mov qword [rsp + 0x38], rax
cmp edi, dword [rsp + 0x8a8]
jl 0x140024870
movsxd rax, dword [0x1401ba7d4]
imul rdx, rax, 0x38
mov rax, qword [0x140175020]
test byte [rdx + rax + 0x18], 1
je 0x140024c06
mov r8, qword [rdx + rax]
lea rcx, str._s_MONITOR:_s:
mov rdx, qword [section..data]
call fcn.140002310
lea rcx, str.Files_Zip_successful:_n
call fcn.140001fb0
xor eax, eax
mov rsi, qword [rsp + 0x840]
mov rbx, qword [rsp + 0x880]
add rsp, 0x848
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
lea r8, [0x14017f968]
jmp 0x140024b4a
mov r9, rbp
lea r8, str.Failed_to_get_directory_listing_of___s____cannot_add_to_zip_file_n
mov edx, 1
mov ecx, 0x7f0
call fcn.140001480
jmp 0x140024c08