joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008a90
Capabilities:
Encode data using xor
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [str.a__YWNT_c]
lea rdx, [rsp + 0x30]
movzx ebx, byte [0x14009d70f]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rsi, [0x1400afe48]
xor edi, edi
mov dword [rsp + 0x30], 0x10
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x140008b23
xorps xmm0, xmm0
mov qword [0x1400afe58], rdi
movups xmmword [0x1400afe48], xmm0
mov qword [0x1400afe60], rdi
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x140008b10
lea rdx, [rsp + 0x38]
jmp 0x140008c8e
test bl, bl
je 0x140008c5a
cmp dword [0x1400ac318], 2
mov r8d, edi
jl 0x140008c23
movdqa xmm2, xmmword [0x14009e350]
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.3333]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x28]
andps xmm2, xmmword [0x14009e3f0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14009e410]
xorps xmm2, xmm0
movd dword [rsp + 0x28], xmm2
movdqa xmm2, xmmword [0x14009e370]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.3333]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x2c]
andps xmm2, xmmword [0x14009e3f0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14009e410]
xorps xmm2, xmm0
movd dword [rsp + 0x2c], xmm2
jmp 0x140008c5a
lea r9, [rsp + 0x28]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x140008c30
xorps xmm0, xmm0
mov qword [0x1400afe58], rdi
movups xmmword [0x1400afe48], xmm0
mov qword [0x1400afe60], rdi
lea rax, [rsp + 0x28]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140008c80
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140005560
mov rax, rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140062690
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140008cc0
Capabilities:
Encode data using xor
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [str.a__YWNT_c]
lea rdx, [rsp + 0x30]
movzx ebx, byte [0x14009d70f]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rsi, [0x1400afee0]
xor edi, edi
mov dword [rsp + 0x30], 0x101
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140008d53
xorps xmm0, xmm0
mov qword [0x1400afef0], rdi
movups xmmword [0x1400afee0], xmm0
mov qword [0x1400afef8], rdi
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x140008d40
lea rdx, [rsp + 0x40]
jmp 0x140008ebe
test bl, bl
je 0x140008e8a
cmp dword [0x1400ac318], 2
mov r8d, edi
jl 0x140008e53
movdqa xmm2, xmmword [0x14009e350]
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.3333]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x28]
andps xmm2, xmmword [0x14009e3f0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14009e410]
xorps xmm2, xmm0
movd dword [rsp + 0x28], xmm2
movdqa xmm2, xmmword [0x14009e370]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.3333]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x2c]
andps xmm2, xmmword [0x14009e3f0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14009e410]
xorps xmm2, xmm0
movd dword [rsp + 0x2c], xmm2
jmp 0x140008e8a
lea r9, [rsp + 0x28]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x140008e60
xorps xmm0, xmm0
mov qword [0x1400afef0], rdi
movups xmmword [0x1400afee0], xmm0
mov qword [0x1400afef8], rdi
lea rax, [rsp + 0x28]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140008eb0
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140005560
mov rax, rsi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140062690
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000d7f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 1], rcx
xor r14d, r14d
mov dword [rbp - 0x25], r14d
mov dword [rbp - 1], r14d
mov rdx, r8
cmp qword [r8 + 0x18], 7
jbe 0x14000d836
mov rdx, qword [r8]
lea rax, [rbp - 0x25]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 1]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xorps xmm0, xmm0
test eax, eax
je 0x14000d87d
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x14009a1e9]
mov rcx, rbx
call fcn.140005560
jmp 0x14000d93a
mov r8d, dword [rbp - 0x25]
shr r8, 1
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], r14
xor edx, edx
lea rcx, [rbp - 0x21]
call fcn.140059af0
nop
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rax, qword [rbp - 0x21]
cmp qword [rdi + 0x18], 7
jbe 0x14000d8b4
mov rdi, qword [rdi]
lea rcx, [rbp - 0x25]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp - 1]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000d957
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x14009a1e9]
mov rcx, rbx
call fcn.140005560
nop
mov rdx, qword [rbp - 9]
cmp rdx, 7
jbe 0x14000d93a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d935
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000da14
call fcn.1400626b0
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140062690
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, qword [rbp - 0x11]
mov rcx, qword [rbp - 0x21]
mov r9, qword [rbp - 9]
test rdx, rdx
je 0x14000d9a1
lea rax, [rbp - 0x21]
cmp r9, 7
cmova rax, rcx
lea r8, [rdx - 1]
cmp word [rax + r8*2], 0
jne 0x14000d9a1
mov qword [rbp - 0x11], r8
lea rax, [rbp - 0x21]
cmp r9, 7
cmova rax, rcx
mov word [rax + r8*2], r14w
mov r9, qword [rbp - 9]
mov rdx, qword [rbp - 0x11]
mov rcx, qword [rbp - 0x21]
lea rax, [rbp - 0x21]
cmp r9, 7
cmova rax, rcx
lea r8, [rax + rdx*2]
lea rdx, [rbp - 0x21]
cmova rdx, rcx
lea rcx, [rbp + 7]
call fcn.140058760
movups xmm0, xmmword [rbp + 7]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rbx + 0x10], xmm1
mov rdx, qword [rbp - 9]
cmp rdx, 7
jbe 0x14000d93a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d935
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d935
call fcn.14007025c
int3
Function at 0x1400110c0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rsi, rcx
mov qword [rsp + 0x58], rcx
xor eax, eax
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14009a590]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor eax, eax
xor ecx, ecx
cpuid
mov edi, edx
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x60]
call fcn.140088570
lea rcx, [rsp + 0x60]
call fcn.140051350
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x78]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x78], eax
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.140051810
mov rcx, rax
call fcn.140057f10
mov edx, edi
mov rcx, rax
call fcn.140051a10
mov edx, ebx
mov rcx, rax
call fcn.140051a10
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140055890
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140051110
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea ebx, [rdx - 0x10]
mov dword [rsp + rdx + 0x5c], ebx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.14006133c
nop
mov rax, rsi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140062690
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400130f0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
lea rdx, [rsp + 0x50]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov dword [rsp + 0x20], 1
dec eax
cmp eax, 0x1ff
ja 0x14001323e
lea rbx, [rsp + 0x50]
cmp word [rsp + 0x50], si
je 0x14001323e
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140013190
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140059c20
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400131d5
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x28], si
add qword [rdi + 8], 0x20
jmp 0x1400131e7
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14005dc30
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140013220
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001321b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013266
call fcn.1400626b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rbx, [rbx + rcx*2]
add rbx, 2
cmp word [rbx], 0
jne 0x140013170
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140062690
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14007025c
int3
Function at 0x140014b00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x40]
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x1c
xor edi, edi
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
test eax, eax
js 0x140014b74
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x140014b64
lea rdx, [rsp + 0x40]
jmp 0x140014b7e
xor r8d, r8d
lea rdx, [0x14009a1e9]
mov rcx, rbx
call fcn.140005560
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140062690
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret

Function at 0x140014bb0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rbx, rcx
mov dword [rsp + 0x28], 0x101
lea rcx, [rsp + 0x30]
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
test eax, eax
je 0x140014c20
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140014c10
lea rdx, [rsp + 0x30]
jmp 0x140014c2a
xor r8d, r8d
lea rdx, [0x14009a1e9]
mov rcx, rbx
call fcn.140005560
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140062690
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x140016350
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
test r9, r9
je 0x140016376
mov rcx, r9
call fcn.1400626b0
test rdi, rdi
je 0x140016383
mov rcx, rdi
call fcn.140068c4c
test rbx, rbx
je 0x140016391
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [str._sWTeHR]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x14009d3b8]
movups xmmword [rsp + 0x50], xmm1
movzx eax, word [0x14009d3c8]
mov word [rsp + 0x60], ax
xor ecx, ecx
cmp dword [0x1400ac318], 2
jl 0x1400164ec
movdqa xmm4, xmmword [0x14009e350]
movdqa xmm3, xmmword [0x14009e430]
movdqa xmm5, xmmword [str.3333]
movdqa xmm0, xmmword [0x14009e410]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x44]
movdqa xmm6, xmmword [0x14009e3f0]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140016400
cmp ecx, 0x22
jge 0x14001652e
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x22
jl 0x140016500
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140016550
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140005560
nop
mov r8d, 0xff
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140005a90
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400165b7
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400165b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400165c9
call fcn.1400626b0
xor al, al
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
call fcn.14007025c
int3
Function at 0x1400169c0
Capabilities:
Encode data using xor
Print debug messages

Disassembly:
sub rsp, 0x68
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x14009d730]
xor ecx, ecx
cmp dword [0x1400ac318], 2
movups xmm3, xmmword [0x14009d710]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [0x14009d720]
movzx eax, word [0x14009d734]
movups xmmword [rsp + 0x20], xmm3
mov word [rsp + 0x44], ax
movups xmmword [rsp + 0x30], xmm0
jl 0x140016bca
movdqa xmm4, xmmword [0x14009e430]
movdqa xmm2, xmmword [0x14009e350]
movdqa xmm5, xmmword [str.3333]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x14009e400]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x14009e370]
paddw xmm2, xmm6
xorps xmm2, xmm1
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rsp + 0x20], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
movdqa xmm3, xmmword [0x14009e390]
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x28]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
paddw xmm2, xmm6
xorps xmm2, xmm0
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
movq qword [rsp + 0x28], xmm2
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
movdqa xmm3, xmmword [0x14009e3b0]
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x30]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
paddw xmm2, xmm6
xorps xmm2, xmm0
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
movq qword [rsp + 0x30], xmm2
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
mov ecx, 0x10
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x38]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movaps xmm6, xmmword [rsp + 0x50]
xorps xmm2, xmm0
movq qword [rsp + 0x38], xmm2
mov eax, ecx
lea r8, [rsp + 0x20]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x33
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x34
xor word [r8 - 2], ax
cmp ecx, 0x13
jl 0x140016be0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
setne al
add rsp, 0x68
ret
Function at 0x140017c30
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
xor esi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140017cd0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140017cd0
nop dword [rax]
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140017cb4
add rax, 2
test ecx, ecx
jne 0x140017ca0
test edx, edx
je 0x140017ccc
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140017c90
jmp 0x140017cd0
mov esi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140062690
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140039520
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, rcx
mov qword [rsp + 0x28], rcx
mov eax, 1
xchg byte [0x1400af9e8], al
xor dil, dil
movzx eax, byte [0x1400af9ec]
xor esi, esi
test al, al
jne 0x14003963e
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
shr ebx, 0xf
mov ecx, WSAStartup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
and bl, 1
je 0x1400395b7
test al, al
je 0x1400395b7
test dil, dil
sete dil
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
test dil, dil
je 0x14003962f
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x34], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x44], 2
mov r8d, 0x28
lea rdx, [rsp + 0x30]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x34], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x44], 4
mov r8d, 0x28
lea rdx, [rsp + 0x30]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [0x1400af9ec]
test al, al
je 0x140039570
mov byte [rsp + 0x20], 1
xchg byte [0x1400af9e8], sil
lea rdx, [rsp + 0x20]
mov rcx, qword [r14 + 8]
call fcn.14004dd90
nop
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140062690
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret