Function at 0x140062790
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 [0x140221581], sil
mov ebx, edx
mov r13, rcx
mov qword [rsp + 0x50], rsi
mov ebp, esi
mov qword [rsp + 0x58], rsi
jne 0x1400627d3
cmp byte [0x140221575], sil
jne 0x140062d9f
mov qword [rsp + 0x78], r12
mov rcx, r15
mov r12d, dword [rsp + 0xd0]
and r12d, 0x61
mov qword [rsp + 0x70], r14
call fcn.14005e400
mov r14, rax
test rax, rax
jne 0x140062849
lea rax, str.memory_allocation_failed
mov r9d, 0x25f
mov qword [rsp + 0x38], rax
lea r8, str.H5F_prefix_open_file
mov rax, qword [0x14021e218]
lea rdx, str.C:cihdf5_1655187604574work_srcH5Fint.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14021e120]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14021e0c8]
mov qword [rsp + 0x20], rax
call fcn.14005d8f0
jmp 0x140062d95
mov qword [rsp + 0xb0], rdi
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], sil
jne 0x140062860
movsx ecx, byte [r15]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x14006288b
cmp byte [r15 + 1], 0x3a
jne 0x14006288b
movzx eax, byte [r15 + 2]
cmp al, 0x5c
je 0x1400628fa
cmp al, 0x2f
je 0x1400628fa
movzx eax, byte [r15]
cmp al, 0x5c
je 0x1400628fa
cmp al, 0x2f
je 0x1400628fa
movsx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x14006296b
cmp byte [r15 + 1], 0x3a
jne 0x14006296b
mov rax, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x14021b9c0]
mov rdx, r15
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.14006cf80
mov rbp, rax
test rax, rax
jne 0x140062d61
xor ecx, ecx
call fcn.14005d590
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 0x140062966
mov rax, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x14021b9c0]
mov rdx, r15
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.14006cf80
mov rbp, rax
test rax, rax
jne 0x140062d61
xor ecx, ecx
call fcn.14005d590
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 0x140062978
lea rcx, str.HDF5_VDS_PREFIX
jmp 0x140062988
cmp ebx, 1
jne 0x140062db1
lea rcx, str.HDF5_EXT_PREFIX
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140062ac0
mov rcx, rax
call fcn.14005e400
mov qword [rsp + 0x60], rax
mov rdi, rax
test rax, rax
jne 0x140062a00
lea rax, str.memory_allocation_failed
mov r9d, 0x29b
mov qword [rsp + 0x38], rax
mov rax, qword [0x14021e218]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14021e120]
mov qword [rsp + 0x28], rax
lea r8, str.H5F_prefix_open_file
mov rax, qword [0x14021e0c8]
lea rdx, str.C:cihdf5_1655187604574work_srcH5Fint.c
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.14005d8f0
jmp 0x140062d73
cmp byte [rdi], sil
je 0x140062aad
cmp byte [0x140221581], sil
jne 0x140062a1f
cmp byte [0x140221575], sil
jne 0x140062aa4
mov edx, 0x3a
mov rcx, rdi
mov rbx, rdi
call sub.VCRUNTIME140.dll_strchr
test rax, rax
jne 0x140062a39
mov rdi, rsi
jmp 0x140062a40
lea rdi, [rax + 1]
mov byte [rax], sil
test rbx, rbx
je 0x140062aa4
cmp byte [rbx], sil
je 0x140062aa4
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rbx
call fcn.14005e5b0
test eax, eax
js 0x140062aed
mov rax, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x14021b9c0]
mov rcx, r13
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.14006cf80
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.14005e4e0
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x140062aad
xor ecx, ecx
call fcn.14005d590
test rdi, rdi
jne 0x140062a00
mov rcx, qword [rsp + 0x60]
call fcn.14005e4e0
test rbp, rbp
jne 0x140062d61
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x140062b8f
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rax
call fcn.14005e5b0
test eax, eax
jns 0x140062b47
mov r9d, 0x2c0
jmp 0x140062afd
mov rcx, qword [rsp + 0x60]
call fcn.14005e4e0
mov r9d, 0x2a5
lea rax, str.cant_prepend_prefix_to_filename
mov qword [rsp + 0x38], rax
mov rax, qword [0x14021e2b0]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14021e0d8]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14021e0c8]
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.14005d8f0
jmp 0x140062d64
mov rdi, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x14021b9c0]
mov rcx, r13
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdi
call fcn.14006cf80
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.14005e4e0
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x140062d61
xor ecx, ecx
call fcn.14005d590
jmp 0x140062b97
mov rdi, qword [rsp + 0xd8]
mov rcx, qword [r13 + 0x10]
test rcx, rcx
je 0x140062bfa
lea r8, [rsp + 0x50]
mov rdx, r14
call fcn.14005e5b0
test eax, eax
jns 0x140062bbc
mov r9d, 0x2d5
jmp 0x140062afd
mov r9, qword [0x14021b9c0]
mov r8d, r12d
mov rdx, qword [rsp + 0x50]
mov rcx, r13
mov qword [rsp + 0x20], rdi
call fcn.14006cf80
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.14005e4e0
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x140062d61
xor ecx, ecx
call fcn.14005d590
mov r9, qword [0x14021b9c0]
mov r8d, r12d
mov rdx, r14
mov qword [rsp + 0x20], rdi
mov rcx, r13
call fcn.14006cf80
mov rbp, rax
test rax, rax
jne 0x140062d61
xor ecx, ecx
call fcn.14005d590
mov rcx, qword [r13 + 8]
call fcn.14005e400
mov qword [rsp + 0x58], rax
mov rbp, rax
test rax, rax
jne 0x140062c78
mov rcx, qword [0x14021e220]
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 [0x14021e0d8]
mov qword [rsp + 0x28], rcx
mov rcx, qword [0x14021e0c8]
mov qword [rsp + 0x20], rcx
jmp 0x140062b2d
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 0x140062cf8
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 [0x14021e3b0]
mov r9d, 0x2fa
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14021e0d8]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14021e0c8]
mov qword [rsp + 0x20], rax
call fcn.14005d8f0
jmp 0x140062d64
lea r8, [rsp + 0x50]
mov byte [rbx], sil
mov rdx, r14
mov rcx, rbp
call fcn.14005e5b0
test eax, eax
jns 0x140062d1a
mov r9d, 0x301
jmp 0x140062afd
mov rcx, rbp
call fcn.14005e4e0
mov r9, qword [0x14021b9c0]
mov r8d, r12d
mov rdx, qword [rsp + 0x50]
mov rcx, r13
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], rdi
call fcn.14006cf80
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.14005e4e0
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x140062d61
xor ecx, ecx
call fcn.14005d590
mov rsi, rbp
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140062d73
call fcn.14005e4e0
mov rcx, r14
call fcn.14005e4e0
mov rax, qword [rsp + 0x58]
mov rdi, qword [rsp + 0xb0]
test rax, rax
je 0x140062d95
mov rcx, rax
call fcn.14005e4e0
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 [0x14021e588]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14021e0d8]
jmp 0x1400629d1