joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a5d50
Capabilities:
Create directory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
mov rdi, qword [0x14010e010]
mov rax, qword [rdi]
mov qword [rsp + 0x68], rax
movabs rax, 0x59572d4cbf520000
mov rbp, rcx
mov rsi, r8
lea rcx, [rdx + rax]
movabs rax, 0x112e0be826d694b3
imul rcx
sar rcx, 0x3f
mov rbx, rdx
lea rdx, [rsp + 0x30]
sar rbx, 0x1a
sub rbx, rcx
mov rcx, qword [rbp]
mov qword [rsp + 0x28], rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64]
test eax, eax
jne 0x1400a5e20
call method.std::_V2.system_category__
mov dword [rsi], 0
mov rbx, qword [rsp + 0x50]
mov qword [rsi + 8], rax
mov qword [rsp + 0x20], rbx
mov rcx, qword [rbp]
lea rdx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__wutime64]
mov ebx, eax
test eax, eax
jne 0x1400a5e08
call method.std::_V2.system_category__
mov rbp, rax
mov dword [rsi], ebx
mov qword [rsi + 8], rbp
mov rax, qword [rsp + 0x68]
sub rax, qword [rdi]
jne 0x1400a5e38
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call method.std::_V2.generic_category__
mov rbp, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
jmp 0x1400a5de6
call method.std::_V2.generic_category__
mov r12, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
mov qword [rsi + 8], r12
mov dword [rsi], eax
jmp 0x1400a5dc4
call dbg.__stack_chk_fail
nop
nop
nop

Function at 0x1400a5e40
Capabilities:
Create directory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rsi, qword [0x14010e010]
mov rcx, qword [rcx]
mov rbx, rdx
mov rdx, qword [rsi]
mov qword [rsp + 0x58], rdx
lea rdx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64]
test eax, eax
je 0x1400a5ea0
call method.std::_V2.generic_category__
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
mov qword [rbx + 8], rdi
mov dword [rbx], eax
movabs rax, 0x8000000000000000
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rsi]
jne 0x1400a5ef6
add rsp, 0x60
pop rbx
pop rsi
pop rdi
ret
call method.std::_V2.system_category__
mov dword [rbx], 0
movabs rdx, 0x225c17d03
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x48]
cmp rax, rdx
jle 0x1400a5ee0
call method.std::_V2.generic_category__
mov dword [rbx], 0x84
mov qword [rbx + 8], rax
movabs rax, 0x8000000000000000
jmp 0x1400a5e8b
imul rax, rax, 0x3b9aca00
movabs rdx, 0xa6a8d2b340ae0000
add rax, rdx
jmp 0x1400a5e8b
call dbg.__stack_chk_fail
nop
nop
nop
nop
nop
Function at 0x1400a5f00
Capabilities:
Create directory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rsi, qword [0x14010e010]
mov rax, qword [rsi]
mov qword [rsp + 0x68], rax
xor eax, eax
mov rbx, rcx
call method.std::_V2.system_category__
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
call sym._anonymous_namespace_::create_dir_std::filesystem::__cxx11::path_const__std::filesystem::perms__std::error_code___clone_isra0_
mov edx, dword [rsp + 0x30]
test edx, edx
jne 0x1400a5f56
mov rdx, qword [rsp + 0x68]
sub rdx, qword [rsi]
jne 0x1400a5fa7
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov ecx, 0x30
lea rbp, [rsp + 0x40]
call sym.__cxa_allocate_exception
lea rdx, str.cannot_create_directory
mov rcx, rbp
mov rdi, rax
call fcn.1400e8730
movdqu xmm0, xmmword [rsp + 0x30]
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
lea r9, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call method.std::filesystem::__cxx11::filesystem_error.filesystem_error_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::filesystem::__cxx11::path_const__std::error_code_
mov rcx, rbp
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov rax, qword [rsp + 0x68]
sub rax, qword [rsi]
je 0x1400a5fb1
call dbg.__stack_chk_fail
mov rbx, rax
jmp 0x1400a5fd2
lea r8, [method.std::filesystem::__cxx11::filesystem_error.filesystem_error__]
lea rdx, [0x14010f970]
mov rcx, rdi
call sym.__cxa_throw
mov rcx, rbp
mov rbx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov rcx, rdi
call sym.__cxa_free_exception
mov rax, qword [rsp + 0x68]
sub rax, qword [rsi]
jne 0x1400a5fa7
mov rcx, rbx
call sym._Unwind_Resume
nop
nop
nop
nop

Function at 0x1400a5ff0
Capabilities:
Create directory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rbx, rdx
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
test eax, eax
jne 0x1400a6030
call method.std::_V2.system_category__
mov dword [rbx], 0
mov qword [rbx + 8], rax
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov edi, dword [rax]
cmp edi, 0x11
je 0x1400a6050
call method.std::_V2.generic_category__
mov dword [rbx], edi
mov qword [rbx + 8], rax
xor eax, eax
jmp 0x1400a601e
mov rdx, rbx
mov rcx, rsi
call method.std::filesystem.status_std::filesystem::__cxx11::path_const__std::error_code_
cmp al, 2
jne 0x1400a603d
xor eax, eax
jmp 0x1400a601e
Function at 0x1400aa760
Capabilities:
Delete directory
Delete file

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rsi, qword [0x14010e010]
mov rax, qword [rsi]
mov qword [rsp + 0x68], rax
xor eax, eax
mov rbx, rcx
call method.std::_V2.system_category__
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
call method.std::filesystem.remove_std::filesystem::__cxx11::path_const__std::error_code_
mov edx, dword [rsp + 0x30]
test edx, edx
jne 0x1400aa7b6
mov rdx, qword [rsp + 0x68]
sub rdx, qword [rsi]
jne 0x1400aa807
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov ecx, 0x30
lea rbp, [rsp + 0x40]
call sym.__cxa_allocate_exception
lea rdx, str.cannot_remove
mov rcx, rbp
mov rdi, rax
call fcn.1400e8730
movdqu xmm0, xmmword [rsp + 0x30]
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
lea r9, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call method.std::filesystem::__cxx11::filesystem_error.filesystem_error_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::filesystem::__cxx11::path_const__std::error_code_
mov rcx, rbp
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov rax, qword [rsp + 0x68]
sub rax, qword [rsi]
je 0x1400aa811
call dbg.__stack_chk_fail
mov rbx, rax
jmp 0x1400aa832
lea r8, [method.std::filesystem::__cxx11::filesystem_error.filesystem_error__]
lea rdx, [0x14010f970]
mov rcx, rdi
call sym.__cxa_throw
mov rcx, rbp
mov rbx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov rcx, rdi
call sym.__cxa_free_exception
mov rax, qword [rsp + 0x68]
sub rax, qword [rsi]
jne 0x1400aa807
mov rcx, rbx
call sym._Unwind_Resume
nop
nop
nop
nop

Function at 0x1400aa850
Capabilities:
Delete directory
Delete file

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
call method.std::filesystem.symlink_status_std::filesystem::__cxx11::path_const__std::error_code_
test al, al
je 0x1400aa89e
cmp al, 0xff
je 0x1400aa8b0
mov rdx, rbx
mov rcx, rsi
call method.std::filesystem.status_std::filesystem::__cxx11::path_const__std::error_code_
cmp al, 2
je 0x1400aa8c8
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400aa8d5
mov eax, dword [rbx]
test eax, eax
jne 0x1400aa89e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call method.std::_V2.system_category__
mov dword [rbx], esi
mov qword [rbx + 8], rax
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call method.std::_V2.system_category__
mov dword [rbx], 0
mov qword [rbx + 8], rax
jmp 0x1400aa89e
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1400aa878
call method.std::_V2.system_category__
mov dword [rbx], 0
mov qword [rbx + 8], rax
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x1400aa8f0
Capabilities:
Move file

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
mov rdi, qword [0x14010e010]
mov rax, qword [rdi]
mov qword [rsp + 0x78], rax
xor eax, eax
mov rbx, rcx
mov rsi, rdx
call method.std::_V2.system_category__
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0
call method.std::filesystem.rename_std::filesystem::__cxx11::path_const__std::filesystem::__cxx11::path_const__std::error_code_
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x1400aa950
mov rax, qword [rsp + 0x78]
sub rax, qword [rdi]
jne 0x1400aa9a9
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov ecx, 0x30
lea r12, [rsp + 0x50]
call sym.__cxa_allocate_exception
lea rdx, str.cannot_rename
mov rcx, r12
mov rbp, rax
call fcn.1400e8730
lea rax, [rsp + 0x30]
mov r9, rsi
mov r8, rbx
mov rdx, r12
mov qword [rsp + 0x20], rax
movdqu xmm0, xmmword [rsp + 0x40]
mov rcx, rbp
movups xmmword [rsp + 0x30], xmm0
call sym._ZNSt10filesystem7__cxx1116filesystem_errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_4pathESC_St10error_c
mov rcx, r12
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov rax, qword [rsp + 0x78]
sub rax, qword [rdi]
je 0x1400aa9b3
call dbg.__stack_chk_fail
mov rbx, rax
jmp 0x1400aa9d4
lea r8, [method.std::filesystem::__cxx11::filesystem_error.filesystem_error__]
lea rdx, [0x14010f970]
mov rcx, rbp
call sym.__cxa_throw
mov rcx, r12
mov rbx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov rcx, rbp
call sym.__cxa_free_exception
mov rax, qword [rsp + 0x78]
sub rax, qword [rdi]
jne 0x1400aa9a9
mov rcx, rbx
call sym._Unwind_Resume
nop
nop
Function at 0x1400aa9f0
Capabilities:
Move file

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rbp, rcx
mov rdx, r8
mov rbx, r8
mov rcx, rsi
call method.std::filesystem.status_std::filesystem::__cxx11::path_const__std::error_code_
mov rdi, rax
cmp al, 0xff
je 0x1400aaa50
mov ecx, dword [rbx]
test ecx, ecx
jne 0x1400aaa43
test al, al
jne 0x1400aaa68
mov rdx, qword [rsi]
mov rcx, qword [rbp]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1400aaab0
call method.std::_V2.system_category__
mov dword [rbx], 0
mov qword [rbx + 8], rax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
call method.std::_V2.system_category__
mov dword [rbx], 0
mov qword [rbx + 8], rax
jmp 0x1400aaa1d
mov rdx, rbx
mov rcx, rbp
call method.std::filesystem.status_std::filesystem::__cxx11::path_const__std::error_code_
mov edx, dword [rbx]
test edx, edx
jne 0x1400aaa43
cmp dil, 2
je 0x1400aaa98
cmp al, 2
jne 0x1400aaa1d
call method.std::_V2.generic_category__
mov dword [rbx], 0x14
mov qword [rbx + 8], rax
jmp 0x1400aaa43
cmp al, 2
je 0x1400aaa1d
call method.std::_V2.generic_category__
mov dword [rbx], 0x15
mov qword [rbx + 8], rax
jmp 0x1400aaa43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp eax, 5
je 0x1400aaae5
call rdi
mov dword [rax], 5
call method.std::_V2.generic_category__
mov rsi, rax
call rdi
mov eax, dword [rax]
mov qword [rbx + 8], rsi
mov dword [rbx], eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
call rdi
mov dword [rax], 0xd
jmp 0x1400aaaca

Function at 0x1400b4ee0
Capabilities:
Get disk size

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, qword [0x14010e010]
mov rsi, qword [rsp + 0x90]
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
xor eax, eax
mov rbp, rdx
mov rdi, r8
mov r12, r9
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x28]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1400b4fa0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1400b4f4e
mov qword [rbp], rax
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400b4f5b
mov qword [rdi], rax
mov rax, qword [rsp + 0x20]
test rax, rax
jne 0x1400b4f90
call method.std::_V2.system_category__
xor edi, edi
mov dword [rsi], edi
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x38]
sub rax, qword [rbx]
jne 0x1400b4faf
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov qword [r12], rax
jmp 0x1400b4f65
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call method.std::_V2.system_category__
jmp 0x1400b4f6c
call dbg.__stack_chk_fail
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1400bb980
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov r12, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, rdi
call method.std::__basic_file_char_.fd__
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call rbp
movsxd r13, eax
cmp eax, 0xffffffff
je 0x1400bb9d0
mov rax, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call r12
cmp dword [rax], 4
je 0x1400bb9a3
mov rax, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x1400d0750
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov r12, qword [0x14010e010]
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 8]
mov r13, rcx
test rax, rax
je 0x1400d07a0
mov rdx, qword [rsp + 0x28]
sub rdx, qword [r12]
jne 0x1400d0834
mov rcx, qword [rcx]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp rax
mov rdi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov ebx, 4
lea rsi, [rsp + 0x24]
mov rbp, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
nop dword [rax + rax]
mov ecx, dword [r13 + 0x10]
mov r8d, ebx
mov rdx, rsi
call rdi
test eax, eax
jle 0x1400d0800
cdqe
add rsi, rax
sub rbx, rax
jne 0x1400d07c0
mov eax, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
sub rdx, qword [r12]
jne 0x1400d0834
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp eax, 0xffffffff
jne 0x1400d082b
call rbp
mov r14, rbp
cmp dword [rax], 4
je 0x1400d07c0
call r14
mov rdx, qword [rsp + 0x28]
sub rdx, qword [r12]
jne 0x1400d0834
mov ecx, dword [rax]
lea rdx, str.random_device_could_not_be_read
call method.std._anonymous_namespace_::__throw_syserr_int__char_const_
mov r14, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
jmp 0x1400d080f
call dbg.__stack_chk_fail
nop
nop
nop
nop
nop
nop
nop
Function at 0x1400ddda0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x14], 0x80000000
mov dword [rbp - 0x18], 0x7fffffff
mov qword [rbp - 8], 0
jmp 0x1400dde32
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 8]
mov eax, dword [rax + rdx*4]
and eax, 0x80000000
mov ecx, eax
mov rax, qword [rbp - 8]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
and eax, 0x7fffffff
or eax, ecx
mov dword [rbp - 0x24], eax
mov rax, qword [rbp - 8]
lea rdx, [rax + 0x18d]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
mov edx, dword [rbp - 0x24]
shr edx, 1
xor edx, eax
mov eax, dword [rbp - 0x24]
and eax, 1
test eax, eax
je 0x1400dde19
mov eax, 0x9908b0df
jmp 0x1400dde1e
mov eax, 0
xor eax, edx
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 8]
mov dword [rax + rdx*4], ecx
add qword [rbp - 8], 1
cmp qword [rbp - 8], 0xe2
jbe 0x1400dddc4
mov qword [rbp - 0x10], 0xe3
jmp 0x1400ddeb4
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x10]
mov eax, dword [rax + rdx*4]
and eax, 0x80000000
mov ecx, eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
and eax, 0x7fffffff
or eax, ecx
mov dword [rbp - 0x20], eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax - 0xe3]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
mov edx, dword [rbp - 0x20]
shr edx, 1
xor edx, eax
mov eax, dword [rbp - 0x20]
and eax, 1
test eax, eax
je 0x1400dde9b
mov eax, 0x9908b0df
jmp 0x1400ddea0
mov eax, 0
xor eax, edx
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x10]
mov dword [rax + rdx*4], ecx
add qword [rbp - 0x10], 1
cmp qword [rbp - 0x10], 0x26e
jbe 0x1400dde46
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x9bc]
and eax, 0x80000000
mov edx, eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax]
and eax, 0x7fffffff
or eax, edx
mov dword [rbp - 0x1c], eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x630]
mov edx, dword [rbp - 0x1c]
shr edx, 1
xor edx, eax
mov eax, dword [rbp - 0x1c]
and eax, 1
test eax, eax
je 0x1400ddf01
mov eax, 0x9908b0df
jmp 0x1400ddf06
mov eax, 0
xor edx, eax
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x9bc], edx
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x9c0], 0
nop
add rsp, 0x30
pop rbp
ret
Function at 0x1400ddf30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov eax, dword [rbp + 0x18]
mov ecx, eax
call method.unsigned_int_std::__detail.__mod_unsigned_int__0u__1u__0u__unsigned_int_
mov rdx, qword [rbp + 0x10]
mov dword [rdx], eax
mov qword [rbp - 8], 1
jmp 0x1400ddfa8
mov rax, qword [rbp - 8]
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
shr eax, 0x1e
xor dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
imul eax, eax, 0x6c078965
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
mov ecx, eax
call method.unsigned_int_std::__detail.__mod_unsigned_int__624u__1u__0u__unsigned_int_
add dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, eax
call method.unsigned_int_std::__detail.__mod_unsigned_int__0u__1u__0u__unsigned_int_
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp - 8]
mov dword [rdx + rcx*4], eax
add qword [rbp - 8], 1
cmp qword [rbp - 8], 0x26f
jbe 0x1400ddf59
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x9c0], 0x270
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400de000
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x9c0]
cmp rax, 0x26f
jbe 0x1400de02b
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym._ZNSt23mersenne_twister_engineIjLy32ELy624ELy397ELy31ELj2567483615ELy11ELj4294967295ELy7ELj2636928640ELy15ELj4022730752ELy18EL
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x9c0]
lea rcx, [rax + 1]
mov rdx, qword [rbp + 0x10]
mov qword [rdx + 0x9c0], rcx
mov rdx, qword [rbp + 0x10]
mov eax, dword [rdx + rax*4]
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shr eax, 0xb
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shl eax, 7
and eax, 0x9d2c5680
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shr eax, 0x12
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
add rsp, 0x30
pop rbp
ret

Function at 0x1400f4a80
Capabilities:
Encode data using xor

Disassembly:
mov r11, rdx
mov rax, rcx
mov r10, rdx
and r11, 0xfffffffffffffff8
add r11, rcx
movabs rcx, 0xc6a4a7935bd1e995
imul r10, rcx
xor r10, r8
cmp rax, r11
je 0x1400f4ae8
nop word cs:[rax + rax]
nop word cs:[rax + rax]
nop dword [rax]
mov r9, qword [rax]
add rax, 8
imul r9, rcx
mov r8, r9
shr r8, 0x2f
xor r8, r9
imul r8, rcx
xor r8, r10
mov r10, r8
imul r10, rcx
cmp r11, rax
jne 0x1400f4ac0
and edx, 7
je 0x1400f4b25
sub edx, 1
movsxd rax, edx
xor edx, edx
nop word cs:[rax + rax]
movzx ecx, byte [r11 + rax]
shl rdx, 8
sub rax, 1
add rdx, rcx
test eax, eax
jns 0x1400f4b00
xor rdx, r10
movabs r10, 0xc6a4a7935bd1e995
imul r10, rdx
movabs rax, 0xc6a4a7935bd1e995
mov rdx, r10
shr rdx, 0x2f
xor rdx, r10
imul rdx, rax
mov rax, rdx
shr rax, 0x2f
xor rax, rdx
ret
Function at 0x1400f5c60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, r8
test rdx, rdx
je 0x1400f5c94
movabs r9, 0x100000001b3
add rdx, rcx
nop word cs:[rax + rax]
movsx r8, byte [rcx]
add rcx, 1
xor rax, r8
imul rax, r9
cmp rcx, rdx
jne 0x1400f5c80
ret

Function at 0x1400fe080
Capabilities:
Query environment variable

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
mov rsi, qword [0x14010e010]
lea rcx, [0x140100da0]
movabs rbp, 0x2e78786362696c67
movabs r13, 0x6c6f6f705f68652e
mov rdx, qword [rsi]
mov qword [rsp + 0x68], rdx
xor edx, edx
call sym.pthread_mutex_init
pxor xmm0, xmm0
lea rcx, str.GLIBCXX_TUNABLES
mov qword [0x140100db8], 0
movups xmmword [0x140100da8], xmm0
call sym.getenv
mov dword [rsp + 0x40], 0
mov rbx, rax
lea rax, str.obj_size
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], rax
lea rax, str.obj_count
mov qword [rsp + 0x48], 9
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x100
test rbx, rbx
jne 0x1400fe145
jmp 0x1400fe207
mov rcx, rbx
mov edx, 0x3a
call sym.strchr
mov rbx, rax
test rax, rax
je 0x1400fe1a8
xor eax, eax
cmp byte [rbx], 0x3a
sete al
add rbx, rax
cmp qword [rbx], rbp
jne 0x1400fe130
cmp qword [rbx + 7], r13
jne 0x1400fe130
cmp byte [rbx + 0xf], 0x2e
jne 0x1400fe130
add rbx, 0x10
lea r12, [rsp + 0x30]
lea r14, [rsp + 0x60]
mov rdi, qword [r12]
test rdi, rdi
je 0x1400fe18c
mov rcx, qword [r12 + 8]
mov r8, rdi
mov rdx, rbx
call sym.memcmp
test eax, eax
jne 0x1400fe196
cmp byte [rbx + rdi], 0x3d
je 0x1400fe23d
add r12, 0x18
cmp r14, r12
jne 0x1400fe16f
jmp 0x1400fe130
mov eax, dword [rsp + 0x58]
mov edx, 0x1000
mov ecx, 6
cmp eax, edx
cmovle edx, eax
mov eax, dword [rsp + 0x40]
test eax, eax
cmove eax, ecx
movsxd rbx, eax
movsxd rax, edx
add rbx, 0x26
imul rbx, rax
shl rbx, 3
mov qword [0x140100db8], rbx
jne 0x1400fe217
mov rax, qword [rsp + 0x68]
sub rax, qword [rsi]
jne 0x1400fe284
lea rcx, [sym.__tcf_0_2]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp dbg.atexit
mov qword [0x140100db8], 0x16000
mov ebx, 0x16000
mov rcx, rbx
call sym.malloc
mov qword [0x140100db0], rax
test rax, rax
je 0x1400fe276
xor edx, edx
mov qword [0x140100da8], rax
mov qword [rax], rbx
mov qword [rax + 8], rdx
jmp 0x1400fe1df
lea rdx, [rsp + 0x28]
lea rcx, [rbx + rdi + 1]
xor r8d, r8d
call sym.strtoul
mov rbx, qword [rsp + 0x28]
movzx edx, byte [rbx]
cmp dl, 0x3a
je 0x1400fe264
test dl, dl
jne 0x1400fe130
test eax, eax
js 0x1400fe130
mov dword [r12 + 0x10], eax
jmp 0x1400fe130
xor ecx, ecx
mov qword [0x140100db8], rcx
jmp 0x1400fe1df
call dbg.__stack_chk_fail
nop
nop
nop
nop
nop
nop
nop