Function at 0x14008d9a0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x68
test byte [reloc.WS2_32.dll_accept], 4
mov qword [rsp + 0x78], rbx
mov rbx, rcx
mov qword [rsp + 0x40], r15
movaps xmmword [rsp + 0x30], xmm6
movaps xmm6, xmm1
je 0x14008d9ce
lea rcx, str.dotGroupOptimise_triangles_and_lines__
call fcn.140001fb0
mov r15, qword [rbx + 8]
test r15, r15
je 0x14008dbf3
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r12
xor r12d, r12d
mov qword [rsp + 0x48], r14
movaps xmmword [rsp + 0x20], xmm7
movss xmm7, dword [0x1401588d0]
nop word [rax + rax]
mov r14, qword [r15 + 0x18]
test r14, r14
je 0x14008dbc5
nop dword [rax]
ucomiss xmm6, xmm7
jp 0x14008da27
je 0x14008da3c
movss xmm0, dword [r14 + 0x10]
ucomiss xmm0, xmm6
jp 0x14008dbb9
jne 0x14008dbb9
mov rsi, qword [r14 + 0x28]
test rsi, rsi
je 0x14008dbb9
nop dword [rax]
movzx eax, byte [rsi + 0x6e]
test al, 1
jne 0x14008da77
cmp dword [rsi + 0x68], r12d
je 0x14008da77
mov edx, 1
mov rcx, rsi
call fcn.140066550
mov rcx, rsi
call fcn.14008e990
movzx eax, byte [rsi + 0x6e]
test al, 2
jne 0x14008dbad
cmp qword [rsi + 0x48], r12
je 0x14008dbad
mov edx, 2
mov rcx, rsi
call fcn.140066550
mov rdi, qword [rsi + 0x48]
mov ebp, r12d
mov dword [rsp + 0x70], r12d
mov rax, rdi
test rdi, rdi
je 0x14008db10
nop word [rax + rax]
mov rax, qword [rax + 8]
inc ebp
test rax, rax
jne 0x14008dab0
mov dword [rsp + 0x70], ebp
nop
mov dword [rdi + 0x30], 0x5afe5afe
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x40], r12d
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x40], r12d
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14008dac0
mov rdi, qword [rsi + 0x48]
test rdi, rdi
je 0x14008db10
nop dword [rax]
mov rax, qword [rdi + 0x20]
inc dword [rax + 0x40]
mov rax, qword [rdi + 0x28]
inc dword [rax + 0x40]
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14008daf0
mov rdi, qword [rsi + 0x48]
nop dword [rax + rax]
mov rbx, rdi
test rdi, rdi
je 0x14008db32
nop dword [rax + rax]
cmp dword [rbx + 0x30], 0xdeaddead
jne 0x14008db32
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14008db20
test rbx, rbx
je 0x14008dbad
cmp byte [reloc.WS2_32.dll_accept], r12b
mov rdi, rbx
je 0x14008db5c
lea r8, [rsp + 0x70]
mov rdx, rsi
mov rcx, rbx
call fcn.14008dc20
mov ebp, dword [rsp + 0x70]
mov rbx, rax
jmp 0x14008db7b
mov qword [rbx + 0x10], r12
mov dword [rbx + 0x30], 0xdeaddead
mov rax, qword [rbx + 0x20]
dec dword [rax + 0x40]
mov rax, qword [rbx + 0x28]
dec dword [rax + 0x40]
dec ebp
mov dword [rsp + 0x70], ebp
cmp qword [rbx + 0x10], r12
jne 0x14008db8f
mov rax, qword [rsi + 0x38]
mov qword [rbx + 0x10], rax
mov qword [rsi + 0x38], rbx
jmp 0x14008db10
xor edx, edx
lea ecx, [rdx + 2]
call fcn.1400210d0
mov qword [rax + 8], rbx
mov rcx, qword [rsi + 0x30]
mov qword [rax], rcx
mov qword [rsi + 0x30], rax
jmp 0x14008db10
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14008da50
mov r14, qword [r14]
test r14, r14
jne 0x14008da20
mov r15, qword [r15 + 8]
test r15, r15
jne 0x14008da10
movaps xmm7, xmmword [rsp + 0x20]
mov r14, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x80]
test byte [reloc.WS2_32.dll_accept], 4
movaps xmm6, xmmword [rsp + 0x30]
mov r15, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x78]
je 0x14008dc1b
lea rcx, str.Complete_n
add rsp, 0x68
jmp fcn.140001fb0
add rsp, 0x68
ret