Function at 0x1400240f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push r14
push r15
lea rbp, [rsp - 0xf98]
mov eax, 0x1098
call fcn.140042f20
sub rsp, rax
mov rax, qword [0x1400a2078]
xor rax, rsp
mov qword [rbp + 0xf80], rax
movsxd rax, dword [rcx + 0x36c]
mov r14, rcx
test eax, eax
je 0x140024180
mov r8, qword [rcx + 0x4e8]
test r8, r8
jne 0x14002413e
call fcn.140023d90
jmp 0x140024180
mov r9d, dword [rcx + 0x364]
lea r10, [r8 + rax*8]
cmp r8, r10
jae 0x140024180
nop
mov rdx, qword [r8]
xor ecx, ecx
mov eax, dword [rdx]
test eax, eax
js 0x140024170
nop dword [rax + rax]
cmp eax, r9d
jge 0x140024170
mov eax, dword [rdx + rcx*4 + 4]
inc rcx
test eax, eax
jns 0x140024160
add r8, 8
mov dword [rdx + rcx*4], 0xffffffff
cmp r8, r10
jb 0x140024150
movsxd r8, dword [r14 + 0x4ac]
mov rax, qword [r14 + 0x2d8]
mov ebx, dword [r14 + 0x3a4]
mov qword [r14 + 0x2e8], rax
test r8d, r8d
je 0x14002425c
mov ecx, dword [r14 + 0x170]
sub ecx, 1
je 0x14002421e
sub ecx, 1
je 0x14002421e
sub ecx, 1
je 0x1400241db
sub ecx, 1
je 0x1400241d2
cmp ecx, 1
jne 0x14002425c
mov rdx, qword [r14 + 0x770]
jmp 0x1400241e2
mov rdx, qword [r14 + 0x770]
jmp 0x140024225
mov rdx, qword [r14 + 0x680]
movsxd rax, dword [r14 + 0x368]
lea rcx, [rax + rax*2]
shl rcx, 4
add rdx, rcx
lea rcx, [r8 + r8*2]
shl rcx, 4
add rcx, rdx
cmp rdx, rcx
jae 0x14002425c
lea rax, [0x1400a4cc8]
nop dword [rax + rax]
mov qword [rdx], rax
add rdx, 0x30
cmp rdx, rcx
jb 0x140024210
jmp 0x14002425c
mov rdx, qword [r14 + 0x680]
movsxd rax, dword [r14 + 0x368]
lea rcx, [rax + rax*2]
lea rdx, [rdx + rcx*8]
lea rcx, [r8 + r8*2]
lea r8, [rdx + rcx*8]
cmp rdx, r8
jae 0x14002425c
lea rax, [0x1400a4cc8]
nop dword [rax + rax]
mov qword [rdx], rax
add rdx, 0x18
cmp rdx, r8
jb 0x140024250
test ebx, 0x30000
je 0x14002426c
mov rcx, r14
call fcn.140039ee0
cmp qword [r14 + 0x2b8], 0
jne 0x1400242d3
bt ebx, 0xf
jae 0x14002428e
cmp dword [r14 + 0x328], 0
je 0x14002428e
mov rcx, r14
call fcn.140031a60
bt ebx, 0x12
jae 0x1400242d3
mov rdx, qword [r14 + 0x2d8]
xor ecx, ecx
movsxd rax, dword [r14 + 0x368]
lea r8, [rdx + rax*8]
cmp rdx, r8
jae 0x1400242d3
nop dword [rax]
mov rax, qword [rdx]
add rdx, 8
test rax, rax
je 0x1400242ce
nop dword [rax]
mov dword [rax + 0x14], ecx
inc ecx
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400242c0
cmp rdx, r8
jb 0x1400242b0
cmp dword [r14 + 0x36c], 0
je 0x1400242e5
mov rcx, r14
call fcn.140023d90
mov r15, qword [r14 + 0x658]
mov qword [rsp + 0x10c8], rsi
mov qword [rsp + 0x10d0], rdi
mov qword [rsp + 0x10d8], r12
mov qword [rsp + 0x1090], r13
mov qword [rsp + 0x68], r15
test r15, r15
je 0x140024949
lea rdx, [0x140092660]
mov rcx, r15
call fcn.14004c9b0
mov qword [rsp + 0x70], rax
mov rsi, rax
test rax, rax
je 0x140024a45
mov r9, rax
lea rcx, [rbp - 0x80]
mov edx, 1
mov r8d, 0x1000
call fcn.140054b50
mov rdi, rax
cmp rax, 0x18
jb 0x140024a32
mov r8d, shutdown
lea rdx, str.Bounds__x__arith
lea rcx, [rbp - 0x80]
call fcn.140051c70
test eax, eax
jne 0x140024a32
lea rax, [rbp - 0x6f]
mov r8d, 0xa
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x6f]
call fcn.140053c94
mov rcx, qword [rsp + 0x58]
mov ebx, eax
cmp rcx, qword [rsp + 0x40]
jbe 0x140024a32
cmp eax, 2
ja 0x140024a32
movzx eax, byte [rcx]
cmp al, 0x20
jge 0x140024a32
test ebx, ebx
jne 0x1400243cf
cmp al, 0xd
jne 0x1400243cf
inc rcx
mov qword [rsp + 0x58], rcx
movzx eax, byte [rcx]
inc rcx
mov qword [rsp + 0x58], rcx
cmp al, 0xa
jne 0x140024a32
mov r8, qword [r14 + 0x288]
mov r12, qword [r14 + 0x280]
test r8, r8
mov r15, qword [r14 + 0x278]
mov r13, r8
movsxd rdx, dword [r14 + 0x364]
mov dword [rsp + 0x60], edx
lea rax, [r12 + 8]
mov qword [rsp + 0x78], r8
cmove r13, rax
test r15, r15
jne 0x14002443a
shl rdx, 3
lea rcx, [r14 + 0x170]
call fcn.140023100
mov rcx, qword [rsp + 0x58]
mov r15, rax
mov qword [r14 + 0x278], rax
test ebx, ebx
je 0x1400246ea
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x40], rax
cmp ebx, 1
je 0x140024481
mov ecx, dword [rbp - 0x6c]
mov esi, 1
mov dword [rsp + 0x50], ecx
mov eax, ecx
shr eax, 0x18
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x52]
mov byte [rsp + 0x53], cl
movzx ecx, byte [rsp + 0x51]
mov byte [rsp + 0x51], al
mov byte [rsp + 0x52], cl
mov eax, dword [rsp + 0x50]
jmp 0x140024486
mov eax, dword [rbp - 0x6c]
xor esi, esi
mov ebx, dword [rsp + 0x60]
cmp eax, ebx
jne 0x140024a58
lea rdx, [rbp - 0x80]
add rdx, rdi
lea rcx, [rbp - 0x68]
mov edi, 1
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x58], rdx
cmp ebx, edi
jl 0x14002493c
lea r8d, [rdi + 0xf]
nop dword [rax + rax]
mov rax, rdx
sub rax, rcx
cmp rax, 0x18
jae 0x140024558
lea r10, [rbp - 0x80]
mov qword [rsp + 0x48], r10
cmp rcx, rdx
jae 0x140024507
nop
movzx eax, byte [rcx]
mov byte [r10], al
mov rcx, qword [rsp + 0x40]
mov r10, qword [rsp + 0x48]
inc rcx
inc r10
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r10
cmp rcx, qword [rsp + 0x58]
jb 0x1400244e0
mov r9, qword [rsp + 0x70]
lea rax, [rbp - 0x80]
mov rbx, r10
mov r8d, 0x1000
sub rbx, rax
mov edx, 1
sub r8, rbx
mov rcx, r10
call fcn.140054b50
add rbx, rax
lea rax, [rbp - 0x80]
add rax, rbx
cmp rbx, 0x18
mov qword [rsp + 0x58], rax
mov ebx, dword [rsp + 0x60]
jb 0x140024a74
lea rcx, [rbp - 0x80]
mov r8d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x40], rcx
mov rax, qword [rcx]
mov qword [r12], rax
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x40], rax
mov rax, qword [rax]
mov qword [r15], rax
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x40], rax
mov rax, qword [rax]
mov qword [r13], rax
mov rcx, qword [rsp + 0x40]
add rcx, 8
mov qword [rsp + 0x40], rcx
test rsi, rsi
je 0x140024688
movzx ecx, byte [r12]
movzx eax, byte [r12 + 7]
mov byte [r12], al
movzx eax, byte [r12 + 6]
mov byte [r12 + 7], cl
movzx ecx, byte [r12 + 1]
mov byte [r12 + 1], al
movzx eax, byte [r12 + 5]
mov byte [r12 + 6], cl
movzx ecx, byte [r12 + 2]
mov byte [r12 + 2], al
movzx eax, byte [r12 + 4]
mov byte [r12 + 5], cl
movzx ecx, byte [r12 + 3]
mov byte [r12 + 3], al
mov byte [r12 + 4], cl
movzx ecx, byte [r15]
movzx eax, byte [r15 + 7]
mov byte [r15], al
movzx eax, byte [r15 + 6]
mov byte [r15 + 7], cl
movzx ecx, byte [r15 + 1]
mov byte [r15 + 1], al
movzx eax, byte [r15 + 5]
mov byte [r15 + 6], cl
movzx ecx, byte [r15 + 2]
mov byte [r15 + 2], al
movzx eax, byte [r15 + 4]
mov byte [r15 + 5], cl
movzx ecx, byte [r15 + 3]
mov byte [r15 + 3], al
mov byte [r15 + 4], cl
movzx ecx, byte [r13]
movzx eax, byte [r13 + 7]
mov byte [r13], al
movzx eax, byte [r13 + 6]
mov byte [r13 + 7], cl
movzx ecx, byte [r13 + 1]
mov byte [r13 + 1], al
movzx eax, byte [r13 + 5]
mov byte [r13 + 6], cl
movzx ecx, byte [r13 + 2]
mov byte [r13 + 2], al
movzx eax, byte [r13 + 4]
mov byte [r13 + 5], cl
movzx ecx, byte [r13 + 3]
mov byte [r13 + 3], al
mov byte [r13 + 4], cl
mov rcx, qword [rsp + 0x40]
movsd xmm1, qword [r12]
movsd xmm0, qword [r13]
movaps xmm3, xmm1
comisd xmm1, xmm0
movaps xmm2, xmm0
ja 0x140024a8f
movsd xmm4, qword [r15]
comisd xmm1, xmm4
ja 0x140024a8f
comisd xmm4, xmm0
ja 0x140024a8f
cmp qword [rsp + 0x78], 0
mov eax, 8
cmove rax, r8
add r15, 8
add r12, rax
add r13, rax
inc edi
cmp edi, ebx
jg 0x14002493c
mov rdx, qword [rsp + 0x58]
jmp 0x1400244c0
mov r8d, 0xa
lea rdx, [rsp + 0x40]
call fcn.140053c94
mov ebx, dword [rsp + 0x60]
cmp eax, ebx
jne 0x140024a58
lea rdx, [rbp - 0x80]
add rdx, rdi
mov edi, 1
mov qword [rsp + 0x58], rdx
cmp ebx, edi
jl 0x140024941
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
cmp rcx, rdx
jae 0x140024742
nop dword [rax]
cmp byte [rcx], 0x20
jg 0x140024742
inc rcx
mov qword [rsp + 0x40], rcx
cmp rcx, rdx
jb 0x140024730
mov rax, rcx
mov qword [rsp + 0x48], rcx
xor r8d, r8d
nop dword [rax]
cmp rax, rdx
jae 0x14002488d
nop dword [rax]
cmp byte [rax], 0x20
jle 0x140024774
inc rax
mov qword [rsp + 0x48], rax
cmp rax, rdx
jb 0x140024760
jmp 0x140024792
cmp rax, rdx
jae 0x140024792
nop dword [rax]
cmp byte [rax], 0x20
jg 0x140024792
inc rax
mov qword [rsp + 0x48], rax
cmp rax, rdx
jb 0x140024780
inc r8d
cmp r8d, 3
jl 0x140024750
lea rdx, [rsp + 0x48]
call fcn.140034370
movsd qword [r12], xmm0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
cmp rcx, rax
jbe 0x140024912
cmp byte [rcx], 0x20
jg 0x140024912
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x40], rcx
call fcn.140034370
movsd qword [r15], xmm0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
cmp rcx, rax
jbe 0x140024912
cmp byte [rcx], 0x20
jg 0x140024912
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x40], rcx
call fcn.140034370
movsd qword [r13], xmm0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
cmp rcx, rax
jbe 0x140024912
cmp byte [rcx], 0x20
jg 0x140024912
movsd xmm1, qword [r12]
movaps xmm2, xmm0
comisd xmm1, xmm0
movaps xmm3, xmm1
ja 0x140024a8f
movsd xmm4, qword [r15]
comisd xmm1, xmm4
ja 0x140024a8f
comisd xmm4, xmm0
ja 0x140024a8f
cmp qword [rsp + 0x78], 0
mov eax, 8
mov edx, reloc.WS2_32.dll_recv
mov qword [rsp + 0x40], rcx
cmove eax, edx
add r15, 8
add r12, rax
add r13, rax
inc edi
cmp edi, ebx
jg 0x140024941
mov rdx, qword [rsp + 0x58]
jmp 0x140024724
cmp r8d, 3
jge 0x14002479b
test r9d, r9d
jne 0x140024a74
lea r10, [rbp - 0x80]
mov qword [rsp + 0x48], r10
cmp rcx, rdx
jae 0x1400248d7
nop
movzx eax, byte [rcx]
mov byte [r10], al
mov rcx, qword [rsp + 0x40]
mov r10, qword [rsp + 0x48]
inc rcx
inc r10
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r10
cmp rcx, qword [rsp + 0x58]
jb 0x1400248b0
lea r8, [rbp + 0xf80]
mov r9, rsi
sub r8, r10
mov edx, 1
mov rcx, r10
call fcn.140054b50
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x80]
add rdx, rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x58], rdx
mov r9d, 1
jmp 0x140024727
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jae 0x140024abe
cmp byte [rcx], 0x20
jle 0x140024abe
inc rcx
mov qword [rsp + 0x48], rcx
cmp rcx, rdx
jae 0x140024abe
jmp 0x140024920
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call fcn.14004d150
test byte [r14 + 0x448], 8
mov qword [r14 + 0x408], 0
je 0x140024999
cmp qword [r14 + 0x278], 0
jne 0x140024999
movsxd rdi, dword [r14 + 0x364]
lea rcx, [r14 + 0x170]
shl rdi, 3
mov rdx, rdi
call fcn.140023100
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.140044e10
mov qword [r14 + 0x278], rbx
test byte [r14 + 0x448], 0x10
je 0x1400249e5
cmp qword [r14 + 0x298], 0
jne 0x1400249e5
movsxd rax, dword [r14 + 0x368]
test eax, eax
jle 0x1400249e5
mov rdi, rax
lea rcx, [r14 + 0x170]
shl rdi, 3
mov rdx, rdi
call fcn.140023100
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.140044e10
mov qword [r14 + 0x298], rbx
mov rax, qword [r14 + 0x670]
mov r13, qword [rsp + 0x1090]
mov r12, qword [rsp + 0x10d8]
mov rdi, qword [rsp + 0x10d0]
mov rsi, qword [rsp + 0x10c8]
mov qword [r14 + 0x678], rax
xor eax, eax
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.140042470
add rsp, 0x1098
pop r15
pop r14
pop rbx
pop rbp
ret
mov r8, r15
lea rdx, str.Bad_magic_in_boundsfile___s_.
mov rcx, r14
call fcn.140024050
int3
mov r8, r15
lea rdx, str.Cannot_open_boundsfile___s_.
mov rcx, r14
call fcn.140024050
int3
mov r9, qword [rsp + 0x68]
lea rdx, str.Expected__d_bounds_triples_in_boundsfile___s___got__d.
mov r8d, ebx
mov dword [rsp + 0x20], eax
mov rcx, r14
call fcn.140024050
int3
mov r9, qword [rsp + 0x68]
lea rdx, str._d_too_few_bound_triples_in_boundsfile___s_.
sub ebx, edi
mov rcx, r14
lea r8d, [rbx + 1]
call fcn.140024050
int3
movsd xmm0, qword [r15]
lea rdx, str.bad_bound_triple__d_in_bounds_file___s_:_n_tL___.g_n_tx___.g_n_tU___.g
mov r9, qword [rsp + 0x68]
mov r8d, edi
movsd qword [rsp + 0x30], xmm2
mov rcx, r14
movsd qword [rsp + 0x28], xmm0
movsd qword [rsp + 0x20], xmm3
call fcn.140024050
int3
mov rdx, qword [rsp + 0x68]
sub ecx, eax
mov qword [rsp + 0x28], rdx
mov r9d, ecx
lea rdx, str.Bound_triple__d:_bad_number___.s__in_boundsfile___s_.
mov qword [rsp + 0x20], rax
mov rcx, r14
mov r8d, edi
call fcn.140024050
int3