Function at 0x14001cca0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r13d, edx
mov rdi, rcx
mov rax, qword [0x140081338]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 0xffffffff
je 0x14001ce9b
mov rax, qword [rdi + 0x40]
cmp qword [rax], 0
je 0x14001cd06
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x14001cd06
add ecx, 0xffffffff
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], r13b
mov ebp, r13d
jmp 0x14001cf38
cmp qword [rdi + 0x80], 0
je 0x14001cea2
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x14001cd40
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x14001ceac
mov byte [rsp + 0x5f], r13b
movaps xmm0, xmmword [0x140066ed0]
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x60], 0
mov byte [rsp + 0x68], 0
lea r15, [rdi + 0x74]
mov ebp, 0xf
xor eax, eax
mov edx, 8
lea rbx, [rsp + 0x60]
lea r14, [rsp + 0x50]
lea r12, [rsp + 0x5f]
jmp 0x14001cda3
mov rcx, qword [rdi + 0x68]
mov rbp, qword [rsp + 0x78]
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
cmp rbp, 0xf
cmovbe rax, rbx
add rdx, rax
mov rbp, qword [rcx]
lea rsi, [rsp + 0x48]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, r15
mov r8, r12
lea r9, [rsp + 0x60]
call qword [rbp + 0x38]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x14001ced9
mov rsi, qword [rsp + 0x48]
cmp qword [rsp + 0x78], 0xf
mov rcx, rbx
jbe 0x14001cdfb
mov rcx, qword [rsp + 0x60]
sub rsi, rcx
je 0x14001ce1d
mov r9, qword [rdi + 0x80]
mov edx, 1
mov r8, rsi
call fcn.14004c9d0
cmp rsi, rax
jne 0x14001cef9
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], r12
jne 0x14001cef6
test rsi, rsi
jne 0x14001cd90
mov rax, qword [rsp + 0x70]
cmp rax, 0x1f
ja 0x14001cef9
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
sub rdx, rax
cmp rdx, 8
jae 0x14001ce72
mov byte [rsp + 0x20], 0
mov edx, 8
mov r9d, 8
mov rcx, rbx
call fcn.14000ca60
jmp 0x14001cd90
lea rdx, [rax + 8]
mov qword [rsp + 0x70], rdx
mov rdx, rbx
cmp rcx, 0xf
jbe 0x14001ce89
mov rdx, qword [rsp + 0x60]
mov qword [rdx + rax], 0
mov byte [rdx + rax + 8], 0
jmp 0x14001cd90
xor ebp, ebp
jmp 0x14001cf38
mov ebp, 0xffffffff
jmp 0x14001cf38
mov rdx, qword [rdi + 0x80]
movsx ecx, r13b
call fcn.14004de50
mov esi, eax
cmp eax, 0xffffffff
cmovne esi, r13d
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140041210
mov eax, esi
jmp 0x14001cf4a
cmp eax, 3
jne 0x14001cef9
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x5f]
call fcn.14004de50
cmp eax, 0xffffffff
cmove r13d, eax
mov ebp, r13d
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x14001cf38
mov rcx, qword [rsp + 0x60]
add rax, 1
cmp rax, 0x1000
jb 0x14001cf33
test cl, 0x1f
jne 0x14001cf5e
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14001cf5e
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
mov rcx, rax
jae 0x14001cf5e
call fcn.140041240
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140041210
mov eax, ebp
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400476b0
ud2