joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a3770
Capabilities:
Get disk size

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
mov r12, rcx
mov rbx, rdx
lea r13, [rsp + 0x50]
call method.std::_V2.system_category__
pcmpeqd xmm0, xmm0
mov rdx, rbx
mov rcx, r13
movups xmmword [r12], xmm0
mov rsi, rax
mov qword [r12 + 0x10], 0xffffffffffffffff
call method.std::filesystem.absolute_std::filesystem::__cxx11::path_const_
mov rcx, r13
call method.std::filesystem::__cxx11::path.remove_filename__
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x48], 0
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1400a3870
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400a3801
mov qword [r12], rax
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400a3810
mov qword [r12 + 8], rax
mov rax, qword [rsp + 0x38]
xor edi, edi
test rax, rax
jne 0x1400a3868
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1400a3830
lea rcx, [rsp + 0x70]
call method.std::filesystem::__cxx11::path::_List::_Impl_deleter.operator___std::filesystem::__cxx11::path::_List::_Impl__const
mov rcx, qword [rsp + 0x50]
lea rbp, [rsp + 0x60]
cmp rcx, rbp
je 0x1400a384e
mov rax, qword [rsp + 0x60]
lea rdx, [rax + rax + 2]
call sym.operator_delete_void__unsigned_long_long_
test edi, edi
jne 0x1400a387a
mov rax, r12
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov qword [r12 + 0x10], rax
jmp 0x1400a381c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400a381c
mov ecx, 0x30
call sym.__cxa_allocate_exception
lea rdx, str.cannot_get_free_space
mov rcx, r13
mov r14, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const___clone_.constprop.0_
mov eax, edi
lea r9, [rsp + 0x20]
mov r8, rbx
mov rdx, r13
mov rcx, r14
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rsi
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, qword [rsp + 0x50]
cmp rcx, rbp
je 0x1400a38cd
mov rax, qword [rsp + 0x60]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
lea r8, [method.std::filesystem::__cxx11::filesystem_error.filesystem_error__]
lea rdx, [0x140116d40]
mov rcx, r14
call sym.__cxa_throw
mov r12, rax
mov rcx, r14
call sym.__cxa_free_exception
mov rcx, r12
call dbg._Unwind_Resume
mov rcx, qword [rsp + 0x50]
mov r12, rax
cmp rcx, rbp
je 0x1400a38e6
mov rax, qword [rsp + 0x60]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
jmp 0x1400a38e6
Function at 0x1400a3920
Capabilities:
Get disk size

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x70
pcmpeqd xmm0, xmm0
lea r13, [rsp + 0x40]
movups xmmword [rcx], xmm0
mov r12, rcx
mov rbx, r8
mov qword [rcx + 0x10], 0xffffffffffffffff
mov rcx, r13
call method.std::filesystem.absolute_std::filesystem::__cxx11::path_const_
mov rcx, r13
call method.std::filesystem::__cxx11::path.remove_filename__
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x28]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edi, eax
call method.std::_V2.system_category__
mov rsi, rax
test edi, edi
je 0x1400a3a20
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400a39aa
mov qword [r12], rax
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400a39b9
mov qword [r12 + 8], rax
mov rax, qword [rsp + 0x28]
test rax, rax
jne 0x1400a3a10
xor eax, eax
mov rdx, qword [rsp + 0x60]
mov dword [rbx], eax
mov qword [rbx + 8], rsi
test rdx, rdx
je 0x1400a39df
lea rcx, [rsp + 0x60]
call method.std::filesystem::__cxx11::path::_List::_Impl_deleter.operator___std::filesystem::__cxx11::path::_List::_Impl__const
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
cmp rcx, rax
je 0x1400a39fd
mov rax, qword [rsp + 0x50]
lea rdx, [rax + rax + 2]
call sym.operator_delete_void__unsigned_long_long_
mov rax, r12
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
mov qword [r12 + 0x10], rax
jmp 0x1400a39c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400a39c5
Function at 0x1400a3aa0
Capabilities:
Delete directory
Delete file

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x68
mov rbx, rcx
lea r12, [rsp + 0x30]
mov dword [rsp + 0x30], 0
call method.std::_V2.system_category__
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x38], rax
mov rsi, rax
call method.std::filesystem.symlink_status_std::filesystem::__cxx11::path_const__std::error_code_
test al, al
jne 0x1400a3af0
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1400a3b24
xor eax, eax
add rsp, 0x68
pop rbx
pop rsi
pop r12
pop r13
ret
cmp al, 0xff
je 0x1400a3ade
mov rdx, r12
mov rcx, rbx
call method.std::filesystem.status_std::filesystem::__cxx11::path_const__std::error_code_
cmp al, 2
je 0x1400a3ba0
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400a3bb1
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400a3bc8
mov ecx, 0x30
lea r12, [rsp + 0x40]
call sym.__cxa_allocate_exception
lea rdx, str.cannot_remove
mov rcx, r12
mov r13, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const___clone_.constprop.0_
movdqa xmm0, xmmword [rsp + 0x30]
mov r8, rbx
mov rdx, r12
mov rcx, r13
lea r9, [rsp + 0x20]
movaps 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, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
cmp rcx, rax
je 0x1400a3b80
mov rax, qword [rsp + 0x50]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
lea r8, [method.std::filesystem::__cxx11::filesystem_error.filesystem_error__]
lea rdx, [0x140116d40]
mov rcx, r13
call sym.__cxa_throw
nop word cs:[rax + rax]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1400a3b07
mov eax, 1
add rsp, 0x68
pop rbx
pop rsi
pop r12
pop r13
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], eax
jmp 0x1400a3ada
Function at 0x1400a3c20
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 0x1400a3c87
cmp al, 0xff
je 0x1400a3c78
mov rdx, rbx
mov rcx, rsi
call method.std::filesystem.status_std::filesystem::__cxx11::path_const__std::error_code_
cmp al, 2
je 0x1400a3c90
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400a3c9d
mov eax, dword [rbx]
test eax, eax
jne 0x1400a3c87
call method.std::_V2.system_category__
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbx + 8], rsi
mov dword [rbx], eax
xor eax, eax
jmp 0x1400a3c89
call method.std::_V2.system_category__
mov dword [rbx], 0
mov qword [rbx + 8], rax
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1400a3c48
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 0x1400a3cc0
Capabilities:
Move file

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rbx, rdx
lea r12, [rsp + 0x40]
mov rbp, rcx
mov dword [rsp + 0x40], 0
call method.std::_V2.system_category__
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x48], rax
mov rdi, rax
call method.std::filesystem.status_std::filesystem::__cxx11::path_const__std::error_code_
mov rsi, rax
cmp al, 0xff
je 0x1400a3d70
mov ecx, dword [rsp + 0x40]
test ecx, ecx
jne 0x1400a3de2
test al, al
jne 0x1400a3d80
mov rdx, qword [rbx]
mov rcx, qword [rbp]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1400a3d60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [sym.imp.msvcrt.dll__errno]
cmp eax, 5
je 0x1400a3db8
call rdi
mov dword [rax], 5
call method.std::_V2.generic_category__
mov rsi, rax
call rdi
mov qword [rsp + 0x48], rsi
mov eax, dword [rax]
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x1400a3de2
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x48], rdi
jmp 0x1400a3d0e
mov rdx, r12
mov rcx, rbp
call method.std::filesystem.status_std::filesystem::__cxx11::path_const__std::error_code_
mov edx, dword [rsp + 0x40]
test edx, edx
jne 0x1400a3de2
cmp sil, 2
je 0x1400a3dc8
cmp al, 2
jne 0x1400a3d0e
call method.std::_V2.generic_category__
mov dword [rsp + 0x40], 0x14
mov qword [rsp + 0x48], rax
jmp 0x1400a3de2
call rdi
mov dword [rax], 0xd
jmp 0x1400a3d43
cmp al, 2
je 0x1400a3d0e
call method.std::_V2.generic_category__
mov dword [rsp + 0x40], 0x15
mov qword [rsp + 0x48], rax
mov ecx, 0x30
lea r12, [rsp + 0x50]
call sym.__cxa_allocate_exception
lea rdx, str.cannot_rename
mov rcx, r12
mov r13, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const___clone_.constprop.0_
lea rax, [rsp + 0x30]
mov r9, rbx
mov r8, rbp
mov rdx, r12
mov qword [rsp + 0x20], rax
movdqa xmm0, xmmword [rsp + 0x40]
mov rcx, r13
movaps xmmword [rsp + 0x30], xmm0
call sym._ZNSt10filesystem7__cxx1116filesystem_errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_4pathESC_St10error_c
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
cmp rcx, rax
je 0x1400a3e46
mov rax, qword [rsp + 0x60]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
lea r8, [method.std::filesystem::__cxx11::filesystem_error.filesystem_error__]
lea rdx, [0x140116d40]
mov rcx, r13
call sym.__cxa_throw
mov rcx, qword [rsp + 0x50]
mov r12, rax
lea rax, [rsp + 0x60]
cmp rcx, rax
je 0x1400a3e7c
mov rax, qword [rsp + 0x60]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
mov rcx, r13
call sym.__cxa_free_exception
mov rcx, r12
call dbg._Unwind_Resume
mov r12, rax
jmp 0x1400a3e7c
Function at 0x1400a3ea0
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 0x1400a3f40
mov ecx, dword [rbx]
test ecx, ecx
jne 0x1400a3f18
test al, al
jne 0x1400a3f58
mov rdx, qword [rsi]
mov rcx, qword [rbp]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1400a3f28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [sym.imp.msvcrt.dll__errno]
cmp eax, 5
je 0x1400a3f90
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 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 0x1400a3ed1
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 0x1400a3f18
cmp dil, 2
je 0x1400a3fa0
cmp al, 2
jne 0x1400a3ed1
call method.std::_V2.generic_category__
mov dword [rbx], 0x14
mov qword [rbx + 8], rax
jmp 0x1400a3f18
call rdi
mov dword [rax], 0xd
jmp 0x1400a3f06
cmp al, 2
je 0x1400a3ed1
call method.std::_V2.generic_category__
mov dword [rbx], 0x15
mov qword [rbx + 8], rax
jmp 0x1400a3f18

Function at 0x1400ae4b0
Capabilities:
Get disk size

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r13, qword [rsp + 0xa0]
mov qword [rsp + 0x28], 0
mov r12, rdx
mov rbp, r8
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x30]
mov rdi, r9
lea r9, [rsp + 0x38]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov esi, eax
call method.std::_V2.system_category__
mov rbx, rax
test esi, esi
je 0x1400ae558
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400ae519
mov qword [r12], rax
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400ae527
mov qword [rbp], rax
mov rax, qword [rsp + 0x28]
test rax, rax
jne 0x1400ae550
xor eax, eax
mov dword [r13], eax
mov qword [r13 + 8], rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov qword [rdi], rax
jmp 0x1400ae531
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400ae533

Function at 0x1400b3e50
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x1400b3e77
call rbp
cmp dword [rax], 4
jne 0x1400b3e94
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x1400b3e70
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1400cc7b0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x1400cc7d8
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x1400cc820
cdqe
add rsi, rax
sub rbx, rax
jne 0x1400cc7f0
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x1400cc82c
call rbp
cmp dword [rax], 4
je 0x1400cc7f0
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400ccc40
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x1400ccc68
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x1400cccb0
cdqe
add rsi, rax
sub rbx, rax
jne 0x1400ccc80
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x1400cccbc
call rbp
cmp dword [rax], 4
je 0x1400ccc80
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1400de990
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 0x1400dea22
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 edx, dword [rax + rdx*4]
mov eax, dword [rbp - 0x24]
shr eax, 1
xor edx, eax
mov eax, dword [rbp - 0x24]
and eax, 1
test eax, eax
je 0x1400dea09
mov eax, 0x9908b0df
jmp 0x1400dea0e
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 0x1400de9b4
mov qword [rbp - 0x10], 0xe3
jmp 0x1400deaa4
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 edx, dword [rax + rdx*4]
mov eax, dword [rbp - 0x20]
shr eax, 1
xor edx, eax
mov eax, dword [rbp - 0x20]
and eax, 1
test eax, eax
je 0x1400dea8b
mov eax, 0x9908b0df
jmp 0x1400dea90
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 0x1400dea36
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 edx, dword [rax + 0x630]
mov eax, dword [rbp - 0x1c]
shr eax, 1
xor edx, eax
mov eax, dword [rbp - 0x1c]
and eax, 1
test eax, eax
je 0x1400deaf1
mov eax, 0x9908b0df
jmp 0x1400deaf6
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 0x1400deb20
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 0x1400deb98
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 0x1400deb49
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x9c0], 0x270
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400debf0
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 0x1400dec18
mov rcx, qword [rbp + 0x10]
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 0x1400ff710
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 0x1400ff768
nop word cs:[rax + 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 0x1400ff740
and edx, 7
je 0x1400ff811
lea eax, [rdx - 1]
mov ecx, edx
cdqe
movzx eax, byte [r11 + rax]
sub ecx, 2
js 0x1400ff800
movsxd rcx, ecx
shl rax, 8
movzx ecx, byte [r11 + rcx]
add rax, rcx
lea ecx, [rdx - 3]
cmp rdx, 2
je 0x1400ff800
movsxd rcx, ecx
shl rax, 8
movzx ecx, byte [r11 + rcx]
add rax, rcx
lea ecx, [rdx - 4]
cmp rdx, 3
je 0x1400ff800
movsxd rcx, ecx
shl rax, 8
movzx ecx, byte [r11 + rcx]
add rax, rcx
lea ecx, [rdx - 5]
cmp rdx, 4
je 0x1400ff800
movsxd rcx, ecx
shl rax, 8
movzx ecx, byte [r11 + rcx]
add rax, rcx
lea ecx, [rdx - 6]
cmp rdx, 5
je 0x1400ff800
movsxd rdx, ecx
shl rax, 8
movzx edx, byte [r11 + rdx]
add rax, rdx
test ecx, ecx
je 0x1400ff800
movzx edx, byte [r11]
shl rax, 8
add rax, rdx
xor rax, r10
movabs r10, 0xc6a4a7935bd1e995
imul r10, rax
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 0x140100d80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, r8
test rdx, rdx
je 0x140100dac
movabs r9, 0x100000001b3
add rdx, rcx
nop dword [rax]
movsx r8, byte [rcx]
add rcx, 1
xor rax, r8
imul rax, r9
cmp rcx, rdx
jne 0x140100d98
ret
Function at 0x18000dea0
Capabilities:
Check http status code

Disassembly:
push rbx
imul r11d, ecx, 0x2d
mov r9, rdx
mov edx, ecx
mov r8d, ecx
cmp ecx, r11d
ja 0x18000df75
mov r10d, dword [rsp + 0x10]
xor ebx, ebx
nop
cmp r8d, 0x14
je 0x18000df5e
cmp r8d, 0x1d
je 0x18000df31
cmp r8d, 0xc8
je 0x18000df17
cmp r8d, 0x17c
je 0x18000deed
cmp r8d, 0x230
je 0x18000df50
jmp 0x18000df64
mov dword [rsp + 0x10], ebx
mov eax, dword [rsp + 0x10]
nop word [rax + rax]
mov eax, dword [rsp + 0x10]
inc eax
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
cmp eax, 0x989680
jl 0x18000df00
jmp 0x18000df64
mov eax, r10d
or eax, 8
cmp dword [r9], 2
cmovne eax, r10d
mov r10d, eax
mov rax, qword [r9 + 8]
mov dword [rax], r10d
jmp 0x18000df64
mov eax, 0xbd
cmp eax, 0xbd
je 0x18000df7b
dec eax
cmp eax, 0xbc
ja 0x18000df36
nop word [rax + rax]
mov rax, qword [r9 + 8]
mov ecx, dword [rax]
bt ecx, 0x1a
jb 0x18000df50
jmp 0x18000df64
mov r10d, 0x4000000
lea eax, [r8 + rdx]
lea r8d, [rax + rdx*8]
cmp r8d, r11d
jbe 0x18000dec0
mov eax, dword [rsp + 0x10]
pop rbx
ret
cmp byte [r9 + 4], 1
jne 0x18000df90
mov edx, 0xba
mov rcx, r9
pop rbx
jmp fcn.18001b910
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 0x47]
pop rbx
jmp fcn.18003c370