Function at 0x1400640a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2220]
mov eax, 0x2320
call fcn.1400e9bb0
sub rsp, rax
mov rax, qword [0x1401a9600]
xor rax, rsp
mov qword [rbp + 0x2210], rax
mov rsi, rdx
mov qword [rsp + 0x48], rdx
xor r14d, r14d
cmp qword [rcx + 0x18], 0xf
jbe 0x1400640eb
mov rcx, qword [rcx]
call fcn.140075b00
mov r15, rax
test rax, rax
jne 0x140064118
xor r9d, r9d
lea r8, str.Extraction_error
lea rdx, str.Cannot_open_zip_file
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x1400645af
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.1400759a0
test eax, eax
je 0x140064151
lea rdx, str.Could_not_read_file_global_info
xor r9d, r9d
lea r8, str.Extraction_error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r15
call fcn.1400757a0
xor al, al
jmp 0x1400645af
mov dword [rsp + 0x44], r14d
cmp dword [rsp + 0x70], r14d
jbe 0x1400645a5
movzx ebx, byte [rsp + 0x40]
movzx edi, byte [rsp + 0x40]
lea r13, [0x1401653d4]
movabs r12, 0x7fffffffffffffff
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, 0x100
lea r8, [rbp + 0x110]
lea rdx, [rbp + 0xc0]
mov rcx, r15
call fcn.1400758a0
test eax, eax
jne 0x140064599
mov rcx, r15
call fcn.140075b10
test eax, eax
jne 0x14006458d
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
lea rax, [rbp + 0x110]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400641e1
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x68]
call fcn.140050470
nop
mov rcx, qword [rsi + 0x10]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x1400645d9
mov r9, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14006421d
mov r9, qword [rsi]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
mov r8, rsi
movzx edx, bl
lea rcx, [rsp + 0x50]
call fcn.14005d900
nop
lea r9, [rbp - 0x68]
lea r8, [rsp + 0x50]
movzx edx, dil
lea rcx, [rsp + 0x78]
call fcn.14005d710
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140064297
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064291
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400644f3
call fcn.1400e970c
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400642d2
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400642cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400644fa
call fcn.1400e970c
lea rsi, [rsp + 0x78]
mov r14, qword [rbp - 0x70]
cmp r14, 0xf
seta byte [rsp + 0x40]
mov r12, qword [rsp + 0x78]
cmova rsi, r12
mov r13, qword [rbp - 0x78]
test r13, r13
je 0x14006436d
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x1401653d8]
lea rbx, [0x1401653da]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rbp + rax - 0x40], 1
inc rcx
cmp rcx, rbx
jne 0x140064320
movzx ebx, byte [rsp + 0x40]
lea rax, [r13 - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rsi
movzx eax, byte [r8]
cmp byte [rbp + rax - 0x40], 0
jne 0x140064368
cmp r8, rsi
je 0x14006436d
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax - 0x40], 0
je 0x140064355
sub r8, rsi
jmp 0x140064374
mov r8, 0xffffffffffffffff
cmp r8, 0xffffffffffffffff
je 0x1400643ec
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
cmp r13, r8
cmovb r8, r13
lea rdx, [rsp + 0x78]
cmp byte [rsp + 0x40], al
cmovne rdx, r12
lea rcx, [rbp - 0x68]
call fcn.140050470
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400643e3
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400643de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400644fa
call fcn.1400e970c
mov r12, qword [rsp + 0x78]
mov r14, qword [rbp - 0x70]
lea rcx, [rsp + 0x78]
cmp r14, 0xf
cmova rcx, r12
lea rdx, [0x1400fdea4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
je 0x14006451c
nop dword [rax]
nop word [rax + rax]
mov r8d, 0x2000
lea rdx, [rbp + 0x210]
mov rcx, r15
call fcn.140076580
test eax, eax
js 0x140064456
jle 0x14006446f
movsxd rdx, eax
mov r9, rsi
mov r8d, 1
lea rcx, [rbp + 0x210]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140064420
xor r9d, r9d
lea r8, str.Extraction_error
lea rdx, str.Error_reading_file
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r15
call fcn.1400757f0
mov eax, dword [rsp + 0x44]
inc eax
mov r14d, eax
mov dword [rsp + 0x44], eax
cmp eax, dword [rsp + 0x70]
jae 0x14006449f
mov rcx, r15
call fcn.140075a40
test eax, eax
jne 0x140064501
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400644db
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400644d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006457d
call fcn.1400e970c
cmp r14d, dword [rsp + 0x70]
jae 0x1400645a5
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
jmp 0x14006416b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor r9d, r9d
lea r8, str.Extraction_error
lea rdx, str.Could_not_read_next_file
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14006453d
xor r9d, r9d
lea r8, str.Extraction_error
lea rdx, str.Could_not_open_output_file:
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r15
call fcn.1400757f0
mov rcx, r15
call fcn.1400757a0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14006414a
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064584
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064584
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e970c
xor al, al
jmp 0x1400645af
lea rdx, str.Could_not_open_file
jmp 0x140064130
lea rdx, str.Could_not_read_file_info
jmp 0x140064130
mov rcx, r15
call fcn.1400757a0
mov al, 1
mov rcx, qword [rbp + 0x2210]
xor rcx, rsp
call fcn.1400e9b80
mov rbx, qword [rsp + 0x2370]
add rsp, 0x2320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14006a210
nop
int3