joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401266d0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14011ad28
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14011ad28
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140126820
cmp rax, 0xffffffffffffffff
je 0x140126820
xor edi, edi
test rbp, rbp
jle 0x1401267cb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140111f60
mov rbx, rax
test rax, rax
jne 0x140126758
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401267c1
mov edx, 0x8000
mov ecx, r14d
call fcn.14010f8ec
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140119780
cmp eax, 0xffffffff
je 0x1401267a1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140126768
mov edx, r15d
mov ecx, r14d
call fcn.14010f8ec
jmp 0x1401267c1
cmp byte [rsi + 0x38], dil
je 0x1401267b8
cmp dword [rsi + 0x34], 5
jne 0x1401267b8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1401267c1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140111fd8
jmp 0x140126834
jns 0x140126834
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14011ad28
cmp rax, 0xffffffffffffffff
jne 0x1401267ec
cmp byte [rsi + 0x30], dil
je 0x140126834
mov edi, dword [rsi + 0x2c]
jmp 0x140126834
mov ecx, r14d
call fcn.140116f8c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140126834
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140126834
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14012682d
mov eax, dword [rsi + 0x2c]
jmp 0x140126832
mov eax, SafeArrayCopy
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14011ad28
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140127840
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1401278b9
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1401278b9
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
cmp r9w, r11w
jae 0x1401278b9
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1401278ad
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1401278cb
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14012789b
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1401278bb
Function at 0x1401281d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401281f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401281f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001020
Capabilities:
Hash data using djb2

Disassembly:
xor eax, eax
test rcx, rcx
je 0x14000106c
mov r9, rcx
mov eax, 0x1505
mov r8b, byte [r9]
test rdx, rdx
jne 0x14000103e
test r8b, r8b
jne 0x140001053
jmp 0x14000106c
mov r10, r9
sub r10, rcx
cmp r10, rdx
jae 0x14000106c
test r8b, r8b
jne 0x140001053
inc r9
jmp 0x14000105d
cmp r8b, 0x60
jbe 0x14000105d
sub r8d, 0x20
imul eax, eax, 0x21
movzx r8d, r8b
inc r9
add eax, r8d
jmp 0x14000102f
ret

Function at 0x1400015b0
Capabilities:
Check os version
Parse pe header

