joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dc930
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
push rbx
sub rsp, 0x60
movaps xmmword [rsp], xmm6
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x50], xmm11
movdqa xmm5, xmmword [0x14022b710]
movdqa xmm6, xmmword [0x14022b720]
movdqa xmm7, xmmword [0x14022b730]
movdqa xmm4, xmmword [str._f__nc]
movdqa xmm3, xmmword [r9]
movdqa xmm2, xmmword [r9 + 0x10]
movdqa xmm1, xmmword [r9 + 0x20]
movdqa xmm0, xmmword [r9 + 0x30]
movdqa xmm11, xmmword [0x14022b740]
movdqa xmm10, xmmword [0x14022b750]
movdqa xmm9, xmmword [0x14022b760]
movdqa xmm8, xmmword [0x14022b770]
mov rax, rdx
mov r11, rcx
lea rdx, [rcx + 0x1c00]
lea rcx, [rcx + rax - 0x1c00]
mov r10, r11
lea rbx, [rcx + 0x3800]
mov rax, r10
cmp r10, rcx
jae 0x1400dca8d
nop dword [rax]
aesdec xmm3, xmm11
aesenc xmm2, xmm10
aesenc xmm7, xmmword [rax]
sub rax, 0xffffffffffffff80
aesdec xmm1, xmm9
aesenc xmm0, xmm8
movaps xmmword [rax - 0x80], xmm3
aesdec xmm6, xmmword [rax - 0x70]
aesenc xmm5, xmmword [rax - 0x60]
aesdec xmm4, xmmword [rax - 0x50]
movaps xmmword [rax - 0x70], xmm2
prefetcht0 byte [rdx]
movaps xmmword [rax - 0x60], xmm1
aesdec xmm3, xmm11
prefetcht0 byte [rdx + 0x40]
aesenc xmm2, xmm10
movaps xmmword [rax - 0x50], xmm0
aesdec xmm1, xmm9
sub rdx, 0xffffffffffffff80
aesenc xmm0, xmm8
aesenc xmm7, xmmword [rax - 0x40]
aesdec xmm6, xmmword [rax - 0x30]
aesenc xmm5, xmmword [rax - 0x20]
movaps xmmword [rax - 0x40], xmm3
aesdec xmm4, xmmword [rax - 0x10]
movaps xmmword [rax - 0x30], xmm2
movaps xmmword [rax - 0x20], xmm1
movaps xmmword [rax - 0x10], xmm0
cmp rax, rcx
jb 0x1400dc9e0
mov rax, rcx
sub rax, r10
sub rax, 1
and rax, 0xffffffffffffff80
lea r10, [r10 + rax + 0x80]
add rcx, 0x1c00
cmp rbx, rcx
je 0x1400dcaa8
mov rdx, r11
jmp 0x1400dc9d0
movaps xmmword [r9], xmm3
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmmword [r9 + 0x30], xmm0
movdqa xmm0, xmmword [0x14022b780]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmmword [r9 + 0x10], xmm2
movaps xmm11, xmmword [rsp + 0x50]
aesenc xmm7, xmm0
aesdec xmm6, xmm0
aesenc xmm5, xmm0
movaps xmmword [r9 + 0x20], xmm1
aesdec xmm4, xmm0
movdqa xmm0, xmmword [0x14022b790]
aesenc xmm7, xmm0
aesdec xmm6, xmm0
aesenc xmm5, xmm0
movaps xmmword [r8], xmm7
movaps xmm7, xmmword [rsp + 0x10]
aesdec xmm4, xmm0
movaps xmmword [r8 + 0x10], xmm6
movaps xmm6, xmmword [rsp]
movaps xmmword [r8 + 0x20], xmm5
movaps xmmword [r8 + 0x30], xmm4
add rsp, 0x60
pop rbx
ret
Function at 0x14014cf80
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x88
movaps xmmword [rsp], xmm6
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x70], xmm13
mov rax, qword [0x140232d50]
movdqa xmm0, xmmword [rcx]
movdqa xmm4, xmmword [rax + 0xa0]
movdqa xmm8, xmmword [rax + 0xe0]
movdqa xmm12, xmmword [rcx + 0x10]
movdqa xmm2, xmmword [rcx + 0x20]
movdqa xmm1, xmmword [rcx + 0x30]
aesdec xmm0, xmm4
movdqa xmm5, xmmword [rax + 0xb0]
aesenc xmm12, xmm4
movdqa xmm9, xmmword [rax + 0xf0]
aesdec xmm2, xmm8
aesenc xmm1, xmm8
add rdx, r8
sub r8, 0xffffffffffffff80
movdqa xmm6, xmmword [rax + 0xc0]
aesdec xmm0, xmm5
movdqa xmm10, xmmword [rax + 0x100]
aesenc xmm12, xmm5
movdqa xmm7, xmmword [rax + 0xd0]
aesdec xmm2, xmm9
movdqa xmm11, xmmword [rax + 0x110]
aesenc xmm1, xmm9
aesdec xmm0, xmm6
aesenc xmm12, xmm6
aesdec xmm2, xmm10
aesenc xmm1, xmm10
aesdec xmm0, xmm7
aesenc xmm12, xmm7
aesdec xmm2, xmm11
aesenc xmm1, xmm11
movaps xmmword [r8 - 0x80], xmm0
aesdec xmm0, xmm4
movaps xmmword [r8 - 0x70], xmm12
aesenc xmm12, xmm4
aesdec xmm0, xmm5
movaps xmmword [r8 - 0x60], xmm2
aesdec xmm2, xmm8
aesenc xmm12, xmm5
aesdec xmm0, xmm6
movaps xmmword [r8 - 0x50], xmm1
aesenc xmm1, xmm8
aesdec xmm2, xmm9
aesenc xmm12, xmm6
aesenc xmm1, xmm9
aesdec xmm2, xmm10
aesdec xmm0, xmm7
aesenc xmm1, xmm10
aesenc xmm12, xmm7
aesdec xmm2, xmm11
movaps xmmword [r8 - 0x40], xmm0
aesenc xmm1, xmm11
movaps xmmword [r8 - 0x30], xmm12
movaps xmmword [r8 - 0x20], xmm2
movaps xmmword [r8 - 0x10], xmm1
cmp r8, rdx
jae 0x1400d98d5
movdqa xmm3, xmmword [0x14022b7b0]
nop dword [rax + rax]
aesdec xmm0, xmm4
aesenc xmm12, xmm4
aesdec xmm2, xmm8
add r8, 0x40
aesdec xmm0, xmm5
aesenc xmm12, xmm5
aesdec xmm2, xmm9
aesdec xmm0, xmm6
aesenc xmm12, xmm6
aesenc xmm1, xmm8
aesdec xmm0, xmm7
aesenc xmm12, xmm7
aesdec xmm2, xmm10
movdqa xmm13, xmm0
aesenc xmm1, xmm9
aesdec xmm2, xmm11
pand xmm13, xmm3
aesenc xmm1, xmm10
movaps xmmword [r8 - 0x40], xmm13
movdqa xmm13, xmm12
aesenc xmm1, xmm11
pand xmm13, xmm3
movaps xmmword [r8 - 0x30], xmm13
movdqa xmm13, xmm2
pand xmm13, xmm3
movaps xmmword [r8 - 0x20], xmm13
movdqa xmm13, xmm1
pand xmm13, xmm3
movaps xmmword [r8 - 0x10], xmm13
cmp r8, rdx
jb 0x1400d9830
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]
add rsp, 0x88
ret
mov rax, rcx
mov rcx, rdx
mov rdx, qword [0x140232d50]
lea r8, [rax + 0x40]
mov edx, dword [rdx + 0x1c]
lea edx, [rdx*8 + 0x80]
jmp 0x1400d96a0
Function at 0x1401bf9f0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read_1
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x1401bfa38
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x1401bfa0a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1401d23a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x1401d23c8
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read_1
test eax, eax
jle 0x1401d2410
cdqe
add rsi, rax
sub rbx, rax
jne 0x1401d23e0
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x1401d241c
call rbp
cmp dword [rax], 4
je 0x1401d23e0
lea rcx, str.random_device_could_not_be_read
call fcn.140215500
nop
nop
nop
nop
nop
nop
nop
nop
mov rax, qword [0x140233b40]
add rax, 0x10
mov qword [rcx], rax
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov eax, dword [rax - 8]
test eax, eax
mov rax, qword [rcx + 8]
jg 0x1401d2460
mov dword [rax - 8], 1
ret
lock add dword [rax - 8], 1
ret
Function at 0x1401deb40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
movaps xmmword [rsp], xmm6
movaps xmmword [rsp + 0x10], xmm7
movdqa xmm3, xmmword [0x140224ab0]
pxor xmm7, xmm7
movdqa xmm4, xmmword [0x140224ac0]
movdqa xmm5, xmmword [0x140224ad0]
movdqa xmm6, xmmword [0x140224ae0]
mov rdx, rcx
lea rcx, [rcx + 0x380]
mov rax, rdx
nop
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 4]
add rax, 0x10
movdqu xmm2, xmmword [rax + 0x624]
pand xmm1, xmm4
pand xmm0, xmm3
por xmm0, xmm1
movdqa xmm1, xmm0
pand xmm0, xmm5
psrld xmm1, 1
pxor xmm1, xmm2
movdqa xmm2, xmm7
psubd xmm2, xmm0
pand xmm2, xmm6
movdqa xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [rax - 0x10], xmm0
cmp rcx, rax
jne 0x1401deb80
movq xmm0, qword [rdx + 0x380]
mov eax, dword [rdx + 0x388]
movq xmm1, qword [0x140224ab0]
mov ecx, dword [rdx + 0x38c]
movq xmm2, qword [0x140224ac0]
and eax, 0x80000000
pand xmm0, xmm1
and ecx, 0x7fffffff
movq xmm1, qword [rdx + 0x384]
or eax, ecx
pand xmm1, xmm2
mov ecx, eax
and eax, 1
por xmm0, xmm1
neg eax
shr ecx, 1
xor ecx, dword [rdx + 0x9bc]
movdqa xmm2, xmm0
and eax, 0x9908b0df
movq xmm1, qword [rdx + 0x9b4]
psrld xmm2, 1
xor eax, ecx
lea rcx, [rdx + 0x9bc]
pxor xmm1, xmm2
mov dword [rdx + 0x388], eax
movq xmm2, qword [0x140224ad0]
lea rax, [rdx + 0x38c]
pand xmm0, xmm2
pxor xmm2, xmm2
psubd xmm2, xmm0
movq xmm0, qword [0x140224ae0]
pand xmm0, xmm2
pxor xmm2, xmm2
pxor xmm1, xmm0
movq qword [rdx + 0x380], xmm1
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 4]
add rax, 0x10
movdqu xmm7, xmmword [rax - 0x39c]
pand xmm1, xmm4
pand xmm0, xmm3
por xmm0, xmm1
movdqa xmm1, xmm0
pand xmm0, xmm5
psrld xmm1, 1
pxor xmm1, xmm7
movdqa xmm7, xmm2
psubd xmm7, xmm0
pand xmm7, xmm6
movdqa xmm0, xmm7
pxor xmm0, xmm1
movups xmmword [rax - 0x10], xmm0
cmp rcx, rax
jne 0x1401dec83
mov eax, dword [rdx + 0x9bc]
mov ecx, dword [rdx]
mov qword [rdx + 0x9c0], 0
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
and ecx, 0x7fffffff
and eax, 0x80000000
or eax, ecx
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
xor ecx, dword [rdx + 0x630]
and eax, 0x9908b0df
xor eax, ecx
mov dword [rdx + 0x9bc], eax
add rsp, 0x28
ret

Function at 0x140202890
Capabilities:
Encode data using xor

Disassembly:
mov r11, rdx
mov rax, rcx
mov r10, rdx
and r11, 0xfffffffffffffff8
add r11, rcx
movabs rcx, 0xc6a4a7935bd1e995
imul r10, rcx
xor r10, r8
cmp rax, r11
je 0x1402028e8
nop word cs:[rax + rax]
mov r9, qword [rax]
add rax, 8
imul r9, rcx
mov r8, r9
shr r8, 0x2f
xor r8, r9
imul r8, rcx
xor r8, r10
mov r10, r8
imul r10, rcx
cmp r11, rax
jne 0x1402028c0
and edx, 7
je 0x14020291d
sub edx, 1
movsxd rax, edx
xor edx, edx
nop dword [rax]
movzx ecx, byte [r11 + rax]
shl rdx, 8
sub rax, 1
add rdx, rcx
test eax, eax
jns 0x1402028f8
xor rdx, r10
movabs r10, 0xc6a4a7935bd1e995
imul r10, rdx
movabs rax, 0xc6a4a7935bd1e995
mov rdx, r10
shr rdx, 0x2f
xor rdx, r10
imul rdx, rax
mov rax, rdx
shr rax, 0x2f
xor rax, rdx
ret
Function at 0x14020bb48
Capabilities:
Generate random numbers via rtlgenrandom
Link many functions at runtime

Disassembly:
push rsi
push rdi
sub rsp, 0x28
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14020bd40
mov rsi, rax
lea rdx, str.RtlGetVersion
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call rdi
mov qword [0x1402fa8e0], rax
lea rdx, str.RtlNtStatusToDosError
mov rcx, rsi
call rdi
mov qword [0x1402fa8b8], rax
test rax, rax
je 0x14020bd31
lea rdx, str.NtDeviceIoControlFile
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fa8f8], rax
test rax, rax
je 0x14020bd31
lea rdx, str.NtQueryInformationFile
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fa8d0], rax
test rax, rax
je 0x14020bd31
lea rdx, str.NtSetInformationFile
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fa8c8], rax
test rax, rax
je 0x14020bd31
lea rdx, str.NtQueryVolumeInformationFile
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fa8d8], rax
test rax, rax
je 0x14020bd31
lea rdx, str.NtQueryDirectoryFile
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fa8f0], rax
cmp qword [0x1402fa8d8], 0
je 0x14020bd31
lea rdx, str.NtQuerySystemInformation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fa8a0], rax
test rax, rax
je 0x14020bd31
lea rdx, str.NtQueryInformationProcess
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fa8c0], rax
test rax, rax
je 0x14020bd31
lea rcx, [0x14022d360]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14020bd40
lea rdx, str.GetQueuedCompletionStatusEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fa900], rax
lea rcx, str.powrprof.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14020bcd8
lea rdx, str.PowerRegisterSuspendResumeNotification
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fa8e8], rax
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14020bd01
lea rdx, str.SetWinEventHook
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fa8b0], rax
lea rcx, [0x14022d3d8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14020bd40
lea rdx, [0x14022d3e5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402fa8a8], rax
add rsp, 0x28
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.GetProcAddress
jmp 0x14020bd4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.GetModuleHandleA
mov ecx, eax
call fcn.140060630
ud2
Function at 0x140211c20
Capabilities:
Contain obfuscated stackstrings
Execute command

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0xa0
mov ebx, ecx
mov rsi, rdx
lea rdi, [rsp + 0x30]
call fcn.1400c88c0
mov rcx, rdi
mov r8, rsi
mov edx, ebx
call fcn.140016c00
mov rcx, rdi
call fcn.140016a90
test eax, eax
je 0x140211c75
mov edx, eax
mov rcx, rdi
call fcn.140016aa0
mov ebx, eax
lea rcx, [rsp + 0x40]
call fcn.1401e4330
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rsi
pop rdi
ret
lea rsi, [rsp + 0x60]
mov rdx, rdi
mov rcx, rsi
call fcn.1400500b0
call fcn.14005edd0
test al, al
je 0x140211d01
mov dword [rsp + 0x2a], 0x7a7c6877
lea rcx, [rsp + 0x2a]
mov word [rsp + 0x2e], 0x6c
movzx eax, byte [rsp + 0x2a]
mov dword [rsp + 0x24], 0x7a7c6877
sub eax, 7
mov word [rsp + 0x28], 0x6c
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x2b]
sub eax, 7
mov byte [rsp + 0x2b], al
movzx eax, byte [rsp + 0x2c]
sub eax, 7
mov byte [rsp + 0x2c], al
movzx eax, byte [rsp + 0x2d]
sub eax, 7
mov byte [rsp + 0x2d], al
movzx eax, byte [rsp + 0x2e]
sub eax, 7
mov byte [rsp + 0x2e], al
call sub.msvcrt.dll_system
xor ebx, ebx
mov rcx, rsi
call fcn.1400501a0
jmp 0x140211c5e
mov rcx, rsi
call fcn.140050650
mov ebx, eax
jmp 0x140211cf4
Function at 0x140213e30
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbx, rcx
call fcn.14020b2e0
mov rax, qword [rbx - 0x10]
mov rcx, qword [rbx - 0x40]
mov rbp, qword [rbx - 0x18]
movsxd rsi, dword [rbx - 0x24]
mov qword [rsp + 0x30], rax
mov rdi, qword [rbx - 0x38]
call fcn.1400e3d50
mov rcx, rax
jmp 0x140213ca0
call fcn.14020b2e0
call fcn.14020b530
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x140213d27
mov rbx, qword [rbx]
lea r12, [rsp + 0x20]
mov rdx, rbp
xor ecx, ecx
mov r8, r12
call fcn.1400e3920
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r12
call fcn.1400e3a10
test al, al
jne 0x140213d45
lea rbx, [0x1402360c0]
mov r9, rsi
xor r8d, r8d
mov rcx, r12
mov rdx, rbx
call fcn.1400e3a10
test al, al
je 0x140213d4a
mov ecx, 8
call fcn.14020b270
lea r8, [0x1401c5c50]
mov rdx, rbx
mov rcx, rax
mov rax, qword [0x140233b20]
add rax, 0x10
mov qword [rcx], rax
call fcn.14020b7f0
add rbx, 0x90
jmp 0x140213cb6
call fcn.14020b7a0
mov rcx, rdi
call fcn.1400e3d30
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
mov rcx, rax
call fcn.14020b2e0
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.14014d8b0
mov ecx, 8
call fcn.14020b270
lea r8, [0x14014d560]
lea rdx, [0x140234f00]
mov rcx, rax
lea rax, [0x14023aba0]
mov qword [rcx], rax
call fcn.14020b7f0
call fcn.14014d8e0
mov rcx, qword [0x140218be0]
mov rbx, rax
call fcn.1400d58f0
test eax, eax
je 0x140213dcc
call fcn.14014d8e0
mov rcx, rbx
call fcn.1400c9b90
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.14014d8b0
call fcn.14014d8e0
call fcn.14014d910
nop
call fcn.14014d8b0
call fcn.14014d8e0
call fcn.14014d910
nop
mov ecx, 8
call fcn.14020b270
lea r8, [fcn.140201320]
lea rdx, [0x140236c60]
mov rcx, rax
mov rax, qword [0x140233dc0]
add rax, 0x10
mov qword [rcx], rax
call fcn.14020b7f0
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x140213eac
call fcn.14020b2e0
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sub.msvcrt.dll_fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sub.msvcrt.dll_fputc
call fcn.14020b410
call sub.msvcrt.dll_abort
mov rcx, rdi
call fcn.1400d4858
call fcn.14020b7a0
call fcn.14020b2e0
call fcn.14020b410
jmp 0x140213e9a
Function at 0x140002060
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], r9
push rdi
sub rsp, 0xf0
mov rdi, r8
mov rsi, rdx
lea r8, [rax + 0x20]
mov edx, 0x2000000
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, 1
jne 0x140002175
mov rcx, qword [rsp + 0x118]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov r9d, 2
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0x2000000
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rcx, qword [rsp + 0x118]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 1
jne 0x140002175
xor edx, edx
lea r8d, [rbx + 0x63]
lea rcx, [rsp + 0x84]
call fcn.140007ee0
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rsp + 0x80]
mov dword [rsp + 0x80], 0x68
mov qword [rsp + 0x48], rax
mov r8, rdi
xor eax, eax
mov rdx, rsi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140002175
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140002175
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x78]
jmp 0x140002177
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140002630
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push rbx
push rdi
mov eax, 0x10048
call fcn.1400111e0
sub rsp, rax
call fcn.140002250
lea rcx, [rsp + 0x10070]
xor edi, edi
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x10070], rdi
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002716
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x10000
call fcn.140007ee0
mov rcx, qword [rsp + 0x10070]
lea rax, [rsp + 0x10060]
mov qword [rsp + 0x30], rax
lea r9d, [rdi + 8]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x10060], 0x10000
mov qword [rsp + 0x28], rax
lea r8, [0x140019c80]
lea rax, [rsp + 0x10068]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [rsp + 0x10070]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140002716
mov r11d, dword [rsp + 0x10060]
mov word [0x1400c9700], di
test r11, r11
jne 0x140002722
lea rax, str.kls23lsls7bsyR_R
cmp eax, dword [0x140035884]
jne 0x140002716
mov dword [0x140035884], eax
xor eax, eax
add rsp, 0x10048
pop rdi
pop rbx
ret
mov qword [rsp + 0x10040], rsi
lea rbx, [0x1400c9700]
lea rsi, str.alLY460_PSFoi86:______HFd0824__5sWK7___1_812o6xiw
mov r8d, edi
mov r10d, edi
mov rax, rdi
mov r9, rdi
nop dword [rax]
nop dword [rax + rax]
cmp r8d, 0x40
lea r9, [r9 + 1]
mov ecx, edi
mov rdx, rdi
cmovb rdx, rax
inc r10d
movzx eax, byte [rdx + rsi]
xor al, byte [rsp + r9 + 0x3f]
cmp r8d, 0x40
mov byte [r9 + rbx - 1], al
lea rax, [rdx + 1]
cmovb ecx, r8d
lea r8d, [rcx + 1]
movsxd rcx, r10d
cmp rcx, r11
jb 0x140002750
mov rsi, qword [rsp + 0x10040]
mov rax, rbx
add rsp, 0x10048
pop rdi
pop rbx
ret
Function at 0x1400027a0
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x40
xor edx, edx
mov ebp, ecx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400027ce
lea eax, [rsi + 3]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x140002801
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 3
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
nop dword [rax + rax]
cmp dword [rsp + 0x2c], ebp
jne 0x14000284f
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x14000284f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140002884
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140002810
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000286f
Function at 0x1400028a0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x50
lea rcx, str.ksio826_yR_w98263R
cmp ecx, dword [0x140035884]
cmovne ecx, dword [0x140035884]
mov dword [0x140035884], ecx
call fcn.140005f60
xor edi, edi
cmp byte [0x140045f1a], dil
jne 0x1400028ea
cmp byte [0x1400358b3], dil
je 0x1400029cf
cmp byte [0x1400358b2], dil
je 0x1400029cf
cmp byte [0x14002280f], dil
mov qword [rsp + 0x60], rbx
je 0x14000291c
mov qword [rsp + 0x28], rdi
lea r8, [0x140001a20]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140025848], rax
mov qword [rsp + 0x28], rdi
lea r8, [0x140003de0]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x14000294f
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x28], rdi
lea r8, [0x140003400]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [0x140025850], rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x140002989
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x28], rdi
lea r8, [0x140001950]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [0x140025840], rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x1400029c3
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [0x140022838], rbx
mov rbx, qword [rsp + 0x60]
lea rax, str.winmmgr
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
lea rax, [0x140004640]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x38], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
lea rcx, str.93920947o8LSLS_yRsw8263R
cmp ecx, dword [0x140035884]
cmovne ecx, dword [0x140035884]
xor eax, eax
mov dword [0x140035884], ecx
add rsp, 0x50
pop rdi
ret
Function at 0x140003380
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
mov eax, 0x10040
call fcn.1400111e0
sub rsp, rax
xor edx, edx
lea r8d, [rax - 0x40]
lea rcx, [rsp + 0x40]
call fcn.140007ee0
lea rax, [rsp + 0x10050]
mov dword [rsp + 0x10050], 0x10000
mov qword [rsp + 0x30], rax
lea r8, str.ImagePath
xor ebx, ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.SYSTEMCurrentControlSetServicesDrWebFwSvc
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 4]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x10040
pop rbx
ret