joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001019
Capabilities:
Terminate process

Disassembly:
jmp 0x1400ef18c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.14000119a
test al, al
je 0x1400ef053
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.140001118
mov bl, al
mov ecx, dword [0x1400f6160]
cmp ecx, 1
je 0x1400ef05e
test ecx, ecx
jne 0x1400eef89
mov dword [0x1400f6160], 1
lea rdx, [0x1400f4660]
lea rcx, [0x1400f4330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1400eef6a
mov eax, 0xff
jmp 0x1400ef043
lea rdx, [0x1400f4220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x1400f6160], 2
jmp 0x1400eef91
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400011d6
call fcn.1400010eb
mov rbx, rax
cmp qword [rax], 0
je 0x1400eefc4
mov rcx, rax
call fcn.140001145
test al, al
je 0x1400eefc4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x1400f9010]
call fcn.140001113
mov rbx, rax
cmp qword [rax], 0
je 0x1400eefe6
mov rcx, rax
call fcn.140001145
test al, al
je 0x1400eefe6
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rdi, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov rbx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov r8, rax
mov rdx, rdi
mov ecx, dword [rbx]
call fcn.1400010b9
mov ebx, eax
call fcn.140001181
test al, al
je 0x1400ef068
test sil, sil
jne 0x1400ef01d
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.140001186
mov eax, ebx
jmp 0x1400ef043
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140001140
nop
mov ecx, 7
call fcn.140001140
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.1400011b3
add rsp, 0x28
jmp 0x1400eeefc

Function at 0x140001041
Capabilities:
Terminate process

Disassembly:
jmp 0x1400efea4
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140001145
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400ef728
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400ef7b6
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400ef7b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ef7b6
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400ef79d
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400ef797
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400ef79f
add rdx, 0x28
jmp 0x1400ef77c
xor edx, edx
test rdx, rdx
jne 0x1400ef7a8
xor al, al
jmp 0x1400ef7bc
cmp dword [rdx + 0x24], 0
jge 0x1400ef7b2
xor al, al
jmp 0x1400ef7bc
mov al, 1
jmp 0x1400ef7bc
xor al, al
jmp 0x1400ef7bc
add rsp, 0x18
ret

Function at 0x140001172
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
jmp 0x1400eecc0
xor r8d, r8d
mov r9d, edx
mov r10, rcx
test edx, edx
jle 0x1400eed14
lea r11, str.0XYnxL0Qey_m
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x2aaaaaab
lea r10, [r10 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
inc r8d
lea ecx, [rdx + rdx*2]
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
movzx eax, byte [rcx + r11]
xor byte [r10 - 1], al
cmp r8d, r9d
jl 0x1400eece0
mov eax, r9d
ret

Function at 0x140001181
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400efd18
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400efd63
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400efd63
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400efd63
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400efd63
cmp dword [rcx + 0x84], 0xe
jbe 0x1400efd63
cmp dword [rcx + 0xf8], 0
je 0x1400efd63
mov al, 1
jmp 0x1400efd65
xor al, al
add rsp, 0x28
ret
Function at 0x140001591
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x410], rcx
mov qword [rbp + 0x418], rdx
mov dword [rbp + 0x420], r8d
mov dword [rbp + 0x428], r9d
mov eax, dword [rbp + 0x420]
cdqe
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x3e0], rax
call fcn.1400059d0
mov rbx, rax
call fcn.140001c60
mov rcx, rax
mov rdx, qword [rbp + 0x418]
mov qword [rsp + 0x38], 0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov eax, dword [rbp + 0x428]
mov dword [rsp + 0x20], eax
mov r9, rdx
mov r8d, 0
mov rdx, rbx
call fcn.140001df0
mov ecx, 1
mov rax, qword [fcn.14032e5b0]
call rax
mov r9, rax
mov r8d, 4
mov edx, 1
lea rax, str.key
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov qword [rbp + 0x3e8], 0
jmp 0x140001686
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x3e8]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
mov edx, eax
lea rax, str._02hhx
mov rcx, rax
call fcn.140001540
add qword [rbp + 0x3e8], 1
cmp qword [rbp + 0x3e8], 0xf
jbe 0x140001659
mov ecx, 0xa
call sub.msvcrt.dll_putchar
lea rdx, [rbp - 0x40]
lea rax, [rbp - 0x30]
mov r8, rdx
mov edx, 0x10
mov rcx, rax
call fcn.14001c5a0
mov eax, dword [rbp + 0x420]
movsxd rdx, eax
mov rcx, qword [rbp + 0x3e0]
lea rax, [rbp - 0x30]
mov r9, rcx
mov r8, qword [rbp + 0x410]
mov rcx, rax
call fcn.14001bf00
mov rax, qword [rbp + 0x3e0]
add rsp, 0x478
pop rbx
pop rbp
ret

Function at 0x14000175f
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x170
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x100], rcx
mov dword [rbp - 0x60], 0x130
mov qword [rbp + 0xe8], 0
mov edx, 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0xe0], rax
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xe0]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x14000183c
jmp 0x140001824
lea rax, [rbp - 0x60]
add rax, 0x2c
mov rdx, qword [rbp + 0x100]
mov rcx, rax
call sub.msvcrt.dll__stricmp
test eax, eax
jne 0x140001824
mov eax, dword [rbp - 0x58]
mov r8d, eax
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xd8], 1
mov eax, dword [rbp - 0x58]
cmp eax, 0x64
jbe 0x140001811
mov eax, 0x2a
jmp 0x140001854
mov rax, qword [rbp + 0xd8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xe0]
mov rcx, rax
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x1400017bc
mov rax, qword [rbp + 0xe0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0x170
pop rbp
ret
Function at 0x14000185d
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov r8d, 0xa
mov edx, 0xbe
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_FindResourceA]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_LoadResource]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LockResource]
call rax
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 8]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SizeofResource]
call rax
mov dword [rbp - 0x1c], eax
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, [0x14033200c]
mov rdx, rax
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.msvcrt.dll__wfopen]
call rax
mov qword [rbp - 0x28], rax
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov edx, dword [rbp - 0x1c]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
mov r9, rcx
mov r8d, 1
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sub.msvcrt.dll_fclose
nop
add rsp, 0x50
pop rbp
ret

Function at 0x140001931
Capabilities:
Create process on windows

Disassembly:
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xc0], rcx
lea rax, [rbp + 0x30]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [rbp + 0x30], 0x68
lea rax, [rbp + 0x10]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0xe
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x60], 0x70
mov dword [rbp - 0x5c], 0x40
mov qword [rbp - 0x58], 0
mov rax, qword [rbp + 0xc0]
mov qword [rbp - 0x48], rax
lea rax, [0x140332012]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 0
mov dword [rbp - 0x30], 5
mov qword [rbp - 0x28], 0
lea rax, [rbp - 0x60]
mov rcx, rax
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteExW]
call rax
nop
add rsp, 0x128
pop rdi
pop rbp
ret
Function at 0x1400019f0
Capabilities:
Extract resource via kernel32 functions
Query environment variable

Disassembly:
push rbp
sub rsp, 0x890
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x820], ecx
mov qword [rbp + 0x828], rdx
call fcn.140320a80
mov r8d, 0
mov edx, 0
lea rax, str._TMP_.pgp.exe
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call rax
mov dword [rbp + 0x80c], eax
mov edx, dword [rbp + 0x80c]
lea rax, [rbp - 0x60]
mov r8d, edx
mov rdx, rax
lea rax, str._TMP_.pgp.exe
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call rax
mov dword [rbp + 0x808], eax
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.14000185d
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.140001931
mov ecx, 0xfa0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, str..pgp.exe
mov rcx, rax
call fcn.14000175f
cmp eax, 0x2a
jne 0x140001bbb
mov r8d, 0xa
mov edx, 0xb4
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_FindResourceA]
call rax
mov qword [rbp + 0x800], rax
mov rax, qword [rbp + 0x800]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_LoadResource]
call rax
mov qword [rbp + 0x7f8], rax
mov rax, qword [rbp + 0x7f8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LockResource]
call rax
mov qword [rbp + 0x7f0], rax
mov rax, qword [rbp + 0x800]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SizeofResource]
call rax
mov dword [rbp + 0x7ec], eax
mov r8d, 0xa
mov edx, 0xc4
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_FindResourceA]
call rax
mov qword [rbp + 0x7e0], rax
mov rax, qword [rbp + 0x7e0]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_LoadResource]
call rax
mov qword [rbp + 0x7d8], rax
mov rax, qword [rbp + 0x7d8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LockResource]
call rax
mov qword [rbp + 0x7d0], rax
mov rax, qword [rbp + 0x7e0]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SizeofResource]
call rax
mov dword [rbp + 0x7cc], eax
mov r8d, dword [rbp + 0x7cc]
mov ecx, dword [rbp + 0x7ec]
mov rdx, qword [rbp + 0x7d0]
mov rax, qword [rbp + 0x7f0]
mov r9d, r8d
mov r8d, ecx
mov rcx, rax
call fcn.140001591
mov qword [rbp + 0x7c0], rax
mov eax, 0
add rsp, 0x890
pop rbp
ret
Function at 0x140018830
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [rbx], eax
setne al
movzx eax, al
add rsp, 0x20
pop rbx
ret

Function at 0x140018850
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [r12]
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r13d
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x28
pop r12
pop r13
ret

Function at 0x140018890
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
setne al
movzx eax, al
add rsp, 0x28
ret
Function at 0x1400206d0
Capabilities:
Check for software breakpoints

Disassembly:
push r12
sub rsp, 0x20
mov eax, dword [rsp + 0x50]
mov r10, rcx
cmp eax, r9d
jne 0x1400207b8
movzx ecx, byte [r8]
lea edx, [rcx - 0x6a]
cmp dl, 1
ja 0x1400207b8
lea rdx, [r8 + 1]
lea r12d, [rax - 2]
cmp cl, 0x6b
je 0x140020728
movsxd rax, r12d
cmp byte [rdx + rax], 0xcc
jne 0x1400207f2
mov r8d, r12d
mov rcx, r10
call sub.msvcrt.dll_memcpy
mov eax, r12d
add rsp, 0x20
pop r12
ret
lea r12d, [rax - 3]
test r12d, r12d
jle 0x140020758
xor eax, eax
jmp 0x140020745
cmp cl, 0xbb
jne 0x140020770
add eax, 1
cmp r12d, eax
je 0x1400207b0
movzx ecx, byte [rdx]
add rdx, 1
cmp cl, 0xba
jne 0x140020738
sub r12d, eax
test eax, eax
jne 0x140020703
call fcn.1401106f0
lea r8, str.RSA_padding_check_X931
mov edx, 0x56
jmp 0x140020781
call fcn.1401106f0
lea r8, str.RSA_padding_check_X931
mov edx, 0x4e
lea rcx, str.crypto_rsa_rsa_x931.c
mov r12d, 0xffffffff
call fcn.140110820
xor r8d, r8d
mov edx, 0x8a
mov ecx, 4
call fcn.140110910
mov eax, r12d
add rsp, 0x20
pop r12
ret
xor r12d, r12d
jmp 0x140020703
call fcn.1401106f0
mov edx, 0x43
lea r8, str.RSA_padding_check_X931
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.140110820
xor r8d, r8d
mov edx, 0x89
mov ecx, 4
call fcn.140110910
mov r12d, 0xffffffff
jmp 0x14002071b
call fcn.1401106f0
mov edx, 0x5f
lea r8, str.RSA_padding_check_X931
lea rcx, str.crypto_rsa_rsa_x931.c
call fcn.140110820
xor r8d, r8d
mov edx, 0x8b
mov ecx, 4
call fcn.140110910
mov r12d, 0xffffffff
jmp 0x14002071b
Function at 0x140042520
Capabilities:
Hash data using sha512

