Function at 0x6d87d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rbx, qword [rdx]
mov r13, rcx
mov qword [rbp + 0x88], rdx
mov dword [rbp + 0x90], r8d
mov dword [rbp + 0x98], r9d
test rbx, rbx
je 0x6d89cd
mov edi, r8d
mov r15d, dword [rdx + 8]
mov edx, 4
mov rcx, rdi
call sub.msvcrt.dll_calloc
mov rsi, rax
test rax, rax
je 0x6d8bc0
lea rdx, str.0123456789_
mov rcx, rbx
call sub.msvcrt.dll_strspn
cmp r15, rax
je 0x6d89e0
mov rcx, rbx
mov edi, 1
lea r12, [rbx + r15]
jmp 0x6d8857
mov edi, edx
mov edx, 0x3a
call sub.msvcrt.dll_strchr
lea edx, [rdi + 1]
test rax, rax
je 0x6d887e
cmp rax, r12
jae 0x6d887e
add rax, 1
mov rcx, rax
jne 0x6d8855
lea eax, [rdi + 2]
mov edi, edx
mov edx, eax
mov eax, edx
mov qword [rbp - 0x30], rsp
mov qword [rbp - 0x38], rax
lea rax, [rax + rax*2]
lea rax, [rax*4 + 0xf]
shr rax, 4
shl rax, 4
call fcn.00704490
sub rsp, rax
movzx eax, byte [rbx]
lea r14, [rsp + 0x20]
sub eax, 0x30
mov qword [rbp - 0x28], r14
cmp al, 9
jbe 0x6d8a50
lea rax, [rbp - 8]
mov dword [rbp - 0x20], edi
xor r12d, r12d
mov r14, rbp
mov qword [rbp - 0x18], rsi
add r15, rbx
mov rsi, qword [rbp - 0x28]
mov rdi, rax
mov qword [rbp - 0x40], rbx
jmp 0x6d8939
cmp ecx, 0xc
jne 0x6d88f5
cmp r8d, 0xffffffff
je 0x6d88f5
cmp r8d, dword [rdx + 4]
jne 0x6d897f
mov edx, r12d
lea rdx, [rdx + rdx*2]
mov dword [rsi + rdx*4 + 8], eax
cmp eax, 0xffffffff
je 0x6d90fb
mov edx, 0x3a
mov rcx, rbx
call sub.msvcrt.dll_strchr
test rax, rax
je 0x6d8c80
cmp rax, r15
ja 0x6d8c80
add r12d, 1
add rax, 1
mov rbx, rax
je 0x6d8c80
mov r9d, 0x28
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call fcn.006cefc0
test eax, eax
js 0x6d9017
mov ecx, dword [rbp - 8]
lea eax, [rcx - 0xe]
cmp eax, 3
jbe 0x6d8c40
mov r10d, dword [r13 + 0x30]
test r10d, r10d
je 0x6d8990
mov r8d, dword [rbp]
lea rdx, [r13 + 0x38]
xor eax, eax
cmp dword [rdx], ecx
je 0x6d88e0
add rdx, 0x48
mov r9d, dword [rdx - 8]
add rax, 1
test r9d, r9d
jne 0x6d8977
mov rdi, qword [rbp - 0x28]
lea rax, [r12 + r12*2]
mov rsi, qword [rbp - 0x18]
mov r10, rbx
mov dword [rdi + rax*4 + 8], 0xffffffff
mov r11d, dword [rbp + 0x98]
test r11d, r11d
jne 0x6d8f7c
nop word [rax + rax]
mov rsp, qword [rbp - 0x30]
mov rcx, rsi
call fcn.00710f20
nop
lea rsp, [rbp + 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, dword [rbp + 0x90]
xor r13d, r13d
mov r14, rbp
lea r12d, [rax - 1]
test rdi, rdi
jne 0x6d8a1a
jmp 0x6d8bf4
cmp byte [rdx], 0x2c
jne 0x6d8fb0
lea rbx, [rdx + 1]
add r13, 1
cmp rdi, r13
je 0x6d8bf4
mov rdx, r14
mov r8d, 0xa
mov rcx, rbx
call sub.msvcrt.dll_strtoul
mov rdx, qword [rbp]
cmp rdx, rbx
je 0x6d8c04
mov dword [rsi + r13*4], eax
cmp r12, r13
jne 0x6d8a00
mov rbx, rdx
jmp 0x6d8a0d
lea rax, [rbp - 8]
mov dword [rbp - 0x40], edi
mov r15d, 1
xor r13d, r13d
mov qword [rbp - 0x18], rax
mov r12d, dword [rbp + 0x90]
mov qword [rbp - 0x20], rbp
nop
mov rdx, qword [rbp - 0x18]
mov rcx, rbx
xor r8d, r8d
call sub.msvcrt.dll_strtol
mov rcx, qword [rbp - 8]
mov edi, eax
cmp rcx, rbx
je 0x6d8e20
cmp byte [rcx], 0x2a
jne 0x6d8e20
test eax, eax
je 0x6d8fe5
mov rdx, qword [rbp - 0x20]
add rcx, 1
xor r8d, r8d
mov qword [rbp - 8], rcx
call sub.msvcrt.dll_strtol
mov rdx, qword [rbp]
mov r8, qword [rbp - 8]
cmp rdx, r8
je 0x6d8ac8
movzx ecx, byte [rdx]
cmp cl, 0x3a
jbe 0x6d8b00
mov r12d, dword [rbp + 0x98]
test r12d, r12d
je 0x6d89c0
mov ecx, 2
call qword [fcn.007116c0]
mov r8, rbx
lea rdx, str.Failed_to_read_synthetic_index_interleaving_loop__s_without_number_between__and_:_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x6d89c0
movabs r10, 0x400020100000001
bt r10, rcx
jae 0x6d8ac8
test eax, eax
je 0x6d9056
mov r8d, r13d
cmp r12d, edi
lea r8, [r8 + r8*2]
cmova r12d, edi
add r13d, 1
imul r15d, eax
lea r8, [r14 + r8*4]
mov dword [r8], edi
mov dword [r8 + 4], eax
cmp cl, 0x29
je 0x6d8b50
cmp cl, 0x20
je 0x6d8b50
mov rbx, rdx
add rbx, 1
jne 0x6d8a70
mov edi, dword [rbp - 0x40]
test r15d, r15d
je 0x6d8e52
cmp dword [rbp + 0x90], r15d
je 0x6d8e80
mov eax, dword [rbp + 0x90]
xor edx, edx
div r15d
cmp eax, r12d
je 0x6d908b
mov r8d, dword [rbp + 0x98]
test r8d, r8d
je 0x6d89c0
mov ecx, 2
call qword [fcn.007116c0]
mov r9d, dword [rbp + 0x90]
mov r8d, r15d
lea rdx, str.Invalid_index_interleaving_total_width__lu_instead_of__lu_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x6d89c0
mov eax, dword [rbp + 0x98]
test eax, eax
je 0x6d89cd
mov ecx, 2
call qword [fcn.007116c0]
mov r8d, dword [rbp + 0x90]
lea rdx, str.Failed_to_allocate_synthetic_index_array_of_size__lu_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x6d89cd
mov rax, qword [rbp + 0x88]
mov qword [rax + 0x10], rsi
jmp 0x6d89cd
mov eax, dword [rbp + 0x98]
test eax, eax
je 0x6d89c4
mov ecx, 2
call qword [fcn.007116c0]
mov r9, rbx
mov r8d, r13d
lea rdx, str.Failed_to_read_synthetic_index__lu_at__s_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x6d89c4
mov r11d, dword [rbp + 0x98]
mov rsi, qword [rbp - 0x18]
test r11d, r11d
je 0x6d89c0
mov qword [rbp - 0x18], rbx
mov ecx, 2
call qword [fcn.007116c0]
mov r10, qword [rbp - 0x18]
lea rdx, str.Misc_object_type_disallowed_in_synthetic_index_interleaving_loop_type__s_n
mov rcx, rax
mov r8, r10
call sub.msvcrt.dll_fprintf
jmp 0x6d89c0
mov edi, dword [rbp - 0x20]
mov rsi, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x40]
test edi, edi
je 0x6d8e71
mov rax, qword [rbp - 0x28]
lea ecx, [rdi - 1]
xor r11d, r11d
mov r15d, 1
mov r12d, dword [rbp + 0x90]
mov qword [rbp - 0x20], rcx
mov r14d, edi
mov r10, rax
add rax, 8
mov dword [rbp - 0x58], edi
mov rdi, r11
mov qword [rbp - 0x18], rax
mov rax, qword [sym.imp.msvcrt.dll__assert]
mov r11, r13
mov qword [rbp - 0x40], rsi
mov esi, r12d
mov r12, r10
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rbx
mov ebx, r15d
mov r13d, dword [r12 + 8]
mov r8, qword [rbp - 0x18]
xor ecx, ecx
xor eax, eax
jmp 0x6d8d05
jae 0x6d8cf8
cmp edx, ecx
cmova rcx, rdx
add rax, 1
add r8, 0xc
cmp r14, rax
je 0x6d8d50
mov edx, dword [r8]
cmp edx, r13d
jne 0x6d8cf0
cmp rdi, rax
je 0x6d8cf8
mov r9d, dword [rbp + 0x98]
mov rsi, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x50]
test r9d, r9d
je 0x6d89c0
mov ecx, 2
call qword [fcn.007116c0]
mov r8, rbx
lea rdx, str.Invalid_duplicate_interleaving_loop_type_in_synthetic_index__s_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x6d89c0
lea rax, [r13 + r13*8]
xor edx, edx
mov r13d, dword [r11 + rax*8 + 0x34]
mov eax, dword [rbp + 0x90]
div r13d
xor edx, edx
mov r15d, eax
lea rax, [rcx + rcx*8]
mov ecx, dword [r11 + rax*8 + 0x34]
mov eax, r13d
mov dword [r12], r15d
div ecx
mov dword [r12 + 4], eax
cmp r13d, ecx
jb 0x6d8db3
cmp r13d, dword [rbp + 0x90]
ja 0x6d8de3
cmp esi, r15d
cmova esi, r15d
imul ebx, eax
lea rax, [rdi + 1]
add r12, 0xc
cmp rdi, qword [rbp - 0x20]
je 0x6d90a5
mov rdi, rax
jmp 0x6d8ce1
mov dword [rbp - 0x54], eax
mov r8d, 0xf9
lea rdx, str.topology_synthetic.c
lea rcx, [0x00913bef]
mov qword [rbp + 0x80], r11
call qword [sym.imp.msvcrt.dll__assert]
mov r11, qword [rbp + 0x80]
mov eax, dword [rbp - 0x54]
jmp 0x6d8d86
mov dword [rbp - 0x54], eax
mov r8d, 0xfa
mov rax, qword [rbp - 0x48]
lea rdx, str.topology_synthetic.c
mov qword [rbp + 0x80], r11
lea rcx, str.step
call rax
mov r11, qword [rbp + 0x80]
mov eax, dword [rbp - 0x54]
jmp 0x6d8d8f
mov r14d, dword [rbp + 0x98]
test r14d, r14d
je 0x6d89c0
mov ecx, 2
call qword [fcn.007116c0]
mov r8, rbx
lea rdx, str.Failed_to_read_synthetic_index_interleaving_loop__s_without_number_before__n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x6d89c0
mov r8d, 0x100
lea rdx, str.topology_synthetic.c
lea rcx, [0x00913bf7]
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x6d8b5c
mov eax, dword [rbp + 0x90]
cmp eax, 1
jne 0x6d908b
mov eax, edi
mov qword [rbp - 0x38], rax
cmp qword [rbp - 0x38], 0
je 0x6d8eec
mov rax, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x28]
mov r10d, 1
lea rax, [rax + rax*2]
lea rdi, [rbx + rax*4]
mov eax, dword [rbp + 0x90]
lea r11d, [rax - 1]
mov r12d, eax
mov r9d, dword [rbx]
mov r8d, dword [rbx + 4]
xor ecx, ecx
test r12d, r12d
jne 0x6d8ec3
jmp 0x6d8edf
mov rcx, rax
mov eax, ecx
xor edx, edx
div r9d
xor edx, edx
div r8d
lea rax, [rcx + 1]
imul edx, r10d
add dword [rsi + rcx*4], edx
cmp r11, rcx
jne 0x6d8ec0
add rbx, 0xc
imul r10d, r8d
cmp rbx, rdi
jne 0x6d8eb0
mov ecx, dword [rbp + 0x90]
test ecx, ecx
je 0x6d90b7
mov ebx, dword [rsi]
cmp ebx, dword [rbp + 0x90]
jae 0x6d90cb
mov eax, dword [rbp + 0x90]
mov r9d, dword [rbp + 0x90]
lea r8d, [rax - 1]
xor eax, eax
cmp r8, rax
je 0x6d90b7
mov ebx, dword [rsi + rax*4 + 4]
cmp ebx, r9d
jae 0x6d90cb
cmp eax, 0xffffffff
setne cl
test ebx, ebx
sete dl
add rax, 1
test cl, dl
je 0x6d8f1b
mov eax, dword [rbp + 0x98]
test eax, eax
je 0x6d89c0
mov ecx, 2
call qword [fcn.007116c0]
mov r8d, 0x3c
mov edx, 1
lea rcx, str.Invalid_index_interleaving_generates_duplicate_index_values_n
mov r9, rax
call sub.msvcrt.dll_fwrite
jmp 0x6d89c0
mov qword [rbp - 0x18], r10
mov ecx, 2
call qword [fcn.007116c0]
mov r10, qword [rbp - 0x18]
lea rdx, str.Failed_to_find_level_for_synthetic_index_interleaving_loop_type__s_n
mov rcx, rax
mov r8, r10
call sub.msvcrt.dll_fprintf
jmp 0x6d89c0
mov r15d, dword [rbp + 0x98]
test r15d, r15d
je 0x6d89c4
mov ecx, 2
call qword [fcn.007116c0]
mov r9, rbx
mov r8d, r13d
lea rdx, str.Missing_comma_after_synthetic_index__lu_at__s_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x6d89c4
mov r13d, dword [rbp + 0x98]
test r13d, r13d
je 0x6d89c0
mov ecx, 2
call qword [fcn.007116c0]
mov r8, rbx
lea rdx, str.Invalid_interleaving_loop_with_step_0_at__s_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x6d89c0
mov r10, rbx
mov ebx, dword [rbp + 0x98]
mov rsi, qword [rbp - 0x18]
test ebx, ebx
je 0x6d89c0
mov qword [rbp - 0x18], r10
mov ecx, 2
call qword [fcn.007116c0]
mov r10, qword [rbp - 0x18]
lea rdx, str.Failed_to_read_synthetic_index_interleaving_loop_type__s_n
mov rcx, rax
mov r8, r10
call sub.msvcrt.dll_fprintf
jmp 0x6d89c0
mov edi, dword [rbp + 0x98]
test edi, edi
je 0x6d89c0
mov qword [rbp - 0x18], r8
mov ecx, 2
call qword [fcn.007116c0]
mov r8, qword [rbp - 0x18]
lea rdx, str.Invalid_interleaving_loop_with_number_0_at__s_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x6d89c0
lea rdx, [rdi + rdi*2]
mov rdi, qword [rbp - 0x28]
lea rdx, [rdi + rdx*4]
mov dword [rdx], 1
mov dword [rdx + 4], eax
jmp 0x6d8e86
mov r12d, esi
mov r15d, ebx
mov edi, dword [rbp - 0x58]
mov rsi, qword [rbp - 0x40]
jmp 0x6d8b53
mov rax, qword [rbp + 0x88]
mov qword [rax + 0x10], rsi
mov rsp, qword [rbp - 0x30]
jmp 0x6d89cd
mov edx, dword [rbp + 0x98]
test edx, edx
je 0x6d89c0
mov ecx, 2
call qword [fcn.007116c0]
mov r8d, ebx
lea rdx, str.Invalid_index_interleaving_generates_out_of_range_index__u_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x6d89c0
mov rsi, qword [rbp - 0x18]
mov r10, rbx
jmp 0x6d89a7