Function at 0x140004b00
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x2a740]
mov eax, 0x2a840
call fcn.140009ae0
sub rsp, rax
mov rax, qword [0x1400123b8]
xor rax, rsp
mov qword [rbp + 0x2a730], rax
xor edi, edi
movsxd rbx, ecx
lea rcx, str.h5import
mov r13d, edi
mov esi, edi
mov r14d, edi
mov r15, rdx
call qword [sym.imp.hdf5_tools.dll_h5tools_setprogname]
xor ecx, ecx
call qword [sym.imp.hdf5_tools.dll_h5tools_setstatus]
call qword [sym.imp.hdf5_tools.dll_h5tools_init]
lea ecx, [rdi + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor edx, edx
lea r9d, [rdi + 2]
mov rcx, rax
lea r8d, [rdi + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_setvbuf]
lea ecx, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor edx, edx
lea r9d, [rdi + 2]
mov rcx, rax
lea r8d, [rdi + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_setvbuf]
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x2a5e8
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [r15 + 8]
test rdx, rdx
je 0x140004be8
movzx eax, byte [0x14000b63c]
cmp al, byte [rdx]
jne 0x140004be8
movzx eax, byte [0x14000b63d]
cmp al, byte [rdx + 1]
jne 0x140004be8
movzx eax, byte [0x14000b63e]
cmp al, byte [rdx + 2]
jne 0x140004be8
lea rcx, str.h5import
call qword [sym.imp.hdf5_tools.dll_print_version]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x2a890], r12
cmp ebx, 2
jge 0x140004c18
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Invalid_number_of_arguments:___d._n
mov rcx, rax
call qword [sym.imp.hdf5.dll_HDfprintf]
jmp 0x140005399
mov r12d, 1
mov qword [rsp + 0x38], rbx
cmp rbx, r12
jle 0x140005377
mov r9d, r12d
mov qword [rsp + 0x28], r12
lea r10, [0x140000000]
mov rbx, qword [r15 + r9*8]
lea rax, [0x1400121d0]
movabs r11, 0x74657361746164
mov edx, 0x2c
cmp byte [rbx], 0x2d
jne 0x140004d90
lea rdx, [rbx + 1]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x140004c70
movsx eax, byte [rdx]
add eax, 0xffffff9d
cmp eax, 0x11
ja case.0x140004c95.101
cdqe
mov ecx, dword [r10 + rax*4 + 0x549c]
add rcx, r10
jmp rcx
lea rcx, str.outfile
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne case.0x140004c95.101
lea rcx, [0x1400121d4]
mov r9, qword [rsp + 0x28]
lea r10, [0x140000000]
mov edx, 0x2c
movabs r11, 0x74657361746164
jmp 0x140004d93
lea rcx, str.config
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne case.0x140004c95.101
lea rcx, [0x1400121d8]
jmp 0x140004cb3
lea rcx, str.help
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne case.0x140004c95.101
lea rcx, [0x1400121dc]
jmp 0x140004cb3
lea rcx, str.dims
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne case.0x140004c95.101
lea rcx, [0x1400121e0]
jmp 0x140004cb3
lea rcx, str.path
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne case.0x140004c95.101
lea rcx, [0x1400121e4]
jmp 0x140004cb3
lea rcx, str.type
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne case.0x140004c95.101
lea rcx, [0x1400121e8]
jmp 0x140004cb3
lea rcx, str.size
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne case.0x140004c95.101
lea rcx, [0x1400121ec]
jmp 0x140004cb3
mov rcx, rax
movsxd rax, esi
shl rax, 5
mov eax, dword [rax + rcx]
mov dword [rsp + 0x30], eax
dec eax
cmp eax, 0xd
ja case.default.0x140004db9
cdqe
mov ecx, dword [r10 + rax*4 + 0x54e4]
add rcx, r10
jmp rcx
movsxd rax, dword [rbp + 0x2a520]
cmp eax, 0x1d
jge 0x140005211
mov rdx, qword [r15 + r9*8]
lea r8, [rsp + 0x40]
imul rcx, rax, 0x1690
add r8, rcx
nop
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [r8], al
lea r8, [r8 + 1]
test al, al
jne 0x140004de0
movsxd rax, dword [rbp + 0x2a520]
lea r14, [rbp + 0x140]
imul rcx, rax, 0x1690
lea rdx, [0x14000b86c]
mov qword [rbp + 0x2a530], r11
add r14, rcx
mov dword [rbp + rcx + 0x15c8], edi
lea rcx, [rbp + 0x2a630]
mov r8d, dword [rbp + 0x2a520]
mov dword [r14], edi
mov dword [r14 + 0x13f4], 3
mov dword [r14 + 0x13f8], 0x20
mov dword [r14 + 0x1410], 1
mov dword [r14 + 0x1414], 0x20
mov dword [r14 + 0x1400], 0xffffffff
mov dword [r14 + 0x1404], edi
mov dword [r14 + 0x13f0], 1
call fcn.140009750
lea rcx, [rbp + 0x2a530]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140004e90
lea r8, [rbp + 0x2a630]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140004eb0
lea rdx, [rbp + 0x2a530]
mov rax, r14
sub rax, rdx
lea rcx, [rbp + 0x2a530]
lea rdx, [rax + 4]
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140004ee0
mov dword [r14 + 0x1418], edi
mov dword [r14 + 0x141c], 0xffffffff
mov dword [r14 + 0x1430], edi
mov qword [r14 + 0x1448], rdi
mov qword [r14 + 0x1450], rdi
mov qword [r14 + 0x1458], rdi
mov qword [r14 + 0x1460], rdi
mov qword [r14 + 0x1468], rdi
mov qword [r14 + 0x1470], rdi
mov qword [r14 + 0x1478], rdi
mov dword [r14 + 0x1480], edi
inc dword [rbp + 0x2a520]
jmp 0x1400051cc
mov eax, dword [rbp + 0x2a520]
mov rdx, qword [r15 + r9*8]
dec eax
movsxd rcx, eax
imul rax, rcx, 0x1690
lea rcx, [rbp + 0x3f]
add rcx, rax
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140004f70
mov eax, dword [rbp + 0x2a520]
dec eax
movsxd rcx, eax
imul rax, rcx, 0x1690
mov dword [rbp + rax + 0x15c8], 1
jmp case.0x140004db9.2
mov rbx, qword [r15 + r9*8]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], dil
jne 0x140004fb0
cmp rax, 0xff
ja 0x14000522f
lea rcx, [rbp + 0x2a420]
sub rcx, rbx
nop
movzx eax, byte [rbx]
mov byte [rbx + rcx], al
lea rbx, [rbx + 1]
test al, al
jne 0x140004fd0
mov r13d, 1
jmp case.0x140004db9.2
mov rsi, qword [r15 + r9*8]
lea rcx, [rbp + 0x2a530]
mov word [rsp + 0x20], dx
mov r8d, 0xff
mov rdx, rsi
mov ebx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rdx, [rsp + 0x20]
mov byte [rbp + 0x2a62e], bl
lea rcx, [rbp + 0x2a530]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
test rax, rax
je 0x140005054
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
xor ecx, ecx
inc ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
test rax, rax
jne 0x140005040
lea eax, [rbx + 1]
movsxd rcx, eax
shl rcx, 3
mov dword [r14 + 0x1404], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r14 + 0x1408], rax
test rax, rax
je 0x140005246
mov r8d, 0xff
lea rcx, [rbp + 0x2a530]
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rdx, [rsp + 0x20]
mov byte [rbp + 0x2a62e], dil
lea rcx, [rbp + 0x2a530]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoull]
mov rcx, qword [r14 + 0x1408]
lea rdx, [rsp + 0x20]
mov qword [rcx], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
test rax, rax
je 0x1400051cc
mov ebx, 8
nop
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoull]
mov rcx, qword [r14 + 0x1408]
lea rdx, [rsp + 0x20]
lea rbx, [rbx + 8]
mov qword [rbx + rcx - 8], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
test rax, rax
jne 0x1400050e0
jmp 0x1400051cc
mov rdx, qword [r15 + r9*8]
lea rcx, [r14 + 4]
call fcn.140005520
cmp eax, 0xffffffff
jne 0x1400051cc
lea ecx, [rax + 3]
movsxd rbx, r12d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [r15 + rbx*8]
lea rdx, str.Invalid_path__s._n
jmp 0x1400053cf
mov rdx, qword [r15 + r9*8]
mov rcx, r14
call fcn.140002250
cmp eax, 0xffffffff
je 0x140005286
mov ecx, dword [r14 + 0x13f4]
test ecx, 0xfffffffb
jne 0x140005173
mov dword [r14 + 0x1410], edi
lea eax, [rcx - 1]
cmp eax, 2
ja 0x140005186
mov dword [r14 + 0x1410], 1
lea eax, [rcx - 6]
cmp eax, 1
ja 0x1400051cc
mov dword [r14 + 0x1410], 2
jmp 0x1400051cc
mov rcx, qword [r15 + r9*8]
xor edx, edx
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov edx, eax
mov rcx, r14
call fcn.140002d10
cmp eax, 0xffffffff
je 0x1400052a4
mov eax, dword [r14 + 0x13f8]
mov dword [r14 + 0x1414], eax
mov r9, qword [rsp + 0x28]
lea r10, [0x140000000]
inc r9
inc r12d
mov qword [rsp + 0x28], r9
cmp r9, qword [rsp + 0x38]
jge 0x1400052c2
mov esi, dword [rsp + 0x30]
jmp 0x140004c3b
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Illegal_argument:__s._n
jmp 0x140005390
mov ecx, 2
movsxd rbx, r12d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [r15 + rbx*8]
lea rdx, str.Cannot_specify_more_than_30_input_files_in_one_call_to_h5import._n
jmp 0x1400053cf
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Length_of_output_file_name_limited_to_255_chars._n
jmp 0x1400053cc
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Unable_to_allocate_dynamic_memory._n
lea rdx, [0x14000b640]
call qword [sym.imp.hdf5.dll_HDfprintf]
mov ecx, 2
movsxd rbx, r12d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [r15 + rbx*8]
lea rdx, str.Invalid_dimensions____s._n
jmp 0x1400053cf
mov ecx, 2
movsxd rbx, r12d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [r15 + rbx*8]
lea rdx, str.Invalid_type_of_data____s._n
jmp 0x1400053cf
mov ecx, 2
movsxd rbx, r12d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [r15 + rbx*8]
lea rdx, str.Invalid_size_of_data____s._n
jmp 0x1400053cf
test r13d, r13d
je 0x140005377
lea rcx, [rsp + 0x40]
call fcn.140005660
cmp eax, 0xffffffff
je 0x1400053d8
cmp dword [rbp + 0x2a520], edi
jle 0x14000534b
lea rbx, [rbp + 0x1560]
nop dword [rax]
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x1400052ff
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000530d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000531c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000532b
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14000533a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc edi
add rbx, 0x1690
cmp edi, dword [rbp + 0x2a520]
jl 0x1400052f0
xor eax, eax
jmp 0x140005470
mov rcx, qword [r15]
call fcn.140002da0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, str.Error_in_state_table._n
jmp 0x140005389
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, str.No_output_file_given._n
lea rdx, [0x14000b640]
mov rcx, rax
call qword [sym.imp.hdf5.dll_HDfprintf]
mov rbx, qword [r15]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str._nUsage:_t_s__h_elp___OR_n
mov rcx, rax
call qword [sym.imp.hdf5.dll_HDfprintf]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str._t_s__infile___c_onfig___configfile______infile___c_config___configfile_...___o_utfile___outfile___n_n
mov r8, rbx
mov rcx, rax
call qword [sym.imp.hdf5.dll_HDfprintf]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Program_aborted._n
lea rdx, [0x14000b640]
call qword [sym.imp.hdf5.dll_HDfprintf]
cmp dword [rbp + 0x2a520], edi
jle 0x14000546b
lea rbx, [rbp + 0x1560]
nop dword [rax]
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x14000541f
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000542d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000543c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000544b
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14000545a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc edi
add rbx, 0x1690
cmp edi, dword [rbp + 0x2a520]
jl 0x140005410
mov eax, 1
mov r12, qword [rsp + 0x2a890]
mov rcx, qword [rbp + 0x2a730]
xor rcx, rsp
call fcn.140009b50
add rsp, 0x2a840
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret