joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180053d70
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x1800b3afc]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x180053db7
mov rax, qword [0x1800b3af0]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180053dc4
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x180053da0
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x180053db7
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.180054110
mov edi, eax
test eax, eax
jne 0x180053ead
mov r9d, dword [0x1800b3afc]
cmp ebx, r9d
jae 0x180053e3c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1800b3af0]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x180053e35
mov edx, esi
mov ecx, ebx
call fcn.180053fe0
mov edi, eax
test eax, eax
jne 0x180053e3c
mov r9d, dword [0x1800b3afc]
inc ebx
cmp ebx, r9d
jb 0x180053e00
cmp qword [rsp + 0x20], 0
je 0x180053eab
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180053e97
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180053e88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180053e60
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800b34a0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x180053fe0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1800b26f8]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1800b3af0]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180054053
mov eax, 0xa
jmp 0x1800540e2
test esi, esi
je 0x180054075
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180054098
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180054098
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180054091
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180054098
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800551e0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180054110
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1800b26f8]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov r14d, edx
xor edx, edx
mov qword [rcx], r15
mov rbx, rcx
mov qword [rcx + 8], r15
mov ebp, r8d
mov edi, r15d
lea ecx, [rdx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800542b8
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180054255
lea edi, [r15 + 1]
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180054210
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180054210
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180054210
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800541d2
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x1800b34a0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180054238
jmp 0x180054203
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180054203
add eax, eax
mov r8, rdx
mov r9d, eax
xor edx, edx
mov dword [rbx + 8], eax
mov rcx, qword [0x1800b34a0]
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180054238
mov qword [rbx], rax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rsi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180054180
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180054255
mov r8, qword [rbx]
mov edi, r15d
test r8, r8
je 0x180054255
mov rcx, qword [0x1800b34a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1800542b8
cmp qword [rbx], r15
je 0x1800542b3
mov edi, r15d
cmp dword [rbx + 0xc], r15d
jbe 0x1800542b3
mov rax, qword [rbx]
xor edx, edx
mov ecx, edi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800542ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180054620
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180054270
mov eax, r15d
jmp 0x1800542bd
mov eax, 9
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800551e0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800547d0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x18005483f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x180054828
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18005481c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1800547f0
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x1800b34a0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001156e
Capabilities:
Terminate process

Disassembly:
jmp 0x140020300
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001169a
Capabilities:
Extract resource via kernel32 functions
Get session user name

Disassembly:
jmp 0x14001d370
push rbp
push rdi
sub rsp, 0x5b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x102
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140030040]
xor rax, rbp
mov qword [rbp + 0x578], rax
lea rcx, [0x14003802e]
call fcn.140011965
mov dword [rbp + 0x164], 0xa
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x138]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea r9, [rbp + 0x138]
lea r8, str.C:Users_lsAppDataRoamingMicrosoftWindowsStart_MenuProgramsStartupWindupdate.exe
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.1400115c3
mov r8d, 0xa
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rbp + 0x188], rax
cmp qword [rbp + 0x188], 0
jne 0x14001d421
lea rcx, str.Could_not_find_resource._n
call fcn.140011479
mov eax, 1
jmp 0x14001d5ac
mov rdx, qword [rbp + 0x188]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x1a8], 0
jne 0x14001d457
lea rcx, str.Could_not_load_resource._n
call fcn.140011479
mov eax, 1
jmp 0x14001d5ac
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x1c8], 0
jne 0x14001d48b
lea rcx, str.Could_not_lock_resource._n
call fcn.140011479
mov eax, 1
jmp 0x14001d5ac
mov rdx, qword [rbp + 0x188]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbp + 0x1e4], eax
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x4b8]
call fcn.140011442
nop
lea rdx, [rbp + 0x4b8]
lea rcx, [rbp + 0x4f8]
call fcn.140011578
mov qword [rbp + 0x568], rax
mov rax, qword [rbp + 0x568]
mov qword [rbp + 0x570], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x20
mov rdx, qword [rbp + 0x570]
lea rcx, [rbp + 0x210]
call fcn.14001137f
nop
lea rcx, [rbp + 0x4f8]
call fcn.14001184d
nop
lea rcx, [rbp + 0x4b8]
call fcn.1400111c7
mov rax, qword [rbp + 0x210]
movsxd rax, dword [rax + 4]
lea rax, [rbp + rax + 0x210]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x14001d567
lea rcx, str.Could_not_open_file_for_writing._n
call fcn.140011479
mov dword [rbp + 0x534], 1
lea rcx, [rbp + 0x210]
call fcn.14001195b
mov eax, dword [rbp + 0x534]
jmp 0x14001d5ac
mov eax, dword [rbp + 0x1e4]
mov r8d, eax
mov rdx, qword [rbp + 0x1c8]
lea rcx, [rbp + 0x210]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::write_wchar_t_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x210]
call fcn.1400110fa
mov dword [rbp + 0x554], 0
lea rcx, [rbp + 0x210]
call fcn.14001195b
mov eax, dword [rbp + 0x554]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140028780]
call fcn.1400117ee
mov rax, rdi
mov rcx, qword [rbp + 0x578]
xor rcx, rbp
call fcn.14001149c
lea rsp, [rbp + 0x588]
pop rdi
pop rbp
ret
Function at 0x1400116c2
Capabilities:
Parse pe header

Disassembly:
jmp 0x140020e30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140020e50
xor al, al
jmp 0x140020ed1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140020e63
xor al, al
jmp 0x140020ed1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140020e8d
xor al, al
jmp 0x140020ed1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140020ea1
xor al, al
jmp 0x140020ed1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140020eb3
xor al, al
jmp 0x140020ed1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140020ecf
xor al, al
jmp 0x140020ed1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400118e8
Capabilities:
Write file on windows

Disassembly:
jmp 0x140018d60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x140030040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x14003800b]
call fcn.140011965
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140018dc6
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x140018dcd
mov al, 1
jmp 0x140018f43
mov rax, qword [rbp + 0x190]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.140011366
mov word [rbp + 0x160], ax
movzx edx, word [rbp + 0x160]
mov rcx, qword [rbp + 0x190]
call qword [rbp + 0x158]
mov word [rbp + 0x162], ax
call fcn.140011366
mov word [rbp + 0x164], ax
movzx edx, word [rbp + 0x162]
movzx ecx, word [rbp + 0x164]
call fcn.1400113fc
movzx eax, al
test eax, eax
je 0x140018e36
xor al, al
jmp 0x140018f43
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x190]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140018ea9
cmp dword [rbp + 0x160], 1
je 0x140018eb4
cmp dword [rbp + 0x160], 3
je 0x140018f32
jmp 0x140018f41
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x72], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140018f04
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140018f04
xor al, al
jmp 0x140018f43
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x140018f1f
mov dword [rbp + 0x154], 1
jmp 0x140018f29
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140018f43
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x72], 0
mov al, 1
jmp 0x140018f43
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140028db0]
call fcn.1400117ee
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14001149c
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1800023a0
Capabilities:
Enumerate processes

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x18040b070]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov byte [rsp + 0x20], 0
mov qword [rsp + 0x28], 0xffffffffffffffff
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x50], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1800024b2
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1800024a7
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call fcn.180001890
nop
lea rcx, [rsp + 0x30]
call fcn.1800031e0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2b0]
call fcn.180001e00
movzx eax, al
test eax, eax
je 0x180002485
mov dword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp dword [rsp + 0x24], 0x3e8
ja 0x180002480
mov eax, dword [rsp + 0x2b8]
cmp dword [rsp + 0x24], eax
jne 0x180002485
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call fcn.180001b90
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x18000241f
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov rcx, qword [rsp + 0x2b0]
call fcn.180001b90
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.180133f80
add rsp, 0x2a8
ret
Function at 0x18000a060
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x18000a0a4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x180009f40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
add rsp, 0x48
ret

Function at 0x18000b3a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp + 4], 0
mov dword [rsp + 8], 0
mov dword [rsp + 0xc], 0
jmp 0x18000b3d1
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xc], eax
jae 0x18000b4d7
mov eax, dword [rsp + 4]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 4], eax
movsxd rax, dword [rsp + 4]
lea rcx, [0x18040be20]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 8], eax
movsxd rax, dword [rsp + 4]
lea rcx, [0x18040be20]
movzx eax, byte [rcx + rax]
mov byte [rsp], al
movsxd rax, dword [rsp + 8]
lea rcx, [0x18040be20]
movsxd rdx, dword [rsp + 4]
lea r8, [0x18040be20]
movzx eax, byte [rcx + rax]
mov byte [r8 + rdx], al
movsxd rax, dword [rsp + 8]
lea rcx, [0x18040be20]
movzx edx, byte [rsp]
mov byte [rcx + rax], dl
movsxd rax, dword [rsp + 4]
lea rcx, [0x18040be20]
movzx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 8]
lea rdx, [0x18040be20]
movzx ecx, byte [rdx + rcx]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0xc]
movsxd rcx, dword [rsp + 0x10]
lea rdx, [0x18040be20]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x30]
movzx eax, byte [rdx + rax]
xor eax, ecx
mov ecx, dword [rsp + 0xc]
mov rdx, qword [rsp + 0x30]
mov byte [rdx + rcx], al
jmp 0x18000b4d2
jmp 0x18000b3c7
mov al, 1
add rsp, 0x28
ret

Function at 0x18000c600
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18000c66a
mov r8d, 0xf01ff
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x18000c65f
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add rsp, 0x38
ret
Function at 0x18000db30
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x308
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x18040b070]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x30], 0xffffffffffffffff
mov dword [rsp + 0xb0], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x48], eax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x18000dd46
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x18000dd3b
mov dword [rsp + 0x28], 1
lea rdx, [rsp + 0xdc]
lea rcx, [rsp + 0x40]
call fcn.180001890
nop
mov byte [rsp + 0x20], 0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x310]
call fcn.18000efd0
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
jmp 0x18000dc0d
lea rcx, [rsp + 0x38]
call fcn.18000c350
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x310]
call fcn.18000f1e0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.18000c2f0
movzx eax, al
test eax, eax
je 0x18000dcbc
lea rcx, [rsp + 0x38]
call fcn.18000c330
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call fcn.18000daf0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.18000eea0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18000c530
test eax, eax
jne 0x18000dc8c
mov dword [rsp + 0x24], 1
jmp 0x18000dc94
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x68]
call fcn.180001b90
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x18000dcb7
mov byte [rsp + 0x20], 1
jmp 0x18000dcbc
jmp 0x18000dc03
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18000dd16
lea rcx, [rsp + 0x40]
call fcn.18000eea0
lea r8, [0x18015b5b0]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.18000bf20
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x310]
call fcn.18000f2c0
nop
lea rcx, [rsp + 0xa0]
call fcn.18000c170
nop
lea rcx, [rsp + 0x40]
call fcn.180001b90
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x18000dbc4
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.180133f80
add rsp, 0x308
ret
Function at 0x18000e150
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x18040b070]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov dword [rsp + 0x2c], 0
mov qword [rsp + 0x20], 0xffffffffffffffff
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x18000e234
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x18000e229
lea rdx, [rsp + 0x6c]
mov rcx, qword [rsp + 0x2a0]
call fcn.1801426a4
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x18000e215
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x401
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x2c], 1
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x18000e1c1
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180133f80
add rsp, 0x298
ret

Function at 0x18000e250
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x18040b070]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0xffffffffffffffff
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x50], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x18000e334
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x18000e329
lea rdx, [rsp + 0x7c]
mov rcx, qword [rsp + 0x2b0]
call fcn.1801426a4
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x18000e315
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x401
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x18000e2c1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.180133f80
add rsp, 0x2a8
ret