Function at 0x140059e80
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push r13
push r15
sub rsp, 0x80
xor esi, esi
mov r15, r9
cmp byte [0x140222191], sil
mov ebx, edx
mov r13, rcx
mov qword [rsp + 0x50], rsi
mov ebp, esi
mov qword [rsp + 0x58], rsi
jne 0x140059ec3
cmp byte [0x140222235], sil
jne 0x14005a48f
mov qword [rsp + 0x78], r12
mov rcx, r15
mov r12d, dword [rsp + 0xd0]
and r12d, 0x61
mov qword [rsp + 0x70], r14
call fcn.14004f710
mov r14, rax
test rax, rax
jne 0x140059f39
lea rax, str.memory_allocation_failed
mov r9d, 0x25f
mov qword [rsp + 0x38], rax
lea r8, str.H5F_prefix_open_file
mov rax, qword [0x14021efc0]
lea rdx, str.C:cihdf5_1593121603621work_srcH5Fint.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14021eec8]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14021ee70]
mov qword [rsp + 0x20], rax
call fcn.14004ed30
jmp 0x14005a485
mov qword [rsp + 0xb0], rdi
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], sil
jne 0x140059f50
movsx ecx, byte [r15]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x140059f7b
cmp byte [r15 + 1], 0x3a
jne 0x140059f7b
movzx eax, byte [r15 + 2]
cmp al, 0x5c
je 0x140059fea
cmp al, 0x2f
je 0x140059fea
movzx eax, byte [r15]
cmp al, 0x5c
je 0x140059fea
cmp al, 0x2f
je 0x140059fea
movsx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x14005a05b
cmp byte [r15 + 1], 0x3a
jne 0x14005a05b
mov rax, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x14021c398]
mov rdx, r15
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.14006fa80
mov rbp, rax
test rax, rax
jne 0x14005a451
xor ecx, ecx
call fcn.14004e9d0
lea rdx, [r15 + 2]
mov r8, rdi
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x14005a056
mov rax, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x14021c398]
mov rdx, r15
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.14006fa80
mov rbp, rax
test rax, rax
jne 0x14005a451
xor ecx, ecx
call fcn.14004e9d0
lea edx, [rbp + 0x2f]
mov rcx, r15
call sub.VCRUNTIME140.dll_strrchr
lea edx, [rbp + 0x5c]
mov rcx, r15
mov rbx, rax
call sub.VCRUNTIME140.dll_strrchr
cmp rax, rbx
mov r8, rdi
mov rcx, r14
cmova rbx, rax
lea rdx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov ebx, dword [rsp + 0xb8]
mov byte [rdi + r14 - 1], sil
test ebx, ebx
jne 0x14005a068
lea rcx, str.HDF5_VDS_PREFIX
jmp 0x14005a078
cmp ebx, 1
jne 0x14005a4a1
lea rcx, str.HDF5_EXT_PREFIX
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14005a1b0
mov rcx, rax
call fcn.14004f710
mov qword [rsp + 0x60], rax
mov rdi, rax
test rax, rax
jne 0x14005a0f0
lea rax, str.memory_allocation_failed
mov r9d, 0x29b
mov qword [rsp + 0x38], rax
mov rax, qword [0x14021efc0]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14021eec8]
mov qword [rsp + 0x28], rax
lea r8, str.H5F_prefix_open_file
mov rax, qword [0x14021ee70]
lea rdx, str.C:cihdf5_1593121603621work_srcH5Fint.c
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.14004ed30
jmp 0x14005a463
cmp byte [rdi], sil
je 0x14005a19d
cmp byte [0x140222191], sil
jne 0x14005a10f
cmp byte [0x140222235], sil
jne 0x14005a194
mov edx, 0x3a
mov rcx, rdi
mov rbx, rdi
call sub.VCRUNTIME140.dll_strchr
test rax, rax
jne 0x14005a129
mov rdi, rsi
jmp 0x14005a130
lea rdi, [rax + 1]
mov byte [rax], sil
test rbx, rbx
je 0x14005a194
cmp byte [rbx], sil
je 0x14005a194
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rbx
call fcn.140055e30
test eax, eax
js 0x14005a1dd
mov rax, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x14021c398]
mov rcx, r13
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.14006fa80
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.14004f7f0
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x14005a19d
xor ecx, ecx
call fcn.14004e9d0
test rdi, rdi
jne 0x14005a0f0
mov rcx, qword [rsp + 0x60]
call fcn.14004f7f0
test rbp, rbp
jne 0x14005a451
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x14005a27f
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rax
call fcn.140055e30
test eax, eax
jns 0x14005a237
mov r9d, 0x2c0
jmp 0x14005a1ed
mov rcx, qword [rsp + 0x60]
call fcn.14004f7f0
mov r9d, 0x2a5
lea rax, str.cant_prepend_prefix_to_filename
mov qword [rsp + 0x38], rax
mov rax, qword [0x14021f058]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14021ee80]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14021ee70]
mov qword [rsp + 0x20], rax
lea r8, str.H5F_prefix_open_file
xor ecx, ecx
lea rdx, str.C:cihdf5_1593121603621work_srcH5Fint.c
call fcn.14004ed30
jmp 0x14005a454
mov rdi, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x14021c398]
mov rcx, r13
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdi
call fcn.14006fa80
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.14004f7f0
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x14005a451
xor ecx, ecx
call fcn.14004e9d0
jmp 0x14005a287
mov rdi, qword [rsp + 0xd8]
mov rcx, qword [r13 + 0x10]
test rcx, rcx
je 0x14005a2ea
lea r8, [rsp + 0x50]
mov rdx, r14
call fcn.140055e30
test eax, eax
jns 0x14005a2ac
mov r9d, 0x2d5
jmp 0x14005a1ed
mov r9, qword [0x14021c398]
mov r8d, r12d
mov rdx, qword [rsp + 0x50]
mov rcx, r13
mov qword [rsp + 0x20], rdi
call fcn.14006fa80
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.14004f7f0
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x14005a451
xor ecx, ecx
call fcn.14004e9d0
mov r9, qword [0x14021c398]
mov r8d, r12d
mov rdx, r14
mov qword [rsp + 0x20], rdi
mov rcx, r13
call fcn.14006fa80
mov rbp, rax
test rax, rax
jne 0x14005a451
xor ecx, ecx
call fcn.14004e9d0
mov rcx, qword [r13 + 8]
call fcn.14004f710
mov qword [rsp + 0x58], rax
mov rbp, rax
test rax, rax
jne 0x14005a368
mov rcx, qword [0x14021efc8]
lea rax, str.cant_duplicate_resolved_file_name_string
mov qword [rsp + 0x38], rax
mov r9d, 0x2f5
mov qword [rsp + 0x30], rcx
mov rcx, qword [0x14021ee80]
mov qword [rsp + 0x28], rcx
mov rcx, qword [0x14021ee70]
mov qword [rsp + 0x20], rcx
jmp 0x14005a21d
mov edx, 0x2f
mov rcx, rbp
call sub.VCRUNTIME140.dll_strrchr
mov edx, 0x5c
mov rcx, rbp
mov rbx, rax
call sub.VCRUNTIME140.dll_strrchr
cmp rax, rbx
cmova rbx, rax
test rbx, rbx
jne 0x14005a3e8
mov qword [rsp + 0x48], r14
lea rax, str.unable_to_open_file__file_name___s__temp_file_name___s
mov qword [rsp + 0x40], r15
lea r8, str.H5F_prefix_open_file
mov qword [rsp + 0x38], rax
lea rdx, str.C:cihdf5_1593121603621work_srcH5Fint.c
mov rax, qword [0x14021f158]
mov r9d, 0x2fa
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14021ee80]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14021ee70]
mov qword [rsp + 0x20], rax
call fcn.14004ed30
jmp 0x14005a454
lea r8, [rsp + 0x50]
mov byte [rbx], sil
mov rdx, r14
mov rcx, rbp
call fcn.140055e30
test eax, eax
jns 0x14005a40a
mov r9d, 0x301
jmp 0x14005a1ed
mov rcx, rbp
call fcn.14004f7f0
mov r9, qword [0x14021c398]
mov r8d, r12d
mov rdx, qword [rsp + 0x50]
mov rcx, r13
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], rdi
call fcn.14006fa80
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.14004f7f0
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x14005a451
xor ecx, ecx
call fcn.14004e9d0
mov rsi, rbp
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14005a463
call fcn.14004f7f0
mov rcx, r14
call fcn.14004f7f0
mov rax, qword [rsp + 0x58]
mov rdi, qword [rsp + 0xb0]
test rax, rax
je 0x14005a485
mov rcx, rax
call fcn.14004f7f0
mov r12, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
mov rax, rsi
add rsp, 0x80
pop r15
pop r13
pop rsi
pop rbp
pop rbx
ret
lea rax, str.prefix_type_is_not_sensible
mov r9d, 0x293
mov qword [rsp + 0x38], rax
mov rax, qword [0x14021f330]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14021ee80]
jmp 0x14005a0c1