Function at 0x18000c8a0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rbp, rcx
cmp qword [rcx + 0x70], 0
je 0x18000cce8
cmp byte [rcx + 0x79], 0
je 0x18000cce8
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 8]
cmp eax, 0xffffffff
jne 0x18000c8ee
xor al, al
jmp 0x18000ccea
mov edx, 0xf
mov qword [rsp + 0x58], rdx
mov byte [rsp + 0x40], 0
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], 8
lea rax, [rsp + 0x40]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
xor r13d, r13d
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
nop word [rax + rax]
cmp r9, 0x10
jb 0x18000c940
mov rdi, r8
test r8, r8
je 0x18000c971
jmp 0x18000c945
lea rdi, [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp r9, 0x10
cmovae rax, r8
cmp rax, rdi
ja 0x18000c971
lea rcx, [rsp + 0x40]
cmp r9, 0x10
cmovae rcx, r8
mov rax, qword [rsp + 0x50]
add rcx, rax
cmp rdi, rcx
jbe 0x18000c980
call fcn.180026ca0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
cmp rax, 0xfffffffffffffffc
je 0x18000c9b4
lea rcx, [rsp + 0x40]
cmp r9, 0x10
cmovae rcx, r8
mov rax, qword [rsp + 0x50]
add rcx, rax
cmp rdi, rcx
jb 0x18000c9b4
call fcn.180026ca0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
cmp r9, 0x10
jb 0x18000c9c9
mov rbx, r8
test r8, r8
je 0x18000c9fa
jmp 0x18000c9ce
lea rbx, [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp r9, 0x10
cmovae rax, r8
cmp rax, rbx
ja 0x18000c9fa
lea rcx, [rsp + 0x40]
cmp r9, 0x10
cmovae rcx, r8
mov rax, qword [rsp + 0x50]
add rcx, rax
cmp rbx, rcx
jbe 0x18000ca09
call fcn.180026ca0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
cmp rax, 0xfffffffffffffffc
je 0x18000ca33
lea rcx, [rsp + 0x40]
cmp r9, 0x10
cmovae rcx, r8
mov rax, qword [rsp + 0x50]
add rcx, rax
cmp rbx, rcx
jb 0x18000ca33
call fcn.180026ca0
mov rcx, qword [rbp + 0x70]
mov rax, qword [rcx]
lea r9, [rdi + rsi]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x20], rdx
mov r8, rbx
lea rdx, [rbp + 0x7c]
call qword [rax + 0x30]
test eax, eax
je 0x18000ca64
sub eax, 1
jne 0x18000cc8f
jmp 0x18000ca68
mov byte [rbp + 0x79], r13b
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x58]
cmp r9, 0x10
jb 0x18000ca82
mov rbx, r8
test r8, r8
je 0x18000cab3
jmp 0x18000ca87
lea rbx, [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp r9, 0x10
cmovae rax, r8
cmp rax, rbx
ja 0x18000cab3
lea rcx, [rsp + 0x40]
cmp r9, 0x10
cmovae rcx, r8
mov rax, qword [rsp + 0x50]
add rcx, rax
cmp rbx, rcx
jbe 0x18000cac2
call fcn.180026ca0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
cmp rax, 0xfffffffffffffffc
je 0x18000caf6
lea rcx, [rsp + 0x40]
cmp r9, 0x10
cmovae rcx, r8
mov rax, qword [rsp + 0x50]
add rcx, rax
cmp rbx, rcx
jb 0x18000caf6
call fcn.180026ca0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x80]
sub rdi, rbx
je 0x18000cbab
cmp r9, 0x10
jb 0x18000cb17
mov rbx, r8
test r8, r8
je 0x18000cb48
jmp 0x18000cb1c
lea rbx, [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp r9, 0x10
cmovae rax, r8
cmp rax, rbx
ja 0x18000cb48
lea rcx, [rsp + 0x40]
cmp r9, 0x10
cmovae rcx, r8
mov rax, qword [rsp + 0x50]
add rcx, rax
cmp rbx, rcx
jbe 0x18000cb57
call fcn.180026ca0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
cmp rax, 0xfffffffffffffffc
je 0x18000cb81
lea rdx, [rsp + 0x40]
cmp r9, 0x10
cmovae rdx, r8
mov rax, qword [rsp + 0x50]
add rdx, rax
cmp rbx, rdx
jb 0x18000cb81
call fcn.180026ca0
mov r9, qword [rbp + 0x88]
mov r8, rdi
mov edx, 1
mov rcx, rbx
call fcn.180027f3c
cmp rdi, rax
jne 0x18000ccc0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
cmp byte [rbp + 0x79], r13b
je 0x18000ccd6
test rdi, rdi
jne 0x18000c930
or rax, 0xffffffffffffffff
sub rax, qword [rsp + 0x50]
cmp rax, 8
ja 0x18000cbdc
call fcn.18002433c
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rbx, 8
cmp rbx, 0xfffffffffffffffe
jbe 0x18000cbfa
call fcn.18002433c
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
cmp r9, rbx
jae 0x18000cc1d
mov r8, qword [rsp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.18000bb70
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
jmp 0x18000cc46
test rbx, rbx
jne 0x18000cc46
mov qword [rsp + 0x50], r13
lea rax, [rsp + 0x40]
cmp r9, 0x10
cmovae rax, r8
mov byte [rax], r13b
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
jmp 0x18000c930
test rbx, rbx
je 0x18000c930
lea rcx, [rsp + 0x40]
cmp r9, 0x10
cmovae rcx, r8
mov rax, qword [rsp + 0x50]
xor edx, edx
mov qword [rax + rcx], rdx
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rax, qword [rsp + 0x40]
mov byte [rbx + rax], dl
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
jmp 0x18000c930
sub eax, 2
je 0x18000ccaa
cmp qword [rsp + 0x58], 0x10
jb 0x18000cca6
mov rcx, qword [rsp + 0x40]
call fcn.180024ab8
xor al, al
jmp 0x18000ccea
cmp qword [rsp + 0x58], 0x10
jb 0x18000ccbc
mov rcx, qword [rsp + 0x40]
call fcn.180024ab8
mov al, 1
jmp 0x18000ccea
cmp qword [rsp + 0x58], 0x10
jb 0x18000ccd2
mov rcx, qword [rsp + 0x40]
call fcn.180024ab8
xor al, al
jmp 0x18000ccea
cmp r9, 0x10
jb 0x18000cce4
mov rcx, r8
call fcn.180024ab8
mov al, 1
jmp 0x18000ccea
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret