Function at 0x1400143b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r10, qword [0x140057a90]
xor r15d, r15d
mov r12, rdx
mov r14, r8
mov ebx, r9d
mov r13, rdx
imul r12, r8
mov rsi, rcx
mov ebp, r15d
mov r8, r12
cmp r9d, 1
jne 0x14001441d
mov rax, qword [0x140057a08]
mov qword [0x140057ab0], r15
mov qword [0x140057a88], r10
mov qword [0x140057a80], rax
mov eax, dword [0x140057a4c]
mov dword [0x140057a48], eax
mov rax, qword [0x140057aa0]
test rax, rax
je 0x140014446
sub rax, r10
cmp r12, rax
jbe 0x140014446
cmp ebx, 3
je 0x140014443
cmp ebx, 1
je 0x140014443
mov r8, rax
cmp ebx, 2
jne 0x140014475
mov r8, r15
cmp ebx, 2
jne 0x140014475
cmp dword [0x140053f4c], 0xffffffff
jne 0x140014467
mov eax, dword [0x140057a4c]
mov qword [0x140057a50], r10
mov dword [0x140053f4c], eax
inc qword [0x140057a58]
inc qword [0x140057a60]
test r8, r8
je 0x1400144ad
mov r9, qword [0x140057a08]
call fcn.140023e4c
mov r10, qword [0x140057a90]
mov rdi, r12
add r10, rax
sub rdi, rax
mov rbp, rax
mov qword [0x140057a90], r10
test ebx, ebx
jne 0x1400144b0
add qword [0x140057ab0], rax
jmp 0x1400144b0
mov rdi, r12
test rdi, rdi
je 0x14001479e
mov eax, dword [0x140057a98]
test eax, eax
je 0x14001477d
add qword [0x140057aa8], r10
cmp eax, 1
jne 0x1400144f4
mov rcx, qword [0x140057a08]
call fcn.140024038
test eax, eax
je 0x1400144f4
lea rdx, str.Could_not_write_split
mov ecx, 0xe
call fcn.140001310
cmp dword [0x140057a98], 2
jne 0x14001452b
mov rcx, qword [0x140057a08]
call fcn.140024038
test eax, eax
je 0x14001452b
cmp qword [0x140057a90], 0x10000
jae 0x14001452b
lea rdx, str.Not_enough_space_to_write_split
mov ecx, 0xe
call fcn.140001310
cmp dword [0x140057a98], 1
jne 0x140014552
mov eax, dword [0x140057a4c]
cmp dword [0x140057a48], eax
jne 0x140014552
mov rax, qword [0x140057a00]
mov qword [0x140057a78], rax
jmp 0x140014585
mov r8, qword [0x140057a00]
mov rdx, qword [0x140057a08]
mov ecx, dword [0x140057a4c]
call fcn.140014340
mov rcx, qword [0x140057a00]
mov qword [0x140057a08], r15
call fcn.140021628
mov qword [0x140057a00], r15
inc dword [0x140057a4c]
cmp dword [0x140057a98], 2
mov qword [0x140057a58], r15
mov qword [0x140057a90], r15
jne 0x1400145f7
cmp dword [0x140057a9c], r15d
je 0x1400145d0
mov rdx, qword [0x1400a3dd0]
mov ecx, 7
call fcn.140023ba8
mov rcx, qword [0x1400a3dd0]
call fcn.140021964
nop dword [rax + rax]
cmp dword [0x140057a98], 2
jne 0x1400145f7
mov ecx, dword [0x140057a4c]
call fcn.140013b50
test eax, eax
jne 0x1400145f7
lea rdx, str.could_not_write_split
lea ecx, [rax + 9]
call fcn.140001310
mov rcx, qword [0x1400a3df0]
call fcn.140013960
mov qword [0x140057a00], rax
test rax, rax
jne 0x140014625
lea rdx, str.allocating_temp_filename
lea ecx, [rax + 4]
call fcn.140001310
mov rax, qword [0x140057a00]
lea rdx, [0x140047720]
mov rcx, rax
call fcn.140023b9c
mov qword [0x140057a08], rax
test rax, rax
jne 0x140014656
mov rdx, qword [0x140057a00]
lea ecx, [rax + 0xa]
call fcn.140001310
mov rax, qword [0x140057a08]
lea rcx, [rsi + rbp]
mov r9, rax
mov r8, rdi
mov edx, 1
call fcn.140023e4c
add qword [0x140057a90], rax
add rbp, rax
cmp ebx, 3
je 0x14001468a
cmp ebx, 1
je 0x14001468a
cmp ebx, 2
je 0x14001468a
add qword [0x140057ab0], rax
cmp rdi, rax
jbe 0x1400146c1
cmp dword [0x140057a98], 2
jne 0x1400146b0
lea rdx, [0x14004672a]
lea rcx, str.Not_enough_room_on_disk
call fcn.140001860
jmp 0x1400145d0
lea rdx, str.Not_enough_room_on_disk
mov ecx, 0xe
call fcn.140001310
cmp ebx, 1
je 0x1400146d4
cmp ebx, 3
je 0x1400146d4
cmp ebx, 2
jne 0x14001479e
cmp dword [0x140057a98], 1
jne 0x14001474c
mov rdi, qword [0x140057a80]
test rdi, rdi
je 0x14001474c
mov edx, dword [0x140057a48]
cmp edx, dword [0x140057a4c]
je 0x14001474c
mov rcx, qword [0x140057a28]
mov rsi, qword [0x140057a78]
call fcn.140014240
cmp dword [0x140057ab8], r15d
mov rbx, rax
je 0x140014725
lea rcx, str.________Closing_split
mov rdx, rax
call fcn.1400017a0
mov rcx, rdi
call fcn.1400215c0
mov rdx, rbx
mov rcx, rsi
call fcn.140002c10
mov rcx, rbx
call fcn.140002c90
mov rcx, qword [0x140057a78]
call fcn.140021628
mov rax, qword [0x140057a00]
mov qword [0x140057a88], r15
mov qword [0x140057a78], rax
mov rax, qword [0x140057a08]
mov qword [0x140057a80], rax
mov eax, dword [0x140057a4c]
mov dword [0x140057a48], eax
jmp 0x14001479e
mov rcx, qword [0x140057a08]
call fcn.140024038
test eax, eax
je 0x14001479e
lea rdx, str.write_error_on_zip_file
mov ecx, 0xe
call fcn.140001310
cmp dword [0x140057920], r15d
je 0x140014855
mov rdx, qword [0x140057908]
mov rcx, qword [0x140057910]
test rdx, rdx
jle 0x14001481c
cmp rcx, 0xffffffffffffffff
jne 0x1400147f4
mov rdx, qword [0x1400a3dd0]
mov ecx, 0x20
call fcn.140023ba8
mov rcx, qword [0x1400a3dd0]
call fcn.140021964
mov rdx, qword [0x140057908]
mov ecx, 1
mov qword [0x140057910], rcx
cmp r12, 0x3e8
jbe 0x140014819
inc rcx
mov rax, rcx
imul rax, r13
imul rax, r14
cmp rdx, rax
cmovle rcx, r15
mov qword [0x140057910], rcx
test rdx, rdx
je 0x140014855
test rcx, rcx
jne 0x140014855
mov rdx, qword [0x1400a3dd0]
mov ecx, 0x2e
mov qword [0x140057910], 1
call fcn.140023ba8
mov rcx, qword [0x1400a3dd0]
call fcn.140021964
mov dword [0x140057abc], 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rax, rbp
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret