joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140094e10
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1401ae6f8]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r12, rcx
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor esi, esi
mov qword [rsp + 0x60], rsi
lea rdx, [rsp + 0x50]
lea rcx, [0x140094dd0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
cmp r14, r15
je 0x140094f70
nop dword [rax]
nop word [rax + rax]
mov r8d, 0x100
lea rdx, [rsp + 0x70]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rdi, qword [0x1401cb450]
mov rbp, qword [0x1401cb458]
cmp rdi, rbp
je 0x140094f3a
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140094ed0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140016190
mov rax, qword [rdi + 0x10]
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140094efa
mov r9, qword [rdi]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x40]
call fcn.14007b690
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.14000d000
cmp rbx, 0xffffffffffffffff
jne 0x140094f48
add rdi, 0x20
cmp rdi, rbp
jne 0x140094eb0
add r14, 8
cmp r14, r15
je 0x140094f6b
jmp 0x140094e80
cmp r12, rdi
je 0x140094f66
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140094f5b
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, r12
call fcn.140015f60
mov esi, 1
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x140094fb1
mov rdx, qword [rsp + 0x60]
sub rdx, r14
and rdx, 0xfffffffffffffff8
mov rax, r14
cmp rdx, 0x1000
jb 0x140094fa9
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140094fa9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140127cb0
mov eax, esi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140127920
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400958f0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140095918
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14009593e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140095940
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140095999
test ecx, ecx
jle 0x140095979
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140095999
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140095999
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x1400959c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400959e2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400959f8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140095a14
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140095a16
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140095a52
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140095aee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140095a8d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140095ace
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140095aee
cmp rbx, rax
ja 0x140095aa0
test rbx, rbx
je 0x140095aee
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140095ef0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401ae6f8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140095f1d
xor eax, eax
jmp 0x140096089
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140095f57
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140095f57
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140096089
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14009607c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140095f9a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140095fc5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140096081
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140096034
sub eax, 1
je 0x140096034
cmp eax, 2
jne 0x14009607c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140096081
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140096062
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14009607c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140096081
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140127920
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140096290
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401ae6f8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140096363
cmp byte [rcx + 0x71], 0
je 0x140096363
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14009635f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140096324
sub eax, 1
je 0x140096328
cmp eax, 2
jne 0x14009635f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140127920
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140096356
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14009635f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14009630c
xor al, al
jmp 0x14009630c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140127920
add rsp, 0x60
pop rbx
ret
Function at 0x140096cf0
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
sub rsp, 0xa8
movaps xmm0, xmmword [0x14018fb70]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [0x14018fb80]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm0, xmmword [0x14018fb90]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [str.BeLD]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm0, xmmword [0x14018fbb0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [0x14018fbc0]
movaps xmmword [r11 - 0x28], xmm1
movsd xmm0, qword [0x14018fbd0]
movsd qword [r11 - 0x18], xmm0
mov eax, dword [0x14018fbd8]
mov dword [r11 - 0x10], eax
movzx eax, word [0x14018fbdc]
mov word [r11 - 0xc], ax
movzx eax, byte [str._YL_VW]
mov byte [r11 - 0xa], al
xor ecx, ecx
mov dword [rsp + 0x20], ecx
cmp ecx, 0x6f
jge 0x140096db1
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, 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, 0x37
xor al, byte [r8]
mov byte [r8], al
inc ecx
jmp 0x140096d73
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x140096dbe
add rsp, 0xa8
ret

Function at 0x140096e00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1401ae6f8]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x2c]
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140096ebf
mov byte [rax], 0xc3
mov edx, dword [rsp + 0x2c]
lea r9, [rsp + 0x58]
mov r8d, 0x140
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140096ebf
call rbx
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140127920
add rsp, 0x70
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140127920
add rsp, 0x70
pop rbx
ret
Function at 0x1400976a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
movsd xmm0, qword [str.jXT_SP]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x14018fc48]
mov dword [rsp + 0x28], eax
cmp byte [0x14018fc4b], 0
je 0x140097830
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400977f0
movdqa xmm4, xmmword [0x140190a30]
mov eax, 5
movd xmm6, eax
mov eax, Ordinal_33
movd xmm5, eax
movdqa xmm2, xmmword [0x1401906d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140190790]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140190940]
movd xmm0, dword [str.jXT_SP]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x1401906e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140190790]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140190940]
movd xmm0, dword [rsp + 0x24]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
mov ecx, 8
mov eax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x38
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xc
jl 0x140097800
lea r8, [rsp + 0x20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
test rax, rax
je 0x14009786b
mov edx, 2
mov r8d, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14009786b
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
ret
Function at 0x140097df0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
sub rsp, 0xe8
mov r11, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0xd0], xmm6
movaps xmm6, xmm0
call fcn.140098040
mov r10, rax
cmp byte [rax + 0x62], 0
je 0x140097ff4
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140097fb9
movdqa xmm0, xmmword [0x140190950]
mov eax, 5
movdqa xmm5, xmmword [0x1401906d0]
mov rcx, r10
movdqa xmm4, xmmword [0x140190a10]
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xb0], xmm8
movdqa xmm8, xmmword [0x1401907c0]
movd xmm7, eax
mov eax, Ordinal_33
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movaps xmmword [rsp + 0xa0], xmm9
movd xmm9, eax
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp r8d, 0x60
jl 0x140097e90
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
cmp r8d, 0x63
jge 0x140097ff4
movsxd r9, r8d
add r9, r10
nop
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x63
jl 0x140097fc0
mov rdx, r10
mov rcx, r11
call fcn.1400799c0
movaps xmm1, xmm6
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___float____ptr64]
lea rdx, [rsp + 0xf8]
mov dword [rsp + 0xf8], 0x5dc
lea rcx, [rsp + 0x100]
call fcn.14000d060
mov rcx, rax
call fcn.14000d070
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400aa250
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rax, qword [str.cYSWULRWO_9sZHMC_]
xor r11d, r11d
cmp byte [0x14019021f], r11b
mov rbx, rcx
mov dword [rcx], r11d
mov qword [rcx + 8], r11
mov qword [rcx + 0x10], r11
mov qword [rcx + 0x18], r11
mov dword [rcx + 0x20], 3
mov qword [rcx + 0x28], r11
mov qword [rsp + 0x40], rax
je 0x1400aa3f3
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400aa3ae
movdqa xmm2, xmmword [0x1401906d0]
mov eax, 4
movdqa xmm4, xmmword [0x140190970]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1401906e0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x20], xmm6
movd xmm6, eax
mov eax, Ordinal_33
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140190760]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x40]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140190920]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x40], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x20]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140190760]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x44]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140190920]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
jmp 0x1400aa3f3
lea r9, [rsp + 0x40]
mov r8d, r11d
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 8
jl 0x1400aa3c0
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movups xmmword [rbx + 0x30], xmm0
mov qword [rbx + 0x40], r11
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x48], r11
nop
inc r8
cmp byte [rax + r8], r11b
jne 0x1400aa410
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x30]
call fcn.140016190
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x1400ac8e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401c6918]
movaps xmmword [rsp + 0x20], xmm6
xorps xmm6, xmm6
movss xmm0, dword [rax + 0x90]
ucomiss xmm0, xmm6
jp 0x1400ac906
je 0x1400aca71
call fcn.1400a8620
test al, al
je 0x1400aca71
mov rax, qword [0x1401cba88]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movabs rsi, 0x7fffffffffffffff
mov qword [rsp + 0x30], rdi
cmp dword [rax + 4], 0
je 0x1400ac9dd
movabs rdi, 0x7ffffffffff0bdbe
nop word [rax + rax]
mov rax, qword [0x1401c6918]
movss xmm0, dword [rax + 0x90]
ucomiss xmm0, xmm6
jp 0x1400ac966
je 0x1400ac9e4
call fcn.1400a8620
test al, al
je 0x1400ac9dd
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400ac98d
imul rax, rax, 0x64
jmp 0x1400ac9ab
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rdi
jg 0x1400ac9bd
add rax, 0xf4240
mov qword [rsp + 0x40], rax
jmp 0x1400ac9c2
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x40]
call fcn.14000d1a0
mov rax, qword [0x1401cba88]
cmp dword [rax + 4], 0
jne 0x1400ac950
mov rax, qword [0x1401c6918]
cvttss2si eax, dword [rax + 0x94]
movsxd rbx, eax
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x1400aca0d
imul rax, rax, 0x64
jmp 0x1400aca2b
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
cmp rbx, 1
jl 0x1400aca5d
imul rdx, rbx, 0xf4240
mov rcx, rsi
sub rcx, rdx
cmp rax, rcx
jge 0x1400aca58
lea rcx, [rdx + rax]
mov qword [rsp + 0x40], rcx
jmp 0x1400aca5d
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x40]
call fcn.14000d1a0
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [0x1401cba88]
cmp dword [rax + 4], 0
je 0x1400acb48
call fcn.1400ac380
test al, al
je 0x1400acb48
mov rax, qword [0x1401c6918]
movss xmm0, dword [rax + 0x84]
ucomiss xmm0, xmm6
jp 0x1400acab5
jne 0x1400acab5
call fcn.1400994b0
test al, al
jne 0x1400acad7
mov rax, qword [0x1401c6918]
movss xmm0, dword [rax + 0x84]
ucomiss xmm0, xmm6
jp 0x1400acac8
je 0x1400acb48
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1401cb168]
jne 0x1400acb48
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [0x1401c6918]
test ax, ax
js 0x1400acafd
movss xmm0, dword [rcx + 0x88]
ucomiss xmm0, xmm6
jp 0x1400acafd
je 0x1400acb48
movss xmm0, dword [rcx + 0x90]
ucomiss xmm0, xmm6
jp 0x1400acb0c
je 0x1400acb1c
call fcn.1400a8620
test al, al
jne 0x1400acb48
mov rcx, qword [0x1401c6918]
movss xmm0, dword [rcx + 0x98]
ucomiss xmm0, xmm6
jp 0x1400acb2b
je 0x1400acb3c
mov ecx, dword [reloc.WS2_32.dll_recv]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400acb48
mov al, 1
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
ret
movaps xmm6, xmmword [rsp + 0x20]
xor al, al
add rsp, 0x38
ret