joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029528
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14001bca4
xor ebx, ebx
cmp qword [0x140059c38], rbx
mov rdi, rax
jne 0x14002963b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140029712
lea rdx, [0x140034418]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140029712
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140059c38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140059c40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140059c48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140059c58], rax
test rax, rax
je 0x140029632
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140059c50], rax
jmp 0x140029642
mov rax, qword [0x140059c50]
jmp 0x140029649
mov rax, qword [0x140059c50]
mov r11, qword [0x140059c58]
cmp rax, rdi
je 0x1400296b0
cmp r11, rdi
je 0x1400296b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140059c58]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400296b0
test rax, rax
je 0x1400296b0
call rsi
test rax, rax
je 0x1400296aa
lea rcx, [rsp + 0x30]
mov r9d, ntohs
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400296aa
test byte [rsp + 0x40], 1
jne 0x1400296b0
bts ebp, 0x15
jmp 0x1400296f0
mov rcx, qword [0x140059c40]
cmp rcx, rdi
je 0x1400296f0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400296f0
call rax
mov rbx, rax
test rax, rax
je 0x1400296f0
mov rcx, qword [0x140059c48]
cmp rcx, rdi
je 0x1400296f0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400296f0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140059c38]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140029712
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140029714
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400133f0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001000
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, r9
mov r14, r8
mov rbp, rdx
mov rsi, rcx
test r9, r9
jle 0x14000111d
xor r8d, r8d
mov qword [rsp + 0x50], r15
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
xor r15d, r15d
test rdi, rdi
je 0x140001119
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r12
mov r12d, 0x400
nop
cmp rdi, r12
movsxd rdx, r14d
mov rbx, rdi
mov rcx, rsi
cmova rbx, r12
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
mov r9, rsi
lea rcx, [0x1402210e0]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbx, rax
test rax, rax
jne 0x1400010a3
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
jne 0x140001112
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x1400010f3
movsxd rdx, r15d
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
mov r9, rbp
lea rcx, [0x1402210e0]
mov r8, rbx
mov edx, 1
sub rdi, rbx
add r14d, ebx
add r15d, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rbx
jne 0x140001112
test rax, rax
jne 0x1400010ea
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
jne 0x140001112
test rdi, rdi
jne 0x140001050
xor eax, eax
mov r12, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov eax, 0xffffffff
jmp 0x1400010f5
xor eax, eax
jmp 0x1400010ff
mov rbp, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140002830
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x48
xor edx, edx
lea rcx, [0x140224360]
mov r8d, 0x138
call sub.VCRUNTIME140.dll_memset
cmp byte [0x140221577], 0
lea rax, [0x1401b2630]
mov qword [0x140224370], rax
lea rax, [0x1401b2634]
mov qword [0x140224380], rax
lea rax, str.bdefgpstvz
mov qword [0x140224390], rax
lea rax, [0x1401b263c]
mov qword [0x1402243a0], rax
lea rax, [0x1401b2640]
mov qword [0x1402243b0], rax
lea rax, [0x1401b2644]
mov qword [0x1402243c0], rax
lea rax, [0x1401b2648]
mov qword [0x1402243d0], rax
lea rax, [0x1401b264c]
mov qword [0x1402243e0], rax
lea rax, [0x1401b2650]
mov qword [0x1402243f0], rax
lea rax, [0x1401b1518]
mov qword [0x140224400], rax
lea rax, [0x1401b2654]
mov qword [0x140224410], rax
lea rax, [0x1401b2658]
mov qword [0x140224420], rax
lea rax, [0x1401b1520]
mov qword [0x140224430], rax
lea rax, [0x1401b265c]
mov qword [0x140224440], rax
lea rax, [0x1401b2660]
mov qword [0x140224450], rax
lea rax, [0x1401b2664]
mov qword [0x140224460], rax
lea rax, [0x1401b2668]
mov qword [0x140224470], rax
lea rax, [0x1401b266c]
mov qword [0x140224480], rax
jne 0x140002960
lea rcx, [fcn.140002a90]
call fcn.1401af3b0
mov byte [0x140221577], 1
call fcn.140008150
test eax, eax
jns 0x1400029be
lea rax, [0x1401b2670]
mov r9d, 0xd7
mov qword [rsp + 0x38], rax
lea r8, str.H5_init_library
mov rax, qword [0x14021e298]
lea rdx, str.C:cihdf5_1655187604574work_srcH5.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14021e0d0]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14021e0c8]
mov qword [rsp + 0x20], rax
call fcn.14005d8f0
mov eax, 0xffffffff
add rsp, 0x48
ret
call fcn.140034b00
test eax, eax
jns 0x1400029d6
lea rax, str.unable_to_initialize_property_list_interface
mov r9d, 0xd9
jmp 0x140002976
call fcn.140015320
test eax, eax
jns 0x1400029ee
lea rax, str.unable_to_initialize_datatype_interface
mov r9d, 0xdb
jmp 0x140002976
call fcn.140052f10
test eax, eax
jns 0x140002a09
lea rax, str.unable_to_initialize_dataset_interface
mov r9d, 0xdd
jmp 0x140002976
call fcn.14004d3f0
test eax, eax
jns 0x140002a24
lea rax, str.unable_to_initialize_metadata_caching_interface
mov r9d, 0xdf
jmp 0x140002976
call fcn.140037200
test eax, eax
jns 0x140002a3f
lea rax, str.unable_to_initialize_link_interface
mov r9d, 0xe1
jmp 0x140002976
call fcn.14005e360
test eax, eax
jns 0x140002a5a
lea rax, str.unable_to_initialize_FS_interface
mov r9d, 0xe3
jmp 0x140002976
lea rcx, str._all
call fcn.140002460
lea rcx, str.HDF5_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rcx, rax
call fcn.140002460
xor eax, eax
add rsp, 0x48
ret
Function at 0x14000c500
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov ecx, 0x7fff
call fcn.14005e390
mov rbx, rax
test rax, rax
jne 0x14000c578
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 [0x14021e220]
lea rdx, str.C:cihdf5_1655187604574work_srcH5system.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14021e0f0]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14021e0c8]
mov qword [rsp + 0x20], rax
call fcn.14005d8f0
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 0x14000c5ac
lea rax, str.expanded_path_is_too_long
mov r9d, 0x57e
mov qword [rsp + 0x38], rax
mov rax, qword [0x14021e218]
jmp 0x14000c5c9
test eax, eax
jne 0x14000c613
lea rax, str.failed_to_expand_path
mov r9d, 0x581
mov qword [rsp + 0x38], rax
mov rax, qword [0x14021e2b0]
mov qword [rsp + 0x30], rax
lea r8, str.H5_expand_windows_env_vars
mov rax, qword [0x14021e0f0]
lea rdx, str.C:cihdf5_1655187604574work_srcH5system.c
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov rax, qword [0x14021e0c8]
mov qword [rsp + 0x20], rax
call fcn.14005d8f0
mov rcx, rbx
call fcn.14005e4e0
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi]
call fcn.14005e4e0
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400509a0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x48
cmp byte [0x1402218a1], 0
jne 0x1400509bd
cmp byte [0x140221575], 0
je 0x1400509bd
xor eax, eax
add rsp, 0x48
ret
lea rcx, [0x1401c2810]
call fcn.14005a950
test eax, eax
jns 0x140050a22
lea rax, str.unable_to_initialize_interface
mov r9d, 0xa9
mov qword [rsp + 0x38], rax
lea r8, str.H5D__init_package
mov rax, qword [0x14021e298]
lea rdx, str.C:cihdf5_1655187604574work_srcH5Dint.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14021e170]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14021e0c8]
mov qword [rsp + 0x20], rax
call fcn.14005d8f0
mov eax, 0xffffffff
add rsp, 0x48
ret
xor edx, edx
mov qword [rsp + 0x40], rbx
mov r8d, 0x1240
lea rcx, [0x140221aa0]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x14021b9d0]
call fcn.14005a6b0
mov rbx, rax
test rax, rax
jne 0x140050a79
lea rax, str.cant_get_default_dataset_creation_property_list
mov r9d, 0xb2
mov qword [rsp + 0x38], rax
mov rax, qword [0x14021e588]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14021e170]
jmp 0x140050b33
lea r8, [0x140221b98]
mov rcx, rbx
lea rdx, str.layout
call fcn.1400349d0
test eax, eax
jns 0x140050aa2
lea rax, str.cant_retrieve_layout
mov r9d, 0xb6
jmp 0x140050b1b
lea r8, [0x140221b78]
mov rcx, rbx
lea rdx, [0x1401bfeec]
call fcn.1400349d0
test eax, eax
jns 0x140050acb
lea rax, str.cant_retrieve_external_file_list
mov r9d, 0xba
jmp 0x140050b1b
lea r8, [0x140221ad8]
mov rcx, rbx
lea rdx, str.fill_value
call fcn.1400349d0
test eax, eax
jns 0x140050af4
lea rax, str.cant_retrieve_fill_value
mov r9d, 0xbc
jmp 0x140050b1b
lea r8, [0x140221b30]
mov rcx, rbx
lea rdx, str.pline
call fcn.1400349d0
test eax, eax
jns 0x140050b68
lea rax, str.cant_retrieve_pipeline_filter
mov r9d, 0xbe
mov qword [rsp + 0x38], rax
mov rax, qword [0x14021e2b0]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14021e188]
mov qword [rsp + 0x28], rax
lea r8, str.H5D__init_package
mov rax, qword [0x14021e0c8]
lea rdx, str.C:cihdf5_1655187604574work_srcH5Dint.c
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.14005d8f0
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
add rsp, 0x48
ret
lea rcx, str.HDF5_VDS_PREFIX
mov byte [0x140222ce0], 1
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea rcx, str.HDF5_EXTFILE_PREFIX
mov qword [0x140222cf0], rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, qword [rsp + 0x40]
mov qword [0x140222ce8], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x14005b310
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xor edi, edi
mov byte [rsp + 0x70], 0
cmp byte [0x140223158], dil
mov ebx, edx
mov esi, ecx
mov qword [rsp + 0x40], rdi
jne 0x14005b480
cmp byte [0x140221575], dil
jne 0x14005b57d
lea rcx, str.HDF5_PLUGIN_PRELOAD
mov byte [0x140223158], 1
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rcx, rax
test rax, rax
je 0x14005b395
movzx eax, byte [rax]
cmp al, byte [0x1401c59c4]
jne 0x14005b395
movzx eax, byte [rcx + 1]
cmp al, byte [0x1401c59c5]
jne 0x14005b395
movzx eax, byte [rcx + 2]
cmp al, byte [0x1401c59c6]
jne 0x14005b395
mov dword [0x14021e0c0], edi
mov byte [0x14021e0c4], dil
call fcn.140139020
test eax, eax
jns 0x14005b3ad
lea rax, str.cant_create_plugin_cache
mov r9d, 0xa7
jmp 0x14005b3c7
call fcn.1401392b0
test eax, eax
jns 0x14005b46a
lea rax, str.cant_create_plugin_search_path_table
mov r9d, 0xab
mov qword [rsp + 0x38], rax
lea r8, str.H5PL__init_package
mov rax, qword [0x14021e298]
lea rdx, str.C:cihdf5_1655187604574work_srcH5PLint.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14021e0f0]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14021e0c8]
mov qword [rsp + 0x20], rax
call fcn.14005d8f0
lea rax, str.interface_initialization_failed
mov byte [0x140223158], dil
mov qword [rsp + 0x38], rax
mov r9d, 0xf5
mov rax, qword [0x14021e298]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14021e0d0]
mov qword [rsp + 0x28], rax
lea r8, str.H5PL_load
mov rax, qword [0x14021e0c8]
lea rdx, str.C:cihdf5_1655187604574work_srcH5PLint.c
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.14005d8f0
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
cmp byte [0x140223158], dil
jne 0x14005b480
cmp byte [0x140221575], dil
jne 0x14005b57d
test esi, esi
je 0x14005b4ab
lea rax, str.Invalid_plugin_type_specified
mov r9d, 0x100
mov qword [rsp + 0x38], rax
mov rax, qword [0x14021e430]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14021e0f0]
jmp 0x14005b431
test byte [0x14021e0c0], 1
jne 0x14005b4de
lea rax, str.filter_plugins_disabled
mov r9d, 0xfb
mov qword [rsp + 0x38], rax
mov rax, qword [0x14021e430]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14021e0f0]
jmp 0x14005b431
lea r8, [rsp + 0x40]
mov dword [rsp + 0x78], edi
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x7c], ebx
lea rcx, [rsp + 0x78]
call fcn.1401390f0
test eax, eax
jns 0x14005b528
lea rax, str.search_in_plugin_cache__failed
mov r9d, 0x109
mov qword [rsp + 0x38], rax
mov rax, qword [0x14021e2b0]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14021e0f0]
jmp 0x14005b431
cmp byte [rsp + 0x70], dil
jne 0x14005b578
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.1401394d0
test eax, eax
jns 0x14005b571
lea rax, str.search_in_path_table_failed
mov r9d, 0x10e
mov qword [rsp + 0x38], rax
mov rax, qword [0x14021e2b0]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14021e0f0]
jmp 0x14005b431
cmp byte [rsp + 0x70], dil
je 0x14005b57d
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
mov rax, rdi
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400e88a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [0x1402218a1], 0
mov r10, rcx
jne 0x1400e88b8
cmp byte [0x140221575], 0
je 0x1400e88b8
xor eax, eax
ret
mov ecx, dword [rcx + 0x9cc]
mov rax, qword [rdx]
cmp ecx, 1
jbe 0x1400e88f8
add rdx, 8
lea r8, [r10 + 0x109c]
lea r9d, [rcx - 1]
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 4]
shl rax, cl
xor rax, qword [rdx]
lea rdx, [rdx + 8]
sub r9, 1
jne 0x1400e88e0
xor edx, edx
div qword [r10 + 0xd10]
mov eax, edx
ret

Function at 0x14010e100
Capabilities:
Hash data using djb2

Disassembly:
movsx edx, byte [rcx]
mov eax, 0x1505
test edx, edx
je 0x14010e120
nop dword [rax]
imul eax, eax, 0x21
lea rcx, [rcx + 1]
add eax, edx
movsx edx, byte [rcx]
test edx, edx
jne 0x14010e110
ret
Function at 0x1401392b0
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x50
xor edi, edi
cmp byte [0x140223158], dil
jne 0x1401392ce
cmp byte [0x140221575], dil
jne 0x1401394bf
mov ecx, 0x80
mov qword [rsp + 0x68], rsi
mov dword [0x140223600], edi
mov dword [0x14021faa8], 0x10
call fcn.14005e390
mov qword [0x1402235f8], rax
test rax, rax
jne 0x14013934e
lea rax, str.cant_allocate_memory_for_path_table
mov r9d, 0xfd
mov qword [rsp + 0x38], rax
lea r8, str.H5PL__create_path_table
mov rax, qword [0x14021e220]
lea rdx, str.C:cihdf5_1655187604574work_srcH5PLpath.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14021e0f0]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14021e0c8]
mov qword [rsp + 0x20], rax
call fcn.14005d8f0
mov edi, 0xffffffff
jmp 0x140139498
lea rcx, str.HDF5_PLUGIN_PATH
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
lea rcx, str._ALLUSERSPROFILE_hdf5libplugin
cmovne rcx, rax
call fcn.14005e400
mov rsi, rax
test rax, rax
jne 0x140139385
lea rax, str.cant_allocate_memory_for_path_copy
mov r9d, 0x109
jmp 0x140139306
lea rdx, [0x1401b2230]
mov qword [rsp + 0x60], rbx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov rbx, rax
test rax, rax
je 0x140139486
cmp byte [0x140223158], dil
jne 0x1401393b8
cmp byte [0x140221575], dil
jne 0x1401393ca
mov edx, dword [0x140223600]
mov rcx, rbx
call fcn.140139890
test eax, eax
js 0x1401393e6
lea rdx, [0x1401b2230]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov rbx, rax
test rax, rax
jne 0x1401393a6
jmp 0x140139486
lea rax, str.unable_to_append_search_path
mov r9d, 0x195
mov qword [rsp + 0x38], rax
lea r8, str.H5PL__append_path
mov rax, qword [0x14021e5d8]
lea rdx, str.C:cihdf5_1655187604574work_srcH5PLpath.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14021e0f0]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14021e0c8]
mov qword [rsp + 0x20], rax
call fcn.14005d8f0
mov qword [rsp + 0x40], rbx
lea rax, str.cant_insert_path:__s
mov qword [rsp + 0x38], rax
lea r8, str.H5PL__create_path_table
mov rax, qword [0x14021e220]
lea rdx, str.C:cihdf5_1655187604574work_srcH5PLpath.c
mov qword [rsp + 0x30], rax
mov r9d, 0x112
mov rax, qword [0x14021e0f0]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov rax, qword [0x14021e0c8]
mov qword [rsp + 0x20], rax
call fcn.14005d8f0
mov edi, 0xffffffff
mov rcx, rsi
call fcn.14005e4e0
mov rbx, qword [rsp + 0x60]
cmp edi, 0xffffffff
jne 0x1401394ba
mov rcx, qword [0x1402235f8]
test rcx, rcx
je 0x1401394b0
call fcn.14005e4e0
mov qword [0x1402235f8], rax
mov dword [0x14021faa8], 0
mov rsi, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x50
pop rdi
ret
Function at 0x100401300
Capabilities:
Terminate process
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x10040d010]
call sub.msys_2.0.dll___getreent
lea r9, str.__e_names____o_dir____R_name____v_n_____V____w_n_____1aCDcfGgIKLNrsTtUx__source_file_n
mov r8, rbx
lea rdx, str.Usage:__s__s_n
mov rcx, qword [rax + 0x18]
call sub.msys_2.0.dll_fprintf
call sub.msys_2.0.dll___getreent
mov r8d, 0x64e
mov edx, 1
lea rcx, str.Options:_n___0_________format_translation_output_all_capabilities_on_one_line_n___1_________format_translation_output_one_capability_per_line_n___a_________retain_commented_out_capabilities__sets__x_also__n___C_________translate_entries_to_termcap_source_form_n___D_________print_list_of_tics_database_locations__first_must_be_writable__n___c_________check_only__validate_input_without_compiling_or_translating_n___e_names___translate_compile_only_entries_named_by_comma_separated_list_n___f_________format_complex_strings_for_readability_n___G_________format__number_to__char_n___g_________format__char_to__number_n___I_________translate_entries_to_terminfo_source_form_n___K_________translate_entries_to_termcap_source_form_with_BSD_syntax_n___L_________translate_entries_to_full_terminfo_source_form_n___N_________disable_smart_defaults_for_source_translation_n___o_dir_____set_output_directory_for_compiled_entry_writes_n___Q_n_______dump_compiled_description_n___q____brief_listing__removes_headers_n___R_name____restrict_translation_to_given_terminfo_termcap_version_n___r_________force_resolution_of_all_use_entries_in_source_translation_n___s_________print_summary_statistics_n___T_________remove_size_restrictions_on_compiled_description_n___t_________suppress_commented_out_capabilities_n___U_________suppress_post_processing_of_entries_n___V_________print_version_n___W_________wrap_long_strings_according_to__w_n__option_n___v_n_______set_verbosity_level_n___w_n_______set_format_width_for_translation_output_n___x_________treat_unknown_capabilities_as_user_defined_n_nParameters:_n___file______file_to_translate_or_compile_n
mov r9, qword [rax + 0x18]
call sub.msys_2.0.dll_fwrite
mov ecx, 1
call sub.msys_2.0.dll_exit
nop
nop word cs:[rax + rax]

Function at 0x100401fd0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call sub.msys_2.0.dll_perror
mov ecx, 1
call sub.msys_2.0.dll_exit
nop
nop word cs:[rax + rax]
nop

Function at 0x100401ff0
Capabilities:
Get file attributes

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12, rcx
jmp 0x100402004
add r12, 1
call sub.msys_2.0.dll___locale_ctype_ptr
movzx edx, byte [r12]
mov r8, rax
test byte [rdx + r8 + 1], 8
jne 0x100402000
test dl, dl
je 0x100402070
mov rcx, r12
call sub.msys_2.0.dll_strdup
mov r13, rax
test rax, rax
je 0x10040207f
mov rcx, rax
call sub.msys_2.0.dll_strlen
sub rax, 1
mov r12, rax
jne 0x10040204c
jmp 0x10040205e
mov byte [r13 + r12], 0
sub r12, 1
je 0x10040205e
call sub.msys_2.0.dll___locale_ctype_ptr
movzx edx, byte [r13 + r12]
test byte [rdx + rax + 1], 8
jne 0x100402040
mov rax, r13
add rsp, 0x28
pop r12
pop r13
ret
xor r13d, r13d
mov rax, r13
add rsp, 0x28
pop r12
pop r13
ret
lea rcx, str.strdup
call fcn.100401fd0
nop
nop dword [rax]
Function at 0x100402090
Capabilities:
Get file attributes

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0xa8
call sub.msys_2.0.dll_strdup
lea r13, [rsp + 0x20]
mov rdx, r13
mov rcx, rax
mov r12, rax
call sub.msys_2.0.dll_stat
test eax, eax
js 0x1004020f6
mov eax, dword [rsp + 0x30]
and eax, 0xf000
cmp eax, 0x4000
jne 0x1004020da
mov edx, 7
mov rcx, r12
call sub.msys_2.0.dll_access
test eax, eax
je 0x1004020e5
mov rcx, r12
xor r12d, r12d
call sub.msys_2.0.dll_free
mov rax, r12
add rsp, 0xa8
pop rbx
pop rsi
pop r12
pop r13
ret
mov rcx, r12
call qword [sym.imp.msys_ncursesw6.dll__nc_pathlast]
test eax, eax
je 0x1004020da
mov eax, eax
mov rdx, r13
mov rcx, r12
lea rbx, [r12 + rax]
movzx esi, byte [rbx]
mov byte [rbx], 0
call sub.msys_2.0.dll_stat
test eax, eax
js 0x1004020da
mov eax, dword [rsp + 0x30]
and eax, 0xf000
cmp eax, 0x4000
jne 0x1004020da
mov edx, 7
mov rcx, r12
call sub.msys_2.0.dll_access
test eax, eax
jne 0x1004020da
mov byte [rbx], sil
jmp 0x1004020e5

Function at 0x1004021b0
Capabilities:
Terminate process

Disassembly:
push r15
mov eax, 0x1028
push r14
push r13
push r12
call fcn.10040a5f0
sub rsp, rax
mov r14, r8
lea rax, [rsp + 0x20]
test r8, r8
mov r12, rcx
cmove r14, rax
mov r15, rdx
test rcx, rcx
je 0x1004022a8
mov rcx, r14
call fcn.100402150
mov r13, rax
test rax, rax
je 0x10040229c
and word [r12 + 0x10], 0xff9f
jmp 0x100402210
test al, 0x40
jne 0x100402268
test ecx, ecx
je 0x100402270
mov rdx, r13
call sub.msys_2.0.dll_fputc
mov rcx, r12
call sub.msys_2.0.dll_fgetc
mov ecx, eax
movzx eax, word [r12 + 0x10]
test al, 0x20
je 0x100402200
mov rcx, r12
call sub.msys_2.0.dll_fclose
lea rdx, [0x10040e37d]
mov rcx, r14
call sub.msys_2.0.dll_fopen
mov rcx, r13
mov r12, rax
call sub.msys_2.0.dll_fclose
mov rcx, r14
call sub.msys_2.0.dll_strdup
mov qword [0x100417038], rax
mov rax, r12
add rsp, 0x1028
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
call fcn.100401fd0
mov r12, qword [0x10040d010]
call sub.msys_2.0.dll___getreent
mov r9, r15
lea rdx, str._s:__s_is_not_a_text_file_n
mov rcx, qword [rax + 0x18]
mov r8, r12
call sub.msys_2.0.dll_fprintf
mov ecx, 1
call sub.msys_2.0.dll_exit
lea rcx, str.copy_input__target_
call fcn.100401fd0
lea rcx, str.copy_input__source_
call fcn.100401fd0
nop
nop word cs:[rax + rax]