joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x1400139a0
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]
nop
add rsp, 0x28
ret

Function at 0x140011203
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140011e30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x1400230a4]
call fcn.140011398
nop
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0xffffffff
mov dword [rbp + 0x64], 0
mov dword [rbp + 0x84], 0
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x180]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x140011ef6
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x180]
movzx eax, byte [rcx + rax]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
mov ecx, dword [rbp + 0x44]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x84], 7
jmp 0x140011ec2
mov eax, dword [rbp + 0x84]
dec eax
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jl 0x140011eec
mov eax, dword [rbp + 0x44]
and eax, 1
imul eax, eax, 0xffffffff
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x44]
shr eax, 1
mov ecx, dword [rbp + 0x24]
and ecx, 0xedb88320
xor eax, ecx
mov dword [rbp + 0x44], eax
jmp 0x140011eb4
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
jmp 0x140011e76
mov eax, dword [rbp + 0x44]
not eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014cf0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014d10
xor al, al
jmp 0x140014d91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014d23
xor al, al
jmp 0x140014d91
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 0x140014d4d
xor al, al
jmp 0x140014d91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014d61
xor al, al
jmp 0x140014d91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014d73
xor al, al
jmp 0x140014d91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014d8f
xor al, al
jmp 0x140014d91
mov al, 1
add rsp, 0x38
ret
Function at 0x140011370
Capabilities:
Check os version
Parse pe header
Resolve function by parsing pe exports

Disassembly:
jmp 0x140011800
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x1400230a4]
call fcn.140011398
nop
cmp qword [0x14001e350], 0
je 0x140011844
cmp qword [0x14001e358], 0
je 0x140011844
cmp qword [0x14001e360], 0
je 0x140011844
mov eax, 1
jmp 0x1400119e2
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov edx, 0x38
lea rcx, [0x14001e330]
call fcn.1400112a3
nop
mov rax, qword gs:[0x60]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14001188f
mov rax, qword [rbp + 8]
cmp dword [rax + 0x118], 0xa
je 0x140011896
xor eax, eax
jmp 0x1400119e2
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400118bb
xor eax, eax
jmp 0x1400119e2
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [0x14001e330], rax
mov rax, qword [rbp + 0x48]
mov qword [0x14001e338], rax
mov rax, qword [0x14001e338]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400118f5
xor eax, eax
jmp 0x1400119e2
mov rax, qword [0x14001e338]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [0x14001e340], rax
mov rax, qword [0x14001e340]
cmp dword [rax], 0x4550
je 0x140011927
xor eax, eax
jmp 0x1400119e2
mov eax, 8
imul rax, rax, 0
mov rcx, qword [0x14001e340]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [0x14001e348], rax
cmp qword [0x14001e348], 0
je 0x140011966
mov rax, qword [0x14001e348]
cmp dword [rax + 0x10], 0
jne 0x14001196a
xor eax, eax
jmp 0x1400119e2
mov rax, qword [0x14001e348]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [0x14001e350], rax
mov rax, qword [0x14001e348]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [0x14001e358], rax
mov rax, qword [0x14001e348]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [0x14001e360], rax
cmp qword [0x14001e350], 0
je 0x1400119d9
cmp qword [0x14001e358], 0
je 0x1400119d9
cmp qword [0x14001e360], 0
jne 0x1400119dd
xor eax, eax
jmp 0x1400119e2
mov eax, 1
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140012be0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113c0
movzx eax, al
test eax, eax
jne 0x140012c00
mov ecx, 7
call fcn.140011334
nop
mov byte [rsp + 0x20], 0
call fcn.140011348
mov byte [rsp + 0x21], al
cmp dword [0x14001ea98], 1
jne 0x140012c24
mov ecx, 7
call fcn.140011334
nop
jmp 0x140012c7c
cmp dword [0x14001ea98], 0
jne 0x140012c77
mov dword [0x14001ea98], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111a4
test eax, eax
je 0x140012c58
mov eax, 0xff
jmp 0x140012d81
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001133e
mov dword [0x14001ea98], 2
jmp 0x140012c7c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011320
call fcn.1400112b7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012cd9
mov rcx, qword [rsp + 0x30]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x140012cd9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112e9
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012d0d
mov rcx, qword [rsp + 0x38]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x140012d0d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001137a
nop
call fcn.140012e30
mov dword [rsp + 0x28], eax
call fcn.14001128a
movzx eax, al
test eax, eax
jne 0x140012d2c
mov ecx, dword [rsp + 0x28]
call fcn.14001105a
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012d3b
call fcn.140011384
nop
xor edx, edx
mov cl, 1
call fcn.14001114a
mov eax, dword [rsp + 0x28]
jmp 0x140012d81
add rsp, 0x68
ret
Function at 0x1400014f0
Capabilities:
Decrypt data using aes via x86 extensions
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov edi, r9d
mov r14d, r9d
shr edi, 4
mov rax, r8
mov rbx, rdx
mov rsi, rcx
mov r15, rdx
cmp rdx, r8
je 0x14000152b
mov r8d, r14d
mov rdx, rax
mov rcx, rbx
call fcn.14003f650
mov rdx, qword [rsi + 0x140]
lea ecx, [r14 - 0x10]
add rbx, rcx
cmp byte [0x14007d251], 1
mov ecx, dword [rdx + 0xc]
jne 0x1400016d8
test ecx, ecx
je 0x14000165c
cmp ecx, 1
jne 0x140001754
cmp edi, ecx
jbe 0x1400015e5
lea ecx, [rdi - 1]
movdqu xmm1, xmmword [rbx]
movdqu xmm0, xmmword [rbx - 0x10]
pxor xmm1, xmmword [rsi + 0xa0]
aesdec xmm1, xmmword [rsi + 0xb0]
aesdec xmm1, xmmword [rsi + 0xc0]
aesdec xmm1, xmmword [rsi + 0xd0]
aesdec xmm1, xmmword [rsi + 0xe0]
aesdec xmm1, xmmword [rsi + 0xf0]
aesdec xmm1, xmmword [rsi + 0x100]
aesdec xmm1, xmmword [rsi + 0x110]
aesdec xmm1, xmmword [rsi + 0x120]
aesdec xmm1, xmmword [rsi + 0x130]
aesdeclast xmm1, xmmword [rsi]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
add rbx, 0xfffffffffffffff0
sub rcx, 1
jne 0x140001565
mov rdx, qword [rsi + 0x140]
movdqu xmm1, xmmword [rbx]
mov rax, qword [rdx + 0x28]
pxor xmm1, xmmword [rsi + 0xa0]
aesdec xmm1, xmmword [rsi + 0xb0]
aesdec xmm1, xmmword [rsi + 0xc0]
aesdec xmm1, xmmword [rsi + 0xd0]
aesdec xmm1, xmmword [rsi + 0xe0]
aesdec xmm1, xmmword [rsi + 0xf0]
aesdec xmm1, xmmword [rsi + 0x100]
aesdec xmm1, xmmword [rsi + 0x110]
aesdec xmm1, xmmword [rsi + 0x120]
aesdec xmm1, xmmword [rsi + 0x130]
movdqu xmm0, xmmword [rax]
aesdeclast xmm1, xmmword [rsi]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
jmp 0x140001754
test edi, edi
je 0x140001754
movdqu xmm0, xmmword [rbx]
pxor xmm0, xmmword [rsi + 0xa0]
aesdec xmm0, xmmword [rsi + 0xb0]
aesdec xmm0, xmmword [rsi + 0xc0]
aesdec xmm0, xmmword [rsi + 0xd0]
aesdec xmm0, xmmword [rsi + 0xe0]
aesdec xmm0, xmmword [rsi + 0xf0]
aesdec xmm0, xmmword [rsi + 0x100]
aesdec xmm0, xmmword [rsi + 0x110]
aesdec xmm0, xmmword [rsi + 0x120]
aesdec xmm0, xmmword [rsi + 0x130]
aesdeclast xmm0, xmmword [rsi]
movdqu xmmword [rbx], xmm0
sub rbx, 0x10
add edi, 0xffffffff
jne 0x140001664
jmp 0x140001754
test ecx, ecx
je 0x14000173c
cmp ecx, 1
jne 0x140001754
cmp edi, ecx
jbe 0x140001719
mov qword [rsp + 0x40], rbp
lea ebp, [rdi - 1]
nop dword [rax]
mov rdx, rbx
mov rcx, rsi
call fcn.140001c20
lea r8, [rbx - 0x10]
mov rdx, rbx
mov rcx, rsi
call fcn.140002190
add rbx, 0xfffffffffffffff0
sub rbp, 1
jne 0x1400016f0
mov rbp, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, rsi
call fcn.140001c20
mov r8, qword [rsi + 0x140]
mov rdx, rbx
mov rcx, rsi
mov r8, qword [r8 + 0x28]
call fcn.140002190
jmp 0x140001754
test edi, edi
je 0x140001754
mov rdx, rbx
mov rcx, rsi
call fcn.140001c20
sub rbx, 0x10
add edi, 0xffffffff
jne 0x140001740
mov r8d, r14d
mov rdx, r15
mov rcx, rsi
call fcn.140001780
mov rsi, qword [rsp + 0x50]
mov ecx, eax
mov byte [rcx + rbx], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140009470
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x2b0
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rsp + 0x290], rax
cmp dword [rsp + 0x310], 0
movzx edi, r9b
movzx ebp, r8b
movzx r12d, dl
mov rsi, rcx
je 0x1400095c2
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x234
call fcn.14003fab0
mov ebx, dword [rsp + 0x308]
mov eax, 0x30
mov word [rsp + 0x50], ax
mov eax, 2
mov dword [rsp + 0x5c], eax
mov ecx, 0x34
mov qword [rsp + 0x68], rcx
test ebx, ebx
je 0x14000950a
cmp ebx, 0x200
jbe 0x1400094f6
xor eax, eax
jmp 0x1400096b3
mov word [rsp + 0x52], ax
lea ecx, [rbx + 0x34]
mov dword [rsp + 0x58], ebx
mov byte [rsp + 0x84], 0xcf
movzx eax, byte [rsp + 0x300]
mov byte [rsp + 0x79], al
mov byte [rsp + 0x78], dil
mov byte [rsp + 0x7d], r12b
mov byte [rsp + 0x7e], bpl
cmp bpl, 0xb0
jne 0x140009533
mov dword [rsp + 0x79], 0xc24f0101
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x50]
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x50]
mov r9d, ecx
mov qword [rsp + 0x20], rax
mov rcx, qword [rsi]
mov edx, 0x4d02c
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebp, eax
test eax, eax
je 0x1400096b1
test ebx, ebx
je 0x1400096b1
cmp dil, 0xd0
jne 0x14000958b
lea rcx, [rsi + 0x208]
jmp 0x1400095a7
cmp dil, 0xd1
jne 0x14000959a
lea rcx, [rsi + 0x408]
jmp 0x1400095a7
test dil, dil
jne 0x1400096b1
lea rcx, [rsi + 8]
mov r9d, 0x200
lea r8, [rsp + 0x84]
mov edx, r9d
call fcn.14000a0a0
jmp 0x1400096b1
xor ecx, ecx
mov qword [rsp + 0x2a8], r14
mov qword [rsp + 0x2a0], r15
mov r8d, 0x1000
mov r15d, dword [rsp + 0x308]
lea r9d, [rcx + 4]
lea ebx, [r15 + 0xc]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movzx ecx, byte [rsp + 0x300]
mov r9d, ebx
mov r14, rax
mov qword [rsp + 0x38], 0
mov r8, r14
mov edx, 0x4d004
mov byte [rax], dil
mov byte [rax + 1], cl
mov word [rax + 2], 0
mov byte [rax + 4], 0
mov byte [rax + 5], r12b
mov byte [rax + 6], bpl
mov byte [rax + 7], 0
mov dword [rax + 8], r15d
lea rax, [rsp + 0x40]
mov rcx, qword [rsi]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebp, eax
test eax, eax
je 0x140009690
test r15d, r15d
je 0x140009690
cmp dil, 0xd0
jne 0x140009667
lea rcx, [rsi + 0x208]
jmp 0x14000967f
cmp dil, 0xd1
jne 0x140009676
lea rcx, [rsi + 0x408]
jmp 0x14000967f
test dil, dil
jne 0x140009690
lea rcx, [rsi + 8]
mov edx, 0x200
lea r8, [r14 + 0xc]
mov r9d, edx
call fcn.14000a0a0
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r15, qword [rsp + 0x2a0]
mov r14, qword [rsp + 0x2a8]
mov eax, ebp
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14003e040
add rsp, 0x2b0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000d140
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.14003fab0
lea rax, [0x14007d490]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea r9, [0x14007d690]
lea rax, str.Services_
mov edx, 0x208
lea r8, str._s_s_s
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
call fcn.14000e2d0
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000d375
lea r9, [0x140057390]
mov dword [rsp + 0x38], eax
lea r8, [0x1400573a0]
mov dword [rsp + 0x3c], 4
mov edx, 0x208
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x40]
call fcn.14000e2d0
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.14003fab0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rdx, str.ImagePath
lea rax, [rbp + 0x150]
mov dword [rsp + 0x3c], 0x104
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d26d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x150]
call fcn.1400444a0
test eax, eax
je 0x14000d365
cmp dword [0x14007d278], 5
jbe 0x14000d286
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000d375
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14000d292
lea ecx, [rax*2 + 2]
mov r9d, 2
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
lea rdx, str.ImagePath
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.Type
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.ErrorControl
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.Start
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x38], 3
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.14000d710
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.14003e040
mov rbx, qword [rsp + 0x488]
add rsp, 0x470
pop rbp
ret
Function at 0x14000d500
Capabilities:
Create service

Disassembly:
sub rsp, 0x78
xor eax, eax
lea r8, [0x14007d490]
mov qword [rsp + 0x60], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
lea rdx, [0x14007d490]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
je 0x14000d560
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
add rsp, 0x78
ret

Function at 0x14000dc10
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, 0xf01ff
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x14000dc3b
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x30]
mov eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x14000dc70
Capabilities:
Start service

Disassembly:
push rbx
sub rsp, 0x20
mov r8d, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x14000dca1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x14000dcb0
Capabilities:
Stop service

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r8d, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x14000dd16
lea r8, [rsp + 0x20]
mov qword [rsp + 0x70], rbx
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14003e040
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14003e040
add rsp, 0x50
pop rdi
ret
Function at 0x140017220
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbp
sub rsp, 0x20
mov rbp, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400172c3
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, rbp
call fcn.140009fd0
mov ecx, 0x2000
lea rdi, [rax + 1]
lea rdx, [rdi + rdi]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbp
mov rbx, rax
call fcn.140009de0
mov r8, rax
mov rdx, rdi
mov rcx, rbx
call fcn.140044cac
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rbp
ret

Function at 0x140017360
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdx, rcx
xor ebx, ebx
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], rbx
call fcn.140017d60
lea r8, [0x14006172c]
lea rcx, [rsp + 0x20]
call fcn.1400455f8
test eax, eax
je 0x1400173bd
lea rcx, [rsp + 0x28]
call fcn.140017d60
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14003e040
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rsp + 0x20]
xor r8d, r8d
mov dword [rsp + 0x34], ebx
lea edx, [r8 + 0x3c]
call fcn.140045cfc
mov r9, qword [rsp + 0x20]
lea rcx, [rsp + 0x34]
mov edx, 1
lea r8d, [rdx + 3]
call fcn.1400459c0
movzx eax, byte [rsp + 0x37]
xor r8d, r8d
movzx edx, byte [rsp + 0x34]
imul ecx, eax, 0x10100
add edx, 4
movzx eax, byte [rsp + 0x35]
add ecx, eax
shl ecx, 8
add edx, ecx
mov rcx, qword [rsp + 0x20]
call fcn.140045cfc
mov r9, qword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 1
mov word [rsp + 0x30], bx
lea r8d, [rdx + 1]
call fcn.1400459c0
mov rcx, qword [rsp + 0x20]
call fcn.1400456d4
movzx edx, byte [rsp + 0x31]
lea rcx, [rsp + 0x28]
movzx eax, byte [rsp + 0x30]
call fcn.140017d60
shl edx, 8
mov ecx, 0x40
add edx, eax
mov eax, 0x20
cmp edx, 0x14c
cmovne eax, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14003e040
add rsp, 0x40
pop rbx
ret
Function at 0x140017c70
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x700
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rsp + 0x6f0], rax
xor eax, eax
mov rbx, rcx
xor edx, edx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x74]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0x64]
call fcn.14003fab0
xor edx, edx
mov dword [rsp + 0x70], 0x68
mov r8d, 0x400
lea rcx, [rsp + 0x2f0]
call fcn.14003fab0
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r9, [rsp + 0xe0]
mov qword [rsp + 0x20], rbx
lea r8, [0x140060aa8]
mov edx, 0x200
lea rcx, [rsp + 0x2f0]
call fcn.14000e2d0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x2f0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x6f0]
xor rcx, rsp
call fcn.14003e040
add rsp, 0x700
pop rbx
ret
Function at 0x140019f80
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x370
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x40]
mov rdi, rcx
mov qword [rsp + 0x20], rax
xor ebp, ebp
mov rcx, 0xffffffff80000002
mov r9d, 0x20019
mov qword [rsp + 0x48], rbp
xor r8d, r8d
mov qword [rsp + 0x40], rbp
mov rsi, rdx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001a0e7
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x200
call fcn.14003fab0
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x100
call fcn.14003fab0
mov ebx, ebp
lea r14, [0x1400770bc]
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov edx, ebx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x50], 0x80
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14001a0dc
lea edx, [rax + 0x7f]
lea rcx, [0x14008ea20]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov qword [rsp + 0x30], rax
lea r8, str._s_s_s_s
lea rax, [rsp + 0x60]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x160]
mov edx, 0x100
mov qword [rsp + 0x20], r14
call fcn.14000e2d0
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x160]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001a121
inc ebx
cmp ebx, 0x3e8
jb 0x14001a020
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x140055950]
mov rcx, rdi
call fcn.14000a680
mov rax, rdi
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.14003e040
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
lea rax, [rsp + 0x60]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, str._s_s_s
mov edx, 0x100
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x160]
call fcn.14000e2d0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x160]
jmp 0x14001a0ee