joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180008430
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rbp, r8
mov rbx, rdx
xor r8d, r8d
mov rdi, rcx
lea rcx, [rsp + 0x50]
mov rsi, r9
lea edx, [r8 + 1]
call fcn.180007df0
lea rcx, [rsp + 0x50]
call fcn.180007e40
test rax, rax
jne 0x18000847d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x18000853a
lea rcx, [rsp + 0x48]
call fcn.180005210
mov r9d, dword [rdi + 8]
lea rdx, [rsp + 0x50]
mov r8, qword [rdi]
lea rcx, [rsp + 0x48]
call fcn.180008350
lea rcx, [rsp + 0x48]
call fcn.180001d90
test rax, rax
je 0x1800084d9
xor r9d, r9d
mov dword [rsp + 0x30], ebp
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x28], rcx
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x20], rbx
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x1800084e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x180008530
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
dec eax
movsxd r8, eax
test eax, eax
jle 0x18000852e
mov r9, rbx
mov rax, rbx
neg r9
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + rbx]
movzx edx, byte [rax]
mov byte [rax], cl
lea rax, [rax + 1]
mov byte [r8 + rbx], dl
lea rcx, [r9 + rax]
dec r8
cmp rcx, r8
jl 0x180008510
mov bl, 1
lea rcx, [rsp + 0x48]
call fcn.180007fe0
lea rcx, [rsp + 0x50]
call fcn.180007e10
mov rbp, qword [rsp + 0x78]
movzx eax, bl
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x180008580
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
mov edx, 0x18
mov r8d, 0xf0000000
lea rcx, [rsp + 0x50]
mov rdi, r9
call fcn.180007df0
lea rcx, [rsp + 0x50]
call fcn.180007e40
test rax, rax
jne 0x1800085d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x18000866d
lea rcx, [rsp + 0x48]
call fcn.180005210
mov r9d, dword [rbx + 8]
lea rdx, [rsp + 0x50]
mov r8, qword [rbx]
lea rcx, [rsp + 0x48]
call fcn.180008010
test eax, eax
jne 0x18000865b
lea rcx, [rsp + 0x48]
call fcn.1800080f0
test eax, eax
jne 0x18000865b
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x48]
call fcn.180008120
test eax, eax
jne 0x18000865b
lea rcx, [rsp + 0x48]
call fcn.180001d90
test rax, rax
je 0x18000865b
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, rax
mov dword [rsp + 0x40], edi
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0x40]
mov qword [rax], rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x48]
mov ebx, eax
call fcn.180007fe0
lea rcx, [rsp + 0x50]
call fcn.180007e10
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1800086a0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
mov edx, 0x18
lea rcx, [rsp + 0x30]
mov r8d, 0xf0000000
mov rdi, r9
call fcn.180007df0
lea rcx, [rsp + 0x30]
call fcn.180007e40
test rax, rax
jne 0x1800086ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180008777
lea rcx, [rsp + 0x70]
call fcn.180005210
mov r9d, dword [rbx + 8]
lea rdx, [rsp + 0x30]
mov r8, qword [rbx]
lea rcx, [rsp + 0x70]
call fcn.180008010
test eax, eax
jne 0x180008765
lea rcx, [rsp + 0x70]
call fcn.1800080f0
test eax, eax
jne 0x180008765
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x70]
call fcn.180008120
test eax, eax
jne 0x180008765
lea rcx, [rsp + 0x70]
call fcn.180001d90
test rax, rax
je 0x180008765
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x70]
mov ebx, eax
call fcn.180007fe0
lea rcx, [rsp + 0x30]
call fcn.180007e10
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1800087a0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov edx, 4
jmp fcn.1800087b0

Function at 0x1800087b0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor r8d, r8d
mov ebx, edx
mov rdi, rcx
lea rcx, [rsp + 0x20]
lea edx, [r8 + 1]
call fcn.180007df0
lea rcx, [rsp + 0x20]
call fcn.180007e40
test rax, rax
je 0x1800087f5
mov r8, rdi
mov edx, ebx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1800087f5
xor ebx, ebx
jmp 0x1800087f8
or ebx, 0xffffffff
lea rcx, [rsp + 0x20]
call fcn.180007e10
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1800088a0
Capabilities:
Encode data using base64 via winapi

Disassembly:
jmp 0x1800088a0
sub rsp, 0x38
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8d, 1
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
xor eax, eax
add rsp, 0x38
ret

Function at 0x1800088c0
Capabilities:
Decode data using base64 via winapi

Disassembly:
jmp 0x1800088c0
sub rsp, 0x48
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, r8
lea r8d, [rax + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
xor eax, eax
add rsp, 0x48
ret
Function at 0x18000aaa0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000aafc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18000aafc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18000aafc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18000aafc
cmp dword [rcx + 0x84], 0xe
jbe 0x18000aafc
cmp dword [rcx + 0xf8], 0
je 0x18000aafc
mov ecx, ebx
call fcn.18000aa30
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x180016150]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.18000a8c0
cmp dword [rsp + 0x60], 0
jne 0x18000ab3f
mov ecx, ebx
call fcn.18000a9f0
int3
add rsp, 0x40
pop rbx
ret

Function at 0x18000ae20
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18000ae5c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.18000f030
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x18000af18
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x18000af7e
test ebx, ebx
jne 0x18000af7e
lea ecx, [rax + 2]
call fcn.18000f030
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.18000edd0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x1400016a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov rdi, rdx
mov r11, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov esi, dword [r8 + 0x1c]
mov ebp, dword [r8 + 0x24]
add rsi, rcx
mov r10d, dword [r8 + 0x20]
add rbp, rcx
mov ebx, dword [r8 + 0x18]
add r10, rcx
test ebx, ebx
je 0x140001723
nop dword [rax]
mov r8d, dword [r10]
mov rax, rdi
add r8, r11
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001713
inc rax
test ecx, ecx
jne 0x140001700
test edx, edx
je 0x14000173a
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x1400016f0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x140001725
Function at 0x140005450
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140019010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000547d
xor eax, eax
jmp 0x1400055d2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1400054a8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1400054a8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x1400055d2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400055c5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400054eb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140005516
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400055ca
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005585
sub eax, 1
je 0x140005585
cmp eax, 2
jne 0x1400055c5
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400055ca
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400055b3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400055c5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400055ca
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000f7c0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x140005810
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140005854
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140005840
ret
Function at 0x140005da0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140019010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005e73
cmp byte [rcx + 0x71], 0
je 0x140005e73
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140005e6f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005e34
sub eax, 1
je 0x140005e38
cmp eax, 2
jne 0x140005e6f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f7c0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140005e66
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140005e6f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140005e1c
xor al, al
jmp 0x140005e1c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f7c0
add rsp, 0x60
pop rbx
ret
Function at 0x14000eee0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x40
mov rdi, rcx
call qword [sym.imp.mfc140u.dll_CMFCColorButton::OnFillBackground]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xorps xmm0, xmm0
lea r14, [0x14001a310]
xor eax, eax
lea rsi, [0x14001a388]
movups xmmword [0x14001a310], xmm0
mov qword [0x14001a340], rax
mov rbx, r14
movups xmmword [0x14001a320], xmm0
mov dword [0x14001a348], eax
movups xmmword [0x14001a330], xmm0
nop word [rax + rax]
mov edx, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbx], rax
add rbx, 8
cmp rbx, rsi
jl 0x14000ef50
call fcn.140001750
movsxd r10, dword [0x14001a300]
lea r9, [0x140019048]
mov edx, 0xf
mov r8, qword [r14 + r10*8]
inc r10d
sub r9, r8
mov rcx, r8
nop
movzx eax, byte [r9 + rcx]
lea rcx, [rcx + 1]
xor al, 0x48
mov byte [rcx - 1], al
sub rdx, 1
jne 0x14000ef90
xor ebx, ebx
mov byte [r8 + 0xf], dl
cmp r10d, 0xf
cmovge r10d, ebx
xor ecx, ecx
lea edx, [rbx + 1]
mov dword [0x14001a300], r10d
call qword [0x14001a2b0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000f01c
call fcn.140001a30
test al, al
jne 0x14000f012
nop word [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rax
mov qword [0x14001a2d8], rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000f012
call fcn.140001a30
test al, al
je 0x14000efe0
call fcn.1400045a0
call fcn.140003f00
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebx
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CInternetConnection::SetOption]
mov rbx, qword [rsp + 0x50]
mov eax, 1
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x1400035e0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov ecx, 0x7fff
call fcn.140051500
mov rbx, rax
test rax, rax
jne 0x140003658
lea rax, str.cant_allocate_memory_for_expanded_path
mov r9d, 0x57a
mov qword [rsp + 0x38], rax
lea r8, str.H5_expand_windows_env_vars
mov rax, qword [0x1402250b8]
lea rdx, str.C:cihdf5_1655187604574work_srcH5system.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x140224f88]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140224f60]
mov qword [rsp + 0x20], rax
call fcn.140050b90
lea eax, [rbx - 1]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi]
mov r8d, 0x7fff
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp eax, 0x7fff
jle 0x14000368c
lea rax, str.expanded_path_is_too_long
mov r9d, 0x57e
mov qword [rsp + 0x38], rax
mov rax, qword [0x1402250b0]
jmp 0x1400036a9
test eax, eax
jne 0x1400036f3
lea rax, str.failed_to_expand_path
mov r9d, 0x581
mov qword [rsp + 0x38], rax
mov rax, qword [0x140225148]
mov qword [rsp + 0x30], rax
lea r8, str.H5_expand_windows_env_vars
mov rax, qword [0x140224f88]
lea rdx, str.C:cihdf5_1655187604574work_srcH5system.c
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov rax, qword [0x140224f60]
mov qword [rsp + 0x20], rax
call fcn.140050b90
mov rcx, rbx
call fcn.140051650
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi]
call fcn.140051650
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400179f0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x48
xor edx, edx
lea rcx, [0x14022b780]
mov r8d, 0x138
call sub.VCRUNTIME140.dll_memset
cmp byte [0x140228357], 0
lea rax, [0x1401bddf0]
mov qword [0x14022b790], rax
lea rax, [0x1401bddf4]
mov qword [0x14022b7a0], rax
lea rax, str.bdefgioptvz
mov qword [0x14022b7b0], rax
lea rax, [0x1401bddfc]
mov qword [0x14022b7c0], rax
lea rax, [0x1401bde00]
mov qword [0x14022b7d0], rax
lea rax, [0x1401bde04]
mov qword [0x14022b7e0], rax
lea rax, [0x1401bde08]
mov qword [0x14022b7f0], rax
lea rax, [0x1401bde0c]
mov qword [0x14022b800], rax
lea rax, [0x1401bde10]
mov qword [0x14022b810], rax
lea rax, [0x1401bde14]
mov qword [0x14022b820], rax
lea rax, [0x1401bde18]
mov qword [0x14022b830], rax
lea rax, [0x1401bde1c]
mov qword [0x14022b840], rax
lea rax, [0x1401bde20]
mov qword [0x14022b850], rax
lea rax, [0x1401bde24]
mov qword [0x14022b860], rax
lea rax, [0x1401b8c28]
mov qword [0x14022b870], rax
lea rax, [0x1401bde28]
mov qword [0x14022b880], rax
lea rax, [0x1401bde2c]
mov qword [0x14022b890], rax
lea rax, [0x1401bde30]
mov qword [0x14022b8a0], rax
jne 0x140017b20
lea rcx, [fcn.140017c50]
call fcn.1401b4a10
mov byte [0x140228357], 1
call fcn.14000ea80
test eax, eax
jns 0x140017b7e
lea rax, str.unable_to_initialize_error_interface
mov r9d, 0xd7
mov qword [rsp + 0x38], rax
lea r8, str.H5_init_library
mov rax, qword [0x140225130]
lea rdx, str.C:cihdf5_1655187604574work_srcH5.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x140224f68]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140224f60]
mov qword [rsp + 0x20], rax
call fcn.140050b90
mov eax, 0xffffffff
add rsp, 0x48
ret
call fcn.140016700
test eax, eax
jns 0x140017b96
lea rax, str.unable_to_initialize_property_list_interface
mov r9d, 0xd9
jmp 0x140017b36
call fcn.140021070
test eax, eax
jns 0x140017bae
lea rax, str.unable_to_initialize_datatype_interface
mov r9d, 0xdb
jmp 0x140017b36
call fcn.14008b1a0
test eax, eax
jns 0x140017bc9
lea rax, str.unable_to_initialize_dataset_interface
mov r9d, 0xdd
jmp 0x140017b36
call fcn.140055880
test eax, eax
jns 0x140017be4
lea rax, str.unable_to_initialize_metadata_caching_interface
mov r9d, 0xdf
jmp 0x140017b36
call fcn.140005ea0
test eax, eax
jns 0x140017bff
lea rax, str.unable_to_initialize_link_interface
mov r9d, 0xe1
jmp 0x140017b36
call fcn.140098f60
test eax, eax
jns 0x140017c1a
lea rax, str.unable_to_initialize_FS_interface
mov r9d, 0xe3
jmp 0x140017b36
lea rcx, str._all
call fcn.140017620
lea rcx, str.HDF5_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rcx, rax
call fcn.140017620
xor eax, eax
add rsp, 0x48
ret
Function at 0x140088c30
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x48
cmp byte [0x140228561], 0
jne 0x140088c4d
cmp byte [0x140228355], 0
je 0x140088c4d
xor eax, eax
add rsp, 0x48
ret
lea rcx, [0x1401d5f20]
call fcn.1400671b0
test eax, eax
jns 0x140088cb2
lea rax, str.unable_to_initialize_interface
mov r9d, 0xa9
mov qword [rsp + 0x38], rax
lea r8, str.H5D__init_package
mov rax, qword [0x140225130]
lea rdx, str.C:cihdf5_1655187604574work_srcH5Dint.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x140225008]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140224f60]
mov qword [rsp + 0x20], rax
call fcn.140050b90
mov eax, 0xffffffff
add rsp, 0x48
ret
xor edx, edx
mov qword [rsp + 0x40], rbx
mov r8d, 0x1240
lea rcx, [0x140228b10]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x140222498]
call fcn.140066f10
mov rbx, rax
test rax, rax
jne 0x140088d09
lea rax, str.cant_get_default_dataset_creation_property_list
mov r9d, 0xb2
mov qword [rsp + 0x38], rax
mov rax, qword [0x140225420]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140225008]
jmp 0x140088dc3
lea r8, [0x140228c08]
mov rcx, rbx
lea rdx, str.layout
call fcn.140016520
test eax, eax
jns 0x140088d32
lea rax, str.cant_retrieve_layout
mov r9d, 0xb6
jmp 0x140088dab
lea r8, [0x140228be8]
mov rcx, rbx
lea rdx, [0x1401c79ec]
call fcn.140016520
test eax, eax
jns 0x140088d5b
lea rax, str.cant_retrieve_external_file_list
mov r9d, 0xba
jmp 0x140088dab
lea r8, [0x140228b48]
mov rcx, rbx
lea rdx, str.fill_value
call fcn.140016520
test eax, eax
jns 0x140088d84
lea rax, str.cant_retrieve_fill_value
mov r9d, 0xbc
jmp 0x140088dab
lea r8, [0x140228ba0]
mov rcx, rbx
lea rdx, str.pline
call fcn.140016520
test eax, eax
jns 0x140088df8
lea rax, str.cant_retrieve_pipeline_filter
mov r9d, 0xbe
mov qword [rsp + 0x38], rax
mov rax, qword [0x140225148]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140225020]
mov qword [rsp + 0x28], rax
lea r8, str.H5D__init_package
mov rax, qword [0x140224f60]
lea rdx, str.C:cihdf5_1655187604574work_srcH5Dint.c
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140050b90
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
add rsp, 0x48
ret
lea rcx, str.HDF5_VDS_PREFIX
mov byte [0x140229d50], 1
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea rcx, str.HDF5_EXTFILE_PREFIX
mov qword [0x140229d60], rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, qword [rsp + 0x40]
mov qword [0x140229d58], rax
xor eax, eax
add rsp, 0x48
ret