joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14015c7e4
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov edi, 1
add rdx, rdi
mov rbx, qword [rcx + 0x38]
mov rsi, rcx
xorps xmm0, xmm0
js 0x14015c818
cvtsi2ss xmm0, rdx
jmp 0x14015c82d
mov rax, rdx
and rdx, rdi
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.140d9ec20
movss xmm1, dword [0x140fcf494]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14015c85b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14015c85b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14015c889
cmp rbx, 0x200
jae 0x14015c886
shl rbx, 3
cmp rbx, rcx
jae 0x14015c889
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov rax, rdi
shl rax, cl
cmp rbx, rax
ja 0x14015c9e1
lea rax, [rbx - 1]
mov rbx, qword [rsi + 8]
or rax, rdi
mov r8, rbx
bsr rcx, rax
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140155fe4
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14015c9a5
movzx r8d, byte [rax + 0x10]
movabs r9, 0xcbf29ce484222325
mov r11, qword [rsi + 0x30]
mov edx, r8d
mov rdi, qword [rsi + 0x18]
xor rdx, r9
mov rcx, qword [rcx]
movabs r9, 0x100000001b3
imul rdx, r9
and r11, rdx
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x14015c92e
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x14015c999
mov r10, qword [rdi + r11*8 + 8]
cmp r8b, byte [r10 + 0x10]
jne 0x14015c96e
mov r10, qword [r10]
cmp r10, rax
je 0x14015c927
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14015c927
mov r10, qword [r10 + 8]
cmp r8b, byte [r10 + 0x10]
je 0x14015c9bb
cmp qword [rdi + r11*8], r10
jne 0x14015c964
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14015c8e9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14015c999
lea rcx, str.invalid_hash_bucket_count
call fcn.140cda0a4
int3

Function at 0x14015dd0c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x14015dd3c
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x14015dd1e
mov rax, r8
ret
Function at 0x14015e79c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rbx, rdx
mov rax, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x14015e7be
mov rax, qword [r8]
mov r9d, dword [r8 + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14015e7cc
mov rdx, qword [rdx]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rbp + 0x40], eax
test eax, eax
jne 0x14015e800
mov rbx, qword [rsp + 0x148]
add rsp, 0x130
pop rbp
ret
movabs rax, 0xb0430b3744dd0f9d
mov qword [rsp + 0x40], rax
movabs rax, 0x4559a64c186aca5e
mov qword [rsp + 0x48], rax
movabs rax, 0x234c5a0d69ce35e1
mov qword [rsp + 0x50], rax
movabs rax, 0xc301037cfa8095b3
mov qword [rsp + 0x58], rax
movabs rax, 0x2f88d12147e9b351
mov qword [rsp + 0x60], rax
movabs rax, 0x58e84b488fd56df9
mov qword [rsp + 0x68], rax
movabs rax, 0x75789894152e28f8
mov qword [rsp + 0x70], rax
movabs rax, 0xf6db524766f706da
mov qword [rsp + 0x78], rax
movabs rax, 0xc9317f442dba6acf
mov qword [rbp - 0x80], rax
movabs rax, 0x213cca25792cea64
mov qword [rbp - 0x78], rax
movabs rax, 0x5725287a49a141c1
mov qword [rbp - 0x70], rax
movabs rax, 0xb7726a1b9ff2b5d6
mov qword [rbp - 0x68], rax
movabs rax, 0x4afdbd4031c9ca23
mov qword [rbp - 0x60], rax
movabs rax, 0x23c87131ea9e4dd8
mov qword [rbp - 0x58], rax
movabs rax, 0x4f0af7e6676b0885
mov qword [rbp - 0x50], rax
movabs rax, 0xf6db5247668a7dfa
mov qword [rbp - 0x48], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
xorps xmm1, xmmword [rbp - 0x70]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x70], xmm1
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.140155a20
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.14015e4b8
movups xmm1, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm1
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 8]
call fcn.14015e4b8
movups xmm1, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm1
lea r9, [rbp + 0x40]
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 8]
call fcn.14015f7a0
nop
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14015e464
lea rdx, [0x141007ae8]
lea rcx, [rbp - 0x40]
call fcn.140cded0c
int3
Function at 0x14015ee40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rbx, rdx
mov eax, 4
mov dword [rbp + 0x60], eax
mov dword [rbp + 0x58], eax
and dword [rbp + 0x50], 0
cmp qword [rdx + 0x18], 0xf
jbe 0x14015ee6b
mov rdx, qword [rdx]
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rbp + 0x68], eax
test eax, eax
jne 0x14015eea1
mov eax, dword [rbp + 0x50]
add rsp, 0x138
pop rbx
pop rbp
ret
movabs rax, 0xb0430b3744dd0f9d
mov qword [rsp + 0x40], rax
movabs rax, 0x4559a64c186aca5e
mov qword [rsp + 0x48], rax
movabs rax, 0x33444d0869ce35e1
mov qword [rsp + 0x50], rax
movabs rax, 0xc5061972f897c7f6
mov qword [rsp + 0x58], rax
movabs rax, 0x6b98c82c50bfea5a
mov qword [rsp + 0x60], rax
movabs rax, 0x5eb3510b93fb06f8
mov qword [rsp + 0x68], rax
movabs rax, 0x6f30858915194da5
mov qword [rsp + 0x70], rax
movabs rax, 0xf6db5247668a0081
mov qword [rsp + 0x78], rax
movabs rax, 0xc9317f442dba6acf
mov qword [rbp - 0x80], rax
movabs rax, 0x213cca25792cea64
mov qword [rbp - 0x78], rax
movabs rax, 0x5725287a49a141c1
mov qword [rbp - 0x70], rax
movabs rax, 0xb7726a1b9ff2b5d6
mov qword [rbp - 0x68], rax
movabs rax, 0x4afdbd4031c9ca23
mov qword [rbp - 0x60], rax
movabs rax, 0x23c87131ea9e4dd8
mov qword [rbp - 0x58], rax
movabs rax, 0x4f0af7e6676b0885
mov qword [rbp - 0x50], rax
movabs rax, 0xf6db5247668a7dfa
mov qword [rbp - 0x48], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
xorps xmm1, xmmword [rbp - 0x70]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x70], xmm1
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.140155a20
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.14015e4b8
movups xmm1, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm1
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 8]
call fcn.14015e4b8
movups xmm1, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm1
lea r9, [rbp + 0x68]
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 8]
call fcn.14015f7a0
nop
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14015e464
lea rdx, [0x141007ae8]
lea rcx, [rbp - 0x40]
call fcn.140cded0c
int3
Function at 0x14015f2fc
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0xf
jbe 0x14015f30a
mov rdx, qword [rdx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rcx]
xor r8d, r8d
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete al
add rsp, 0x38
ret
Function at 0x140161cd4
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rdx
xor ecx, ecx
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x140161d29
cmp qword [rbx + 0x18], 0xf
jbe 0x140161d06
mov rbx, qword [rbx]
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
jne 0x140161d3b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
je 0x140161d29
cmp dword [rsp + 0x24], 4
sete al
jmp 0x140161d2b
Function at 0x140164950
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
sub rsp, 0x150
mov rbx, rdx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1401649dd
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x1401649d0
lea rcx, [rsp + 0x4c]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140164995
cmp qword [rbx + 0x18], 0xf
mov rcx, rbx
mov r8, qword [rbx + 0x10]
jbe 0x1401649af
mov rcx, qword [rbx]
cmp r8, rax
jne 0x1401649c2
lea rdx, [rsp + 0x4c]
call fcn.140da1410
test eax, eax
je 0x140164a36
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14016498c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140164a13
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140164a0e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140164a7e
mov rcx, r8
call fcn.140cd8948
and qword [rbx + 0x10], 0
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rbp
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140164a75
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140164a70
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140164a7e
mov rcx, r8
call fcn.140cd8948
and qword [rbx + 0x10], 0
mov al, 1
jmp 0x140164a1a
call fcn.140cf5acc
int3
Function at 0x140164a84
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
sub rsp, 0x150
mov rbx, rdx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140164b49
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x140164b3c
lea rcx, [rsp + 0x4c]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140164ad2
cmp qword [rbx + 0x18], 0xf
mov rcx, rbx
mov r8, qword [rbx + 0x10]
jbe 0x140164aec
mov rcx, qword [rbx]
cmp r8, rax
jne 0x140164b2e
lea rdx, [rsp + 0x4c]
call fcn.140da1410
test eax, eax
jne 0x140164b2e
mov r8d, dword [rsp + 0x28]
lea ecx, [rax + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x140164b2e
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140164ac9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140164b7f
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140164b7a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140164ba4
mov rcx, r8
call fcn.140cd8948
mov byte [rbx], 0
lea r11, [rsp + 0x150]
mov rbp, qword [r11 + 0x18]
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
and qword [rbx + 0x10], 0
mov rbx, qword [r11 + 0x10]
mov rsp, r11
pop rsi
ret
call fcn.140cf5acc
int3

Function at 0x140164bac
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x13b0
call fcn.140cd95f0
sub rsp, rax
mov ebx, r8d
mov edi, edx
call fcn.140cdb4d4
or r9d, 0xffffffff
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x13a4], r9d
mov edx, 1
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, r8
jb 0x140164be9
mov eax, 0x80000000
mov dword [rsp + 0x20], r8d
xor edi, eax
lea rcx, [rsp + 0x20]
xor ebx, eax
sub ebx, edi
cmp ebx, r9d
jne 0x140164c27
call fcn.140164cbc
mov ecx, eax
jmp 0x140164c60
inc ebx
call fcn.140164cbc
mov ecx, eax
mov esi, ebx
imul rcx, rsi
cmp ecx, ebx
jae 0x140164c5c
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140164c5c
lea rcx, [rsp + 0x20]
call fcn.140164cbc
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jb 0x140164c48
shr rcx, 0x20
lea r11, [rsp + 0x13b0]
mov rbx, qword [r11 + 0x10]
lea eax, [rdi + rcx]
mov rsi, qword [r11 + 0x18]
xor eax, 0x80000000
mov rsp, r11
pop rdi
ret
Function at 0x140164cbc
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 0x270
mov rbx, rcx
cmp dword [rcx], r9d
jne 0x140164d0f
lea r8, [rcx + 8]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140164cd4
jmp 0x140164d1c
cmp dword [rcx], 0x4e0
jb 0x140164d1c
call fcn.140164d5c
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret

Function at 0x140164d5c
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
lea r10, [rcx + 0x9c4]
mov r9, rcx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov edx, eax
add r10, 4
mov r11d, dword [r10]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140164d73
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
mov eax, r11d
mov r8, r10
mov edx, eax
add r10, 4
mov r11d, dword [r10]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140164dc0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and dword [r9], ebx
mov rbx, qword [rsp + 8]
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
ret
Function at 0x1401678dc
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14016790a
xor eax, eax
jmp 0x1401679f0
cmp qword [rcx + 0x68], 0
je 0x14016791b
call fcn.140168c8c
jmp 0x1401679f0
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140167932
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140167934
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140167966
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140da1510
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1401679ea
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14016799d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1401679c6
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140ceb6a4
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1401679ea
cmp rsi, rbx
ja 0x1401679a4
test rsi, rsi
je 0x1401679ea
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140ceb6a4
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140170998
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x50]
sub rsp, 0x150
xor edi, edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rbx, rdx
and qword [rsp + 0x30], rdi
mov rsi, rcx
and qword [rsp + 0x28], rdi
and qword [rsp + 0x20], rdi
xor edx, edx
jmp 0x140170a49
lea rax, [rbp + 0x88]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140170a14
mov rdx, qword [rbp + 0x88]
mov rcx, rsi
call fcn.140170998
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
lea ecx, [rdi + 1]
lea rax, [rsp + 0x40]
sbb edi, edi
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and edi, ecx
and qword [rsp + 0x28], 0
mov edx, edi
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x80]
mov dword [rbp + 0x80], 0x100
lea r8, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x1401709d1
mov rbx, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
pop rsi
pop rbp
ret
Function at 0x14017122c
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0xfb8]
mov eax, 0x10a0
call fcn.140cd95f0
sub rsp, rax
mov rdi, r8
mov rbx, rdx
mov r14d, 0x1000
mov dword [rbp + 0xfc0], r14d
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140171273
mov rdx, qword [r8]
lea rax, [rbp + 0xfc0]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xfd0]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
test eax, eax
jne 0x140171451
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1401712b2
mov rdx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rbx, qword [0x1410a1040]
xorps xmm0, xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
test eax, eax
jne 0x14017139e
lea r8d, [rax + 0x27]
lea rdx, str.___Deleted_specific_registry_value:_
call fcn.140159cd4
nop
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [rsp + 0x70]
movsd qword [rbp - 0x70], xmm0
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
mov r8d, 2
lea rdx, [rbp - 0x80]
mov rcx, qword [rbx]
call fcn.140173bfc
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140171451
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r14
jb 0x14017144c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017146f
jmp 0x14017144c
mov r8d, 0x2c
lea rdx, str.Failed_to_delete_specific_registry_value:_
call fcn.140159cd4
nop
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [rsp + 0x70]
movsd qword [rbp - 0x70], xmm0
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
mov r8d, 3
lea rdx, [rbp - 0x80]
mov rcx, qword [rbx]
call fcn.140173bfc
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140171451
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r14
jb 0x14017144c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140171469
call fcn.140cd8948
lea r11, [rsp + 0x10a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140cf5acc
int3
call fcn.140cf5acc
int3
Function at 0x1401915b4
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov dword [rax + 0x10], edx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov eax, 1
lea rdx, str.SeTcbPrivilege
mov r12, r8
mov dword [rsp + 0x40], eax
mov r15d, ecx
mov dword [rsp + 0x44], eax
lea r8, [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x14019175d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14019175d
xor r14d, r14d
mov dword [rsp + 0x60], 0x130
lea rdx, [rsp + 0x60]
mov rcx, rax
mov ebx, 0x490
call qword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x14019174a
lea rdx, str.winlogon.exe
lea rcx, [rbp - 0x74]
call fcn.140cf7468
test eax, eax
jne 0x14019173c
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x140191737
lea r8, [rsp + 0x30]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14019172e
mov rcx, qword [rsp + 0x30]
lea r8, [rbp + 0xc8]
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_PrivilegeCheck]
test eax, eax
je 0x140191723
cmp dword [rbp + 0xc8], 0
je 0x140191723
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xd8]
lea edx, [r9 + 8]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140191723
cmp dword [rbp + 0xd8], r15d
jne 0x140191723
mov rcx, qword [rsp + 0x30]
mov r14d, 1
mov qword [rsp + 0x28], r12
xor r8d, r8d
mov dword [rsp + 0x20], 2
lea r9d, [r14 + 1]
lea edx, [r14 + 3]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x14019171b
xor ebx, ebx
jmp 0x140191723
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x140191752
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140191642
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140191765
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea r11, [rsp + 0x190]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret