joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140066a80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140066ae7
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140066aa2
mov ecx, dword [r10]
jmp 0x140066c08
cmp ecx, 0x270
jb 0x140066c08
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
mov r8, rbx
add rbx, 8
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub rdi, 1
jne 0x140066b20
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x140066b80
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x140197430
Capabilities:
Hash data using fnv

Disassembly:
mov r9, qword [rdx]
movabs r11, 0x100000001b3
mov rax, r9
movabs rdx, 0xcbf29ce484222325
shr rax, 8
movzx r10d, al
movzx eax, r9b
xor rax, rdx
imul rax, r11
xor r10, rax
mov rax, r9
shr rax, 0x10
movzx ecx, al
mov rax, r9
shr rax, 0x18
imul r10, r11
shr r9, 0x20
xor r10, rcx
movzx r8d, r9b
movzx ecx, al
xor r8, rdx
imul r8, r11
imul r10, r11
mov eax, r9d
sar eax, 8
xor r10, rcx
movzx ecx, al
xor r8, rcx
mov eax, r9d
sar eax, 0x10
movzx ecx, al
imul r8, r11
imul r10, r11
xor r8, rcx
sar r9d, 0x18
imul r8, r11
movzx eax, r9b
xor r8, rax
mov eax, 0x9e3779b9
imul r8, r11
mov rcx, r8
mov rdx, r8
shl rcx, 6
shr rdx, 2
add rcx, r10
add rax, rdx
add rax, rcx
xor rax, r8
ret
Function at 0x14020fe90
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14020feb8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14020fede
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14020fee0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14020ff39
test ecx, ecx
jle 0x14020ff19
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14020ff39
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14020ff39
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x14020ff60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14020ff91
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x14020ffaf
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14020ffcb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14020ffcd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140210009
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14021009e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140210044
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14021007e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14021009e
cmp rbx, rax
ja 0x140210050
test rbx, rbx
je 0x14021009e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140210500
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140469080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14021052d
xor eax, eax
jmp 0x140210699
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140210567
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140210567
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140210699
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14021068c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1402105aa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1402105d5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140210691
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140210644
sub eax, 1
je 0x140210644
cmp eax, 2
jne 0x14021068c
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140210691
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140210672
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14021068c
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140210691
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140283da0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140210d70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140469080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140210e43
cmp byte [rcx + 0x71], 0
je 0x140210e43
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140210e3f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140210e04
sub eax, 1
je 0x140210e08
cmp eax, 2
jne 0x140210e3f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140283da0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140210e36
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140210e3f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140210dec
xor al, al
jmp 0x140210dec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140283da0
add rsp, 0x60
pop rbx
ret

Function at 0x14022b990
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x370
mov rax, qword [0x140469080]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x150]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0xe
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov rbx, 0xffffffffffffffff
lea rax, [rsp + 0x150]
mov rdx, rbx
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14022ba00
mov r9d, 0x104
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x150]
call qword [sym.imp.obs.dll_os_wcs_to_utf8]
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x14022ba40
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140009a00
mov rax, rdi
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.140283da0
mov rbx, qword [rsp + 0x388]
add rsp, 0x370
pop rdi
ret
Function at 0x140256650
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.140256870
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x140256758
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1402566b4
mov rax, qword [0x140469008]
cmp qword [rsp + 0x20], rax
ja 0x1402566b4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x140256676
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
nop
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1402566e4
jmp 0x140256758
cmp dword [rsp + 0x50], 0x10000
jne 0x14025673b
cmp qword [rsp + 0x48], 0x10000
jb 0x14025673b
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140256729
mov rax, qword [rsp + 0x28]
jmp 0x14025675a
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x140256753
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.140256870
mov qword [rsp + 0x20], rax
jmp 0x140256676
xor eax, eax
add rsp, 0x68
ret

Function at 0x140256760
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1402568b0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x140256864
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1402567bb
mov rax, qword [0x140469008]
cmp qword [rsp + 0x20], rax
ja 0x1402567bb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x14025677d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
nop
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1402567eb
jmp 0x140256864
cmp dword [rsp + 0x50], 0x10000
jne 0x140256842
cmp qword [rsp + 0x48], 0x10000
jb 0x140256842
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140256830
mov rax, qword [rsp + 0x28]
jmp 0x140256866
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x14025685f
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1402568b0
mov qword [rsp + 0x20], rax
jmp 0x14025677d
xor eax, eax
add rsp, 0x68
ret
Function at 0x140258320
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140476778], eax
je 0x14025833c
mov eax, 0x10dd
jmp 0x140258467
mov rax, qword [0x140476790]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1402583e9
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x1402583b3
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x1402583b3
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.140256fa0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.140283dc0
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x140258348
mov qword [0x140476790], 0
call fcn.140257a00
nop
mov rax, qword [0x140476788]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140258450
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.140283dc0
nop
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x140258406
mov qword [0x140476788], 0
mov dword [0x140476778], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x14025ba30
Capabilities:
Hash data with md5

Disassembly:
mov r8, rcx
test rcx, rcx
je case.default.0x14025ba5d
mov rax, qword [rcx]
test rax, rax
je case.default.0x14025ba5d
mov eax, dword [rax + 8]
dec eax
cmp eax, 6
ja case.default.0x14025ba5d
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x25bab4]
add rcx, rdx
jmp rcx
mov rcx, qword [r8 + 8]
jmp 0x14025d520
mov rcx, qword [r8 + 8]
jmp 0x14025f730
mov rcx, qword [r8 + 8]
jmp 0x14025f730
mov rcx, qword [r8 + 8]
mov edx, 1
jmp fcn.1402621d0
mov rcx, qword [r8 + 8]
xor edx, edx
jmp fcn.1402621d0
mov rcx, qword [r8 + 8]
mov edx, 1
jmp fcn.140262f50
mov rcx, qword [r8 + 8]
xor edx, edx
jmp fcn.140262f50
mov eax, 0xffffaf00
ret
xor eax, eax
mov dword [rcx + 8], 0x67452301
mov qword [rcx], rax
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
ret
xor eax, eax
mov dword [rcx + 8], 0x67452301
mov qword [rcx], rax
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
mov dword [rcx + 0x18], 0xc3d2e1f0
ret

Function at 0x14025bb50
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r10d, r10d
mov r11, rcx
test r9, r9
je 0x14025bcb4
cmp r9, 8
jb 0x14025bc8d
lea rcx, [r9 - 1]
lea rax, [r8 - 1]
add rcx, r11
add rax, r9
cmp r11, rax
ja 0x14025bb89
cmp rcx, r8
jae 0x14025bc8d
lea rax, [rdx - 1]
add rax, r9
cmp r11, rax
ja 0x14025bb9e
cmp rcx, rdx
jae 0x14025bc8d
mov rcx, rdx
mov qword [rsp + 0x10], rbx
sub rcx, r8
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x14025bc47
mov rbx, r9
mov qword [rsp + 0x18], rsi
and ebx, 0x3f
mov rdi, r9
sub rdi, rbx
mov rsi, r11
lea rax, [r8 + 0x10]
sub rsi, r8
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rsi + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rcx + rax - 0x30]
movdqu xmm1, xmmword [rax - 0x30]
movdqu xmmword [rsi + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rcx + rax - 0x20]
movdqu xmm2, xmmword [rax - 0x20]
movdqu xmmword [rsi + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rsi + rax - 0x20], xmm2
cmp r10, rdi
jb 0x14025bbe0
mov rsi, qword [rsp + 0x18]
cmp rbx, 8
jb 0x14025bc7f
mov rbx, r9
and rbx, 0xfffffffffffffff8
mov rdi, r11
lea rax, [r10 + r8]
sub rdi, r8
nop dword [rax + rax]
movq xmm1, qword [rax + rcx]
add r10, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdi + rax - 8], xmm1
cmp r10, rbx
jb 0x14025bc60
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r10, r9
jae 0x14025bcb4
sub rdx, r8
lea rax, [r10 + r8]
sub r11, r8
sub r9, r10
nop word [rax + rax]
movzx ecx, byte [rax + rdx]
xor cl, byte [rax]
mov byte [r11 + rax], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x14025bca0
add rsp, 8
ret
Function at 0x1402621d0
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
cmp edx, 1
jbe 0x1402621db
mov eax, 0xffffff8c
ret
xor eax, eax
mov r8d, 0xc1059ed8
mov qword [rcx], rax
test edx, edx
mov eax, 0x6a09e667
cmovne eax, r8d
mov r8d, 0x367cd507
mov dword [rcx + 8], eax
mov eax, 0xbb67ae85
cmovne eax, r8d
mov r8d, 0x3070dd17
mov dword [rcx + 0xc], eax
mov eax, 0x3c6ef372
cmovne eax, r8d
mov r8d, 0xf70e5939
mov dword [rcx + 0x10], eax
mov eax, 0xa54ff53a
cmovne eax, r8d
mov r8d, 0xffc00b31
mov dword [rcx + 0x14], eax
mov eax, 0x510e527f
cmovne eax, r8d
mov r8d, 0x68581511
mov dword [rcx + 0x18], eax
mov eax, 0x9b05688c
cmovne eax, r8d
mov r8d, 0x64f98fa7
mov dword [rcx + 0x1c], eax
mov eax, 0x1f83d9ab
cmovne eax, r8d
mov r8d, 0xbefa4fa4
mov dword [rcx + 0x20], eax
mov eax, 0x5be0cd19
cmovne eax, r8d
mov dword [rcx + 0x24], eax
xor eax, eax
mov dword [rcx + 0x68], edx
ret
Function at 0x140262f50
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
cmp edx, 1
jbe 0x140262f5b
mov eax, 0xffffff8b
ret
xor eax, eax
movabs r8, 0xcbbb9d5dc1059ed8
mov qword [rcx], rax
test edx, edx
mov qword [rcx + 8], rax
movabs rax, 0x6a09e667f3bcc908
cmovne rax, r8
movabs r8, 0x629a292a367cd507
mov qword [rcx + 0x10], rax
movabs rax, 0xbb67ae8584caa73b
cmovne rax, r8
movabs r8, 0x9159015a3070dd17
mov qword [rcx + 0x18], rax
movabs rax, 0x3c6ef372fe94f82b
cmovne rax, r8
movabs r8, 0x152fecd8f70e5939
mov qword [rcx + 0x20], rax
movabs rax, 0xa54ff53a5f1d36f1
cmovne rax, r8
movabs r8, 0x67332667ffc00b31
mov qword [rcx + 0x28], rax
movabs rax, 0x510e527fade682d1
cmovne rax, r8
movabs r8, 0x8eb44a8768581511
mov qword [rcx + 0x30], rax
movabs rax, 0x9b05688c2b3e6c1f
cmovne rax, r8
movabs r8, 0xdb0c2e0d64f98fa7
mov qword [rcx + 0x38], rax
movabs rax, 0x1f83d9abfb41bd6b
cmovne rax, r8
movabs r8, 0x47b5481dbefa4fa4
mov qword [rcx + 0x40], rax
movabs rax, 0x5be0cd19137e2179
cmovne rax, r8
mov qword [rcx + 0x48], rax
xor eax, eax
mov dword [rcx + 0xd0], edx
ret

Function at 0x140263160
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov rdi, r8
mov rsi, rdx
call fcn.14025b770
test rax, rax
jne 0x140263197
mov eax, 0xffffbf80
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14025b0e0
Function at 0x140264b40
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x27]
sub rsp, 0xa8
mov rax, qword [0x140469080]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov edi, dword [rbp + 0x7f]
mov rbx, rcx
lea rcx, [rbp - 0x59]
mov r13, r9
mov r12, r8
mov r14, rdx
call fcn.14025b7f0
mov ecx, edi
call fcn.14025b770
mov rdi, rax
test rax, rax
jne 0x140264b95
mov eax, 0xffffbf80
jmp 0x140264d37
lea rcx, [rbp - 0x59]
mov qword [rsp + 0xe8], rsi
call fcn.14025b7f0
xor r8d, r8d
lea rcx, [rbp - 0x59]
mov rdx, rdi
call fcn.14025b800
mov esi, eax
test eax, eax
jne 0x140264d16
mov rcx, rdi
call fcn.14025b310
mov dword [rbp - 0x61], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
test r14, r14
je 0x140264d16
mov qword [rsp + 0xa0], r15
movzx r15d, al
cmp r14, r15
lea rcx, [rbp - 0x59]
mov rdi, r14
cmovae rdi, r15
call fcn.14025ba30
mov esi, eax
test eax, eax
jne 0x140264d0e
mov r8, r13
lea rcx, [rbp - 0x59]
mov rdx, r12
call fcn.14025bad0
mov esi, eax
test eax, eax
jne 0x140264d0e
mov r8d, 4
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x59]
call fcn.14025bad0
mov esi, eax
test eax, eax
jne 0x140264d0e
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x59]
call fcn.14025b1c0
mov esi, eax
test eax, eax
jne 0x140264d0e
xor ecx, ecx
test rdi, rdi
je 0x140264d02
cmp rdi, 0x40
jb 0x140264cf0
lea rdx, [rdi - 1]
add rdx, rbx
lea rax, [rbp + rdi - 0x32]
cmp rbx, rax
ja 0x140264c8b
lea rax, [rbp - 0x31]
cmp rdx, rax
jae 0x140264cf0
mov rax, rdi
and rax, 0xffffffffffffffc0
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rbp + rcx - 0x31]
xorps xmm1, xmm0
movdqu xmmword [rbx], xmm1
movdqu xmm0, xmmword [rbx + 0x10]
movdqu xmm1, xmmword [rbp + rcx - 0x21]
xorps xmm1, xmm0
movdqu xmmword [rbx + 0x10], xmm1
movdqu xmm0, xmmword [rbx + 0x20]
movdqu xmm1, xmmword [rbp + rcx - 0x11]
xorps xmm1, xmm0
movdqu xmmword [rbx + 0x20], xmm1
movdqu xmm0, xmmword [rbx + 0x30]
movdqu xmm1, xmmword [rbp + rcx - 1]
add rcx, 0x40
xorps xmm1, xmm0
movdqu xmmword [rbx + 0x30], xmm1
add rbx, 0x40
cmp rcx, rax
jb 0x140264c92
cmp rcx, rdi
jae 0x140264d02
nop
movzx eax, byte [rbp + rcx - 0x31]
inc rcx
xor byte [rbx], al
inc rbx
cmp rcx, rdi
jb 0x140264cf0
inc byte [rbp - 0x5e]
sub r14, rdi
jne 0x140264bf2
mov r15, qword [rsp + 0xa0]
mov edx, 0x40
lea rcx, [rbp - 0x31]
call fcn.14025c9a0
lea rcx, [rbp - 0x59]
call fcn.14025b240
mov eax, esi
mov rsi, qword [rsp + 0xe8]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140283da0
add rsp, 0xa8
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret