joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060d80
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov rax, qword [0x1400ae100]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r14d, r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
cmp qword [rdx + 0x10], r14
je 0x140060f22
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140060f18
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x8c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140060e32
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x28]
call fcn.14004ec70
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140060e5c
mov rax, qword [rsi]
lea r8, [rsp + 0x28]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x40]
cmp r10, 7
cmova r8, r9
mov rdx, qword [rsp + 0x38]
cmp rdx, qword [rsi + 0x10]
jne 0x140060e9e
test rdx, rdx
je 0x140060e9a
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x140060e9e
add rax, 2
sub rdx, 1
jne 0x140060e86
mov bl, 1
jmp 0x140060ea0
xor bl, bl
cmp r10, 7
jbe 0x140060edb
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140060ed3
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060f55
mov rcx, r9
call fcn.14006e39c
test bl, bl
je 0x140060f03
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140060ef6
mov eax, dword [rsp + 0x68]
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x140060f03
lea r8, [rsp + 0x68]
mov rcx, rdi
call fcn.14004eda0
lea rdx, [rsp + 0x60]
mov rcx, rbp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140060e11
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rsi
call fcn.140061bd0
mov rax, rdi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14006e7a0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3
Function at 0x140061c70
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x40
mov rcx, qword [0x1400ae890]
xor esi, esi
mov eax, dword [0x1400ae81c]
mov dword [0x1400ae818], eax
test rcx, rcx
jne 0x140061e1a
mov rax, qword gs:[0x60]
mov r11d, 0xf4d8b55
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov ebp, esi
mov qword [rsp + 0x38], rdi
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov r12, qword [rcx + 0x10]
mov rdi, r12
nop
movups xmm0, xmmword [rdi + 0x58]
movd eax, xmm0
sub ax, 8
test ebp, ebp
je 0x140061d1c
psrldq xmm0, 8
mov edx, 0x811c9dc5
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140061d14
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140061d00
cmp edx, ebp
jne 0x140061de3
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov r10d, ecx
shr r15, 0x20
add r10, r9
cmp r10, r9
je 0x140061de3
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x140061de3
mov r14d, dword [r10 + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r14 + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140061d97
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140061d80
cmp edx, r11d
je 0x140061da3
test r8d, r8d
jne 0x140061d60
jmp 0x140061de3
mov eax, dword [r10 + 0x24]
mov ecx, dword [r10 + 0x1c]
add rax, r9
add rcx, r9
movzx eax, word [rax + r8*2]
mov ecx, dword [rcx + rax*4]
add rcx, r9
cmp rcx, r10
jbe 0x140061df5
lea rax, [r15 + r10]
cmp rcx, rax
jae 0x140061df5
mov ebp, 0x811c9dc5
mov rdi, r12
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], ebp
mov r11, qword [rsp + 0x50]
shr r11, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r12
jne 0x140061cd0
mov rcx, rsi
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov qword [0x1400ae890], rcx
call rcx
mov ecx, dword [0x1400ae818]
mov dword [0x1400ae81c], eax
test ecx, ecx
je 0x140061eb8
sub eax, ecx
cmp eax, 0x1770
jbe 0x140061eb8
mov byte [rsp + 0x50], 0xe4
mov r9d, 0xf
mov byte [rsp + 0x51], 0xd4
movabs r8, 0xb52d2473763273b5
mov byte [rsp + 0x52], 0xd9
mov byte [rsp + 0x53], 0xda
mov byte [rsp + 0x54], 0xbb
movzx eax, byte [rsp + 0x50]
nop dword [rax + rax]
movzx eax, byte [rsp + rsi + 0x50]
mov rcx, rsi
and ecx, r9d
mov rdx, r8
cmp rcx, r9
cmovae rcx, r9
shl cl, 2
shr rdx, cl
and dl, r9b
xor dl, al
lea eax, [rsi - 0x4b]
xor dl, al
mov byte [rsp + rsi + 0x50], dl
inc rsi
cmp rsi, 5
jb 0x140061e70
lea rcx, [rsp + 0x50]
call fcn.140064fe0
mov qword [0], 1
xor eax, eax
add rsp, 0x40
pop rsi
ret
Function at 0x140064dd0
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400ae8d0]
test rax, rax
jne 0x140064fb5
xor r10d, r10d
mov dword [rsp + 0x28], r10d
mov eax, 0xfaba0065
mov dword [rsp + 0x24], eax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov r11, qword [rcx + 0x10]
mov qword [rsp + 0x48], r11
mov r15, r11
mov qword [rsp + 0x50], r11
mov rcx, r11
nop dword [rax + rax]
movups xmm0, xmmword [rcx + 0x58]
movups xmmword [rsp + 0x58], xmm0
movd ecx, xmm0
sub cx, 8
mov word [rsp + 0x58], cx
test r10d, r10d
je 0x140064e86
mov rdx, qword [rsp + 0x60]
movzx ecx, cx
shr rcx, 1
lea r9, [rdx + rcx*2]
mov r8d, 0x811c9dc5
mov qword [rsp + 0x38], rdx
cmp rdx, r9
je 0x140064e7d
movsx ecx, byte [rdx]
xor ecx, r8d
imul r8d, ecx, 0x1000193
add rdx, 2
jmp 0x140064e60
cmp r8d, r10d
jne 0x140064f95
mov rbx, qword [r11 + 0x30]
mov qword [rsp + 0x68], rbx
movsxd rcx, dword [rbx + 0x3c]
mov r14, qword [rcx + rbx + 0x88]
mov qword [rsp + 0xa8], r14
mov r9d, r14d
add r9, rbx
mov qword [rsp + 0x70], r9
shr r14, 0x20
mov dword [rsp + 0x78], r14d
cmp r9, rbx
je 0x140064f95
mov edi, dword [r9 + 0x18]
mov dword [rsp + 0x20], edi
nop dword [rax + rax]
mov ecx, edi
dec edi
mov dword [rsp + 0x20], edi
test ecx, ecx
je 0x140064f95
mov edx, dword [r9 + 0x20]
add rdx, rbx
mov r8d, dword [rdx + rdi*4]
add r8, rbx
mov qword [rsp + 0x40], r8
mov edx, 0x811c9dc5
nop dword [rax + rax]
movsx ecx, byte [r8]
inc r8
mov qword [rsp + 0x40], r8
test cl, cl
jne 0x140064f88
cmp edx, eax
jne 0x140064f83
mov ecx, dword [r9 + 0x1c]
add rcx, rbx
mov eax, dword [r9 + 0x24]
add rax, rbx
movzx eax, word [rax + rdi*2]
mov edx, dword [rcx + rax*4]
add rdx, rbx
cmp rdx, r9
jbe 0x140064fab
lea rax, [r9 + r14]
cmp rdx, rax
jae 0x140064fab
mov r10d, 0x811c9dc5
mov dword [rsp + 0xa0], r10d
mov eax, r10d
mov dword [rsp + 0xa4], eax
mov qword [rsp + 0x30], rdx
cmp byte [rdx], 0x2e
je 0x140064f61
inc rdx
jmp 0x140064f52
inc rdx
mov qword [rsp + 0x30], rdx
cmp byte [rdx], 0
je 0x140064f70
jmp 0x140064f61
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], r10d
mov r11, r15
mov qword [rsp + 0x48], r15
jmp 0x140064f95
jmp 0x140064ed0
xor ecx, edx
imul edx, ecx, 0x1000193
jmp 0x140064f00
mov r11, qword [r11]
mov rcx, r11
mov qword [rsp + 0x48], r11
cmp r11, r15
jne 0x140064e30
xor edx, edx
mov qword [0x1400ae8d0], rdx
mov rax, rdx
mov ecx, 0x13333337
call rax
jmp 0x140064fc0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140064fe0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x30
mov r9, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rbx, rcx
mov byte [rax - 0x18], 0x95
xor r8d, r8d
mov byte [rax - 0x17], 0x83
mov r11d, 0xf
mov byte [rax - 0x16], 0x87
movabs r10, 0x2116971ad2a95afd
mov byte [rax - 0x15], 0x6a
mov byte [rax - 0x14], 0x7a
mov byte [rax - 0x13], 0x28
mov byte [rax - 0x12], 0x3b
mov byte [rax - 0x11], 0x29
mov byte [rax - 0x10], 0xf
movzx eax, byte [rax - 0x18]
movzx eax, byte [rsp + r8 + 0x20]
mov rcx, r8
and ecx, r11d
mov rdx, r10
cmp rcx, r11
cmovae rcx, r11
shl cl, 2
shr rdx, cl
and dl, r11b
xor dl, al
lea eax, [r8 - 3]
xor dl, al
mov byte [rsp + r8 + 0x20], dl
inc r8
cmp r8, 9
jb 0x140065031
lea rdx, [rsp + 0x20]
mov rcx, r9
call fcn.14004e440
mov rcx, rax
mov rdx, rbx
call fcn.14004e440
lea rdx, [0x14004f790]
mov rcx, rax
call qword [sym.imp.MSVCP140.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]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140065117
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140065117
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140065112
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400650f0
cmp r8d, 0x2fa62ca8
je 0x14006511c
test r9d, r9d
jne 0x1400650d0
mov rax, qword [rax]
jmp 0x1400650a0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 0xbb8
add rax, r10
call rax
mov rbx, qword [rsp + 0x40]
mov qword [0], 1
add rsp, 0x30
pop rdi
ret
Function at 0x140065d20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1400ae100]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140065d95
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x140065dc5
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140065d72
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14006e7a0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov dword [rsi + 8], eax
jmp 0x140065da0
Function at 0x14006f198
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006f1e2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006f1e2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006f1e2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006f1e2
cmp dword [rcx + 0x84], 0xe
jbe 0x14006f1e2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006f1e4
xor al, al
add rsp, 0x28
ret
Function at 0x1400013ee
Capabilities:
Encrypt data using aes via x86 extensions

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

Function at 0x140008310
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 0x140008390
cmp r11, r10
ja 0x140008407
cmp r10, rdx
ja 0x140008419
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140008392
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140008370
jmp 0x1400083f4
ja 0x14000839a
mov r11, r10
cmp rax, r8
jne 0x14000833e
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 0x1400083d0
mov rdi, r8
sub ecx, edx
jns 0x1400083eb
jmp 0x1400083f6
cmp r8, rsi
je 0x140008428
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400083f6
xor al, 1
cmp rdi, rsi
jne 0x1400083b0
jmp 0x1400083f6
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.140021f90
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140021cb0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140022000
int3
Function at 0x140009d02
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.14000c20e
test rax, rax
je 0x140009d3a
mov edx, 4
mov rcx, rax
call fcn.140004600
jmp 0x140009d73
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.14000929e
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.1400092e0
Function at 0x14000c20e
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 0x14000c29c
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 0x14000c23b
mov ebx, eax
mov rcx, r14
mov edx, r15d
call rsi
test al, al
jne 0x14000c23b
and ebx, 0x7fffffff
je 0x14000c29c
mov al, byte [0x14002d1f8]
mov ecx, 4
call fcn.14001ab60
test rax, rax
je 0x14000c2af
mov dword [rax], ebx
jmp 0x14000c29e
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.140021ad0
int3

Function at 0x14000faf0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000fb15
cmp rax, rcx
je 0x14000fb1b
cmp rdx, 4
jae 0x14000fb22
xor eax, eax
xor r8d, r8d
jmp 0x14000fbc0
pop rbp
jmp fcn.1400059a0
xor eax, eax
jmp 0x14000fbd7
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400233e0]
movdqa xmm3, xmmword [0x1400233f0]
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 0x14000fb50
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000fbd7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000fbc0
pop rbp
ret
Function at 0x140013820
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140027008]
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 0x140013891
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1400138be
test eax, eax
js 0x14001389d
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1400138b4
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, [0x140027068]
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.140013080
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140013140
mov ecx, 7
int 0x29
ud2

Function at 0x140017170
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 0x1400184b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
in al, dx
push 0x246c8d48
invalid
mov rsi, r9
mov rdi, r8
Function at 0x140021590
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400215da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400215da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400215da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400215da
cmp dword [rcx + 0x84], 0xe
jbe 0x1400215da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400215dc
xor al, al
add rsp, 0x28
ret
Function at 0x408090
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r9, [rsp + 0x34]
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x38]
lea r8, [0x00405f30]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rbx, rax
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x408111
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4080e4
cmp byte [0x0042b640], 0
je 0x40814a
nop
nop
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [rsp + 0x30]
cmp eax, 0x103
je 0x408120
add rsp, 0x70
pop rbx
ret
mov eax, dword [rsp + 0x30]
add rsp, 0x70
pop rbx
ret