Disassembly:
push rsi
push rbx
sub rsp, 0x28
cmp qword [rcx + 0x20], 0
mov rbx, rcx
je 0x1400015d2
cmp qword [rcx + 0x28], 0
je 0x1400015d2
cmp qword [rcx + 0x30], 0
jne 0x1400016b7
mov rax, qword [0x140004bf0]
mov edx, 0x38
lea rcx, [rax + 0x1e8]
call fcn.1400025e0
mov rax, qword gs:[0x60]
test rax, rax
je 0x140001682
cmp dword [rax + 0x118], 0xa
jne 0x140001682
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rsi, qword [rax + 0x20]
cmp word [rsi], 0x5a4d
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
jne 0x140001682
mov r8, rsi
mov rdx, rsi
lea rcx, str.___uNtdll:__p__Module__BaseAddress:__p_n
call fcn.1400026f4
mov rax, qword [rbx + 8]
lea rcx, str.___Module__ImgDosHdr__e_lfanew:__X_n
mov edx, dword [rax + 0x3c]
call fcn.1400026f4
mov rax, qword [rbx + 8]
lea rcx, str.___Module__ImgNtHdrs:__p_n
movsxd rdx, dword [rax + 0x3c]
add rdx, rsi
mov qword [rbx + 0x10], rdx
call fcn.1400026f4
mov rax, qword [rbx + 0x10]
mov edx, dword [rax]
cmp edx, 0x4550
je 0x140001686
mov r8d, 0x4550
lea rcx, str.____Mismatching_ImgNtHdrs__Signature:__X__expected__X_n
call fcn.1400026f4
xor eax, eax
jmp 0x1400016bc
mov eax, dword [rax + 0x88]
add rax, rsi
cmp dword [rax + 0x10], 0
mov qword [rbx + 0x18], rax
je 0x140001682
mov edx, dword [rax + 0x1c]
add rdx, rsi
mov qword [rbx + 0x20], rdx
mov edx, dword [rax + 0x20]
mov eax, dword [rax + 0x24]
add rdx, rsi
add rsi, rax
mov qword [rbx + 0x28], rdx
mov qword [rbx + 0x30], rsi
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x1400019f0
Capabilities:
Access peb ldr_data

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rbx, qword [rax + 0x10]
mov esi, ecx
lea rdi, [rax + 0x10]
cmp rbx, rdi
je 0x140001a33
movzx edx, word [rbx + 0x58]
mov rcx, qword [rbx + 0x60]
call fcn.140001020
cmp eax, esi
jne 0x140001a2e
mov rax, qword [rbx + 0x30]
jmp 0x140001a35
mov rbx, qword [rbx]
jmp 0x140001a12
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140001a3d
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140001a57
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
je 0x140001a57
xor eax, eax
ret
Function at 0x140001653
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov esi, dword [0x140234098]
test esi, esi
je 0x1400016d3
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
cmp rax, 1
ja 0x1400016c8
je 0x1400016c6
mov ebx, 1
lock xadd qword [0x140234078], rbx
test rbx, rbx
je 0x1400016e3
mov ecx, 0x10
mov edx, 8
call fcn.140085b23
mov rdi, rax
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
mov rbx, rax
mov ecx, esi
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
test rbx, rbx
je 0x1400016c8
mov rcx, rbx
call fcn.14007e9fc
jmp 0x1400016c8
xor edi, edi
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140234080]
call fcn.14012f090
mov esi, eax
jmp 0x140001666
lea rax, [0x1402a9df0]
lea rcx, [rsp + 0x20]
mov qword [rcx], rax
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], 8
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str.C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.9_srcutilpool.rsC:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.9_srcutilprefilter_byteset.rs
call fcn.14003f140
int3

Function at 0x140001ba1
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x140001e02
Capabilities:
Copy file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rdi, r9
mov rbx, r8
mov r8, rdx
mov rdx, rcx
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.140151190
mov rax, qword [rsi]
mov rsi, qword [rsi + 8]
mov rcx, rax
neg rcx
jo 0x140001e6f
movabs r15, 0x8000000000000000
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rcx
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.140151450
mov r14, qword [rsi]
mov rsi, qword [rsi + 8]
cmp r14, r15
jne 0x140001e8b
mov ebx, 1
mov rdi, rsi
mov rax, rbx
mov rdx, rdi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8, rdi
call fcn.140151190
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
cmp rax, r15
je 0x140001ed8
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], rcx
lea rcx, [rsp + 0x48]
call fcn.140151450
mov r12, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
cmp r12, r15
jne 0x140001ef4
mov rdi, rbx
mov ebx, 1
test r14, r14
je 0x140001e77
mov edx, 2
mov rcx, rsi
call fcn.140019a50
jmp 0x140001e77
lea r9, [rsp + 0x60]
and qword [r9], 0
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [0x14015a430]
mov rcx, rsi
mov rdx, rbx
call sub.kernel32.dll_CopyFileExW
test eax, eax
je 0x140001f4e
mov rdi, qword [rsp + 0x60]
test r12, r12
je 0x140001f35
mov edx, 2
mov rcx, rbx
call fcn.140019a50
test r14, r14
je 0x140001f47
mov edx, 2
mov rcx, rsi
call fcn.140019a50
xor ebx, ebx
jmp 0x140001e77
call sub.kernel32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
test r12, r12
je 0x140001edb
mov edx, 2
mov rcx, rbx
call fcn.140019a50
jmp 0x140001edb
Function at 0x1400090b3
Capabilities:
Get system information on windows

Disassembly:
mov edx, 0x10101
jmp fcn.14015fee6
Function at 0x14000b850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
sub rsp, 0x58
cmp byte [rcx + 0x79], 0
je 0x14000b863
xor esi, esi
jmp 0x14000ba0d
mov rdi, rcx
mov rsi, qword [rcx + 0x48]
mov r9, qword [rcx + 0x50]
test byte [rcx], 1
je 0x14000b89e
lea rdx, [rdi + 8]
mov rax, qword [rdi + 0x58]
cmp qword [rdi + 0x38], 0xffffffffffffffff
mov rcx, qword [rdi + 0x60]
je 0x14000b975
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x14000b984
cmp byte [rdi + 0x1a], 0
jne 0x14000b99b
mov r8, qword [rdi + 8]
mov al, byte [rdi + 0x18]
mov ecx, eax
xor cl, 1
mov byte [rdi + 0x18], cl
test r8, r8
je 0x14000b8d3
cmp r8, r9
jae 0x14000b8cd
cmp byte [rsi + r8], 0xbf
jg 0x14000b8d3
jmp 0x14000ba17
jne 0x14000ba17
cmp r8, r9
je 0x14000b993
movzx ecx, byte [rsi + r8]
test cl, cl
jns 0x14000b93c
mov edx, ecx
and edx, 0x1f
movzx r11d, byte [rsi + r8 + 1]
and r11d, 0x3f
cmp cl, 0xdf
jbe 0x14000b929
movzx r10d, byte [rsi + r8 + 2]
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
cmp cl, 0xf0
jb 0x14000b933
movzx ecx, byte [rsi + r8 + 3]
and edx, 7
shl edx, 0x12
shl r10d, 6
and ecx, 0x3f
or ecx, r10d
or ecx, edx
jmp 0x14000b93c
shl edx, 6
or edx, r11d
mov ecx, edx
jmp 0x14000b93c
shl edx, 0xc
or r10d, edx
mov ecx, r10d
test al, 1
jne 0x14000b99f
mov eax, 1
cmp ecx, 0x80
jb 0x14000b969
mov eax, 2
cmp ecx, 0x800
jb 0x14000b969
cmp ecx, 0x10000
mov eax, 4
sbb rax, 0
add r8, rax
mov qword [rdi + 8], r8
jmp 0x14000b8ac
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x40]
mov r8, rsi
call fcn.14000668e
jmp 0x14000b9b6
test al, 1
jne 0x14000b9a2
mov byte [rdi + 0x1a], 1
xor eax, eax
jmp 0x14000b9b1
mov r9, r8
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x50], r9
mov eax, 1
mov qword [rsp + 0x40], rax
test byte [rsp + 0x40], 1
je 0x14000b9d7
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x68]
sub rdx, rcx
add rsi, rcx
mov qword [rdi + 0x68], rax
jmp 0x14000ba0d
cmp byte [rdi + 0x79], 0
jne 0x14000b85c
mov byte [rdi + 0x79], 1
cmp byte [rdi + 0x78], 1
jne 0x14000b9f5
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
jmp 0x14000ba06
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
cmp rdx, rsi
je 0x14000b85c
sub rdx, rsi
add rsi, qword [rdi + 0x48]
mov rax, rsi
add rsp, 0x58
pop rdi
pop rsi
ret
lea rax, str._rustc_90b35a6239c3d8bdabc530a6a0816f7ff89a0aaflibrarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov rdx, r9
call fcn.140044550
int3
Function at 0x14000ebc4
Capabilities:
Encrypt data using dpapi

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rdx
mov rbx, rcx
mov eax, dword [rdx + 0x10]
mov rdi, qword [rdx + 8]
lea rcx, [rsp + 0x38]
mov dword [rcx], eax
lea r14, [rsp + 0x48]
and dword [r14], 0
mov qword [rcx + 8], rdi
and qword [r14 + 8], 0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x30], r14
and qword [rsp + 0x20], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.crypt32.dll_CryptUnprotectData
mov rax, qword [r14 + 8]
mov ecx, dword [r14]
mov qword [rbx], rcx
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rcx
mov rcx, qword [rsi]
mov rdx, rdi
call fcn.140173443
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140019870
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x78
lea rbp, [rsp + 0x70]
call fcn.140174cf0
lea rdx, [0x140130730]
xor ecx, ecx
call sub.kernel32.dll_AddVectoredExceptionHandler
mov dword [rbp - 0x48], 0x5000
lea rcx, [rbp - 0x48]
call sub.kernel32.dll_SetThreadStackGuarantee
call sub.kernel32.dll_GetCurrentThread
mov r8, qword [0x1402340f8]
lea rdx, [0x140310f58]
mov rcx, rax
call r8
mov ecx, dword [0x140354128]
test ecx, ecx
je 0x1400198c5
dec ecx
jmp 0x1400198d3
lea rcx, [0x140354110]
call fcn.14012f090
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x1400198e2
call fcn.1401308d0
mov rsi, rax
movzx eax, byte [0x140354188]
mov edx, 0x38
xor ecx, ecx
call fcn.1401574a0
test rax, rax
je 0x14001997a
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 0
mov qword [rax + 0x28], rsi
mov byte [rax + 0x30], 0
mov rcx, rax
call fcn.140130940
test rax, rax
jne 0x14001998b
lea rcx, [0x14000fce9]
call fcn.140002c63
mov eax, dword [0x14035406c]
cmp eax, 3
je 0x140019971
mov byte [rbp - 0x10], 1
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], rax
lea rax, str.std_src_rt.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x14035406c]
lea r9, [0x14030fe80]
lea r8, [rbp - 0x48]
xor edx, edx
call fcn.140130a40
xor eax, eax
add rsp, 0x78
pop rsi
pop rbp
ret
mov ecx, 8
mov edx, 0x38
call fcn.14003be7d
ud2
mov rsi, rax
mov qword [rbp - 0x18], rax
mov dword [rbp - 8], 0
mov byte [rbp - 4], 0
lea rax, str.fatal_runtime_error:_code_running_before_main_must_not_use_thread::current_n
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov rax, rbp
mov qword [rbp - 0x38], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 8]
lea rdx, [rbp - 0x48]
call fcn.14012f270
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x10]
call fcn.14012f380
mov ecx, 7
int 0x29
ud2
Function at 0x14001b656
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x1400469a5
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r9, r8
mov rax, rdx
not ecx
lea rdi, [0x140246f50]
mov ebx, 0xff
lea rsi, str.C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.4.2_src_baseline.rs
cmp r9, 0x40
jb 0x140046ad5
mov r14d, 4
sub r14, 1
jb 0x1400469ca
cmp r9, 0xf
jbe 0x140046b02
movzx edx, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
mov ebp, dword [rdi + r8*4 + 0x400]
xor ebp, dword [rdi + rdx*4]
movzx edx, byte [rax + 0xd]
xor ebp, dword [rdi + rdx*4 + 0x800]
movzx edx, byte [rax + 0xc]
xor ebp, dword [rdi + rdx*4 + 0xc00]
movzx edx, byte [rax + 0xb]
xor ebp, dword [rdi + rdx*4 + 0x1000]
movzx edx, byte [rax + 0xa]
xor ebp, dword [rdi + rdx*4 + 0x1400]
movzx edx, byte [rax + 9]
xor ebp, dword [rdi + rdx*4 + 0x1800]
movzx edx, byte [rax + 8]
xor ebp, dword [rdi + rdx*4 + 0x1c00]
movzx edx, byte [rax + 7]
xor ebp, dword [rdi + rdx*4 + 0x2000]
movzx edx, byte [rax + 6]
xor ebp, dword [rdi + rdx*4 + 0x2400]
movzx edx, byte [rax + 5]
xor ebp, dword [rdi + rdx*4 + 0x2800]
movzx edx, byte [rax + 4]
xor ebp, dword [rdi + rdx*4 + 0x2c00]
mov edx, ecx
shr edx, 0x18
movzx r8d, byte [rax + 3]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3000]
mov edx, ecx
shr edx, 0x10
and edx, ebx
movzx r8d, byte [rax + 2]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3400]
mov edx, ecx
shr edx, 8
and edx, ebx
movzx r8d, byte [rax + 1]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3800]
and ecx, ebx
movzx edx, byte [rax]
xor edx, ecx
xor ebp, dword [rdi + rdx*4 + 0x3c00]
mov rcx, rax
mov rdx, r9
mov r8, rsi
call fcn.140046fe9
mov r9, rdx
mov ecx, ebp
jmp 0x1400469da
xor edx, edx
cmp r9, rdx
je 0x140046af3
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x140046ad7
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.4.2_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.14003efaf
int3
Function at 0x140047a72
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, dword [0x140234240]
test esi, esi
je 0x140047b1c
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
cmp rax, 1
ja 0x140047b0f
je 0x140047b0d
test rbx, rbx
je 0x140047ab9
mov al, byte [rbx]
and qword [rbx], 0
test al, 1
je 0x140047ab9
mov r14, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
jmp 0x140047ac4
call fcn.140158b20
mov r14, rax
mov rbx, rdx
mov ecx, 8
mov edx, 0x18
call fcn.140163223
test rax, rax
je 0x140047b2f
mov rdi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov dword [rax + 0x10], esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
mov rbx, rax
mov ecx, esi
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
test rbx, rbx
je 0x140047b0f
mov edx, 8
mov rcx, rbx
call fcn.140019a50
jmp 0x140047b0f
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140234228]
call fcn.14012f090
mov esi, eax
jmp 0x140047a8e
mov ecx, 8
mov edx, 0x18
call fcn.14003be7d
int3
jmp 0x140047a72

Function at 0x140051b6a
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140051b90
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x140051b7a
mov qword [rcx], rax
ret

Function at 0x140051c78
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.140051b3f
test rbx, rbx
je 0x140051cb1
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140051b6a
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140051b62
Function at 0x14007b68b
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x2088
call fcn.140173b40
sub rsp, rax
mov rdi, rcx
mov esi, dword [0x140234020]
test esi, esi
je 0x14007b797
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
mov rbx, rax
cmp rax, 1
ja 0x14007b787
je 0x14007b785
test rdi, rdi
je 0x14007b6db
mov r14, qword [rdi]
and qword [rdi], 0
test r14, r14
jne 0x14007b74f
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14007b1a7
cmp dword [rdi], 1
je 0x14007b7aa
lea rdx, [rsp + 0x48]
lea rdi, [rsp + 0x1068]
mov r8d, 0x1020
mov rcx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, 0x1048
call fcn.140006e25
mov r14, rax
mov eax, 1
mov qword [r14], rax
mov qword [r14 + 8], rax
and qword [r14 + 0x10], 0
lea rcx, [r14 + 0x18]
mov r8d, 0x1020
mov rdx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov qword [r14 + 0x1038], 0x8000
and qword [r14 + 0x1040], 0
mov ecx, 0x10
call fcn.140006e25
mov rbx, rax
mov qword [rax], r14
mov dword [rax + 8], esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14007b787
mov rcx, rdi
call fcn.14007b16f
jmp 0x14007b787
xor ebx, ebx
mov rax, rbx
add rsp, 0x2088
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140234008]
call fcn.14012f090
mov esi, eax
jmp 0x14007b6b0
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x28]
mov qword [rcx], rax
lea rax, [rsp + 0x30]
mov qword [rax], rcx
lea rdx, str.No_entropy_available:
lea rcx, [rsp + 0x1068]
mov qword [rcx], rdx
mov edx, 1
mov qword [rcx + 8], rdx
and qword [rcx + 0x20], 0
lea r8, [fcn.140152540]
mov qword [rax + 8], r8
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
lea rdx, [0x1402a2930]
call fcn.14003f140
int3
Function at 0x14007c2e1
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call fcn.14007e2f5
test rax, rax
je 0x14007c319
mov edx, 4
mov rcx, rax
call fcn.140019a50
jmp 0x14007c352
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
lea rbx, [rsp + 0x70]
mov rcx, rbx
call fcn.14007b86e
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
and qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
jmp fcn.14007b8b0