Function at 0x1400cd880
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, 0xc0
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor ebx, ebx
mov edi, 1
mov eax, r8d
mov r12, rdx
mov r14, rcx
mov r13, rdx
lea r15d, [rbx + 6]
mov dword [rsp + 0x24], eax
mov esi, ebx
mov ebp, ebx
mov dword [rsp + 0x20], edi
cmp r8d, edi
jle 0x1400cdb10
mov r15d, ebx
nop dword [rax + rax]
movzx eax, byte [r13]
add r12, 4
cmp byte [r12], al
jne 0x1400cd985
test ebp, ebp
je 0x1400cd92c
mov rdx, qword [r14]
lea ecx, [rbp - 1]
call fcn.1401c1ae4
mov r9, qword [r14]
movsxd rdi, ebp
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call fcn.1401c24f8
cmp rax, rdi
jne 0x1400cda9f
mov edi, dword [rsp + 0x20]
mov ebp, ebx
mov r15, rbx
inc esi
cmp esi, 0xffff
jne 0x1400cda4c
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, 1
mov r8d, edx
mov rcx, r12
call fcn.1401c24f8
cmp rax, 1
jne 0x1400cdaab
mov esi, ebx
jmp 0x1400cda4c
mov byte [rsp + r15 + 0x30], al
test esi, esi
je 0x1400cda14
mov rdx, qword [r14]
cmp esi, 0x80
jl 0x1400cd9e8
mov ecx, 0x80
call fcn.1401c1ae4
mov rdx, qword [r14]
lea edi, [rsi + 1]
mov ecx, edi
sar ecx, 8
call fcn.1401c1ae4
mov rdx, qword [r14]
movzx ecx, dil
call fcn.1401c1ae4
mov r9, qword [r14]
mov edx, 1
mov r8d, edx
mov rcx, r13
call fcn.1401c24f8
cmp rax, 1
jne 0x1400cda9f
mov edi, dword [rsp + 0x20]
mov esi, ebx
jmp 0x1400cda19
mov ecx, esi
bts ecx, 7
call fcn.1401c1ae4
mov r9, qword [r14]
mov edx, 1
mov r8d, edx
mov rcx, r13
call fcn.1401c24f8
cmp rax, 1
jne 0x1400cda9f
mov esi, ebx
jmp 0x1400cda19
inc ebp
inc r15
cmp ebp, 0x80
jne 0x1400cda4c
mov rdx, qword [r14]
lea ecx, [rbp - 1]
call fcn.1401c1ae4
mov r9, qword [r14]
lea edx, [rbp - 0x7f]
lea rcx, [rsp + 0x30]
mov r8d, ebp
call fcn.1401c24f8
cmp rax, 0x80
jne 0x1400cdab7
mov ebp, ebx
mov r15, rbx
inc edi
mov r13, r12
mov dword [rsp + 0x20], edi
cmp edi, dword [rsp + 0x24]
jl 0x1400cd8e0
mov r15d, 6
test esi, esi
je 0x1400cdad6
cmp esi, 0x80
jl 0x1400cdac3
mov rdx, qword [r14]
mov ecx, 0x80
call fcn.1401c1ae4
mov rdx, qword [r14]
lea edi, [rsi + 1]
mov ecx, edi
sar ecx, 8
call fcn.1401c1ae4
mov rdx, qword [r14]
movzx ecx, dil
call fcn.1401c1ae4
mov rcx, r12
jmp 0x1400cdb1d
mov r15d, 6
movzx ebx, r15w
jmp 0x1400cda65
mov r15d, 6
movzx ebx, r15w
jmp 0x1400cda71
mov r15d, 6
movzx ebx, r15w
jmp 0x1400cdada
mov rdx, qword [r14]
bts esi, 7
mov ecx, esi
call fcn.1401c1ae4
mov rcx, r12
jmp 0x1400cdb1d
test ebp, ebp
je 0x1400cdb10
movzx eax, byte [r13]
mov rdx, qword [r14]
movsxd rcx, ebp
mov byte [rsp + rcx + 0x30], al
mov ecx, ebp
call fcn.1401c1ae4
mov r9, qword [r14]
lea eax, [rbp + 1]
movsxd rdi, eax
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, rdi
call fcn.1401c24f8
cmp rax, rdi
jmp 0x1400cdb31
mov rdx, qword [r14]
xor ecx, ecx
call fcn.1401c1ae4
mov rcx, r13
mov r9, qword [r14]
mov edx, 1
mov r8d, edx
call fcn.1401c24f8
cmp rax, 1
movzx eax, r15w
jne 0x1400cdb3a
movzx eax, bx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401bd600
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret