joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a4300
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 0x1400a4400
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400a4391
mov qword [r12], rax
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400a43a0
mov qword [r12 + 8], rax
mov rax, qword [rsp + 0x38]
xor edi, edi
test rax, rax
jne 0x1400a43f8
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1400a43c0
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 0x1400a43de
mov rax, qword [rsp + 0x60]
lea rdx, [rax + rax + 2]
call sym.operator_delete_void__unsigned_long_long_
test edi, edi
jne 0x1400a440a
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 0x1400a43ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400a43ac
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 0x1400a445d
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, [0x140117da0]
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 0x1400a4476
mov rax, qword [rsp + 0x60]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
jmp 0x1400a4476
Function at 0x1400a44b0
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 0x1400a45b0
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400a453a
mov qword [r12], rax
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400a4549
mov qword [r12 + 8], rax
mov rax, qword [rsp + 0x28]
test rax, rax
jne 0x1400a45a0
xor eax, eax
mov rdx, qword [rsp + 0x60]
mov dword [rbx], eax
mov qword [rbx + 8], rsi
test rdx, rdx
je 0x1400a456f
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 0x1400a458d
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 0x1400a4553
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400a4555
Function at 0x1400a4630
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 0x1400a4680
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1400a46b4
xor eax, eax
add rsp, 0x68
pop rbx
pop rsi
pop r12
pop r13
ret
cmp al, 0xff
je 0x1400a466e
mov rdx, r12
mov rcx, rbx
call method.std::filesystem.status_std::filesystem::__cxx11::path_const__std::error_code_
cmp al, 2
je 0x1400a4730
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400a4741
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400a4758
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 0x1400a4710
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, [0x140117da0]
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 0x1400a4697
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 0x1400a466a
Function at 0x1400a47b0
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 0x1400a4817
cmp al, 0xff
je 0x1400a4808
mov rdx, rbx
mov rcx, rsi
call method.std::filesystem.status_std::filesystem::__cxx11::path_const__std::error_code_
cmp al, 2
je 0x1400a4820
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400a482d
mov eax, dword [rbx]
test eax, eax
jne 0x1400a4817
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 0x1400a4819
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 0x1400a47d8
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 0x1400a4850
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 0x1400a4900
mov ecx, dword [rsp + 0x40]
test ecx, ecx
jne 0x1400a4972
test al, al
jne 0x1400a4910
mov rdx, qword [rbx]
mov rcx, qword [rbp]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1400a48f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [sym.imp.msvcrt.dll__errno]
cmp eax, 5
je 0x1400a4948
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 0x1400a4972
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 0x1400a489e
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 0x1400a4972
cmp sil, 2
je 0x1400a4958
cmp al, 2
jne 0x1400a489e
call method.std::_V2.generic_category__
mov dword [rsp + 0x40], 0x14
mov qword [rsp + 0x48], rax
jmp 0x1400a4972
call rdi
mov dword [rax], 0xd
jmp 0x1400a48d3
cmp al, 2
je 0x1400a489e
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 0x1400a49d6
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, [0x140117da0]
mov rcx, r13
call sym.__cxa_throw
mov rcx, qword [rsp + 0x50]
mov r12, rax
lea rax, [rsp + 0x60]
cmp rcx, rax
je 0x1400a4a0c
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 0x1400a4a0c
Function at 0x1400a4a30
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 0x1400a4ad0
mov ecx, dword [rbx]
test ecx, ecx
jne 0x1400a4aa8
test al, al
jne 0x1400a4ae8
mov rdx, qword [rsi]
mov rcx, qword [rbp]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1400a4ab8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [sym.imp.msvcrt.dll__errno]
cmp eax, 5
je 0x1400a4b20
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 0x1400a4a61
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 0x1400a4aa8
cmp dil, 2
je 0x1400a4b30
cmp al, 2
jne 0x1400a4a61
call method.std::_V2.generic_category__
mov dword [rbx], 0x14
mov qword [rbx + 8], rax
jmp 0x1400a4aa8
call rdi
mov dword [rax], 0xd
jmp 0x1400a4a96
cmp al, 2
je 0x1400a4a61
call method.std::_V2.generic_category__
mov dword [rbx], 0x15
mov qword [rbx + 8], rax
jmp 0x1400a4aa8

Function at 0x1400af040
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 0x1400af0e8
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400af0a9
mov qword [r12], rax
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400af0b7
mov qword [rbp], rax
mov rax, qword [rsp + 0x28]
test rax, rax
jne 0x1400af0e0
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 0x1400af0c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400af0c3

Function at 0x1400b4c20
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 0x1400b4c47
call rbp
cmp dword [rax], 4
jne 0x1400b4c64
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 0x1400b4c40
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1400cd580
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 0x1400cd5a8
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 0x1400cd5f0
cdqe
add rsi, rax
sub rbx, rax
jne 0x1400cd5c0
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x1400cd5fc
call rbp
cmp dword [rax], 4
je 0x1400cd5c0
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 0x1400cda10
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 0x1400cda38
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 0x1400cda80
cdqe
add rsi, rax
sub rbx, rax
jne 0x1400cda50
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x1400cda8c
call rbp
cmp dword [rax], 4
je 0x1400cda50
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 0x1400df820
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 0x1400df8b2
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 0x1400df899
mov eax, 0x9908b0df
jmp 0x1400df89e
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 0x1400df844
mov qword [rbp - 0x10], 0xe3
jmp 0x1400df934
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 0x1400df91b
mov eax, 0x9908b0df
jmp 0x1400df920
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 0x1400df8c6
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 0x1400df981
mov eax, 0x9908b0df
jmp 0x1400df986
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 0x1400df9b0
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 dbg.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 0x1400dfa28
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 dbg.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 dbg.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 0x1400df9d9
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x9c0], 0x270
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400dfa80
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 0x1400dfaa8
mov rcx, qword [rbp + 0x10]
call dbg.std::mersenne_twister_engine<unsigned int, 32ull, 624ull, 397ull, 31ull, 2567483615u, 11ull, 4294967295u, 7ull, 2636928640u, 15ull, 4022730752u, 18ull, 1812433253u>::_M_gen_rand()
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 0x140100890
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 0x1401008e8
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 0x1401008c0
and edx, 7
je 0x140100991
lea eax, [rdx - 1]
mov ecx, edx
cdqe
movzx eax, byte [r11 + rax]
sub ecx, 2
js 0x140100980
movsxd rcx, ecx
shl rax, 8
movzx ecx, byte [r11 + rcx]
add rax, rcx
lea ecx, [rdx - 3]
cmp rdx, 2
je 0x140100980
movsxd rcx, ecx
shl rax, 8
movzx ecx, byte [r11 + rcx]
add rax, rcx
lea ecx, [rdx - 4]
cmp rdx, 3
je 0x140100980
movsxd rcx, ecx
shl rax, 8
movzx ecx, byte [r11 + rcx]
add rax, rcx
lea ecx, [rdx - 5]
cmp rdx, 4
je 0x140100980
movsxd rcx, ecx
shl rax, 8
movzx ecx, byte [r11 + rcx]
add rax, rcx
lea ecx, [rdx - 6]
cmp rdx, 5
je 0x140100980
movsxd rdx, ecx
shl rax, 8
movzx edx, byte [r11 + rdx]
add rax, rdx
test ecx, ecx
je 0x140100980
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 0x140101f10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, r8
test rdx, rdx
je 0x140101f3c
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 0x140101f28
ret
Function at 0x140001d10
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
mov eax, r8d
shr eax, 2
mov r9d, r8d
shr r9d, 3
add r9d, 3
mov dword [rcx], r9d
lea r9, [rcx + 0x10]
cmp r8d, 4
jb 0x140001e15
cmp eax, 2
mov r10d, 1
cmovae r10d, eax
cmp r10d, 8
jb 0x140001d5f
mov r11, rcx
sub r11, rdx
add r11, 0x10
cmp r11, 0x20
jae 0x140001ddd
xor esi, esi
mov r11, rdx
mov rdx, rsi
not rdx
add rdx, r10
mov rdi, r10
and rdi, 3
je 0x140001d93
nop word cs:[rax + rax]
mov ebx, dword [r11]
mov dword [r9 + rsi*4], ebx
inc rsi
add r11, 4
dec rdi
jne 0x140001d80
cmp rdx, 3
jb 0x140001e15
sub r10, rsi
lea rcx, [rcx + rsi*4]
add rcx, 0x1c
xor edx, edx
nop word cs:[rax + rax]
mov esi, dword [r11 + rdx*4]
mov dword [rcx + rdx*4 - 0xc], esi
mov esi, dword [r11 + rdx*4 + 4]
mov dword [rcx + rdx*4 - 8], esi
mov esi, dword [r11 + rdx*4 + 8]
mov dword [rcx + rdx*4 - 4], esi
mov esi, dword [r11 + rdx*4 + 0xc]
mov dword [rcx + rdx*4], esi
add rdx, 4
cmp r10, rdx
jne 0x140001db0
jmp 0x140001e15
mov esi, r10d
and esi, 0xfffffff8
lea r11, [rdx + rsi*4]
xor edi, edi
nop dword [rax]
movups xmm0, xmmword [rdx + rdi*4]
movups xmm1, xmmword [rdx + rdi*4 + 0x10]
movups xmmword [rcx + rdi*4 + 0x10], xmm0
movups xmmword [rcx + rdi*4 + 0x20], xmm1
add rdi, 8
cmp rsi, rdi
jne 0x140001df0
cmp rsi, r10
jne 0x140001d64
mov ecx, eax
mov edi, dword [r9 + rcx*4 - 4]
lea rdx, [rcx + rcx*2]
lea rdx, [rdx*4 + 0x70]
mov esi, 1
xor ebx, ebx
lea r10, [0x1404d2080]
mov r11d, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140001e9e
mov ebx, edi
shr ebx, 8
movzx ebx, bl
movzx ebx, byte [rbx + r10]
xor ebx, esi
mov r14d, edi
shr edi, 0x10
movzx edi, dil
movzx ebp, byte [rdi + r10]
shl ebp, 8
or ebp, ebx
movzx edi, r14b
shr r14, 0x18
movzx ebx, byte [r14 + r10]
shl ebx, 0x10
movzx edi, byte [rdi + r10]
shl edi, 0x18
or edi, ebx
or edi, ebp
test sil, sil
lea esi, [rsi + rsi]
cmovs esi, r11d
mov ebx, eax
xor edi, dword [r9]
dec ebx
mov dword [r9 + rcx*4], edi
add r9, 4
add rdx, 0xfffffffffffffffc
je 0x140001ef6
test ebx, ebx
je 0x140001e40
cmp r8d, 0x1c
jb 0x140001e8b
cmp ebx, 4
jne 0x140001e8b
mov ebx, edi
movzx r14d, bl
movzx ebp, byte [r14 + r10]
mov r14d, edi
shr r14d, 8
movzx r14d, r14b
movzx r14d, byte [r14 + r10]
shl r14d, 8
or r14d, ebp
shr edi, 0x10
movzx edi, dil
movzx ebp, byte [rdi + r10]
shl ebp, 0x10
or ebp, r14d
shr rbx, 0x18
movzx edi, byte [rbx + r10]
shl edi, 0x18
or edi, ebp
mov ebx, 4
jmp 0x140001e8b
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret