Function at 0x1400cdb70
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
sub rsp, 0x1c0
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xor edi, edi
mov ebx, 1
mov dword [rsp + 0x24], r8d
mov r12, rdx
mov r14, rcx
mov r15, rdx
lea r13d, [rdi + 6]
mov esi, edi
mov ebp, edi
mov dword [rsp + 0x20], ebx
cmp r8d, ebx
jle 0x1400cde5e
test r9w, r9w
mov eax, edi
mov r13d, edi
setne al
add rax, 3
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
movzx edx, byte [r15]
add r12, rax
cmp byte [r12], dl
jne 0x1400cdca4
movzx eax, byte [r15 + 1]
cmp byte [r12 + 1], al
jne 0x1400cdca4
movzx eax, byte [r15 + 2]
cmp byte [r12 + 2], al
jne 0x1400cdca4
test ebp, ebp
je 0x1400cdc4a
mov rdx, qword [r14]
lea ecx, [rbp - 1]
call fcn.1401c1ae4
mov r9, qword [r14]
movsxd rbx, ebp
lea rcx, [rsp + 0x30]
mov r8, rbx
mov edx, 3
call fcn.1401c24f8
cmp rax, rbx
jne 0x1400cdd99
mov ebx, dword [rsp + 0x20]
mov ebp, edi
mov r13, rdi
inc esi
cmp esi, 0xffff
jne 0x1400cdd80
mov rdx, qword [r14]
mov ecx, 0x80
call fcn.1401c1ae4
mov rdx, qword [r14]
mov ecx, 0xff
call fcn.1401c1ae4
mov rdx, qword [r14]
mov ecx, 0xff
call fcn.1401c1ae4
mov r9, qword [r14]
mov edx, 3
lea r8d, [rdx - 2]
mov rcx, r12
call fcn.1401c24f8
cmp rax, 1
jne 0x1400cdda5
mov esi, edi
jmp 0x1400cdd80
movzx eax, byte [r15 + 1]
lea rcx, [r13*2]
add rcx, r13
mov byte [rsp + rcx + 0x31], al
movzx eax, byte [r15 + 2]
mov byte [rsp + rcx + 0x30], dl
mov byte [rsp + rcx + 0x32], al
test esi, esi
je 0x1400cdd48
mov rdx, qword [r14]
cmp esi, 0x80
jl 0x1400cdd1f
mov ecx, 0x80
call fcn.1401c1ae4
mov rdx, qword [r14]
lea ebx, [rsi + 1]
mov ecx, ebx
sar ecx, 8
call fcn.1401c1ae4
mov rdx, qword [r14]
movzx ecx, bl
call fcn.1401c1ae4
mov r9, qword [r14]
mov edx, 3
lea r8d, [rdx - 2]
mov rcx, r15
call fcn.1401c24f8
cmp rax, 1
jne 0x1400cdd99
mov ebx, dword [rsp + 0x20]
mov esi, edi
jmp 0x1400cdd4d
mov ecx, esi
bts ecx, 7
call fcn.1401c1ae4
mov r9, qword [r14]
mov edx, 3
lea r8d, [rdx - 2]
mov rcx, r15
call fcn.1401c24f8
cmp rax, 1
jne 0x1400cdd99
mov esi, edi
jmp 0x1400cdd4d
inc ebp
inc r13
cmp ebp, 0x80
jne 0x1400cdd80
mov rdx, qword [r14]
lea ecx, [rbp - 1]
call fcn.1401c1ae4
mov r9, qword [r14]
lea edx, [rbp - 0x7d]
lea rcx, [rsp + 0x30]
mov r8d, ebp
call fcn.1401c24f8
cmp rax, 0x80
jne 0x1400cddb1
mov ebp, edi
mov r13, rdi
inc ebx
mov r15, r12
mov dword [rsp + 0x20], ebx
cmp ebx, dword [rsp + 0x24]
jge 0x1400cddbd
mov rax, qword [rsp + 0x28]
jmp 0x1400cdbe0
mov r13d, 6
movzx edi, r13w
jmp 0x1400cddc3
mov r13d, 6
movzx edi, r13w
jmp 0x1400cddcf
mov r13d, 6
movzx edi, r13w
jmp 0x1400cde13
mov r13d, 6
test esi, esi
je 0x1400cde0f
cmp esi, 0x80
jl 0x1400cddfc
mov rdx, qword [r14]
mov ecx, 0x80
call fcn.1401c1ae4
mov rdx, qword [r14]
lea ebx, [rsi + 1]
mov ecx, ebx
sar ecx, 8
call fcn.1401c1ae4
mov rdx, qword [r14]
movzx ecx, bl
call fcn.1401c1ae4
mov rcx, r12
jmp 0x1400cde6b
mov rdx, qword [r14]
bts esi, 7
mov ecx, esi
call fcn.1401c1ae4
mov rcx, r12
jmp 0x1400cde6b
test ebp, ebp
je 0x1400cde5e
mov rdx, qword [r14]
movsxd rax, ebp
lea rcx, [rax + rax*2]
movzx eax, byte [r15]
mov byte [rsp + rcx + 0x30], al
movzx eax, byte [r15 + 1]
mov byte [rsp + rcx + 0x31], al
movzx eax, byte [r15 + 2]
mov byte [rsp + rcx + 0x32], al
mov ecx, ebp
call fcn.1401c1ae4
mov r9, qword [r14]
lea eax, [rbp + 1]
movsxd rbx, eax
lea rcx, [rsp + 0x30]
mov edx, 3
mov r8, rbx
call fcn.1401c24f8
cmp rax, rbx
jmp 0x1400cde81
mov rdx, qword [r14]
xor ecx, ecx
call fcn.1401c1ae4
mov rcx, r15
mov r9, qword [r14]
mov r8d, 1
lea edx, [r8 + 2]
call fcn.1401c24f8
cmp rax, 1
movzx eax, r13w
jne 0x1400cde8a
movzx eax, di
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1401bd600
mov rbx, qword [rsp + 0x210]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret