joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005fe0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x3c], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x30], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x38], eax
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
ret
Function at 0x140007f80
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140008000
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x140007fa4
call fcn.140007f10
mov edx, ebx
mov rcx, rdi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140007fb7
call fcn.140007f10
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140008c10
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x2c], eax
ret
Function at 0x14000f740
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x140034010]
xor rax, rsp
mov qword [rsp + 8], rax
xor r8d, r8d
lea r15, [0x1400215a0]
mov dword [rsp], r8d
mov r9, rcx
movzx edi, byte [rsp + 3]
xor eax, eax
movzx esi, byte [rsp + 2]
movzx ebx, r8b
movzx ebp, byte [rsp + 1]
movzx r14d, r8b
mov word [rsp + 4], r8w
movzx r11d, byte [rsp + 5]
nop dword [rax]
movzx edx, byte [r9 + rax]
movzx ecx, byte [rax + r15]
movzx r10d, byte [rax + r15 + 0xc0]
xor cl, dl
or cl, r14b
xor r10b, dl
movzx r14d, cl
or r10b, r8b
movzx ecx, byte [rax + r15 + 0x20]
movzx r8d, r10b
xor cl, dl
or cl, bpl
movzx ebp, cl
movzx ecx, byte [rax + r15 + 0x40]
xor cl, dl
or cl, sil
movzx esi, cl
movzx ecx, byte [rax + r15 + 0x60]
xor cl, dl
or cl, dil
movzx edi, cl
movzx ecx, byte [rax + r15 + 0x80]
xor cl, dl
or cl, bl
movzx ebx, cl
movzx ecx, byte [rax + r15 + 0xa0]
inc rax
xor cl, dl
or cl, r11b
movzx r11d, cl
cmp rax, 0x1f
jb 0x14000f7a0
movzx ecx, byte [rax + r9]
movzx r9d, byte [rax + r15 + 0xc0]
and cl, 0x7f
movzx edx, byte [rax + r15 + 0xa0]
movzx r8d, cl
xor edx, r8d
movzx ecx, r10b
or edx, r11d
xor r9d, r8d
dec edx
or r9d, ecx
dec r9d
or r9d, edx
movzx edx, byte [rax + r15 + 0x80]
xor edx, r8d
or edx, ebx
dec edx
or r9d, edx
movzx edx, byte [rax + r15]
xor edx, r8d
or edx, r14d
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x20]
xor edx, r8d
or edx, ebp
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x40]
movzx eax, byte [rax + r15 + 0x60]
xor edx, r8d
xor eax, r8d
or edx, esi
or eax, edi
dec edx
dec eax
or r9d, edx
or eax, r9d
shr eax, 8
and eax, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1400036f0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret

Function at 0x140011b90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx edx, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx r9d, byte [rcx + rax]
inc rax
mov ecx, dword [rsp + 8]
xor r9d, edx
or ecx, r9d
mov dword [rsp + 8], ecx
cmp rax, 0x10
jl 0x140011ba0
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret
Function at 0x140017b10
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001793c
Function at 0x180003588
Capabilities:
Delete directory
Delete file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x1a0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x180014008]
xor rax, rsp
mov qword [rsp + 0x190], rax
movsxd r8, dword [rdx + 0x14]
mov r9, qword [rdx + 8]
mov ecx, dword [rdx + 0x10]
cmp ecx, r8d
jge 0x1800035cf
xor r9d, r9d
jmp 0x1800035dd
lea rax, [r9 + r8]
mov qword [rdx + 8], rax
sub ecx, r8d
mov dword [rdx + 0x10], ecx
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.1800036bc
nop
lea rbp, [0x1800104f0]
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x50]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
or rdi, 0xffffffffffffffff
cmp rax, rdi
je 0x180003668
test byte [rsp + 0x50], 0x10
je 0x18000364f
lea rax, [0x180010508]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x28]
mov r8b, 1
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180003cd8
nop
test rbx, rbx
je 0x18000365d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x18000365d
test rbx, rbx
je 0x18000365d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
mov qword [rsp + 0x20], rbp
test rbx, rbx
je 0x18000368f
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x18000368f
xor edx, edx
mov rcx, rbx
call sub.msvcrt.dll_memset
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
mov eax, edi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.18000e460
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180003cd8
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x5f0]
sub rsp, 0x6f0
mov rax, qword [0x180014008]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov r15b, r8b
mov rdi, rdx
mov r12, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x2c0]
mov r14, r9
call sub.msvcrt.dll_memset
test rdi, rdi
je 0x180003f1d
mov esi, 0x103
lea rcx, [rbp + 0x1b1]
mov r8d, esi
xor edx, edx
call sub.msvcrt.dll_memset
lea r8, [rbp + 0x1b0]
mov byte [rbp + 0x1b0], 0x2a
mov rdx, rdi
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
test rax, rax
je 0x180003f17
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180003f17
mov r8d, esi
lea rcx, [rbp + 0x3d1]
xor edx, edx
call sub.msvcrt.dll_memset
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [rbp + 0x4d4]
call sub.msvcrt.dll_memset
xor edx, edx
mov byte [rbp + 0x3d0], 0x2e
mov r8d, 0x104
mov word [rbp + 0x4d4], 0x2e2e
lea rcx, [rbp + 0xa0]
mov esi, 1
call sub.msvcrt.dll_memset
xor edx, edx
movsxd rax, edx
lea r9, [rbp + 0x3d0]
imul rcx, rax, 0x104
lea rax, [rbp - 0x74]
add r9, rcx
sub r9, rax
movzx ecx, byte [rax]
movzx r8d, byte [rax + r9]
sub ecx, r8d
jne 0x180003e06
inc rax
test r8d, r8d
jne 0x180003df1
test ecx, ecx
je 0x180003f01
inc edx
cmp edx, 2
jl 0x180003dd6
xor edx, edx
lea rcx, [rbp + 0xa0]
mov r8d, 0x104
call sub.msvcrt.dll_memset
lea r8, [rbp - 0x74]
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
test rax, rax
je 0x180003f01
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
cmp eax, 1
sete sil
jne 0x180003e76
test r15b, r15b
je 0x180003e76
mov r9, r14
lea rdx, [rbp + 0xa0]
mov r8b, 1
mov rcx, r12
call fcn.180003cd8
xor eax, eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x74]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp eax, 1
jne 0x180003f13
xor eax, eax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
cmp eax, 1
jne 0x180003f13
mov eax, dword [rbp - 0x80]
lea r8, [rbp - 0x74]
mov r10, qword [r14]
mov r9b, sil
mov dword [rsp + 0x30], eax
mov rdx, rdi
mov eax, dword [rsp + 0x7c]
mov rcx, r14
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [r10 + reloc.WS2_32.dll_htonl]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, eax
cmp esi, 1
je 0x180003dd4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x180003f20
call qword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xffffffff
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.18000e460
add rsp, 0x6f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1800068dc
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov eax, dword [rcx + 4]
lea rbx, [rcx + 8]
mov r9d, dword [rcx]
mov rdi, rcx
mov rcx, rbx
mov dword [rsp + 0x20], eax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x180006939
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x180006933
mov r9d, dword [rdi]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 8
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x180006939
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180006948
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x50
and qword [rax - 0x18], 0
mov rbx, rcx
lea rcx, [rax - 0x20]
mov dword [rax - 0x20], 0x18
mov ebp, r9d
mov dword [rax - 0x1c], 0xf0000000
mov edi, r8d
mov rsi, rdx
call fcn.1800068dc
test rax, rax
je 0x1800069d3
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x18000699d
lea rcx, [rsp + 0x38]
call fcn.1800068dc
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov edx, ebp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1800069cd
mov rcx, qword [rbx]
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1800069ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
or ebx, 0xffffffff
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1800069e8
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov eax, dword [rsp + 0x88]
xor edx, edx
mov rcx, qword [rsp + 0x80]
mov r8d, eax
mov dword [rsp + 0x30], eax
call sub.msvcrt.dll_memset
mov r8, qword [rsp + 0x80]
lea r9, [rsp + 0x30]
mov rcx, qword [rbx]
mov edx, 2
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1800069cd
xor ebx, ebx
jmp 0x1800069d6
Function at 0x180006a44
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x180014008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, r8
mov dword [rsp + 0x30], 0x208
mov rbx, rdx
mov r8d, r9d
mov rdi, rcx
mov dword [rsp + 0x34], 0x660e
xorps xmm0, xmm0
mov dword [rsp + 0x38], r9d
xorps xmm1, xmm1
lea rcx, [rsp + 0x3c]
mov rdx, rax
xor esi, esi
movdqu xmmword [rsp + 0x3c], xmm0
movdqu xmmword [rsp + 0x4c], xmm1
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 8]
test rax, rax
jne 0x180006aae
mov rcx, rbx
call fcn.1800068dc
xor r9d, r9d
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], esi
mov rcx, rax
lea r8d, [r9 + 0x2c]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x180006adb
call qword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xffffffff
jmp 0x180006add
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18000e460
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x18000a1e0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18000a23c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18000a23c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18000a23c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18000a23c
cmp dword [rcx + 0x84], 0xe
jbe 0x18000a23c
cmp dword [rcx + 0xf8], 0
je 0x18000a23c
mov ecx, ebx
call fcn.18000a170
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x1800161a0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.180009ff0
cmp dword [rsp + 0x60], 0
jne 0x18000a27f
mov ecx, ebx
call fcn.18000a120
int3
add rsp, 0x40
pop rbx
ret

Function at 0x18000a4b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x180014008]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18000a4ec
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.18000e6ec
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x18000a5a8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x18000a60e
test ebx, ebx
jne 0x18000a60e
lea ecx, [rax + 2]
call fcn.18000e6ec
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.18000e460
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x18000e2f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp dword [rcx], 0xe06d7363
mov rdi, r9
mov rbp, r8
mov r14, rdx
mov rsi, rcx
jne 0x18000e3ac
mov rax, qword [r9 + 0x38]
mov qword [rsp + 0x48], rbx
mov ebx, dword [rax]
add rbx, qword [r9 + 8]
mov eax, dword [rbx]
and eax, 0x1fffffff
sub eax, 0x19930521
cmp eax, 1
ja 0x18000e3a7
mov eax, 1
xchg dword [0x181776210], eax
cmp eax, 1
jne 0x18000e360
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
xchg dword [0x181776210], eax
cmp eax, 1
je 0x18000e345
mov edx, 4
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8d, [rdx + 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000e39f
and dword [rbx], 0xf9930520
lea r9, [rsp + 0x40]
or dword [rbx], 0x19930520
mov edx, 4
mov r8d, dword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
xchg dword [0x181776210], eax
mov rbx, qword [rsp + 0x48]
mov r9, rdi
mov r8, rbp
mov rdx, r14
mov rcx, rsi
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
jmp qword [sym.imp.msvcrt.dll___CxxFrameHandler]
Function at 0x140001540
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1400bd080]
xor rax, rsp
mov qword [rsp + 0x28], rax
movaps xmm6, xmm2
movzx edi, dl
mov rbx, rcx
call fcn.14004a980
call fcn.14004a964
xorps xmm0, xmm0
comiss xmm0, xmm6
jae 0x1400016f9
cmp byte [0x1400bdee0], 0
jne 0x14000158b
addss xmm6, dword [rbx + 4]
movss xmm0, dword [0x1400acebc]
divss xmm0, xmm6
mulss xmm0, dword [0x1400acdb0]
movss dword [rbx], xmm0
cmp byte [0x1400bdee0], 0
jne 0x1400015c9
movss xmm1, dword [0x1400bdef4]
movss xmm0, dword [0x1400acdf4]
call fcn.140001bb0
addss xmm0, dword [rbx]
movss dword [rbx], xmm0
movsd xmm6, qword [0x1400ace38]
cvtss2sd xmm0, xmm0
divsd xmm0, xmm6
call fcn.14004a200
lea rcx, [rsp + 0x20]
test dil, dil
je 0x14000165e
xor edi, edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140001623
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx r9d, word [rsp + 0x24]
lea r8d, [rdi + 1]
movzx ecx, word [rsp + 0x20]
mov edx, 0x201
shl r9d, 0x10
or r9, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
movss xmm0, dword [rbx]
cvtps2pd xmm0, xmm0
divsd xmm0, xmm6
call fcn.14004a200
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400016e9
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, 0x202
mov r8d, 1
jmp 0x1400016ce
xor edi, edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140001699
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx r9d, word [rsp + 0x24]
lea r8d, [rdi + 2]
movzx ecx, word [rsp + 0x20]
mov edx, 0x204
shl r9d, 0x10
or r9, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
movss xmm0, dword [rbx]
cvtps2pd xmm0, xmm0
divsd xmm0, xmm6
call fcn.14004a200
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400016e9
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, 0x205
mov r8d, 2
movzx r9d, word [rsp + 0x24]
movzx ecx, word [rsp + 0x20]
shl r9d, 0x10
or r9, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
call fcn.14004a980
call fcn.14004a964
inc dword [0x1400c0114]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14004c890
mov rbx, qword [rsp + 0x58]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x140001bb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13e8
call fcn.14004d3f0
sub rsp, rax
movaps xmmword [rsp + 0x13d0], xmm6
movaps xmmword [rsp + 0x13c0], xmm7
mov rax, qword [0x1400bd080]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
movaps xmm6, xmm1
movaps xmm7, xmm0
call fcn.14004aae4
mov edx, eax
mov ecx, 1
movabs rax, 0x5555555555555555
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x13a8], rax
movabs r8, 0x5851f42d4c957f2d
mov r9d, 0x138
nop dword [rax + rax]
mov rax, rdx
shr rax, 0x3e
xor rdx, rax
imul rdx, r8
add rdx, rcx
mov qword [rsp + rcx*8 + 0x28], rdx
inc rcx
cmp rcx, r9
jb 0x140001c20
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x30]
xorps xmm1, xmm1
movabs r10, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r10
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140001c55
mov eax, dword [rsp + 0x20]
movabs rdx, 0x38eb3ffff6d3
xorps xmm0, xmm0
mov rcx, qword [rsp + rax*8 + 0x28]
mov rax, rcx
shr rax, 0x1d
and rax, qword [rsp + 0x13a8]
xor rcx, rax
mov rax, rcx
and rax, rdx
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rdx, rcx
shr rdx, 0x2b
xor rdx, rcx
js 0x140001cea
cvtsi2ss xmm0, rdx
jmp 0x140001cff
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
subss xmm0, xmm1
subss xmm6, xmm7
addss xmm0, xmm1
mulss xmm0, dword [0x1400acd68]
mulss xmm0, xmm6
addss xmm0, xmm7
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.14004c890
movaps xmm6, xmmword [rsp + 0x13d0]
movaps xmm7, xmmword [rsp + 0x13c0]
add rsp, 0x13e8
ret
Function at 0x140003610
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140003632
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400036ac
mov rdi, r14
mov rcx, rbx
call fcn.140006930
test rax, rax
jle 0x140003684
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14004ebf0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000369c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400036a4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140003646
sub r14, rdi
jmp 0x14000378f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400036c3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400036c5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400036f7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14004ebf0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000378c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003732
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
cmp rbp, 0xfff
jbe 0x14000376d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14005472c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000378c
cmp rbp, rax
ja 0x140003740
test rbp, rbp
je 0x14000378c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14005472c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

Function at 0x14000b600
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000b65d
lea rbx, [0x140085c20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000b644
cmp r10, 2
jb 0x14000b644
cmp byte [r9], r8b
jne 0x14000b644
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000b620
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000b69f
lea rbx, [0x140085c20]
cmp r8b, 0x23
jne 0x14000b683
cmp byte [r9], r8b
jne 0x14000b683
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000b670
mov rbx, qword [rsp + 8]
not eax
ret