Function at 0x1400cb0a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push r12
push r13
push r14
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov qword [rbp - 0x40], rcx
mov ecx, 0x2716
mov r12d, r9d
mov dword [rsp + 0x68], r9d
mov r13, r8
mov qword [rbp - 0x50], rdx
call fcn.1401bee78
mov ecx, 0x2716
mov r14, rax
mov qword [rsp + 0x70], rax
call fcn.1401bee78
mov ecx, 0x138b
mov rbx, rax
mov qword [rbp - 0x60], rax
call fcn.1401bee78
mov qword [rbp - 0x68], rax
test r14, r14
je 0x1400cb767
test rbx, rbx
je 0x1400cb767
test rax, rax
je 0x1400cb767
mov eax, 1
mov ecx, r12d
mov qword [rsp + 0x238], rsi
shl ax, cl
mov qword [rsp + 0x1e8], rdi
mov edi, 1
dec ax
lea ecx, [r12 - 1]
xor edx, edx
movzx esi, ax
shl di, cl
mov dword [rbp - 0x58], eax
lea eax, [rdi + 1]
mov r8d, 0x2716
mov rcx, r14
mov word [rsp + 0x60], ax
lea eax, [rdi + 2]
mov qword [rsp + 0x1e0], r15
mov word [rsp + 0x6c], ax
mov word [rsp + 0x50], ax
xor eax, eax
mov r15d, r12d
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x54], esi
mov ebx, eax
mov dword [rsp + 0x7c], eax
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x70], eax
mov dword [rsp + 0x78], 0xffffffff
call fcn.1401c0040
movsx eax, di
mov edx, r12d
mov dword [rbp - 0x74], eax
mov edi, eax
cmp edx, 8
jl 0x1400cb228
xor r14d, r14d
mov esi, edx
mov r12d, edx
shr rsi, 3
mov ecx, r14d
lea eax, [rsi*8]
sub r12d, eax
nop dword [rax]
nop word [rax + rax]
inc ebx
mov byte [rbp + rcx - 0x30], dil
inc rcx
cmp ebx, 0xfe
jl 0x1400cb219
mov rdx, qword [r13]
mov ecx, ebx
call fcn.1401c1ae4
mov r9, qword [r13]
lea rcx, [rbp - 0x30]
movsxd rdx, ebx
mov r8d, 1
call fcn.1401c24f8
mov ebx, r14d
mov rcx, r14
sar edi, 8
dec rsi
jne 0x1400cb1e0
mov esi, dword [rsp + 0x54]
mov edx, r15d
mov eax, 0x1000
cmp word [rsp + 0x50], si
jle 0x1400cb25c
lea r15d, [rdx + 1]
mov dword [rsp + 0x58], r15d
cmp r15d, 0xc
jne 0x1400cb249
mov dword [rsp + 0x54], eax
jmp 0x1400cb25c
mov eax, 1
mov ecx, r15d
shl ax, cl
dec ax
mov word [rsp + 0x54], ax
mov r8d, dword [rbp + 0x148]
xor edx, edx
movzx r14d, dx
mov esi, edx
mov dword [rbp - 0x78], edx
mov dword [rsp + 0x5c], r14d
test r8d, r8d
jle 0x1400cb5f2
mov r15d, dword [rbp + 0x140]
test esi, esi
jne 0x1400cb2e0
mov eax, dword [rbp + 0x150]
mov rcx, qword [rbp - 0x40]
mov r9d, r8d
mov byte [rsp + 0x40], al
lea rax, [rbp - 0x70]
mov r8d, r15d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax + 8]
call fcn.1400cb790
mov r8d, dword [rbp + 0x148]
xor edx, edx
mov r14d, eax
mov dword [rsp + 0x5c], eax
test esi, esi
sete dl
cmp edx, r15d
jge 0x1400cb5da
mov eax, r15d
movsxd rsi, ebx
sub eax, edx
mov qword [rbp - 0x48], rax
nop dword [rax + rax]
mov eax, dword [rbp + 0x150]
mov rcx, qword [rbp - 0x40]
mov r9d, r8d
mov byte [rsp + 0x40], al
lea rax, [rbp - 0x70]
mov r8d, r15d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax + 8]
call fcn.1400cb790
mov ecx, 0xff
movsx r11d, r14w
and ax, cx
movsx r10d, ax
mov dword [rbp - 0x7c], eax
mov r15d, r10d
shl r15d, 4
add r15d, r11d
cmp r15d, 0x138b
jl 0x1400cb374
sub r15d, 0x138b
mov rax, qword [rsp + 0x70]
movsxd rcx, r15d
mov r8d, 1
movzx edx, word [rax + rcx*2]
test dx, dx
jle 0x1400cb40a
mov r9, qword [rbp - 0x60]
cmp word [r9 + rcx*2], r14w
jne 0x1400cb3b1
mov rax, qword [rbp - 0x68]
movzx eax, byte [rcx + rax]
cmp eax, r10d
jne 0x1400cb3ac
movzx r14d, dx
jmp 0x1400cb5ba
mov rax, qword [rsp + 0x70]
test r15d, r15d
je 0x1400cb3bf
mov r8d, 0x138b
sub r8d, r15d
movsxd r9, r8d
sub r15d, r8d
sub rcx, r9
jns 0x1400cb3d8
add r15d, 0x138b
add rcx, 0x138b
movzx edx, word [rax + rcx*2]
test dx, dx
je 0x1400cb40a
mov r9, qword [rbp - 0x60]
cmp word [r9 + rcx*2], r14w
movsxd r9, r8d
jne 0x1400cb3c2
mov rax, qword [rbp - 0x68]
movzx eax, byte [rcx + rax]
cmp eax, r10d
mov rax, qword [rsp + 0x70]
jne 0x1400cb3c2
movzx r14d, dx
jmp 0x1400cb5ba
test r12d, r12d
jle 0x1400cb41a
mov ecx, r12d
shl r11d, cl
or edi, r11d
jmp 0x1400cb41d
mov edi, r11d
mov ecx, dword [rsp + 0x58]
add r12d, ecx
cmp r12d, 8
jl 0x1400cb49f
mov r14d, r12d
shr r14, 3
mov eax, r14d
neg eax
lea r12d, [r12 + rax*8]
mov dword [rsp + 0x64], r12d
xor r12d, r12d
nop dword [rax]
nop word [rax + rax]
inc ebx
mov byte [rbp + rsi - 0x30], dil
inc rsi
cmp ebx, 0xfe
jl 0x1400cb489
mov rdx, qword [r13]
mov ecx, ebx
call fcn.1401c1ae4
mov r9, qword [r13]
lea rcx, [rbp - 0x30]
movsxd rdx, ebx
mov r8d, 1
call fcn.1401c24f8
mov ebx, r12d
mov rsi, r12
sar edi, 8
dec r14
jne 0x1400cb450
mov r12d, dword [rsp + 0x64]
mov r14d, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
movzx edx, word [rsp + 0x50]
cmp dx, word [rsp + 0x54]
jle 0x1400cb4d2
inc ecx
mov dword [rsp + 0x58], ecx
cmp ecx, 0xc
jne 0x1400cb4c2
mov eax, 0x1000
mov word [rsp + 0x54], ax
jmp 0x1400cb4d7
mov eax, 1
shl ax, cl
dec ax
mov word [rsp + 0x54], ax
mov eax, 0x1000
mov rcx, qword [rsp + 0x70]
cmp dx, ax
jge 0x1400cb50a
movsxd rax, r15d
mov word [rcx + rax*2], dx
mov rcx, qword [rbp - 0x60]
inc dx
mov word [rcx + rax*2], r14w
mov rcx, qword [rbp - 0x68]
mov r14d, dword [rbp - 0x7c]
mov byte [rax + rcx], r14b
mov word [rsp + 0x50], dx
jmp 0x1400cb5ba
xor edx, edx
mov r8d, 0x2716
call fcn.1401c0040
movzx eax, word [rsp + 0x6c]
mov word [rsp + 0x50], ax
test r12d, r12d
jle 0x1400cb532
mov eax, dword [rbp - 0x74]
mov ecx, r12d
shl eax, cl
or edi, eax
jmp 0x1400cb535
mov edi, dword [rbp - 0x74]
add r12d, dword [rsp + 0x58]
cmp r12d, 8
jl 0x1400cb5a6
mov r14d, r12d
shr r14, 3
mov eax, r14d
neg eax
lea r12d, [r12 + rax*8]
mov dword [rsp + 0x64], r12d
xor r12d, r12d
nop dword [rax + rax]
inc ebx
mov byte [rbp + rsi - 0x30], dil
inc rsi
cmp ebx, 0xfe
jl 0x1400cb599
mov rdx, qword [r13]
mov ecx, ebx
call fcn.1401c1ae4
mov r9, qword [r13]
lea rcx, [rbp - 0x30]
movsxd rdx, ebx
mov r8d, 1
call fcn.1401c24f8
mov ebx, r12d
mov rsi, r12
sar edi, 8
dec r14
jne 0x1400cb560
mov r12d, dword [rsp + 0x64]
mov eax, dword [rsp + 0x68]
mov r14d, dword [rbp - 0x7c]
mov dword [rsp + 0x58], eax
mov eax, dword [rbp - 0x58]
mov word [rsp + 0x54], ax
dec qword [rbp - 0x48]
mov r15d, dword [rbp + 0x140]
mov r8d, dword [rbp + 0x148]
mov dword [rsp + 0x5c], r14d
jne 0x1400cb300
mov esi, dword [rbp - 0x78]
inc esi
mov edx, 0
mov dword [rbp - 0x78], esi
cmp esi, r8d
jl 0x1400cb283
mov r15d, dword [rsp + 0x58]
test r12d, r12d
jle 0x1400cb604
movsx eax, r14w
mov ecx, r12d
shl eax, cl
or edi, eax
jmp 0x1400cb608
movsx edi, r14w
add r12d, r15d
cmp r12d, 8
jl 0x1400cb671
mov esi, r12d
movsxd rcx, ebx
shr rsi, 3
mov eax, esi
neg eax
lea r12d, [r12 + rax*8]
nop dword [rax]
nop word [rax + rax]
inc ebx
mov byte [rbp + rcx - 0x30], dil
inc rcx
cmp ebx, 0xfe
jl 0x1400cb669
mov rdx, qword [r13]
mov ecx, ebx
call fcn.1401c1ae4
mov r9, qword [r13]
lea rcx, [rbp - 0x30]
movsxd rdx, ebx
mov r8d, 1
call fcn.1401c24f8
xor edx, edx
mov ebx, edx
mov ecx, edx
sar edi, 8
dec rsi
jne 0x1400cb630
movzx eax, word [rsp + 0x50]
cmp ax, word [rsp + 0x54]
jle 0x1400cb680
inc r15d
test r12d, r12d
jle 0x1400cb693
movsx eax, word [rsp + 0x60]
mov ecx, r12d
shl eax, cl
or edi, eax
jmp 0x1400cb698
movsx edi, word [rsp + 0x60]
add r12d, r15d
mov r15, qword [rsp + 0x1e0]
cmp r12d, 8
jl 0x1400cb6ff
mov esi, r12d
movsxd rcx, ebx
shr rsi, 3
mov eax, esi
neg eax
lea r12d, [r12 + rax*8]
nop dword [rax + rax]
inc ebx
mov byte [rbp + rcx - 0x30], dil
inc rcx
cmp ebx, 0xfe
jl 0x1400cb6f7
mov rdx, qword [r13]
mov ecx, ebx
call fcn.1401c1ae4
mov r9, qword [r13]
lea rcx, [rbp - 0x30]
movsxd rdx, ebx
mov r8d, 1
call fcn.1401c24f8
xor ebx, ebx
xor ecx, ecx
sar edi, 8
dec rsi
jne 0x1400cb6c0
mov rsi, qword [rsp + 0x238]
test r12d, r12d
jle 0x1400cb71e
movsxd rax, ebx
inc ebx
mov byte [rbp + rax - 0x30], dil
cmp ebx, 0xfe
jge 0x1400cb722
test ebx, ebx
jle 0x1400cb743
mov rdx, qword [r13]
mov ecx, ebx
call fcn.1401c1ae4
mov r9, qword [r13]
lea rcx, [rbp - 0x30]
mov r8d, 1
movsxd rdx, ebx
call fcn.1401c24f8
mov rcx, qword [rbp - 0x68]
call fcn.1401be23c
mov rcx, qword [rbp - 0x60]
call fcn.1401be23c
mov rcx, qword [rsp + 0x70]
call fcn.1401be23c
mov rdi, qword [rsp + 0x1e8]
mov eax, 1
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x1f0
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret