joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140132a00
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, gethostname
call fcn.1401c7590
sub rsp, rax
mov r11, rcx
cmp dword [rsp + 0x60], r9d
jne 0x140132adc
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x140132adc
lea rdx, [r8 + 1]
mov qword [rsp + 0x30], rbx
xor r8d, r8d
cmp r10b, 0x6b
jne 0x140132a92
lea ebx, [r9 - 3]
mov eax, r8d
test ebx, ebx
jle 0x140132a66
nop dword [rax + rax]
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x140132a66
cmp cl, 0xbb
jne 0x140132a6c
inc eax
cmp eax, ebx
jl 0x140132a50
sub ebx, eax
test eax, eax
jne 0x140132a96
mov edx, 0x80
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.1400c9be0
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x140132ac5
mov edx, 0x80
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.1400c9be0
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r11
call fcn.1401c7e80
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov edx, 0x80
xor r8d, r8d
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.1400c9be0
or eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x1401746e0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3f]
mov eax, 0xb0
call fcn.1401c7590
sub rsp, rax
mov rax, qword [0x1402c0ed0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rax, qword [rbp + 0x7f]
mov r14, r8
mov dword [rbp - 0x11], 0x61707865
mov rsi, rdx
mov dword [rbp - 0xd], 0x3320646e
mov rdi, rcx
mov dword [rbp - 9], 0x79622d32
mov dword [rbp - 5], 0x6b206574
movups xmm0, xmmword [r9]
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rbp - 1], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm1
movups xmmword [rbp + 0x1f], xmm0
test r8, r8
je 0x140174874
mov qword [rsp + 0xd8], rbx
nop dword [rax + rax]
mov ebx, 0x40
lea rdx, [rbp - 0x11]
cmp r14, rbx
lea rcx, [rbp - 0x51]
cmovb rbx, r14
call fcn.1401748a0
xor eax, eax
test rbx, rbx
je 0x14017485a
cmp rbx, 0x20
jb 0x140174825
lea rdx, [rdi - 1]
add rdx, rbx
lea rcx, [rbp + rbx - 0x52]
cmp rdi, rcx
ja 0x1401747a8
lea rcx, [rbp - 0x51]
cmp rdx, rcx
jae 0x140174825
lea rcx, [rsi - 1]
add rcx, rbx
cmp rdi, rcx
ja 0x1401747b9
cmp rdx, rsi
jae 0x140174825
lea rcx, [rbp - 0x51]
mov rdx, rsi
sub rdx, rcx
mov r9, rbx
lea rcx, [rbp - 0x51]
and r9, 0xffffffffffffffe0
mov r8, rdi
sub r8, rcx
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rax - 0x51]
lea rcx, [rdx + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x51]
lea rcx, [r8 + rax]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax - 0x41]
movdqu xmmword [rbp + rcx - 0x51], xmm1
lea rcx, [rdx + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x41]
lea rcx, [r8 + rax]
add rax, 0x20
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x41], xmm1
cmp rax, r9
jb 0x1401747e0
cmp rax, rbx
jae 0x14017485a
lea rcx, [rbp - 0x51]
mov r8, rsi
sub r8, rcx
mov r9, rdi
lea rcx, [rbp - 0x51]
sub r9, rcx
nop
lea rdx, [rbp - 0x51]
add rdx, rax
inc rax
movzx ecx, byte [r8 + rdx]
xor cl, byte [rdx]
mov byte [r9 + rdx], cl
cmp rax, rbx
jb 0x140174840
inc dword [rbp + 0x1f]
add rdi, rbx
add rsi, rbx
sub r14, rbx
jne 0x140174760
mov rbx, qword [rsp + 0xd8]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401c7020
mov rsi, qword [rsp + 0xe0]
add rsp, 0xb0
pop r14
pop rdi
pop rbp
ret
Function at 0x14017b230
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
mov eax, 0xf0
call fcn.1401c7590
sub rsp, rax
mov r14, r9
mov r15, r9
shr r14, 3
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
cmp r8, r9
jb 0x14017b32f
mov qword [rsp + 0x110], rbx
xor edx, edx
test r14, r14
je 0x14017b2e0
nop word [rax + rax]
movzx eax, byte [rsi + 6]
movzx ecx, byte [rsi + 7]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 5]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 4]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 3]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi]
shl rcx, 8
add rsi, 8
or rcx, rax
xor qword [rdi + rdx*8], rcx
inc rdx
cmp rdx, r14
jb 0x14017b280
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.14017ae60
lea r8, [rbx + 1]
mov rcx, rdi
lea rdx, [rsp + 0x20]
call fcn.14017ae60
add rbx, 2
cmp rbx, 0x18
jb 0x14017b2f0
sub rbp, r15
cmp rbp, r15
jae 0x14017b270
mov rbx, qword [rsp + 0x110]
lea r11, [rsp + 0xf0]
mov rax, rbp
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1401c9718
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1401c94ec
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401c94ec
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401c94ec
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401c94ec
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401c94ec
cmp dword [rcx + 0x84], 0xe
jbe 0x1401c94ec
cmp dword [rcx + 0xf8], esi
je 0x1401c94ec
mov ecx, r14d
call fcn.1401c9634
mov ecx, 2
call fcn.1401de944
nop
cmp byte [0x1402c3750], 0
jne 0x1401c95b6
mov r15d, 1
mov eax, r15d
xchg dword [0x1402c3740], eax
test ebx, ebx
jne 0x1401c955f
mov rdi, qword [0x1402c0ed0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1402c3748]
cmp rcx, rax
je 0x1401c9556
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140004260]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1402c3b00]
jmp 0x1401c956b
cmp ebx, r15d
jne 0x1401c9571
lea rcx, [0x1402c3b18]
call fcn.1401de598
nop
test ebx, ebx
jne 0x1401c9588
lea rdx, [0x1401f5c00]
lea rcx, [0x1401f5be0]
call fcn.1401ddfd8
lea rdx, [0x1401f5c10]
lea rcx, [0x1401f5c08]
call fcn.1401ddfd8
movzx eax, byte [0x1402c3750]
test esi, esi
cmove eax, r15d
mov byte [0x1402c3750], al
jmp 0x1401c95b6
mov ecx, 2
call fcn.1401de998
test esi, esi
jne 0x1401c95cd
mov ecx, r14d
call fcn.1401c95e8
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401c947c

Function at 0x1401d6ea4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401d6ec4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401cf6d0
or eax, 0xffffffff
jmp 0x1401d6ec6
xor eax, eax
add rsp, 0x28
ret

Function at 0x1401d6ecc
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1401d6eec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401cf6d0
or eax, 0xffffffff
jmp 0x1401d6eee
xor eax, eax
add rsp, 0x28
ret
Function at 0x1401e2200
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401e20a0
call fcn.1401cf740
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401ceb50
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401e2088
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1401e2088
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1401e20d2
lock or dword [rax + 0x14], 0x10
jmp 0x1401e2088
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1401e20ef
mov rcx, qword [rbp + 0x10]
call fcn.1401e9dec
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401daab4
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1401d7424
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1401e2146
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1401e2088
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1401e21b2
mov rcx, qword [rbp + 0x10]
call fcn.1401daab4
cmp eax, 0xffffffff
je 0x1401e2199
mov rcx, qword [rbp + 0x10]
call fcn.1401daab4
cmp eax, 0xfffffffe
je 0x1401e2199
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401daab4
movsxd rdi, eax
lea rsi, [0x1402c3ef0]
mov rcx, rbx
sar rdi, 6
call fcn.1401daab4
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1401e21a0
lea rax, [0x1402c11e0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401e21b2
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1401e21e8
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1401e21e4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1401e21e4
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1401e208b
jmp 0x1401e2058

Function at 0x1401e224c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1401e2229
call fcn.1401cf740
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401ceb50
or eax, 0xffffffff
jmp 0x1401e2246
sub dword [rcx + 0x10], 1
jns 0x1401e2238
add rsp, 0x28
jmp fcn.1401e2200
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1401e2208
Function at 0x140009520
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.140009f6c

Function at 0x140009bfc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x140009c23
and qword [r8], 0
call fcn.140009d38
mov rbx, rax
test rax, rax
je 0x140009d1c
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009d13
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009d13
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009d13
mov rax, qword [0x140069340]
mov rbp, rdi
test rax, rax
je 0x140009c8b
inc dword [rax + 0x3c8]
mov rdx, qword [0x140069350]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140009d13
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x140009cea
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140069340]
test rax, rax
je 0x140009cd8
dec dword [rax + 0x3c8]
mov rdx, qword [0x140069350]
mov rcx, rdi
call qword [0x14004c008]
jmp 0x140009d1c
test r15d, r15d
jle 0x140009cfd
lea rcx, [rdi + rbp]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140009d0e
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140009d1e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140009f6c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x140069374], 0
lea rsi, [0x140069370]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x140009fd3
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x140009fa1
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x140009f99
not ebx
mov edx, ebx
test edi, edi
jle 0x140009ff5
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x140009fdb
jmp 0x14000a02f
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x14000a02f
mov r9b, 0x23
cmp r8b, r9b
jne 0x14000a014
cmp byte [r10], r9b
jne 0x14000a014
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x14000a003
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14000ff80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140069340]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000ffe9
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000fff4
lea rdx, [0x14003fb4c]
mov rcx, rbx
mov rdi, rax
call fcn.140009d38
mov rbx, rax
test rax, rax
je 0x14000ffe9
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ed1c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x14001ef0d
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, 0x100
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001edbe
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
mov r8d, 1
movd xmm0, eax
jmp 0x14001ede0
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x14003fcd0]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x14001ef00
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001ee2e
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001ee32
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001e484
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.14001e8bc
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x20]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x1c]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x14001ee1d
mov r11d, 0x100
add rbx, 0x28
sub rdi, r8
jne 0x14001ed6c
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140020070
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140068fa8]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140009580
mov rcx, qword [0x1400697c8]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x1400697d0]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1400697d8]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x1400697d0], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.140009580
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x140020199
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x1400697c8]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400697c8]
jne 0x1400201ee
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400201ee
mov rcx, qword [0x1400697c8]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1400201ee
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x1400201fc
or eax, 0xffffffff
jmp 0x140020201
call fcn.140009604
cmp dword [0x14004c138], eax
je 0x140020214
mov dword [0x14004c138], eax
call fcn.14002023c
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003d380
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140034d7c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 0x270
mov rbx, rcx
cmp dword [rcx], r9d
jne 0x140034dcf
lea r8, [rcx + 8]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140034d94
jmp 0x140034ddc
cmp dword [rcx], 0x4e0
jb 0x140034ddc
call fcn.140039e9c
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret
Function at 0x140038e94
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x140068fa8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rcx
mov qword [rbp - 0x49], rcx
lea rcx, [rbp + 0x5f]
movabs rsi, 0x7a5db90d33787107
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rcx
mov rax, qword [rcx]
xor rax, rsi
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x21], rax
xor r15d, r15d
mov qword [rcx], r15
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r15
mov rdx, qword [0x140069990]
add rdx, 0xe2ced18
lea r14, [rbp + 0x5f]
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], r14
mov rdi, qword [r14]
mov rax, rdi
xor rax, rsi
mov qword [rbp - 0x39], rax
mov qword [r14], r15
mov qword [rbp - 0x59], r15
lea r9d, [r15 + 8]
lea r8, [rbp - 0x59]
lea rcx, [0x140069d60]
call fcn.14003b0a0
mov r13, qword [rbp - 0x59]
mov qword [r14], rdi
mov rax, qword [0x140069990]
add rax, 0xe2cecd8
test r13, r13
cmove r13, rax
lea rbx, [rbp + 0x5f]
lea r14, [rbp - 9]
lea r12d, [r15 + 7]
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], rbx
mov rax, rdi
xor rax, rsi
mov qword [rbp - 0x39], rax
and qword [rbx], 0
and qword [rbp - 0x51], 0
lea rdx, [r15 + r13]
mov r9d, 8
lea r8, [rbp - 0x51]
lea rcx, [0x140069d60]
call fcn.14003b0a0
mov rax, qword [rbp - 0x51]
mov qword [rbx], rdi
mov qword [r14], rax
lea r15, [r15 + 8]
lea r14, [r14 + 8]
sub r12, 1
jne 0x140038f76
movdqa xmm2, xmmword [0x1400449d0]
movdqu xmm0, xmmword [rbp - 9]
xorps xmm2, xmm0
movabs rcx, 0x4ef1f15dfe2d977f
mov rax, qword [rbp + 7]
xor rax, rcx
movdqa xmm3, xmmword [0x140044970]
movdqu xmm0, xmmword [rbp + 0xf]
xorps xmm3, xmm0
movabs rdx, 0x4ef29a7e813efc5d
mov rcx, qword [rbp + 0x1f]
xor rcx, rdx
movabs r8, 0x4e1772384c14291f
mov rdx, qword [rbp + 0x27]
xor rdx, r8
movaps xmm0, xmm2
unpckhpd xmm0, xmm2
mov rbx, qword [rbp - 0x49]
movsd qword [rbx], xmm0
movsd qword [rbx + 8], xmm2
mov qword [rbx + 0x10], rax
movaps xmm0, xmm3
unpckhpd xmm0, xmm3
movsd qword [rbx + 0x18], xmm0
movsd qword [rbx + 0x20], xmm3
mov qword [rbx + 0x28], rcx
mov dword [rbx + 0x30], edx
xor rsi, qword [rbp - 0x41]
lea rax, [rbp + 0x5f]
mov qword [rax], rsi
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14003d380
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret