Function at 0x1400d9180
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 [0x14022ea53], sil
mov ebx, edx
mov r13, rcx
mov qword [rsp + 0x50], rsi
mov ebp, esi
mov qword [rsp + 0x58], rsi
jne 0x1400d91c3
cmp byte [0x14022ea5d], sil
jne 0x1400d978f
mov qword [rsp + 0x78], r12
mov rcx, r15
mov r12d, dword [rsp + 0xd0]
and r12d, 0x61
mov qword [rsp + 0x70], r14
call fcn.140050b60
mov r14, rax
test rax, rax
jne 0x1400d9239
lea rax, str.memory_allocation_failed
mov r9d, 0x25f
mov qword [rsp + 0x38], rax
lea r8, str.H5F_prefix_open_file
mov rax, qword [0x14022b5d8]
lea rdx, str.C:cihdf5_1655187604574work_srcH5Fint.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14022b4e0]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14022b488]
mov qword [rsp + 0x20], rax
call fcn.140050180
jmp 0x1400d9785
mov qword [rsp + 0xb0], rdi
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], sil
jne 0x1400d9250
movsx ecx, byte [r15]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x1400d927b
cmp byte [r15 + 1], 0x3a
jne 0x1400d927b
movzx eax, byte [r15 + 2]
cmp al, 0x5c
je 0x1400d92ea
cmp al, 0x2f
je 0x1400d92ea
movzx eax, byte [r15]
cmp al, 0x5c
je 0x1400d92ea
cmp al, 0x2f
je 0x1400d92ea
movsx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x1400d935b
cmp byte [r15 + 1], 0x3a
jne 0x1400d935b
mov rax, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x14022b2d0]
mov rdx, r15
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.1400e6c90
mov rbp, rax
test rax, rax
jne 0x1400d9751
xor ecx, ecx
call fcn.14004fe20
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 0x1400d9356
mov rax, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x14022b2d0]
mov rdx, r15
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.1400e6c90
mov rbp, rax
test rax, rax
jne 0x1400d9751
xor ecx, ecx
call fcn.14004fe20
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 0x1400d9368
lea rcx, str.HDF5_VDS_PREFIX
jmp 0x1400d9378
cmp ebx, 1
jne 0x1400d97a1
lea rcx, str.HDF5_EXT_PREFIX
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400d94b0
mov rcx, rax
call fcn.140050b60
mov qword [rsp + 0x60], rax
mov rdi, rax
test rax, rax
jne 0x1400d93f0
lea rax, str.memory_allocation_failed
mov r9d, 0x29b
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022b5d8]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14022b4e0]
mov qword [rsp + 0x28], rax
lea r8, str.H5F_prefix_open_file
mov rax, qword [0x14022b488]
lea rdx, str.C:cihdf5_1655187604574work_srcH5Fint.c
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140050180
jmp 0x1400d9763
cmp byte [rdi], sil
je 0x1400d949d
cmp byte [0x14022ea53], sil
jne 0x1400d940f
cmp byte [0x14022ea5d], sil
jne 0x1400d9494
mov edx, 0x3a
mov rcx, rdi
mov rbx, rdi
call sub.VCRUNTIME140.dll_strchr
test rax, rax
jne 0x1400d9429
mov rdi, rsi
jmp 0x1400d9430
lea rdi, [rax + 1]
mov byte [rax], sil
test rbx, rbx
je 0x1400d9494
cmp byte [rbx], sil
je 0x1400d9494
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rbx
call fcn.1400d4f20
test eax, eax
js 0x1400d94dd
mov rax, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x14022b2d0]
mov rcx, r13
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400e6c90
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.140050c40
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x1400d949d
xor ecx, ecx
call fcn.14004fe20
test rdi, rdi
jne 0x1400d93f0
mov rcx, qword [rsp + 0x60]
call fcn.140050c40
test rbp, rbp
jne 0x1400d9751
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x1400d957f
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rax
call fcn.1400d4f20
test eax, eax
jns 0x1400d9537
mov r9d, 0x2c0
jmp 0x1400d94ed
mov rcx, qword [rsp + 0x60]
call fcn.140050c40
mov r9d, 0x2a5
lea rax, str.cant_prepend_prefix_to_filename
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022b670]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14022b498]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14022b488]
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.140050180
jmp 0x1400d9754
mov rdi, qword [rsp + 0xd8]
mov r8d, r12d
mov r9, qword [0x14022b2d0]
mov rcx, r13
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdi
call fcn.1400e6c90
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.140050c40
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x1400d9751
xor ecx, ecx
call fcn.14004fe20
jmp 0x1400d9587
mov rdi, qword [rsp + 0xd8]
mov rcx, qword [r13 + 0x10]
test rcx, rcx
je 0x1400d95ea
lea r8, [rsp + 0x50]
mov rdx, r14
call fcn.1400d4f20
test eax, eax
jns 0x1400d95ac
mov r9d, 0x2d5
jmp 0x1400d94ed
mov r9, qword [0x14022b2d0]
mov r8d, r12d
mov rdx, qword [rsp + 0x50]
mov rcx, r13
mov qword [rsp + 0x20], rdi
call fcn.1400e6c90
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.140050c40
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x1400d9751
xor ecx, ecx
call fcn.14004fe20
mov r9, qword [0x14022b2d0]
mov r8d, r12d
mov rdx, r14
mov qword [rsp + 0x20], rdi
mov rcx, r13
call fcn.1400e6c90
mov rbp, rax
test rax, rax
jne 0x1400d9751
xor ecx, ecx
call fcn.14004fe20
mov rcx, qword [r13 + 8]
call fcn.140050b60
mov qword [rsp + 0x58], rax
mov rbp, rax
test rax, rax
jne 0x1400d9668
mov rcx, qword [0x14022b5e0]
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 [0x14022b498]
mov qword [rsp + 0x28], rcx
mov rcx, qword [0x14022b488]
mov qword [rsp + 0x20], rcx
jmp 0x1400d951d
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 0x1400d96e8
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 [0x14022b770]
mov r9d, 0x2fa
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14022b498]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14022b488]
mov qword [rsp + 0x20], rax
call fcn.140050180
jmp 0x1400d9754
lea r8, [rsp + 0x50]
mov byte [rbx], sil
mov rdx, r14
mov rcx, rbp
call fcn.1400d4f20
test eax, eax
jns 0x1400d970a
mov r9d, 0x301
jmp 0x1400d94ed
mov rcx, rbp
call fcn.140050c40
mov r9, qword [0x14022b2d0]
mov r8d, r12d
mov rdx, qword [rsp + 0x50]
mov rcx, r13
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], rdi
call fcn.1400e6c90
mov rcx, qword [rsp + 0x50]
mov rbp, rax
call fcn.140050c40
mov qword [rsp + 0x50], rax
test rbp, rbp
jne 0x1400d9751
xor ecx, ecx
call fcn.14004fe20
mov rsi, rbp
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400d9763
call fcn.140050c40
mov rcx, r14
call fcn.140050c40
mov rax, qword [rsp + 0x58]
mov rdi, qword [rsp + 0xb0]
test rax, rax
je 0x1400d9785
mov rcx, rax
call fcn.140050c40
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 [0x14022b948]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14022b498]
jmp 0x1400d93c1