Function at 0x1400046f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x480]
sub rsp, 0x580
mov rax, qword [0x14000e1b8]
xor rax, rsp
mov qword [rbp + 0x478], rax
movsxd r14, ecx
xor r12d, r12d
lea rcx, str.h5ls
mov dword [rsp + 0x40], r12d
mov r13d, r12d
mov qword [rsp + 0x48], rdx
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 rax, str.Group
mov qword [0x14000e228], r12
mov qword [0x14000e210], rax
lea rcx, str.COLUMNS
lea rax, str.Dataset
mov qword [0x14000e230], r12
mov qword [0x14000e238], rax
lea rax, section..text
mov qword [0x14000e250], rax
lea rax, [0x140001220]
mov qword [0x14000e258], rax
lea rax, str.Type
mov qword [0x14000e260], rax
lea rax, [0x140002250]
mov qword [0x14000e280], rax
mov qword [0x14000e278], r12
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, rax
test rax, rax
je 0x1400047f4
movzx eax, byte [rax]
test al, al
je 0x1400047f4
movsx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
test eax, eax
je 0x1400047f4
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov ecx, 0xfffffff5
mov qword [rsp + 0x5b0], rsi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx eax, word [rbp - 0x46]
mov edx, 1
movsx ecx, word [rbp - 0x42]
mov edi, edx
sub ecx, eax
mov eax, edx
inc ecx
cmp ecx, edx
cmovge eax, ecx
mov dword [0x14000e1a8], eax
cmp r14d, edx
jle case.0x140004c95.77
mov esi, 8
mov rbx, qword [rsi + r15]
lea rdx, str.__help
cmp byte [rbx], 0x2d
jne 0x140004d26
movzx eax, byte [rbx]
cmp al, byte [0x14000b7a0]
jne 0x14000487d
movzx eax, byte [rbx + 1]
cmp al, byte [0x14000b7a1]
jne 0x14000487d
movzx eax, byte [rbx + 2]
cmp al, byte [0x14000b7a2]
je 0x140004d24
mov rcx, r12
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400048a0
cmp rcx, 7
jne 0x140004880
call fcn.1400071f0
xor ecx, ecx
call fcn.1400027b0
int3
lea rdx, str.__address
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400048bf
mov byte [0x14000e1f4], 1
jmp 0x140004d10
mov rcx, r12
lea rdx, str.__data
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400048ef
cmp rcx, 7
jne 0x1400048d0
mov byte [0x14000e1f5], 1
jmp 0x140004d10
lea rdx, str.__enable_error_stack
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14000490e
mov byte [0x14000e1ff], 1
jmp 0x140004d10
lea rdx, str.__errors
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14000492d
mov byte [0x14000e1ff], 1
jmp 0x140004d10
lea rdx, str.__follow_symlinks
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14000494c
mov byte [0x14000e1fa], 1
jmp 0x140004d10
lea rdx, str.__no_dangling_links
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14000496b
mov byte [0x14000e1fb], 1
jmp 0x140004d10
lea rdx, str.__external
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14000498a
mov byte [0x14000e1fc], 1
jmp 0x140004d10
mov rcx, r12
lea rdx, str.__full
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400049bf
cmp rcx, 7
jne 0x1400049a0
mov byte [0x14000e1f8], 1
jmp 0x140004d10
mov rcx, r12
lea rdx, str.__group
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400049ef
cmp rcx, 8
jne 0x1400049d0
mov byte [0x14000e1fd], 1
jmp 0x140004d10
mov rcx, r12
lea rdx, str.__label
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140004a1f
cmp rcx, 8
jne 0x140004a00
mov byte [0x14000e1f6], 1
jmp 0x140004d10
lea rdx, str.__recursive
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140004a45
mov byte [0x14000e1f9], 1
mov byte [0x14000e1f8], 1
jmp 0x140004d10
lea rdx, str.__simple
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140004a64
mov byte [0x14000e200], 1
jmp 0x140004d10
lea rdx, str.__string
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140004a83
mov byte [0x14000e1f7], 1
jmp 0x140004d10
mov r8d, 6
lea rdx, str.__vfd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov rcx, qword [r15 + rsi]
test eax, eax
jne 0x140004aaa
lea r13, [rcx + 6]
jmp 0x140004d10
mov r8d, 8
lea rdx, [0x14000b880]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov rbx, qword [r15 + rsi]
test eax, eax
jne 0x140004af1
lea rcx, [rbx + 8]
xor r8d, r8d
lea rdx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov dword [0x14000e1a8], eax
test eax, eax
jne 0x140004bef
mov byte [0x14000e202], 1
jmp 0x140004d10
mov rcx, r12
lea rdx, str.__width
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140004b57
cmp rcx, 8
jne 0x140004b00
inc edi
cmp edi, r14d
jge case.0x140004c95.77
add rsi, rcx
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, qword [rsi + r15]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov dword [0x14000e1a8], eax
test eax, eax
jle case.0x140004c95.77
mov rax, qword [rsp + 0x50]
cmp byte [rax], r12b
je 0x140004d10
call fcn.1400071f0
mov ecx, 1
call fcn.1400027b0
int3
lea rdx, str.__verbose
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140004b75
inc dword [0x14000e1f0]
jmp 0x140004d10
lea rdx, str.__version
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140004dd1
lea rdx, str.__hexdump
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140004bab
mov byte [0x14000e1fe], 1
jmp 0x140004d10
mov r8d, 2
lea rdx, [0x14000b8c4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
mov rcx, qword [r15 + rsi]
test eax, eax
jne 0x140004c08
add rcx, 2
cmp byte [rcx], r12b
jne 0x140004ac9
inc edi
cmp edi, r14d
jge case.0x140004c95.77
mov rcx, qword [rsi + r15 + 8]
add rsi, 8
jmp 0x140004ac9
js case.0x140004c95.77
mov rax, qword [rsp + 0x50]
cmp byte [rax], r12b
jne case.0x140004c95.77
jmp 0x140004d10
mov r8d, 0xa
lea rdx, str.__s3_cred
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140004daa
mov rcx, qword [rsi + r15]
lea rdx, str.__hdfs_attrs
mov r8d, 0xd
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140004e84
mov rbx, qword [rsi + r15]
movzx eax, byte [rbx + 1]
lea r8, [rbx + 1]
cmp al, 0x2d
je 0x140004d7c
test al, al
je 0x140004d10
mov edx, dword [0x14000e1f0]
lea r9, [0x140000000]
nop dword [rax + rax]
movsx eax, al
add eax, 0xffffffc1
cmp eax, 0x39
ja case.0x140004c95.77
cdqe
movzx eax, byte [r9 + rax + 0x52bc]
mov ecx, dword [r9 + rax*4 + 0x5280]
add rcx, r9
jmp rcx
mov byte [0x14000e1f4], 1
jmp 0x140004d00
mov byte [0x14000e1f5], 1
jmp 0x140004d00
mov byte [0x14000e1ff], 1
jmp 0x140004d00
mov byte [0x14000e1fc], 1
jmp 0x140004d00
mov byte [0x14000e1fd], 1
jmp 0x140004d00
mov byte [0x14000e1f6], 1
jmp 0x140004d00
mov byte [0x14000e1f9], 1
mov byte [0x14000e1f8], 1
jmp 0x140004d00
mov byte [0x14000e200], 1
jmp 0x140004d00
mov byte [0x14000e1f7], 1
jmp 0x140004d00
inc edx
mov dword [0x14000e1f0], edx
jmp 0x140004d00
mov byte [0x14000e1fe], 1
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x140004c70
inc edi
add rsi, 8
cmp edi, r14d
jge case.0x140004c95.77
jmp 0x140004842
inc edi
cmp edi, r14d
jge case.0x140004c95.77
cmp byte [0x14000e1f9], r12b
je 0x140004de8
cmp byte [0x14000e1fd], r12b
je 0x140004de8
lea rdx, str.Error:_recursive_option_not_compatible_with_group_info_option__n_n
mov rcx, qword [sym.imp.hdf5_tools.dll_rawerrorstream]
mov rcx, qword [rcx]
call qword [sym.imp.hdf5.dll_HDfprintf]
jmp case.0x140004c95.77
call qword [sym.imp.hdf5_tools.dll_h5tools_getprogname]
mov rcx, rax
call qword [sym.imp.hdf5_tools.dll_print_version]
xor ecx, ecx
call fcn.1400027b0
int3
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.Unknown_argument:__s_n
mov rcx, rax
call qword [sym.imp.hdf5.dll_HDfprintf]
call fcn.1400071f0
mov ecx, 1
call fcn.1400027b0
int3
mov rcx, qword [sym.imp.hdf5_tools.dll_rawerrorstream]
lea rdx, str.Error:_Read_Only_S3_VFD_is_not_enabled_n_n
mov rcx, qword [rcx]
call qword [sym.imp.hdf5.dll_HDfprintf]
call fcn.1400071f0
mov ecx, 1
call fcn.1400027b0
int3
call qword [sym.imp.hdf5_tools.dll_h5tools_getprogname]
mov rcx, rax
call qword [sym.imp.hdf5_tools.dll_print_version]
xor ecx, ecx
call fcn.1400027b0
int3
cmp byte [0x14000e1fb], r12b
je 0x140004e06
cmp byte [0x14000e1fa], r12b
jne 0x140004e06
lea rdx, str.Error:___no_dangling_links_must_be_used_along_with___follow_symlinks_option__n_n
jmp 0x140004d50
test r13, r13
je 0x140004ea9
mov rcx, r12
lea rdx, str.ros3
nop dword [rax]
movzx eax, byte [rcx + r13]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140004e5b
cmp rcx, 5
jne 0x140004e20
mov rcx, qword [sym.imp.hdf5_tools.dll_rawerrorstream]
lea rdx, str.Error:_Read_Only_S3_VFD_not_enabled._n_n
mov rcx, qword [rcx]
call qword [sym.imp.hdf5.dll_HDfprintf]
call fcn.1400071f0
mov ecx, 1
call fcn.1400027b0
int3
mov rcx, r12
lea rdx, str.hdfs
nop word [rax + rax]
movzx eax, byte [rcx + r13]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140004ea9
cmp rcx, 5
jne 0x140004e70
mov rax, qword [sym.imp.hdf5_tools.dll_rawoutstream]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400051b0
lea rdx, str.The_HDFS_VFD_is_not_enabled._n
call qword [sym.imp.hdf5.dll_HDfprintf]
jmp 0x1400051b0
cmp byte [0x14000e1ff], r12b
jne 0x140004ebf
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.hdf5.dll_H5Eset_auto2]
mov eax, r14d
movsxd r15, edi
sub eax, edi
mov r12, r14
cmp eax, 1
setg byte [0x14000e201]
cmp r15, r14
jge 0x140005277
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsi + r15*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
xor ebx, ebx
inc r15
mov rdi, rax
lea r14, [rbx - 1]
test rax, rax
je 0x14000516f
cmp byte [rdi], 0
je 0x140004f8c
lea rax, [rbp + 0x440]
mov qword [rsp + 0x28], 0x32
mov r9, r13
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.hdf5_tools.dll_h5tools_fopen]
mov r14, rax
test rax, rax
jns 0x140004f5d
mov edx, 0x2f
mov rcx, rdi
mov rsi, rbx
call sub.VCRUNTIME140.dll_strrchr
mov rbx, rax
test rsi, rsi
je 0x140004f53
mov byte [rsi], 0x2f
test rax, rax
je 0x140004f8c
mov byte [rax], 0
jmp 0x140004f01
cmp dword [0x14000e1f0], 0
je 0x140004f8c
mov rax, qword [sym.imp.hdf5_tools.dll_rawoutstream]
mov rcx, qword [rax]
test rcx, rcx
je 0x140004f8c
lea r9, [rbp + 0x440]
mov r8, rdi
lea rdx, str.Opened___s__with__s_driver._n
call qword [sym.imp.hdf5.dll_HDfprintf]
test r14, r14
js 0x14000516a
test rbx, rbx
je 0x140004fe8
mov byte [rbx], 0x2f
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140004fa4
mov qword [rbp - 0x60], rcx
xor eax, eax
cmp byte [rcx + rbx - 1], 0x2f
sete al
sub rcx, rax
mov qword [rbp - 0x60], rcx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rsi, rax
test rax, rax
je 0x1400051bb
mov byte [rbx], 0
mov eax, 1
mov qword [rbp - 0x58], rax
cmp byte [rsi], 0
jne 0x14000501b
cmp byte [0x14000e1f9], 0
lea rsi, [0x14000e1ac]
movzx eax, byte [0x14000e203]
mov ecx, 1
cmovne eax, ecx
xor r9d, r9d
mov qword [rbp - 0x60], r9
mov ebx, r9d
mov qword [rbp - 0x58], r9
mov byte [0x14000e203], al
jmp 0x14000501e
xor r9d, r9d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x78], rdi
lea r8, [0x14000e1ac]
mov qword [rbp - 0x68], rax
mov rax, rsi
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0xffffffffffffffff
sub r8, rsi
mov byte [rbp - 0x70], 0
mov byte [rsp + 0x70], 0
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x68], r9
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140005073
inc rax
test ecx, ecx
jne 0x140005060
test edx, edx
je 0x1400050af
xor r9d, r9d
lea r8, [rbp - 0x38]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.hdf5.dll_H5Lget_info]
test eax, eax
js 0x1400051dd
cmp dword [rbp - 0x38], 0
je 0x1400050b3
lea r8, [rsp + 0x78]
mov qword [rbp - 0x78], r14
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.140002ff0
jmp 0x1400050cb
mov dword [rbp - 0x38], r9d
lea r8, [rsp + 0x78]
mov rdx, rsi
mov rcx, r14
call fcn.140007a70
test eax, eax
js 0x14000526c
mov rcx, r14
call qword [sym.imp.hdf5.dll_H5Fclose]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x1400050eb
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor edi, edi
cmp qword [rsp + 0x60], rdi
jbe 0x140005137
xor ebx, ebx
nop word [rax + rax]
mov rcx, qword [rsp + 0x68]
cmp dword [rbx + rcx], 0x40
lea rax, [rbx + rcx]
jne 0x14000511e
mov rcx, qword [rax + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rbx + rcx + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc rdi
add rbx, 0x18
cmp rdi, qword [rsp + 0x60]
jb 0x140005100
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [0x14000e1fb], 0
mov ecx, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
je 0x14000519f
mov rax, qword [rbp - 0x68]
cmp byte [rax + 0x18], 0
mov eax, 1
cmovne ecx, eax
mov dword [rsp + 0x40], ecx
jmp 0x14000519f
mov rsi, qword [rsp + 0x48]
mov rcx, qword [sym.imp.hdf5_tools.dll_rawerrorstream]
lea rdx, str._s:_unable_to_open_file_n
mov r8, qword [rsi + r15*8 - 8]
mov rcx, qword [rcx]
call qword [sym.imp.hdf5.dll_HDfprintf]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
mov ecx, eax
mov dword [rsp + 0x40], eax
cmp r15, r12
jl 0x140004ee2
test ecx, ecx
je 0x140005277
mov ecx, 1
call fcn.1400027b0
int3
mov rcx, qword [sym.imp.hdf5_tools.dll_rawerrorstream]
lea rdx, str.memory_allocation_failed_n
mov rcx, qword [rcx]
call qword [sym.imp.hdf5.dll_HDfprintf]
mov ecx, 1
call fcn.1400027b0
int3
xor ebx, ebx
lea rcx, [rbp - 0x10]
xor edx, edx
mov qword [rsp + 0x48], rbx
mov r8d, 0x450
call sub.VCRUNTIME140.dll_memset
xor eax, eax
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
call qword [sym.imp.hdf5_tools.dll_h5tools_str_reset]
lea r9, str.NOT_FOUND
mov r8, rsi
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x50]
call fcn.1400064f0
mov eax, dword [0x14000e120]
lea r9, [rbp - 0x50]
mov rcx, qword [sym.imp.hdf5_tools.dll_rawoutstream]
lea r8, [rbp - 0x10]
mov qword [rsp + 0x38], rbx
lea rdx, [section..data]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
call qword [sym.imp.hdf5_tools.dll_h5tools_render_element]
lea ecx, [rbx + 1]
call fcn.1400027b0
int3
mov ecx, 1
call fcn.1400027b0
int3
xor ecx, ecx
call fcn.1400027b0
int3