joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400021d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x14000222c
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 eax, eax
jne 0x140002223
test rsi, rsi
je 0x140002223
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002208
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 0x140002440
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002478
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002480
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002450
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002478
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002480
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002460
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002478
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002480
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002580
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006720]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400025a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400025a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400025a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400025fd
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]
cmp rcx, r8
mov rdx, r8
jb 0x1400025f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400025a0
add rax, 0x28
cmp rax, r9
jne 0x1400025e0
xor eax, eax
ret

Function at 0x140002600
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006720]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000261f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002628
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000261f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400026c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006720]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400026df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400026e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400028a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r8d, 0x2c
mov ecx, 2
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x1400028d0
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140002d20
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x1400040e0], 0
je 0x140002d3f
mov edx, 1
jmp 0x140002e7e
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
xor edx, edx
mov rcx, qword [rax + 0x10]
xor eax, eax
mov r11, qword [rcx + 0x30]
test r11, r11
je 0x140002da3
movsxd rdx, dword [r11 + 0x3c]
mov edx, dword [r11 + rdx + 0x88]
test edx, edx
je 0x140002d9b
lea rax, [rdx + r11]
mov edx, dword [rax + 0xc]
add rdx, r11
mov r8d, dword [rdx]
or r8d, 0x20202020
cmp r8d, 0x6c64746e
jne 0x140002d9b
mov edx, dword [rdx + 4]
or edx, 0x20202020
cmp edx, 0x6c642e6c
je 0x140002da6
mov rcx, qword [rcx]
mov rdx, r11
jmp 0x140002d54
mov r11, rdx
xor edx, edx
test rax, rax
je 0x140002e7e
mov ebp, dword [rax + 0x1c]
lea r13, [0x1400040e4]
xor r10d, r10d
mov esi, dword [rax + 0x24]
mov edx, dword [rax + 0x18]
mov eax, dword [rax + 0x20]
add rbp, r11
add rsi, r11
lea ebx, [rdx - 1]
add rax, r11
lea rdi, [rax + rbx*4]
add rbx, rbx
add rbx, rsi
mov ecx, dword [rdi]
add rcx, r11
cmp word [rcx], 0x775a
jne 0x140002e12
mov eax, r10d
inc r10d
lea r12, [r13 + rax*8]
call fcn.140002cf0
cmp r10d, 0x1f4
mov dword [r12], eax
movzx eax, word [rbx]
mov eax, dword [rbp + rax*4]
mov dword [r12 + 4], eax
je 0x140002e24
lea rax, [rbx - 2]
sub rdi, 4
cmp rsi, rbx
je 0x140002e24
mov rbx, rax
jmp 0x140002ddd
mov dword [0x1400040e0], r10d
lea r11, [0x1400040e4]
dec r10d
test r10d, r10d
je 0x140002d35
lea rax, [0x1400040e0]
xor edx, edx
lea ecx, [rdx + 1]
mov r8d, dword [rax + 8]
mov rdx, rcx
lea rcx, [r11 + rcx*8]
mov r9d, dword [rcx + 4]
cmp r9d, r8d
jae 0x140002e70
mov ebx, dword [rax + 4]
mov esi, dword [rcx]
mov dword [rax + 8], r9d
mov dword [rax + 4], esi
mov dword [rcx], ebx
mov dword [rcx + 4], r8d
add rax, 8
cmp edx, r10d
jb 0x140002e47
dec r10d
jmp 0x140002e35
mov eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140003030
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x250
mov rbx, qword [0x1400067f0]
lea rsi, section..rdata
mov rax, qword [rbx]
mov qword [rsp + 0x248], rax
xor eax, eax
lea rdi, [rsp + 0x28]
mov r9, rcx
mov ecx, 8
rep movsd dword [rdi], dword [rsi]
lea r10, [rsp + 0x148]
mov r11, rdx
lea rbp, [rsp + 0x48]
mov rdx, rax
mov byte [rax + r10], al
inc rax
and edx, 0x1f
mov dl, byte [rsp + rdx + 0x28]
mov byte [rax + rbp - 1], dl
cmp rax, 0x100
jne 0x14000307b
mov r12, r10
xor esi, esi
xor r13d, r13d
mov edi, 0x100
movzx eax, byte [r12]
movzx edx, byte [rbp + rsi]
inc rsi
add eax, r13d
add eax, edx
cdq
idiv edi
movsxd rcx, edx
mov rdx, r12
inc r12
mov r13, rcx
add rcx, r10
call fcn.140002fb0
cmp rsi, 0x100
jne 0x1400030a5
lea rdi, [r9 + r11]
xor ebp, ebp
xor r12d, r12d
cmp rdi, r9
je 0x140003135
lea eax, [rbp + 1]
cdq
idiv esi
movsxd r13, edx
movzx eax, byte [rsp + r13 + 0x148]
lea rcx, [r10 + r13]
mov rbp, r13
add eax, r12d
cdq
idiv esi
movsxd r14, edx
lea rdx, [r10 + r14]
mov r12, r14
call fcn.140002fb0
mov cl, byte [rsp + r14 + 0x148]
add cl, byte [rsp + r13 + 0x148]
movzx ecx, cl
mov al, byte [rsp + rcx + 0x148]
xor byte [r9], al
inc r9
jmp 0x1400030e0
mov rax, qword [rsp + 0x248]
sub rax, qword [rbx]
je 0x140003147
call fcn.1400028a0
mov rax, r11
add rsp, 0x250
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140880058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408801df
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 0x140880089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14088006f
add dl, dl
jne 0x140880096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408800f6
xor eax, eax
add dl, dl
jne 0x1408800a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408801ad
add dl, dl
jne 0x1408800b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408800c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408800d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408800dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408800ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14088007e
mov eax, 1
add dl, dl
jne 0x140880106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140880113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408800fb
sub eax, ebx
mov ebx, 1
jne 0x14088014c
mov ecx, 1
add dl, dl
jne 0x14088012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14088013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140880123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14088007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140880168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140880175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14088015d
cmp eax, 0x7d00
jae 0x14088019b
cmp eax, 0x500
jb 0x140880196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14088007e
cmp eax, 0x7f
ja 0x14088019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14088007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408801d2
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 0x14088007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140005840
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rsi, rcx
cmp byte [rcx + 0x38], 0
je 0x140005863
movzx eax, byte [rsi + 0x39]
cmp al, 0x3a
jbe 0x140005913
jmp 0x140005991
mov byte [rsp + 0x4f], 0
mov rdi, qword [rsi + 0x18]
movups xmm0, xmmword [0x1400e9fd0]
movaps xmmword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x4f]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 1
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x1400058c6
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
je 0x140005952
cmp eax, 0x103
je 0x14000599c
test eax, eax
js 0x14000593d
cmp qword [rsp + 0x68], 0
je 0x140005952
movzx eax, byte [rsp + 0x4f]
mov rcx, qword [rsi + 0x28]
inc rcx
cmp al, 0xa
jne 0x140005904
add qword [rsi + 0x30], rcx
inc qword [rsi + 0x20]
mov al, 0xa
xor ecx, ecx
mov qword [rsi + 0x28], rcx
mov byte [rsi + 0x38], 1
mov byte [rsi + 0x39], al
cmp al, 0x3a
ja 0x140005991
movzx eax, al
movabs rcx, 0x100002600
bt rcx, rax
jae 0x14000592f
mov byte [rsi + 0x38], 0
jmp 0x140005863
cmp rax, 0x3a
jne 0x140005991
mov byte [rsi + 0x38], 0
xor eax, eax
jmp 0x14000596d
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edi, eax
mov ecx, eax
call fcn.14007cc10
cmp al, 0xb
jne 0x140005978
mov qword [rsp + 0x78], 3
mov rdx, qword [rsi + 0x20]
mov r8, qword [rsi + 0x28]
lea rcx, [rsp + 0x78]
call fcn.1400adb90
nop
add rsp, 0xa8
pop rdi
pop rsi
ret
shl rdi, 0x20
or rdi, 2
mov rcx, rdi
add rsp, 0xa8
pop rdi
pop rsi
jmp fcn.1400adc10
mov qword [rsp + 0x78], 6
jmp 0x14000595b
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x1400ea038]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14007ab50
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14007a190
mov ecx, 7
int 0x29
ud2
Function at 0x140008000
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 0x140008690
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1400086c5
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400086ca
call fcn.140090c60
mov ecx, dword [0x1400f92c4]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov qword [rcx + 0xf8], 1
mov qword [rcx + 0x100], rax
mov qword [rcx + 0x108], rdx
add rsp, 0x38
ret
Function at 0x140009d70
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm6
mov rsi, rcx
lea rdi, [rcx + 0x28]
movzx r14d, byte [rcx + 0x68]
mov rax, qword [rcx + 0x20]
shl rax, 9
lea rbx, [r14*8]
or rbx, rax
mov byte [rcx + r14 + 0x28], 0x80
mov r8, r14
xor r8, 0x3f
je 0x140009dc2
lea rcx, [r14 + rdi]
inc rcx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
bswap rbx
xor r14d, 0x38
cmp r14d, 8
jae 0x140009e10
mov r8d, 1
mov rcx, rsi
mov rdx, rdi
call fcn.140076780
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], rbx
lea rdx, [rsp + 0x20]
mov r8d, 1
mov rcx, rsi
jmp 0x140009e20
mov qword [rsi + 0x60], rbx
mov r8d, 1
mov rcx, rsi
mov rdx, rdi
call fcn.140076780
movdqu xmm6, xmmword [rsi]
movdqu xmm7, xmmword [rsi + 0x10]
movaps xmm0, xmmword [0x1400b05c0]
movups xmmword [rsi], xmm0
movdqa xmm0, xmmword [0x1400b05d0]
movdqu xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x20], 0
mov byte [rsi + 0x68], 0
movzx eax, byte [0x1400f92c0]
mov rcx, qword [0x1400f91f8]
test rcx, rcx
jne 0x140009e7d
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140009f01
mov rcx, rax
mov qword [0x1400f91f8], rax
mov r8d, 0x20
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140009f01
pxor xmm0, xmm0
movdqa xmm1, xmm7
punpckhbw xmm1, xmm0
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
punpcklbw xmm7, xmm0
pshuflw xmm2, xmm7, 0x1b
pshufhw xmm2, xmm2, 0x1b
packuswb xmm2, xmm1
movdqa xmm1, xmm6
punpckhbw xmm1, xmm0
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
punpcklbw xmm6, xmm0
pshuflw xmm0, xmm6, 0x1b
pshufhw xmm0, xmm0, 0x1b
packuswb xmm0, xmm1
movdqu xmmword [rax], xmm0
movdqu xmmword [rax + 0x10], xmm2
mov edx, 0x20
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 1
mov edx, 0x20
call fcn.1400a9e00
ud2
Function at 0x14000b7d0
Capabilities:
Terminate process

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, qword [rcx]
cmp rbx, 2
je 0x14000b91a
mov rsi, rcx
cmp byte [rcx + 0x60], 0
je 0x14000b86d
mov rdi, qword [rsi + 0x30]
mov rcx, rdi
mov edx, 1
call qword [sym.imp.kernel32.dll_TerminateProcess]
test eax, eax
je 0x14000b80b
mov byte [rsi + 0x60], 0
jmp 0x14000b86d
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 5
jne 0x14000b86d
mov rcx, rdi
xor edx, edx
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b82e
cmp eax, 0x102
je 0x14000b805
jmp 0x14000b848
mov dword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000b805
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x30]
call fcn.14007a090
mov rcx, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x38]
mov r14, qword [sym.imp.kernel32.dll_CloseHandle]
call r14
mov rcx, rdi
call r14
test rbx, rbx
je 0x14000b894
mov rcx, qword [rsi + 8]
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp qword [rsi + 0x10], 0
je 0x14000b8a5
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp qword [rsi + 0x20], 0
je 0x14000b8b6
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp qword [rsi + 0x40], 0
je 0x14000b91a
mov rcx, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x58]
call fcn.14009a480
mov rdi, qword [rsi + 0x48]
test rdi, rdi
je 0x14000b91a
mov rax, qword [rdi + 0x30]
nop word [rax + rax]
mov rcx, rax
or rcx, 4
lock cmpxchg qword [rdi + 0x30], rcx
jne 0x14000b8e0
and eax, 0xa
cmp eax, 8
jne 0x14000b902
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
call qword [rax + 0x10]
lock dec qword [rdi]
jne 0x14000b91a
mov rcx, qword [rsi + 0x48]
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14000fca0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140016600
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rdx + 0x10]
movups xmm0, xmmword [rdx]
mov r9d, dword [rdx + 0xc]
add r9d, eax
bswap r9d
movd xmm1, r9d
shufps xmm1, xmm0, 0xe4
shufps xmm0, xmm1, 0x24
xorps xmm0, xmmword [rcx]
aesenc xmm0, xmmword [rcx + 0x10]
aesenc xmm0, xmmword [rcx + 0x20]
aesenc xmm0, xmmword [rcx + 0x30]
aesenc xmm0, xmmword [rcx + 0x40]
aesenc xmm0, xmmword [rcx + 0x50]
aesenc xmm0, xmmword [rcx + 0x60]
aesenc xmm0, xmmword [rcx + 0x70]
aesenc xmm0, xmmword [rcx + 0x80]
aesenc xmm0, xmmword [rcx + 0x90]
aesenc xmm0, xmmword [rcx + 0xa0]
aesenc xmm0, xmmword [rcx + 0xb0]
inc eax
aesenc xmm0, xmmword [rcx + 0xc0]
mov dword [rdx + 0x10], eax
aesenc xmm0, xmmword [rcx + 0xd0]
aesenclast xmm0, xmmword [rcx + 0xe0]
movdqu xmmword [r8], xmm0
ret

Function at 0x1400166a0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400166e2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x1400166ea
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400166fb
jmp 0x140016712
xor r10d, r10d
jmp 0x14001679d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140016712
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140016729
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140016749
add r11, r8
jmp 0x14001687a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140016812
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
Function at 0x14001c600
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe88
movdqa xmmword [rsp + 0xe70], xmm15
movdqa xmmword [rsp + 0xe60], xmm14
movdqa xmmword [rsp + 0xe50], xmm13
jg 0x14001c5d8
and al, 0x50
invalid
add byte [rax], al
movdqa xmmword [rsp + 0xe40], xmm12
movdqa xmmword [rsp + 0xe30], xmm11
and al, 0x30
invalid
add byte [rax], al
movdqa xmmword [rsp + 0xe20], xmm10
movdqa xmmword [rsp + 0xe10], xmm9
movdqa xmmword [rsp + 0xe00], xmm8
movdqa xmmword [rsp + 0xdf0], xmm7
movdqa xmmword [rsp + 0xde0], xmm6
mov rbx, r9
mov rax, r8
mov rdi, rcx
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0xb8], r8
mov qword [rsp + 0x68], 1
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0xa00], 0
movdqu xmmword [rsp + 0xa08], xmm0
movq qword [rsp + 0xa08], mm0
Function at 0x140040240
Capabilities:
Encrypt data using aes via x86 extensions

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

Function at 0x140045070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
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 0x140045100
cmp r11, r10
ja 0x140045176
cmp r10, rdx
ja 0x14004518a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140045102
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400450e0
jmp 0x140045164
ja 0x14004510a
mov r11, r10
cmp rax, r8
jne 0x1400450a4
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 0x140045140
mov rdi, r8
sub ecx, edx
jns 0x14004515b
jmp 0x140045166
cmp r8, rsi
je 0x14004519b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140045166
xor al, 1
cmp rdi, rsi
jne 0x140045120
jmp 0x140045166
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400aa2f0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400aa020
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Userswilliamcanin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.6_srcwin.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400aa0a0
ud2