Function at 0x4098b7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x0042a008]
jne 0x40832a
rol rcx, 0x10
test cx, 0xffff
jne 0x408326
repz ret
ror rcx, 0x10
jmp 0x409810
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0042b710]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x0042b808]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x409895
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x0042b710]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x4098b7
mov rax, qword [rsp + 0x88]
mov qword [0x0042b808], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x0042b7a8], rax
mov rax, qword [0x0042b808]
mov qword [0x0042b680], rax
mov rax, qword [rsp + 0x90]
mov qword [0x0042b790], rax
mov dword [0x0042b670], 0xc0000409
mov dword [0x0042b674], 1
mov rax, qword [0x0042a008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x0042a010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0042b708], eax
mov ecx, 1
call fcn.0040fea0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x00419180]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0042b708], 0
jne 0x40993e
mov ecx, 1
call fcn.0040fea0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x412a60
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.0040dfb0
xor ebx, ebx
cmp qword [0x0042c390], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x412b91
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x412ac3
xor eax, eax
jmp 0x412c71
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x412abc
mov rcx, rax
call fcn.0040df40
lea rdx, str.GetActiveWindow
mov rcx, rbp
mov qword [0x0042c390], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040df40
lea rdx, str.GetLastActivePopup
mov rcx, rbp
mov qword [0x0042c398], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040df40
lea rcx, [rsp + 0x30]
mov qword [0x0042c3a0], rax
call fcn.0040bdc0
test eax, eax
je 0x412b47
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00409d40
cmp dword [rsp + 0x30], 2
jne 0x412b91
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040df40
test rax, rax
mov qword [0x0042c3b0], rax
je 0x412b91
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040df40
mov qword [0x0042c3a8], rax
mov rcx, qword [0x0042c3a8]
cmp rcx, rsi
je 0x412c23
cmp qword [0x0042c3b0], rsi
je 0x412c23
call fcn.0040e010
call rax
test rax, rax
mov rbp, rax
je 0x412bee
mov rcx, qword [0x0042c3b0]
call fcn.0040e010
lea rcx, [rsp + 0x38]
mov r9d, 0xc
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x412bee
test byte [rsp + 0x48], 1
jne 0x412c23
lea rcx, [rsp + 0x34]
call fcn.0040be10
test eax, eax
je 0x412c10
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00409d40
cmp dword [rsp + 0x34], 4
jb 0x412c1d
bts edi, 0x15
jmp 0x412c57
bts edi, 0x12
jmp 0x412c57
mov rcx, qword [0x0042c398]
cmp rcx, rsi
je 0x412c57
call fcn.0040e010
call rax
test rax, rax
mov rbx, rax
je 0x412c57
mov rcx, qword [0x0042c3a0]
cmp rcx, rsi
je 0x412c57
call fcn.0040e010
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x0042c390]
call fcn.0040e010
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret