Function at 0x14004f080
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 [0x1402338fd], sil
mov ebx, edx
mov r13, rcx
mov qword [rsp + 0x50], rsi
mov ebp, esi
mov qword [rsp + 0x58], rsi
jne 0x14004f0c3
cmp byte [0x1402338f1], sil
jne 0x14004f68f
mov qword [rsp + 0x78], r12
mov rcx, r15
mov r12d, dword [rsp + 0xd0]
and r12d, 0x61
mov qword [rsp + 0x70], r14
call fcn.14004ad70
mov r14, rax
test rax, rax
jne 0x14004f139
lea rax, str.memory_allocation_failed
mov r9d, 0x25f
mov qword [rsp + 0x38], rax
lea r8, str.H5F_prefix_open_file
mov rax, qword [0x140226b38]
lea rdx, str.C:cihdf5_1655187604574work_srcH5Fint.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x140226a40]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1402269e8]
mov qword [rsp + 0x20], rax
call fcn.14004a260
jmp 0x14004f685
mov qword [rsp + 0xb0], rdi
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], sil
jne 0x14004f150
movsx ecx, byte [r15]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x14004f17b
cmp byte [r15 + 1], 0x3a
jne 0x14004f17b
movzx eax, byte [r15 + 2]
cmp al, 0x5c
je 0x14004f1ea
cmp al, 0x2f
je 0x14004f1ea
movzx eax, byte [r15]
cmp al, 0x5c
je 0x14004f1ea
cmp al, 0x2f
je 0x14004f1ea
movsx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x14004f25b
cmp byte [r15 + 1], 0x3a
jne 0x14004f25b
mov rax, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x140226720]
mov rdx, r15
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.14005a550
mov rbp, rax
test rax, rax
jne 0x14004f651
xor ecx, ecx
call fcn.140049f00
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 0x14004f256
mov rax, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x140226720]
mov rdx, r15
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.14005a550
mov rbp, rax
test rax, rax
jne 0x14004f651
xor ecx, ecx
call fcn.140049f00
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 0x14004f268
lea rcx, str.HDF5_VDS_PREFIX
jmp 0x14004f278
cmp ebx, 1
jne 0x14004f6a1
lea rcx, str.HDF5_EXT_PREFIX
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14004f3b0
mov rcx, rax
call fcn.14004ad70
mov qword [rsp + 0x60], rax
mov rdi, rax
test rax, rax
jne 0x14004f2f0
lea rax, str.memory_allocation_failed
mov r9d, 0x29b
mov qword [rsp + 0x38], rax
mov rax, qword [0x140226b38]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140226a40]
mov qword [rsp + 0x28], rax
lea r8, str.H5F_prefix_open_file
mov rax, qword [0x1402269e8]
lea rdx, str.C:cihdf5_1655187604574work_srcH5Fint.c
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.14004a260
jmp 0x14004f663
cmp byte [rdi], sil
je 0x14004f39d
cmp byte [0x1402338fd], sil
jne 0x14004f30f
cmp byte [0x1402338f1], sil
jne 0x14004f394
mov edx, 0x3a
mov rcx, rdi
mov rbx, rdi
call sub.VCRUNTIME140.dll_strchr
test rax, rax
jne 0x14004f329
mov rdi, rsi
jmp 0x14004f330
lea rdi, [rax + 1]
mov byte [rax], sil
test rbx, rbx
je 0x14004f394
cmp byte [rbx], sil
je 0x14004f394
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rbx
call fcn.14004af20
test eax, eax
js 0x14004f3dd
mov rax, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x140226720]
mov rcx, r13
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.14005a550
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.14004ae50
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x14004f39d
xor ecx, ecx
call fcn.140049f00
test rdi, rdi
jne 0x14004f2f0
mov rcx, qword [rsp + 0x60]
call fcn.14004ae50
test rbp, rbp
jne 0x14004f651
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x14004f47f
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rax
call fcn.14004af20
test eax, eax
jns 0x14004f437
mov r9d, 0x2c0
jmp 0x14004f3ed
mov rcx, qword [rsp + 0x60]
call fcn.14004ae50
mov r9d, 0x2a5
lea rax, str.cant_prepend_prefix_to_filename
mov qword [rsp + 0x38], rax
mov rax, qword [0x140226bd0]
mov qword [rsp + 0x30], rax
mov rax, qword [0x1402269f8]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1402269e8]
mov qword [rsp + 0x20], rax
lea r8, str.H5F_prefix_open_file
xor ecx, ecx
lea rdx, str.C:cihdf5_1655187604574work_srcH5Fint.c
call fcn.14004a260
jmp 0x14004f654
mov rdi, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x140226720]
mov rcx, r13
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdi
call fcn.14005a550
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.14004ae50
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x14004f651
xor ecx, ecx
call fcn.140049f00
jmp 0x14004f487
mov rdi, qword [rsp + 0xd8]
mov rcx, qword [r13 + 0x10]
test rcx, rcx
je 0x14004f4ea
lea r8, [rsp + 0x50]
mov rdx, r14
call fcn.14004af20
test eax, eax
jns 0x14004f4ac
mov r9d, 0x2d5
jmp 0x14004f3ed
mov r9, qword [0x140226720]
mov r8d, r12d
mov rdx, qword [rsp + 0x50]
mov rcx, r13
mov qword [rsp + 0x20], rdi
call fcn.14005a550
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.14004ae50
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x14004f651
xor ecx, ecx
call fcn.140049f00
mov r9, qword [0x140226720]
mov r8d, r12d
mov rdx, r14
mov qword [rsp + 0x20], rdi
mov rcx, r13
call fcn.14005a550
mov rbp, rax
test rax, rax
jne 0x14004f651
xor ecx, ecx
call fcn.140049f00
mov rcx, qword [r13 + 8]
call fcn.14004ad70
mov qword [rsp + 0x58], rax
mov rbp, rax
test rax, rax
jne 0x14004f568
mov rcx, qword [0x140226b40]
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 [0x1402269f8]
mov qword [rsp + 0x28], rcx
mov rcx, qword [0x1402269e8]
mov qword [rsp + 0x20], rcx
jmp 0x14004f41d
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 0x14004f5e8
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_1655187604574work_srcH5Fint.c
mov rax, qword [0x140226cd0]
mov r9d, 0x2fa
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x1402269f8]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1402269e8]
mov qword [rsp + 0x20], rax
call fcn.14004a260
jmp 0x14004f654
lea r8, [rsp + 0x50]
mov byte [rbx], sil
mov rdx, r14
mov rcx, rbp
call fcn.14004af20
test eax, eax
jns 0x14004f60a
mov r9d, 0x301
jmp 0x14004f3ed
mov rcx, rbp
call fcn.14004ae50
mov r9, qword [0x140226720]
mov r8d, r12d
mov rdx, qword [rsp + 0x50]
mov rcx, r13
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], rdi
call fcn.14005a550
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.14004ae50
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x14004f651
xor ecx, ecx
call fcn.140049f00
mov rsi, rbp
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004f663
call fcn.14004ae50
mov rcx, r14
call fcn.14004ae50
mov rax, qword [rsp + 0x58]
mov rdi, qword [rsp + 0xb0]
test rax, rax
je 0x14004f685
mov rcx, rax
call fcn.14004ae50
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 [0x140226ea8]
mov qword [rsp + 0x30], rax
mov rax, qword [0x1402269f8]
jmp 0x14004f2c1