Function at 0x140011c60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140036140]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
call fcn.140012b70
test al, al
je 0x140012af8
mov rcx, rbx
call fcn.14000f370
mov rcx, rbx
call fcn.14000eb50
mov rcx, rbx
call fcn.14000f930
mov rcx, rbx
call fcn.140010450
mov rcx, rbx
call fcn.1400102b0
xor r13d, r13d
mov r14d, r13d
mov eax, dword [rbx + 0x3c0]
movabs r12, 0x2aaaaaaaaaaaaaab
test eax, eax
je 0x14001247f
mov r8d, r13d
mov edi, r13d
nop word [rax + rax]
mov rcx, qword [rbx + 0x248]
mov rax, qword [rbx + 0x250]
sub rax, rcx
sar rax, 2
cmp rax, r8
jbe 0x140012b52
mov r9, qword [rbx + 0x260]
mov rax, qword [rbx + 0x268]
sub rax, r9
sar rax, 2
cmp rax, r8
jbe 0x140012b52
mov r9d, dword [r9 + r8*4]
shl r9d, 0x11
add r9d, dword [rcx + r8*4]
mov r10, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r10
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rcx, qword [rdi + r10]
mov rax, qword [rdi + r10 + 8]
sub rax, rcx
sar rax, 2
test rax, rax
je 0x140012b52
mov dword [rcx], r9d
mov rcx, qword [rbx + 0x278]
mov rax, qword [rbx + 0x280]
sub rax, rcx
sar rax, 2
cmp rax, r8
jbe 0x140012b52
mov r10d, dword [rcx + r8*4]
mov r9, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r9
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rcx, qword [rdi + r9]
mov rax, qword [rdi + r9 + 8]
sub rax, rcx
sar rax, 2
cmp rax, 1
jbe 0x140012b52
mov dword [rcx + 4], r10d
mov rcx, qword [rbx + 0x1a0]
mov rax, qword [rbx + 0x1a8]
sub rax, rcx
sar rax, 2
cmp rax, r8
jbe 0x140012b52
mov r10d, dword [rcx + r8*4]
mov r9, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r9
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rcx, qword [rdi + r9]
mov rax, qword [rdi + r9 + 8]
sub rax, rcx
sar rax, 2
cmp rax, 2
jbe 0x140012b52
mov dword [rcx + 8], r10d
mov rcx, qword [rbx + 0x1b8]
mov rax, qword [rbx + 0x1c0]
sub rax, rcx
sar rax, 2
cmp rax, r8
jbe 0x140012b52
mov r10d, dword [rcx + r8*4]
mov r9, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r9
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rcx, qword [rdi + r9]
mov rax, qword [rdi + r9 + 8]
sub rax, rcx
sar rax, 2
cmp rax, 3
jbe 0x140012b52
mov dword [rcx + 0xc], r10d
mov rcx, qword [rbx + 0x1d0]
mov rax, qword [rbx + 0x1d8]
sub rax, rcx
sar rax, 2
cmp rax, r8
jbe 0x140012b52
mov r10d, dword [rcx + r8*4]
mov r9, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r9
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rcx, qword [rdi + r9]
mov rax, qword [rdi + r9 + 8]
sub rax, rcx
sar rax, 2
cmp rax, 4
jbe 0x140012b52
mov dword [rcx + 0x10], r10d
mov rcx, qword [rbx + 0x1e8]
mov rax, qword [rbx + 0x1f0]
sub rax, rcx
sar rax, 2
cmp rax, r8
jbe 0x140012b52
mov r10d, dword [rcx + r8*4]
mov r9, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r9
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rcx, qword [rdi + r9]
mov rax, qword [rdi + r9 + 8]
sub rax, rcx
sar rax, 2
cmp rax, 5
jbe 0x140012b52
mov dword [rcx + 0x14], r10d
mov rcx, qword [rbx + 0x110]
mov rax, qword [rbx + 0x118]
sub rax, rcx
sar rax, 1
cmp rax, r8
jbe 0x140012b46
lea rdx, [rcx + r8*2]
mov rcx, qword [rbx + 0x128]
mov rax, qword [rbx + 0x130]
sub rax, rcx
sar rax, 1
cmp rax, r8
jbe 0x140012b46
movzx r9d, word [rcx + r8*2]
shl r9d, 0x10
movzx eax, word [rdx]
add r9d, eax
mov r10, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r10
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rcx, qword [rdi + r10]
mov rax, qword [rdi + r10 + 8]
sub rax, rcx
sar rax, 2
cmp rax, 6
jbe 0x140012b52
mov dword [rcx + 0x18], r9d
mov rcx, qword [rbx + 0x158]
mov rax, qword [rbx + 0x160]
sub rax, rcx
sar rax, 1
cmp rax, r8
jbe 0x140012b46
lea rdx, [rcx + r8*2]
mov rcx, qword [rbx + 0x140]
mov rax, qword [rbx + 0x148]
sub rax, rcx
sar rax, 1
cmp rax, r8
jbe 0x140012b46
movzx r9d, word [rdx]
shl r9d, 0x10
movzx eax, word [rcx + r8*2]
add r9d, eax
mov r10, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r10
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rcx, qword [rdi + r10]
mov rax, qword [rdi + r10 + 8]
sub rax, rcx
sar rax, 2
cmp rax, 7
jbe 0x140012b52
mov dword [rcx + 0x1c], r9d
mov ebp, 9
lea r11d, [rbp - 6]
lea r9d, [rbp + 0x3f]
mov r10, qword [rbx + 0x200]
mov rcx, qword [rbx + 0x208]
sub rcx, r10
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [r11 - 2]
cmp rdx, rax
jbe 0x140012b40
lea rax, [r11 - 3]
cmp rdx, rax
jbe 0x140012b40
mov rcx, qword [r10 + r9 - 0x48]
mov rax, qword [r10 + r9 - 0x40]
sub rax, rcx
sar rax, 1
cmp rax, r8
jbe 0x140012b46
lea rdx, [rcx + r8*2]
mov rcx, qword [r10 + r9 - 0x30]
mov rax, qword [r10 + r9 - 0x28]
sub rax, rcx
sar rax, 1
cmp rax, r8
jbe 0x140012b46
movzx r10d, word [rcx + r8*2]
shl r10d, 0x10
movzx eax, word [rdx]
add r10d, eax
mov rsi, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, rsi
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rdx, qword [rdi + rsi]
mov rcx, qword [rdi + rsi + 8]
sub rcx, rdx
sar rcx, 2
lea rax, [rbp - 1]
cmp rcx, rax
jbe 0x140012b52
mov dword [rdx + rbp*4 - 4], r10d
mov r10, qword [rbx + 0x200]
mov rcx, qword [rbx + 0x208]
sub rcx, r10
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r11
jbe 0x140012b40
lea rax, [r11 - 1]
cmp rdx, rax
jbe 0x140012b40
mov rcx, qword [r10 + r9 - 0x18]
mov rax, qword [r10 + r9 - 0x10]
sub rax, rcx
sar rax, 1
cmp rax, r8
jbe 0x140012b46
lea rdx, [rcx + r8*2]
mov rcx, qword [r9 + r10]
mov rax, qword [r9 + r10 + 8]
sub rax, rcx
sar rax, 1
cmp rax, r8
jbe 0x140012b46
movzx r10d, word [rcx + r8*2]
shl r10d, 0x10
movzx eax, word [rdx]
add r10d, eax
mov rsi, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, rsi
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rcx, qword [rdi + rsi]
mov rax, qword [rdi + rsi + 8]
sub rax, rcx
sar rax, 2
cmp rax, rbp
jbe 0x140012b52
mov dword [rcx + rbp*4], r10d
add r11, 4
add r9, 0x60
add rbp, 2
cmp r9, 0x648
jl 0x1400120b0
mov rcx, qword [rbx + 0x218]
mov rax, qword [rbx + 0x220]
sub rax, rcx
sar rax, 2
cmp rax, r8
jbe 0x140012b52
mov r10d, dword [rcx + r8*4]
mov r9, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r9
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rcx, qword [rdi + r9]
mov rax, qword [rdi + r9 + 8]
sub rax, rcx
sar rax, 2
cmp rax, 0x28
jbe 0x140012b52
mov dword [rcx + 0xa0], r10d
mov rcx, qword [rbx + 0x230]
mov rax, qword [rbx + 0x238]
sub rax, rcx
sar rax, 2
cmp rax, r8
jbe 0x140012b52
mov r10d, dword [rcx + r8*4]
mov r9, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r9
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rcx, qword [rdi + r9]
mov rax, qword [rdi + r9 + 8]
sub rax, rcx
sar rax, 2
cmp rax, 0x29
jbe 0x140012b52
mov dword [rcx + 0xa4], r10d
lea eax, [r14 + 2]
xor edx, edx
div dword [rbx + 0x3c0]
mov r10d, edx
mov rcx, qword [rbx + 0x110]
mov rax, qword [rbx + 0x118]
sub rax, rcx
sar rax, 1
cmp rax, r10
jbe 0x140012b46
lea rdx, [rcx + rdx*2]
mov rcx, qword [rbx + 0x128]
mov rax, qword [rbx + 0x130]
sub rax, rcx
sar rax, 1
cmp rax, r8
jbe 0x140012b46
movzx r9d, word [rcx + r8*2]
shl r9d, 0x10
movzx eax, word [rdx]
add r9d, eax
mov r11, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r11
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rcx, qword [rdi + r11]
mov rax, qword [rdi + r11 + 8]
sub rax, rcx
sar rax, 2
cmp rax, 0x2a
jbe 0x140012b52
mov dword [rcx + 0xa8], r9d
mov rcx, qword [rbx + 0x140]
mov rax, qword [rbx + 0x148]
sub rax, rcx
sar rax, 1
cmp rax, r10
jbe 0x140012b46
lea rdx, [rcx + r10*2]
mov rcx, qword [rbx + 0x158]
mov rax, qword [rbx + 0x160]
sub rax, rcx
sar rax, 1
cmp rax, r8
jbe 0x140012b46
movzx r9d, word [rcx + r8*2]
shl r9d, 0x10
movzx eax, word [rdx]
add r9d, eax
mov r10, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r10
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x140012b58
mov rcx, qword [rdi + r10]
mov rax, qword [rdi + r10 + 8]
sub rax, rcx
sar rax, 2
cmp rax, 0x2b
jbe 0x140012b52
mov dword [rcx + 0xac], r9d
inc r14d
inc r8
add rdi, 0x18
mov eax, dword [rbx + 0x3c0]
cmp r14d, eax
jb 0x140011cf0
shl eax, 6
mov r8d, eax
shl r8, 2
mov r9, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
mov rcx, r9
sub rcx, rdx
cmp r8, rcx
jae 0x1400124a6
lea rax, [r8 + rdx]
mov qword [rbx + 0x20], rax
jmp 0x1400124d7
jbe 0x1400124d7
mov rax, qword [rbx + 0x28]
sub rax, rdx
cmp r8, rax
jbe 0x1400124c2
mov rdx, r8
lea rcx, [rbx + 0x18]
call fcn.14001b8f0
jmp 0x1400124d7
sub r8, rcx
lea rdi, [r8 + r9]
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov qword [rbx + 0x20], rdi
mov rcx, qword [rbx + 0x18]
mov r8, qword [rbx + 0x20]
sub r8, rcx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r11d, r13d
cmp dword [rbx + 0x3c0], r13d
jbe 0x1400125bd
mov rsi, r13
mov rdi, r13
nop
mov r9d, r13d
mov r8, r13
nop word [rax + rax]
mov r10, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r10
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rsi
jbe 0x140012b58
mov rcx, qword [rdi + r10]
mov rax, qword [rdi + r10 + 8]
sub rax, rcx
sar rax, 2
cmp rax, r8
jbe 0x140012b52
mov ecx, dword [rcx + r8*4]
mov edx, r11d
shl edx, 6
add edx, r9d
shl edx, 2
mov r10, qword [rbx + 0x18]
mov rax, qword [rbx + 0x20]
sub rax, r10
cmp rax, rdx
jbe 0x140012b4c
mov eax, ecx
shr eax, 0x18
mov byte [r10 + rdx + 3], al
mov eax, ecx
shr eax, 0x10
mov byte [r10 + rdx + 2], al
mov eax, ecx
shr eax, 8
mov byte [r10 + rdx + 1], al
mov byte [r10 + rdx], cl
inc r9d
inc r8
cmp r8, 0x2c
jl 0x140012510
inc r11d
inc rsi
add rdi, 0x18
cmp r11d, dword [rbx + 0x3c0]
jb 0x140012500
mov byte [rbx + 0x3e8], 1
lea rdx, [0x14002c8b8]
lea rcx, str.C:_rivanna_seqTable.txt
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r15, rax
test rax, rax
je 0x1400126b7
mov r12d, r13d
cmp dword [rbx + 0x3c0], r13d
jbe 0x1400126a4
mov rbp, r13
mov rsi, r13
mov r13d, 0x80000000
mov r9d, r12d
mov r8d, r13d
lea rdx, str.address:__08x_n
mov rcx, r15
call fcn.14000e2d0
xor edi, edi
nop word [rax + rax]
mov r9, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r9
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rbp
jbe 0x140012b58
mov r8, qword [rsi + r9]
mov rax, qword [rsi + r9 + 8]
sub rax, r8
sar rax, 2
cmp rax, rdi
jbe 0x140012b52
mov r8d, dword [r8 + rdi*4]
lea rdx, str._08x_n
mov rcx, r15
call fcn.14000e2d0
inc rdi
cmp rdi, 0x2c
jl 0x140012620
inc r12d
add r13d, 0x100
inc rbp
add rsi, 0x18
cmp r12d, dword [rbx + 0x3c0]
jb 0x140012600
xor r13d, r13d
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movabs r12, 0x2aaaaaaaaaaaaaab
xorps xmm0, xmm0
mov eax, dword [rbx + 0x3c0]
shl eax, 6
mov edi, eax
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r13
test eax, eax
je 0x140012700
mov edx, edi
call fcn.1400185e0
mov qword [rsp + 0x28], rax
lea r8, [rdi*4]
lea rdi, [rax + r8]
mov qword [rsp + 0x38], rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x30], rdi
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
sub r8, rcx
and r8, 0xfffffffffffffffc
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r9, qword [rsp + 0x28]
mov ebp, r13d
cmp dword [rbx + 0x3c0], 0
jbe 0x1400127e0
mov rsi, r13
mov rdi, r13
mov r11, r13
nop word [rax + rax]
mov r8, r13
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r10
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rsi
jbe 0x140012b5e
mov rcx, qword [r11 + r10]
mov rax, qword [r11 + r10 + 8]
sub rax, rcx
sar rax, 2
cmp rax, r8
jbe 0x140012b64
mov edx, dword [rcx + r8*4]
lea rcx, [rdi + r8]
mov rax, qword [rsp + 0x30]
sub rax, r9
sar rax, 2
cmp rax, rcx
jbe 0x140012b64
mov dword [r9 + rcx*4], edx
inc r8
cmp r8, 0x2c
jge 0x1400127c1
mov r9, qword [rsp + 0x28]
jmp 0x140012750
inc ebp
inc rsi
add r11, 0x18
add rdi, 0x40
cmp ebp, dword [rbx + 0x3c0]
jae 0x1400127e0
mov r9, qword [rsp + 0x28]
jmp 0x140012740
lea rdx, [0x14002c8f0]
lea rcx, str.C:_rivanna_seqTable.bin
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
mov r8d, dword [rbx + 0x3c0]
shl r8d, 6
shl r8, 2
mov rcx, qword [rsp + 0x30]
mov r10, qword [rsp + 0x28]
sub rcx, r10
sar rcx, 2
test rcx, rcx
je 0x140012b64
mov r9, rax
mov edx, 1
mov rcx, r10
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rdx, [0x14002c8f0]
lea rcx, str.C:_rivanna_seqTableMem.bin
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
mov rcx, qword [rbx + 0x18]
mov r8, qword [rbx + 0x20]
sub r8, rcx
je 0x140012b6a
mov r9, rax
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rdx, [0x14002c8f0]
lea rcx, str.C:_rivannahwElementPosition_u32.bin
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbp, rax
mov esi, r13d
mov r9, qword [rbx + 0x100]
mov r8, qword [rbx + 0xf8]
mov rcx, r9
sub rcx, r8
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140012b3a
mov rdi, r13
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [r8]
mov rcx, qword [r8 + 8]
sub rcx, r10
sar rcx, 1
movsxd rax, esi
cmp rax, rcx
jae 0x14001298b
sub r9, r8
mov rax, r12
imul r9
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 2
jbe 0x140012b3a
cmp rcx, rdi
jbe 0x140012b34
mov rcx, qword [r8 + 0x30]
mov rax, qword [r8 + 0x38]
sub rax, rcx
sar rax, 1
cmp rax, rdi
jbe 0x140012b34
movzx ecx, word [rcx + rdi*2]
shl ecx, 0x10
movzx eax, word [r10 + rdi*2]
add ecx, eax
mov dword [rsp + 0x40], ecx
mov r9, rbp
mov edx, 1
lea r8d, [rdx + 3]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
inc esi
inc rdi
mov r9, qword [rbx + 0x100]
mov r8, qword [rbx + 0xf8]
mov rcx, r9
sub rcx, r8
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140012b3a
jmp 0x1400128d0
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rdx, [0x14002c8f0]
lea rcx, str.C:_rivannaApodWindow_u16.bin
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
mov edi, r13d
mov rdx, qword [rbx + 0x178]
mov r8, qword [rbx + 0x170]
mov rcx, rdx
sub rcx, r8
sar rcx, 1
je 0x140012a16
mov rcx, r13
nop word [rax + rax]
sub rdx, r8
sar rdx, 1
cmp rdx, rcx
jbe 0x140012b34
lea rcx, [r8 + rcx*2]
mov r9, rsi
mov edx, 1
lea r8d, [rdx + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
inc edi
mov rdx, qword [rbx + 0x178]
mov r8, qword [rbx + 0x170]
mov rax, rdx
sub rax, r8
sar rax, 1
movsxd rcx, edi
cmp rcx, rax
jb 0x1400129d0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rdx, [0x14002c8f0]
lea rcx, str.C:_rivannaApodAPGR_u16.bin
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
mov rdx, qword [rbx + 0x190]
mov r8, qword [rbx + 0x188]
mov rcx, rdx
sub rcx, r8
sar rcx, 1
je 0x140012aa7
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
sub rdx, r8
sar rdx, 1
cmp rdx, rcx
jbe 0x140012b34
lea rcx, [r8 + rcx*2]
mov r9, rdi
mov edx, 1
lea r8d, [rdx + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
inc r13d
mov rdx, qword [rbx + 0x190]
mov r8, qword [rbx + 0x188]
mov rax, rdx
sub rax, r8
sar rax, 1
movsxd rcx, r13d
cmp rcx, rax
jb 0x140012a60
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140012af4
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012aef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012aef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400281b4
xor eax, eax
jmp 0x140012b09
lea rcx, str.USMode::computeUltrasoundGeometry___does_not_not_have_a_valid_USConfig._Cannot_build_sequence_table._n
call fcn.140004110
mov eax, 0x1391
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140027f00
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1400055c0
nop
call fcn.1400055c0
nop
call fcn.1400055c0
int3
call fcn.1400055c0
int3
call fcn.1400055c0
int3
call fcn.1400055c0
int3
call fcn.1400055c0
nop
call fcn.1400055c0
int3
call fcn.1400055c0
int3
call fcn.1400055c0
int3