Disassembly:
push rdi
movdqa xmm0, xmmword [0x140367a20]
movdqa xmm3, xmmword [0x140367a30]
movdqa xmm2, xmmword [0x140367a40]
movdqa xmm1, xmmword [0x140367a50]
lea rdi, [rcx + 0x48]
mov eax, ecx
mov r8, rcx
mov qword [rcx + 0x40], 0
mov qword [rcx + 0xe8], 0
and rdi, 0xfffffffffffffff8
sub eax, edi
lea ecx, [rax + 0xf0]
xor eax, eax
shr ecx, 3
rep stosq qword [rdi], rax
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm3
movups xmmword [r8 + 0x20], xmm2
movups xmmword [r8 + 0x30], xmm1
movzx eax, byte [rdx]
mov qword [r8 + 0xe8], rax
mov rax, rdx
not rax
add rax, r8
cmp rax, 0xe
jbe 0x1400425e0
movdqu xmm4, xmmword [rdx]
mov eax, 1
pxor xmm0, xmm4
movups xmmword [r8], xmm0
movdqu xmm0, xmmword [rdx + 0x10]
pxor xmm0, xmm3
movups xmmword [r8 + 0x10], xmm0
movdqu xmm0, xmmword [rdx + 0x20]
pxor xmm0, xmm2
movups xmmword [r8 + 0x20], xmm0
movdqu xmm0, xmmword [rdx + 0x30]
pxor xmm0, xmm1
movups xmmword [r8 + 0x30], xmm0
pop rdi
ret
movabs rax, 0x6a09e667f3bcc908
xor rax, qword [rdx]
mov qword [r8], rax
movabs rax, 0xbb67ae8584caa73b
xor rax, qword [rdx + 8]
mov qword [r8 + 8], rax
movabs rax, 0x3c6ef372fe94f82b
xor rax, qword [rdx + 0x10]
mov qword [r8 + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
xor rax, qword [rdx + 0x18]
mov qword [r8 + 0x18], rax
movabs rax, 0x510e527fade682d1
xor rax, qword [rdx + 0x20]
mov qword [r8 + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
xor rax, qword [rdx + 0x28]
mov qword [r8 + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
xor rax, qword [rdx + 0x30]
mov qword [r8 + 0x30], rax
movabs rax, 0x5be0cd19137e2179
xor rax, qword [rdx + 0x38]
mov qword [r8 + 0x38], rax
mov eax, 1
pop rdi
ret
Function at 0x140043f90
Capabilities:
Hash data using sha256

Disassembly:
push rdi
movdqa xmm0, xmmword [0x140367a60]
movdqa xmm1, xmmword [0x140367a70]
lea rdi, [rcx + 0x28]
mov eax, ecx
mov r8, rcx
mov qword [rcx + 0x20], 0
and rdi, 0xfffffffffffffff8
mov qword [rcx + 0x78], 0
sub eax, edi
lea ecx, [rax + 0x80]
xor eax, eax
shr ecx, 3
rep stosq qword [rdi], rax
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm1
movzx eax, byte [rdx]
mov qword [r8 + 0x78], rax
mov rax, rdx
not rax
add rax, r8
cmp rax, 0xe
jbe 0x140044010
movdqu xmm2, xmmword [rdx]
mov eax, 1
pxor xmm0, xmm2
movups xmmword [r8], xmm0
movdqu xmm0, xmmword [rdx + 0x10]
pxor xmm0, xmm1
movups xmmword [r8 + 0x10], xmm0
pop rdi
ret
mov eax, dword [rdx]
xor eax, 0x6a09e667
mov dword [r8], eax
mov eax, dword [rdx + 4]
xor eax, 0xbb67ae85
mov dword [r8 + 4], eax
mov eax, dword [rdx + 8]
xor eax, 0x3c6ef372
mov dword [r8 + 8], eax
mov eax, dword [rdx + 0xc]
xor eax, 0xa54ff53a
mov dword [r8 + 0xc], eax
mov eax, dword [rdx + 0x10]
xor eax, 0x510e527f
mov dword [r8 + 0x10], eax
mov eax, dword [rdx + 0x14]
xor eax, 0x9b05688c
mov dword [r8 + 0x14], eax
mov eax, dword [rdx + 0x18]
xor eax, 0x1f83d9ab
mov dword [r8 + 0x18], eax
mov eax, dword [rdx + 0x1c]
xor eax, 0x5be0cd19
mov dword [r8 + 0x1c], eax
mov eax, 1
pop rdi
ret
Function at 0x14007a940
Capabilities:
Generate random numbers via winapi

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x50
mov edx, 1
mov r12, rcx
call fcn.14001b6a0
mov rcx, r12
mov rdx, rax
mov r13, rax
call fcn.14001bc00
mov rbx, rax
test rax, rax
je 0x14007a9c0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000040
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14007aa40
xor r8d, r8d
xor r13d, r13d
mov rcx, r12
mov rdx, r13
call fcn.14001be60
mov rcx, r12
call fcn.14001b650
test rax, rax
je 0x14007a9c0
add rsp, 0x50
pop rbx
pop r12
pop r13
ret
mov edx, 1
mov rcx, r12
call fcn.14001b6a0
mov rcx, r12
mov rdx, rax
mov r13, rax
call fcn.14001bc00
mov rbx, rax
test rax, rax
je 0x14007aa2b
xor edx, edx
mov dword [rsp + 0x20], 0xf0000040
lea rcx, [rsp + 0x48]
mov r9d, 0x16
lea r8, str.Intel_Hardware_Cryptographic_Service_Provider
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14007aa90
xor r8d, r8d
xor r13d, r13d
mov rcx, r12
mov rdx, r13
call fcn.14001be60
mov rcx, r12
call fcn.14001b650
test rax, rax
jne 0x14007a9b0
mov rcx, r12
call fcn.14001b650
add rsp, 0x50
pop rbx
pop r12
pop r13
ret
mov rcx, qword [rsp + 0x48]
mov r8, rbx
mov edx, r13d
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x14007aa80
xor r8d, r8d
xor r13d, r13d
mov qword [rsp + 0x38], r8
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov r8, qword [rsp + 0x38]
jmp 0x14007a998
lea r8, [r13*8]
jmp 0x14007aa5b
mov rcx, qword [rsp + 0x48]
mov r8, rbx
mov edx, r13d
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x14007aad0
lea r8, [r13*8]
mov qword [rsp + 0x38], r8
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov r8, qword [rsp + 0x38]
jmp 0x14007aa13
xor r8d, r8d
xor r13d, r13d
jmp 0x14007aaad
Function at 0x14008ba80
Capabilities:
Encode data using xor

Disassembly:
xor eax, dword [r15]
xor ebx, dword [r15 + 4]
xor ecx, dword [r15 + 8]
xor edx, dword [r15 + 0xc]
mov r13d, dword [r15 + 0xf0]
sub r13d, 1
jmp 0x14008baa0
movzx esi, al
movzx edi, bl
movzx ebp, cl
mov r10d, dword [r14 + rsi*8]
mov r11d, dword [r14 + rdi*8]
mov r12d, dword [r14 + rbp*8]
movzx esi, bh
movzx edi, ch
movzx ebp, dl
xor r10d, dword [r14 + rsi*8 + 3]
xor r11d, dword [r14 + rdi*8 + 3]
mov r8d, dword [r14 + rbp*8]
movzx esi, dh
shr ecx, 0x10
movzx ebp, ah
xor r12d, dword [r14 + rsi*8 + 3]
shr edx, 0x10
xor r8d, dword [r14 + rbp*8 + 3]
shr ebx, 0x10
lea r15, [r15 + 0x10]
shr eax, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
xor r10d, dword [r14 + rsi*8 + 2]
xor r11d, dword [r14 + rdi*8 + 2]
xor r12d, dword [r14 + rbp*8 + 2]
movzx esi, dh
movzx edi, ah
movzx ebp, bl
xor r10d, dword [r14 + rsi*8 + 1]
xor r11d, dword [r14 + rdi*8 + 1]
xor r8d, dword [r14 + rbp*8 + 2]
mov edx, dword [r15 + 0xc]
movzx edi, bh
movzx ebp, ch
mov eax, dword [r15]
xor r12d, dword [r14 + rdi*8 + 1]
xor r8d, dword [r14 + rbp*8 + 1]
mov ebx, dword [r15 + 4]
mov ecx, dword [r15 + 8]
xor eax, r10d
xor ebx, r11d
xor ecx, r12d
xor edx, r8d
sub r13d, 1
jne 0x14008baa0
movzx esi, al
movzx edi, bl
movzx ebp, cl
movzx r10d, byte [r14 + rsi*8 + 2]
movzx r11d, byte [r14 + rdi*8 + 2]
movzx r12d, byte [r14 + rbp*8 + 2]
movzx esi, dl
movzx edi, bh
movzx ebp, ch
movzx r8d, byte [r14 + rsi*8 + 2]
mov edi, dword [r14 + rdi*8]
mov ebp, dword [r14 + rbp*8]
and edi, 0xff00
and ebp, 0xff00
xor r10d, edi
xor r11d, ebp
shr ecx, 0x10
movzx esi, dh
movzx edi, ah
shr edx, 0x10
mov esi, dword [r14 + rsi*8]
mov edi, dword [r14 + rdi*8]
and esi, 0xff00
and edi, 0xff00
shr ebx, 0x10
xor r12d, esi
xor r8d, edi
shr eax, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
mov esi, dword [r14 + rsi*8]
mov edi, dword [r14 + rdi*8]
mov ebp, dword [r14 + rbp*8]
and esi, 0xff0000
and edi, 0xff0000
and ebp, 0xff0000
xor r10d, esi
xor r11d, edi
xor r12d, ebp
movzx esi, bl
movzx edi, dh
movzx ebp, ah
mov esi, dword [r14 + rsi*8]
mov edi, dword [r14 + rdi*8 + 2]
mov ebp, dword [r14 + rbp*8 + 2]
and esi, 0xff0000
and edi, 0xff000000
and ebp, 0xff000000
xor r8d, esi
xor r10d, edi
xor r11d, ebp
movzx esi, bh
movzx edi, ch
mov edx, dword [r15 + 0x1c]
mov esi, dword [r14 + rsi*8 + 2]
mov edi, dword [r14 + rdi*8 + 2]
mov eax, dword [r15 + 0x10]
and esi, 0xff000000
and edi, 0xff000000
xor r12d, esi
xor r8d, edi
mov ebx, dword [r15 + 0x14]
mov ecx, dword [r15 + 0x18]
xor eax, r10d
xor ebx, r11d
xor ecx, r12d
xor edx, r8d
repz ret
Function at 0x14008bee0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
endbr64
mov rax, rsp
push rbx
push rbp
push r12
push r13
push r14
push r15
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14008d880]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.14008bc70
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi - 0x30]
mov r14, qword [rsi - 0x28]
mov r13, qword [rsi - 0x20]
mov r12, qword [rsi - 0x18]
mov rbp, qword [rsi - 0x10]
mov rbx, qword [rsi - 8]
lea rsp, [rsi]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret

Function at 0x14008beed
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
endbr64
mov rax, rsp
push rbx
push rbp
push r12
push r13
push r14
push r15
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14008d880]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.14008bc70
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi - 0x30]
mov r14, qword [rsi - 0x28]
mov r13, qword [rsi - 0x20]
mov r12, qword [rsi - 0x18]
mov rbp, qword [rsi - 0x10]
mov rbx, qword [rsi - 8]
lea rsp, [rsi]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret