joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011203
Capabilities:
Terminate process

Disassembly:
jmp 0x1400133c0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011285
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x140011df0
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x140023008]
call fcn.140011389
mov byte [rbp + 8], 0x31
mov byte [rbp + 9], 0x32
mov byte [rbp + 0xa], 0x33
mov byte [rbp + 0xb], 0x34
mov byte [rbp + 0xc], 0x35
mov byte [rbp + 0xd], 0x36
mov byte [rbp + 0xe], 0x37
mov byte [rbp + 0xf], 0x38
mov byte [rbp + 0x10], 0x39
lea rax, [rbp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 9
rep stosb byte [rdi], al
lea rcx, str.Welcome_to_Tic_Tac_Toe__n
call fcn.1400111a4
xor eax, eax
cmp eax, 1
je 0x140011eaf
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 8]
call fcn.14001128f
mov r8d, dword [0x14001e048]
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 8]
call fcn.1400113fc
movzx eax, al
test eax, eax
je 0x140011ea0
jmp 0x140011eaf
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 8]
call fcn.1400113f7
jmp 0x140011e6d
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bc20]
call fcn.140011325
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014700
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014720
xor al, al
jmp 0x1400147a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014733
xor al, al
jmp 0x1400147a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001475d
xor al, al
jmp 0x1400147a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014771
xor al, al
jmp 0x1400147a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014783
xor al, al
jmp 0x1400147a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001479f
xor al, al
jmp 0x1400147a1
mov al, 1
add rsp, 0x38
ret
Function at 0x140007b50
Capabilities:
Check if file exists
Delete file
Move file
Terminate process

Disassembly:
sub rsp, 0x28
call sub.msvcrt.dll_puts
mov ecx, 2
call fcn.140014ce0
nop
nop word cs:[rax + rax]
nop

Function at 0x140007b70
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x14002a040]
test rcx, rcx
je 0x140007bab
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007bd0
mov rcx, qword [0x14002a040]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002d080], 0
jne 0x140007be8
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x14002a040]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007b9e
lea r12, [rsp + 0x20]
mov edx, 0x414
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov qword [rsp + 0x20], 0
lea rsi, [0x14001c382]
mov dword [rsp + 0x28], 3
mov rcx, r12
mov ebx, 0x14
lea rdi, [0x14002d0a0]
movq xmm0, rsi
mov word [rsp + 0x40], dx
movq xmm6, rdi
mov dword [rsp + 0x44], 0
punpcklqdq xmm6, xmm0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x48], 0
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007cb4
test al, 0x10
je 0x140007bb4
mov ecx, 0x64
call r14
mov eax, 0x414
movaps xmmword [rsp + 0x30], xmm6
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
call rbp
sub ebx, 1
je 0x140007bb4
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140007c60
jmp 0x140007bb4
Function at 0x14000e4d0
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140015100
sub rsp, rax
mov eax, dword [0x1400310a0]
test eax, eax
mov rsi, rcx
je 0x14000e570
lea rdi, [0x14002f0a0]
xor ebx, ebx
test eax, eax
jg 0x14000e50c
jmp 0x14000e520
add rbx, 1
cmp dword [0x1400310a0], ebx
jle 0x14000e520
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000e500
jmp 0x14000e557
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000e535
cmp word [rsi + 2], 0x3a
je 0x14000e557
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000e5c0
movsxd rbx, dword [0x1400310a0]
cmp ebx, 0x3ff
jle 0x14000e5d8
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
mov r8d, 0x1000
lea rbx, str.HOME
mov rcx, rdi
mov rdx, rbx
call fcn.140007370
test al, al
je 0x14000e5fa
movsxd rbx, dword [0x1400310a0]
mov rcx, rdi
call sub.msvcrt.dll__wcsdup
lea rdi, [0x14002f0a0]
mov qword [rdi + rbx*8], rax
mov eax, dword [0x1400310a0]
add eax, 1
mov dword [0x1400310a0], eax
jmp 0x14000e4f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000e544
xor eax, eax
jmp 0x14000e55c
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x1400310a0], 1
mov rdx, rax
lea rax, [0x14002f0a0]
mov qword [rax + rbx*8], rdx
jmp 0x14000e557
mov rcx, rbx
call fcn.140007ab0
nop
nop word cs:[rax + rax]
nop
Function at 0x140014340
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14001a130
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14001a130
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400143b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140031164]
test esi, esi
mov rbx, rcx
jle 0x1400144e0
mov rax, qword [0x140031168]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400143fb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140014485
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400143e0
mov rcx, rbx
call fcn.140014e20
test rax, rax
mov rdi, rax
je 0x140014502
mov rax, qword [0x140031168]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014f60
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140031168]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400144e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001447e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140014490
add dword [0x140031164], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140031168]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001447e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140014340
nop dword [rax]
xor esi, esi
jmp 0x140014408
mov rax, qword [0x140031168]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.140014340
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.140014340
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140014a70
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400311c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400311a0]
test rbx, rbx
je 0x140014acc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140014ac3
test rsi, rsi
je 0x140014ac3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140014aa8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140014ce0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140014d18
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140014d20
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140014cf0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140014d18
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140014d20
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140014d00
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140014d18
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140014d20
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140014e20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14001da30]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140014e40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140014e48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140014e40
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140014e9d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140014e94
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140014e40
add rax, 0x28
cmp rax, r9
jne 0x140014e80
xor eax, eax
ret

Function at 0x140014ea0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001da30]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140014ebf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140014ec8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140014ebf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140014f60
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001da30]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140014f7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140014f88
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400057e0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rsi, rcx
cmp byte [rcx + 0x38], 0
je 0x140005803
movzx eax, byte [rsi + 0x39]
cmp al, 0x3a
jbe 0x1400058b3
jmp 0x140005931
mov byte [rsp + 0x4f], 0
mov rdi, qword [rsi + 0x18]
movups xmm0, xmmword [0x1400e9ed0]
movaps xmmword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x4f]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 1
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x140005866
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
je 0x1400058f2
cmp eax, 0x103
je 0x14000593c
test eax, eax
js 0x1400058dd
cmp qword [rsp + 0x68], 0
je 0x1400058f2
movzx eax, byte [rsp + 0x4f]
mov rcx, qword [rsi + 0x28]
inc rcx
cmp al, 0xa
jne 0x1400058a4
add qword [rsi + 0x30], rcx
inc qword [rsi + 0x20]
mov al, 0xa
xor ecx, ecx
mov qword [rsi + 0x28], rcx
mov byte [rsi + 0x38], 1
mov byte [rsi + 0x39], al
cmp al, 0x3a
ja 0x140005931
movzx eax, al
movabs rcx, 0x100002600
bt rcx, rax
jae 0x1400058cf
mov byte [rsi + 0x38], 0
jmp 0x140005803
cmp rax, 0x3a
jne 0x140005931
mov byte [rsi + 0x38], 0
xor eax, eax
jmp 0x14000590d
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edi, eax
mov ecx, eax
call fcn.14007ca80
cmp al, 0xb
jne 0x140005918
mov qword [rsp + 0x78], 3
mov rdx, qword [rsi + 0x20]
mov r8, qword [rsi + 0x28]
lea rcx, [rsp + 0x78]
call fcn.1400ad960
nop
add rsp, 0xa8
pop rdi
pop rsi
ret
shl rdi, 0x20
or rdi, 2
mov rcx, rdi
add rsp, 0xa8
pop rdi
pop rsi
jmp fcn.1400ad9e0
mov qword [rsp + 0x78], 6
jmp 0x1400058fb
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x1400e9f38]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14007a9c0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14007a000
mov ecx, 7
int 0x29
ud2
Function at 0x140007fa0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x140009c80
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm6
mov rsi, rcx
lea rdi, [rcx + 0x28]
movzx r14d, byte [rcx + 0x68]
mov rax, qword [rcx + 0x20]
shl rax, 9
lea rbx, [r14*8]
or rbx, rax
mov byte [rcx + r14 + 0x28], 0x80
mov r8, r14
xor r8, 0x3f
je 0x140009cd2
lea rcx, [r14 + rdi]
inc rcx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
bswap rbx
xor r14d, 0x38
cmp r14d, 8
jae 0x140009d20
mov r8d, 1
mov rcx, rsi
mov rdx, rdi
call fcn.1400765f0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], rbx
lea rdx, [rsp + 0x20]
mov r8d, 1
mov rcx, rsi
jmp 0x140009d30
mov qword [rsi + 0x60], rbx
mov r8d, 1
mov rcx, rsi
mov rdx, rdi
call fcn.1400765f0
movdqu xmm6, xmmword [rsi]
movdqu xmm7, xmmword [rsi + 0x10]
movaps xmm0, xmmword [0x1400b05c0]
movups xmmword [rsi], xmm0
movdqa xmm0, xmmword [0x1400b05d0]
movdqu xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x20], 0
mov byte [rsi + 0x68], 0
movzx eax, byte [0x1400f92c0]
mov rcx, qword [0x1400f91f8]
test rcx, rcx
jne 0x140009d8d
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140009e11
mov rcx, rax
mov qword [0x1400f91f8], rax
mov r8d, 0x20
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140009e11
pxor xmm0, xmm0
movdqa xmm1, xmm7
punpckhbw xmm1, xmm0
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
punpcklbw xmm7, xmm0
pshuflw xmm2, xmm7, 0x1b
pshufhw xmm2, xmm2, 0x1b
packuswb xmm2, xmm1
movdqa xmm1, xmm6
punpckhbw xmm1, xmm0
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
punpcklbw xmm6, xmm0
pshuflw xmm0, xmm6, 0x1b
pshufhw xmm0, xmm0, 0x1b
packuswb xmm0, xmm1
movdqu xmmword [rax], xmm0
movdqu xmmword [rax + 0x10], xmm2
mov edx, 0x20
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 1
mov edx, 0x20
call fcn.1400a9bd0
ud2
Function at 0x14000b760
Capabilities:
Terminate process

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, qword [rcx]
cmp rbx, 2
je 0x14000b8aa
mov rsi, rcx
cmp byte [rcx + 0x60], 0
je 0x14000b7fd
mov rdi, qword [rsi + 0x30]
mov rcx, rdi
mov edx, 1
call qword [sym.imp.kernel32.dll_TerminateProcess]
test eax, eax
je 0x14000b79b
mov byte [rsi + 0x60], 0
jmp 0x14000b7fd
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 5
jne 0x14000b7fd
mov rcx, rdi
xor edx, edx
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b7be
cmp eax, 0x102
je 0x14000b795
jmp 0x14000b7d8
mov dword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000b795
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x30]
call fcn.140079f00
mov rcx, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x38]
mov r14, qword [sym.imp.kernel32.dll_CloseHandle]
call r14
mov rcx, rdi
call r14
test rbx, rbx
je 0x14000b824
mov rcx, qword [rsi + 8]
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp qword [rsi + 0x10], 0
je 0x14000b835
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp qword [rsi + 0x20], 0
je 0x14000b846
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp qword [rsi + 0x40], 0
je 0x14000b8aa
mov rcx, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x58]
call fcn.14009a430
mov rdi, qword [rsi + 0x48]
test rdi, rdi
je 0x14000b8aa
mov rax, qword [rdi + 0x30]
nop word [rax + rax]
mov rcx, rax
or rcx, 4
lock cmpxchg qword [rdi + 0x30], rcx
jne 0x14000b870
and eax, 0xa
cmp eax, 8
jne 0x14000b892
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
call qword [rax + 0x10]
lock dec qword [rdi]
jne 0x14000b8aa
mov rcx, qword [rsi + 0x48]
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400102e0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400158f0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rdx + 0x10]
movups xmm0, xmmword [rdx]
mov r9d, dword [rdx + 0xc]
add r9d, eax
bswap r9d
movd xmm1, r9d
shufps xmm1, xmm0, 0xe4
shufps xmm0, xmm1, 0x24
xorps xmm0, xmmword [rcx]
aesenc xmm0, xmmword [rcx + 0x10]
aesenc xmm0, xmmword [rcx + 0x20]
aesenc xmm0, xmmword [rcx + 0x30]
aesenc xmm0, xmmword [rcx + 0x40]
aesenc xmm0, xmmword [rcx + 0x50]
aesenc xmm0, xmmword [rcx + 0x60]
aesenc xmm0, xmmword [rcx + 0x70]
aesenc xmm0, xmmword [rcx + 0x80]
aesenc xmm0, xmmword [rcx + 0x90]
aesenc xmm0, xmmword [rcx + 0xa0]
aesenc xmm0, xmmword [rcx + 0xb0]
inc eax
aesenc xmm0, xmmword [rcx + 0xc0]
mov dword [rdx + 0x10], eax
aesenc xmm0, xmmword [rcx + 0xd0]
aesenclast xmm0, xmmword [rcx + 0xe0]
movdqu xmmword [r8], xmm0
ret
Function at 0x140016530
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140016572
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14001657a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14001658b
jmp 0x1400165a2
xor r10d, r10d
jmp 0x14001662d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400165a2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400165b9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400165d9
add r11, r8
jmp 0x14001670a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400166a2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
rol ecx, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140016650
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
mov dword [rax], ecx
cmp r11d, 3
jbe 0x1400166c0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400166d2
jmp 0x1400166ec
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400166ec
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140016706
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret