Function at 0x140002880
Capabilities:
Terminate process

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x4c0
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x490], rax
movups xmm2, xmmword [rcx]
mov rdi, rdx
lea rax, [rsp + 0x70]
mov ecx, 6
movups xmmword [rsp + 0x40], xmm2
movq r9, xmm2
nop dword [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [r9]
movups xmm1, xmmword [r9 + 0x10]
lea r9, [r9 + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [r9 - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [r9 - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [r9 - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [r9 - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [r9 - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [r9 - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x1400028c0
mov rdx, qword [r9 + 0x10]
movups xmm0, xmmword [r9]
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rdx
mov edx, dword [r9 + 0x18]
mov dword [rax + 0x18], edx
lea edx, [rcx + 0xa]
movzx ebx, byte [rsp + 0x78]
lea ecx, [rdx - 9]
lea r8d, [rdx - 4]
call qword [sym.imp.hdf5.dll_H5check_version]
call qword [sym.imp.hdf5.dll_H5open]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 2]
call qword [sym.imp.hdf5.dll_H5Fcreate]
mov r15, rax
test rax, rax
jns 0x1400029a7
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.HDF_file_could_not_be_opened_for_writing_n
call fcn.1400015e0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.NOTE:_GIF_file_must_be_present_in_the_same_directory_as_the_binary_on_UNIX_systems._n
call fcn.1400015e0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x4f0], rbp
mov qword [rsp + 0x4b8], rsi
mov qword [rsp + 0x4b0], r12
mov qword [rsp + 0x4a8], r13
mov qword [rsp + 0x4a0], r14
xor r14d, r14d
test byte [rsp + 0x70], 0x80
mov r12d, r14d
je 0x140002a14
mov eax, dword [rsp + 0x74]
lea r9, [rsp + 0x7c]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rax
lea rdx, str.global
mov qword [rsp + 0x38], 3
mov rcx, r15
call qword [sym.imp.hdf5_hl.dll_H5IMmake_palette]
test eax, eax
js 0x140002acf
lea r12d, [r14 + 1]
mov r13, rbx
test ebx, ebx
je 0x140002aa8
mov rbp, r14
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsp + 0x48]
lea rdx, str.Image_d
mov r8d, r14d
lea rcx, [rsp + 0x390]
mov rbx, qword [rax + rbp*8]
mov edi, dword [rbx + 4]
mov esi, dword [rbx]
call fcn.140002b20
mov rax, qword [rbx + 0x320]
lea rdx, [rsp + 0x390]
mov r9d, edi
mov qword [rsp + 0x20], rax
mov r8d, esi
mov rcx, r15
call qword [sym.imp.hdf5_hl.dll_H5IMmake_image_8bit]
test eax, eax
js 0x140002acf
test r12, r12
je 0x140002a9d
lea r8, str.global
mov rcx, r15
lea rdx, [rsp + 0x390]
call qword [sym.imp.hdf5_hl.dll_H5IMlink_palette]
test eax, eax
js 0x140002acf
inc r14d
inc rbp
cmp rbp, r13
jl 0x140002a30
mov rcx, r15
call qword [sym.imp.hdf5.dll_H5Fclose]
test eax, eax
jns 0x140002ad6
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Could_not_close_HDF5_file._Aborting..._n
call fcn.1400015e0
mov eax, 0xffffffff
jmp 0x140002ad8
xor eax, eax
mov r13, qword [rsp + 0x4a8]
mov r12, qword [rsp + 0x4b0]
mov rsi, qword [rsp + 0x4b8]
mov rbp, qword [rsp + 0x4f0]
mov r14, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140002c10
add rsp, 0x4c0
pop r15
pop rdi
pop rbx
ret