joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
xor edx, edx
mov rdi, rcx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
je 0x1400010d7
cmp qword [rdi + 0x18], 0x10
jb 0x140001031
mov rdi, qword [rdi]
xor eax, eax
lea r8, [0x140018480]
mov qword [rsp + 0x60], rax
lea rdx, [0x140018490]
mov qword [rsp + 0x58], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x50], rax
mov rcx, rbx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rdi, rax
test rax, rax
jne 0x1400010b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
cmp eax, 0x431
jne 0x1400010d1
lea r8d, [rdi + 0x10]
lea rdx, [0x1400184a0]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x1400010ce
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x1400010f0
Capabilities:
Copy file
Get common file path

Disassembly:
push rbx
sub rsp, 0x360
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov rbx, rcx
lea rdx, [rsp + 0x130]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x14000112c
xor eax, eax
jmp 0x1400011b2
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x14001849c]
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x140001125
mov r8d, 0x104
lea rdx, [rsp + 0x240]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140001125
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140001125
cmp byte [rsp + 0x20], 0
jne 0x14000118d
xor r8d, r8d
jmp 0x1400011a0
lea rax, [rsp + 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140001196
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400014d0
mov eax, 1
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.140001c00
add rsp, 0x360
pop rbx
ret
Function at 0x140006bfc
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 0x1400069d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400069d0
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400069d0
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400069d0
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400069d0
cmp dword [rcx + 0x84], 0xe
jbe 0x1400069d0
cmp dword [rcx + 0xf8], esi
je 0x1400069d0
mov ecx, r14d
call fcn.140006b18
mov ecx, 2
call fcn.140009578
nop
cmp byte [0x14001c3b8], 0
jne 0x140006a9a
mov r15d, 1
mov eax, r15d
xchg dword [0x14001c3a8], eax
test ebx, ebx
jne 0x140006a43
mov rdi, qword [section..data]
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 [0x14001c3b0]
cmp rcx, rax
je 0x140006a3a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140002a90]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14001c3f8]
jmp 0x140006a4f
cmp ebx, r15d
jne 0x140006a55
lea rcx, [0x14001c410]
call fcn.140007144
nop
test ebx, ebx
jne 0x140006a6c
lea rdx, [0x140011330]
lea rcx, [0x140011310]
call fcn.140006890
lea rdx, [0x140011340]
lea rcx, [0x140011338]
call fcn.140006890
movzx eax, byte [0x14001c3b8]
test esi, esi
cmove eax, r15d
mov byte [0x14001c3b8], al
jmp 0x140006a9a
mov ecx, 2
call fcn.1400095cc
test esi, esi
jne 0x140006ab1
mov ecx, r14d
call fcn.140006acc
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 0x140006960
Function at 0x140004570
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400045ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400045ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400045ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400045ba
cmp dword [rcx + 0x84], 0xe
jbe 0x1400045ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400045bc
xor al, al
add rsp, 0x28
ret
Function at 0x140005567
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rsi
sub rsp, 0x10
xorps xmm0, xmm0
movaps xmmword [rsp], xmm0
mov eax, dword [rdx + 0x10]
mov r9d, dword [rdx]
add r9d, eax
xor r10d, r10d
test r10, r10
je 0x14000558d
mov r11d, dword [rdx + r10]
mov rsi, r10
jmp 0x140005592
mov r11d, r9d
xor esi, esi
mov dword [rsp + rsi], r11d
add r10, 4
cmp r10, 0x10
jne 0x14000557f
movdqa xmm0, xmmword [rsp]
pxor 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
add rsp, 0x10
pop rsi
ret
Function at 0x140014193
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
lea rax, [rsp + 0x48]
mov qword [rax], rcx
lea rcx, [rsp + 0x50]
mov qword [rcx], rdx
xor edx, edx
lea r8, [rsp + 0x58]
mov qword [r8], rdx
mov qword [r8 + 8], 8
mov qword [r8 + 0x10], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], r8
lea rcx, [0x140001abd]
call fcn.1400479a7
test rax, rax
jne 0x14001421d
call fcn.140047f8e
mov rdi, qword [rax]
lea rsi, [rdi + 0x80]
lea rcx, [0x140001abd]
call fcn.1400479a7
test rax, rax
je 0x1400143d2
cmp qword [rax + 0x110], rdi
jne 0x1400143e4
lea rcx, [rsp + 0x28]
mov rdx, rax
call fcn.1400010e6
mov rax, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rbp, rcx
shl rbp, 5
add rbp, r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbp
test rcx, rcx
je 0x14001439b
add r13, 0x20
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x20], rbp
mov rsi, qword [r13 - 0x20]
cmp rsi, rdi
je 0x14001439b
lea rbx, [r13 - 0x20]
mov r14, qword [r13 - 0x18]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x70]
mov rdx, r14
call fcn.1400558c0
mov rax, qword [rsp + 0x70]
mov r15, qword [rsp + 0x78]
cmp rax, rdi
je 0x1400142fb
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], rcx
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x88]
call fcn.14005b610
mov rax, rdi
mov rdi, qword [rsp + 0xa0]
mov r15, qword [rsp + 0xa8]
mov rbp, rax
cmp rdi, rax
jne 0x140014335
mov rdi, rbp
mov rbp, qword [rsp + 0x20]
mov r12, r15
test r15, r15
je 0x14001430b
mov rcx, r12
call fcn.14002401a
test rsi, rsi
je 0x140014322
mov rcx, qword [0x14009e2b0]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
add r13, 0x20
add rbx, 0x20
cmp rbx, rbp
jne 0x14001426e
jmp 0x140014398
mov rcx, r15
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x140014363
test rdi, rdi
mov rdi, rbp
mov rbp, qword [rsp + 0x20]
je 0x14001430b
mov rcx, qword [0x14009e2b0]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14001430b
call qword [sym.imp.kernel32.dll_GetLastError]
mov r12d, eax
shl r12, 0x20
or r12, 2
test rdi, rdi
je 0x14001438b
mov rcx, qword [0x14009e2b0]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, rbp
mov rbp, qword [rsp + 0x20]
jmp 0x140014303
mov r13, rbp
lea rcx, [rsp + 0x28]
mov qword [rcx + 8], r13
call fcn.140001f4e
lea rcx, [rsp + 0x50]
call fcn.1400020c1
lea rcx, [rsp + 0x48]
call fcn.140002249
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140071cd8
jmp 0x14001422a
lea r8, [rsp + 0x28]
mov rcx, rsi
mov rdx, rax
call fcn.14007205f
jmp 0x14001422a
Function at 0x140016f8e
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x14001817e
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1400181b1
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400181b6
call fcn.14005e200
mov ecx, dword [0x14009e334]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov byte [rcx + 0x130], 1
mov qword [rcx + 0x138], rax
mov qword [rcx + 0x140], rdx
add rsp, 0x38
ret

Function at 0x14001835a
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rax
mov rax, rcx
add qword [rcx + 0x30], 8
mov qword [rsp], rdx
mov r10, qword [rcx + 0x40]
test r10, r10
je 0x140018401
mov esi, 8
mov r9d, 8
sub r9, r10
cmp r9, 8
cmovb rsi, r9
xor r11d, r11d
xor r8d, r8d
cmp rsi, 4
mov ecx, edx
cmovae r11, rcx
setae r8b
lea rcx, [r8*4 + 1]
shl r8, 2
cmp rcx, rsi
jae 0x1400183c8
movzx edx, word [rsp + r8]
lea ecx, [r8*8]
shl rdx, cl
or r11, rdx
or r8, 2
cmp r8, rsi
jae 0x1400183df
movzx edx, byte [rsp + r8]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r11, rdx
lea ecx, [r10*8]
shl r11, cl
or r11, qword [rax + 0x38]
mov qword [rax + 0x38], r11
cmp r10, 8
jbe 0x140018406
add r10, 8
jmp 0x14001852b
xor r9d, r9d
jmp 0x14001845a
mov r8, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, rdx
rol rdx, 0xd
xor r8, r11
xor rdx, rcx
rol rcx, 0x20
mov r10, qword [rax + 8]
add r10, r8
rol r8, 0x10
xor r8, r10
add rcx, r8
rol r8, 0x15
xor r8, rcx
add r10, rdx
rol rdx, 0x11
mov qword [rax + 0x18], r8
xor rdx, r10
rol r10, 0x20
mov qword [rax + 0x10], rdx
mov qword [rax + 8], r10
xor rcx, r11
mov qword [rax], rcx
mov ecx, 8
sub rcx, r9
mov r10d, ecx
and r10d, 7
and rcx, 0xfffffffffffffff8
cmp r9, rcx
jae 0x1400184d3
mov rdx, qword [rax]
mov r8, qword [rax + 8]
mov rsi, qword [rax + 0x18]
mov r11, qword [rax + 0x10]
add rdx, r11
rol r11, 0xd
mov rdi, qword [rsp + r9]
xor r11, rdx
rol rdx, 0x20
xor rsi, rdi
add r8, rsi
rol rsi, 0x10
xor rsi, r8
add rdx, rsi
rol rsi, 0x15
add r8, r11
rol r11, 0x11
xor r11, r8
rol r8, 0x20
xor rsi, rdx
xor rdx, rdi
add r9, 8
cmp r9, rcx
jb 0x140018481
mov qword [rax + 0x18], rsi
mov qword [rax + 0x10], r11
mov qword [rax + 8], r8
mov qword [rax], rdx
cmp r10d, 4
jb 0x1400184e4
mov r8d, dword [rsp + r9]
mov edx, 4
jmp 0x1400184e9
xor r8d, r8d
xor edx, edx
mov rcx, rdx
or rcx, 1
cmp rcx, r10
jae 0x14001850f
lea rcx, [rdx + r9]
movzx r11d, word [rsp + rcx]
lea ecx, [rdx*8]
shl r11, cl
or r8, r11
or rdx, 2
cmp rdx, r10
jae 0x140018527
add r9, rdx
movzx r9d, byte [rsp + r9]
shl edx, 3
mov ecx, edx
shl r9, cl
or r8, r9
mov qword [rax + 0x38], r8
mov qword [rax + 0x40], r10
add rsp, 8
pop rdi
pop rsi
ret
Function at 0x14001ec90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14001ed20
cmp r11, r10
ja 0x14001ed96
cmp r10, rdx
ja 0x14001eda8
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14001ed22
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14001ed00
jmp 0x14001ed84
ja 0x14001ed2a
mov r11, r10
cmp rax, r8
jne 0x14001ecc4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14001ed60
mov rdi, r8
sub ecx, edx
jns 0x14001ed7b
jmp 0x14001ed86
cmp r8, rsi
je 0x14001edb7
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14001ed86
xor al, 1
cmp rdi, rsi
jne 0x14001ed40
jmp 0x14001ed86
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str._w__a__E7s_YTn____XRL_JMtX_h3kX_____o
mov rcx, r11
mov rdx, r10
call fcn.140073a00
lea r8, str._w__a__E7s_YTn____XRL_JMtX_h3kX_____o
mov rcx, r10
call fcn.140073730
lea rcx, str._w__a__E7s_YTn____XRL_JMtX_h3kX_____o
call fcn.140073be0
int3

Function at 0x140023ed5
Capabilities:
Manipulate console buffer

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov edi, edx
mov ebx, ecx
call fcn.140024b2b
mov rsi, rdx
test rax, rax
je 0x140023f01
mov rdi, rsi
mov word [rsp + 0x2c], bx
mov word [rsp + 0x2e], di
test bx, bx
js 0x140023f40
test di, di
js 0x140023f87
mov rcx, qword [rsi + 0x10]
shl edi, 0x10
movzx edx, bx
or edx, edi
call sub.kernel32.dll_SetConsoleCursorPosition
test eax, eax
je 0x140023fe1
lock dec qword [rsi]
jne 0x140023f3c
mov rcx, rsi
call fcn.140024c91
xor edi, edi
jmp fcn.140023ef3
lea rax, [rsp + 0x2c]
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
lea rax, [fcn.140022e50]
mov qword [rcx + 8], rax
lea rax, str.Argument_Out_of_Range_Exception_when_setting_cursor_position_to_X:
lea rdx, [rsp + 0x70]
mov qword [rdx], rax
mov eax, 1
mov qword [rdx + 8], rax
mov qword [rdx + 0x20], 0
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rdi, [rsp + 0x40]
jmp fcn.140023fcc
lea rax, [rsp + 0x2e]
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
lea rax, [fcn.140022e50]
mov qword [rcx + 8], rax
lea rax, str.Argument_Out_of_Range_Exception_when_setting_cursor_position_to_Y:
lea rdx, [rsp + 0x70]
mov qword [rdx], rax
mov eax, 1
mov qword [rdx + 8], rax
mov qword [rdx + 0x20], 0
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rdi, [rsp + 0x58]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
call rdi
shl rax, 0x20
shl eax, 0x20
lea rcx, [rax + 2]
call fcn.14002401a
call rdi
mov edi, eax
shl rdi, 0x20
or rdi, 2
lock dec qword [rsi]
jne fcn.140023ef3
invalid
mov rcx, rsi
call fcn.140024c91
jmp fcn.140023ef3
invalid
invalid
Function at 0x140024883
Capabilities:
Manipulate console buffer

Disassembly:
sub rsp, 0x28
mov r9d, r8d
movsx eax, cx
movsx r8d, dx
imul r8d, eax
xor ecx, ecx
xor edx, edx
call fcn.1400248b5
test rax, rax
je 0x1400248a8
add rsp, 0x28
ret
xor ecx, ecx
xor edx, edx
add rsp, 0x28
jmp fcn.140023ed5

Function at 0x140025839
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
movzx r15d, byte [rdx + 0x48]
lea rcx, [rdx + r15]
mov r8d, 0x48
sub r8, r15
xor r14d, r14d
xor edx, edx
call fcn.140071950
mov byte [rbx + 0x48], 0
mov byte [rbx + r15], 6
or byte [rbx + 0x47], 0x80
mov rax, qword [rbx + r14*8]
xor qword [rdi + r14*8], rax
lea rax, [r14 + 1]
mov r14, rax
cmp rax, 9
jne 0x140025876
mov rdx, qword [rdi + 0xc8]
mov rcx, rdi
call fcn.1400364b5
xor eax, eax
mov rcx, qword [rdi + rax*8]
mov qword [rsi + rax*8], rcx
inc rax
cmp rax, 8
jne 0x14002589c
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140025911
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xb0], xmm6
test r8, r8
je 0x1400259e3
mov rbx, r8
mov r14, rdx
mov r15, rcx
movups xmm6, xmmword [0x140085450]
mov r12d, 0xffffffff
xorps xmm7, xmm7
lea r13, [rsp + 0x50]
mov rbp, qword [sym.imp.ntdll.dll_NtReadFile]
mov rdi, qword [sym.imp.kernel32.dll_WaitForSingleObject]
lea rsi, str.failed_to_fill_whole_buffer
movaps xmmword [rsp + 0x50], xmm6
cmp rbx, r12
mov eax, 0xffffffff
cmovb rax, rbx
movups xmmword [rsp + 0x38], xmm7
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbp
cmp eax, 0x103
jne 0x1400259b6
mov rcx, r15
mov edx, 0xffffffff
call rdi
mov eax, dword [rsp + 0x50]
cmp eax, 0xc0000011
je 0x1400259e5
cmp eax, 0x103
je 0x140025a58
test eax, eax
js 0x140025a0c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400259e5
cmp rbx, rcx
jb 0x140025a49
add r14, rcx
sub rbx, rcx
jne 0x140025970
xor esi, esi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov rdi, rax
shl rdi, 0x20
or rdi, 2
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], 1
mov ecx, eax
call fcn.140056430
cmp al, 0xb
jne 0x140025a44
lea rcx, [rsp + 0x70]
call fcn.140053930
jmp 0x1400259e5
mov rsi, rdi
jmp 0x1400259e5
lea r8, str._J_____fMGnuVY____7J3_7___L__L__7HMnd____1Z1ZJFF__w_6______f__G2ZreC___zF
mov rdx, rbx
call fcn.140073630
lea rcx, [rsp + 0x60]
mov dword [rcx], 0
mov byte [rcx + 4], 0
lea rax, str.aT_b_
lea rdx, [rsp + 0x80]
mov qword [rdx], rax
mov qword [rdx + 8], 1
lea rax, [rsp + 0x48]
mov qword [rdx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rdx + 0x18], xmm0
call fcn.1400543d0
add byte [rax - 0x73], cl
and al, 0x78
mov qword [rcx], rax
call fcn.140053a30
add al, byte [rax]
mov ecx, 7
int 0x29
ud2
Function at 0x14002cd28
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
mov ah, 0x24
add byte [rax], 0
add byte [rax], al
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
sub dword [rsp], esi
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
fistp dword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
fstp xword [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
movaps xmmword [rcx], xmm5
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
jg 0x14002ce39
xor byte [rsi + 0xf], ah
jg case.0x14001fcde.83
invalid
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
jg 0x14002cdad
mov al, 0
add byte [rax], al
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]
and al, 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 0x14002e788
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 0x14002e7be
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14002e7c6
mov esi, dword [rdx]
mov r9d, 4
jmp 0x14002e7cb
xor r10d, r10d
jmp 0x14002e879
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14002e7ee
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14002e805
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 0x14002e825
add r11, r8
jmp 0x14002e949
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 0x14002e8ed
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
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
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14002e89b
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14002e8ff
mov r9d, dword [rdx + r10]
mov r8d, 4
jmp 0x14002e905
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14002e92b
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 0x14002e945
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