joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5aef80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5af05c
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
movabs rdx, 0x6567975086ce6e45
mov qword [rsp + 0x1a], rdx
movabs rdx, 0xa9af858969926567
mov qword [rsp + 0x20], rdx
movabs rdx, 0x5020b0d050c0502
mov qword [rsp + 0x28], rdx
movabs rdx, 0xd080a0a080c0b03
mov qword [rsp + 0x30], rdx
xor eax, eax
jmp 0x5aeff5
movzx r9d, byte [rsp + rsi + 0x1a]
sub r9d, edx
lea edx, [r9 - 0x11]
mov byte [rsp + rdi + 0x1a], dl
lea edx, [r8 - 0x11]
mov byte [rsp + rsi + 0x1a], dl
add rax, 2
cmp rax, 0x10
jge 0x5af028
movzx edx, byte [rsp + rax + 0x28]
movzx esi, byte [rsp + rax + 0x29]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xe
jae 0x5af04f
movzx r8d, byte [rsp + rdi + 0x1a]
sub r8d, edx
nop word [rax + rax]
cmp rsi, 0xe
jb 0x5aefd8
jmp 0x5af043
xor eax, eax
lea rbx, [rsp + 0x1a]
mov ecx, 0xe
call fcn.0044a140
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov eax, esi
mov ecx, 0xe
call fcn.0045f500
mov eax, edi
mov ecx, 0xe
call fcn.0045f500
nop
nop dword [rax]
call fcn.0045cea0
jmp fcn.005aef80

Function at 0x5af080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5af1a6
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
movabs rdx, 0x2642b46ca513af9
mov qword [rsp + 0x1f], rdx
movabs rdx, 0xf3747317015a7377
mov qword [rsp + 0x27], rdx
movabs rdx, 0x483c323339f37473
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x4307602ee8d9e4fa
mov qword [rsp + 0x34], rdx
movabs rdx, 0xf05181607001817
mov qword [rsp + 0x3c], rdx
movabs rdx, 0x101517070f051816
mov qword [rsp + 0x40], rdx
movabs rdx, 0x1b130c0b030c1c04
mov qword [rsp + 0x48], rdx
movabs rdx, 0x503140a130b020c
mov qword [rsp + 0x50], rdx
movabs rdx, 0x161613101a071816
mov qword [rsp + 0x58], rdx
xor eax, eax
jmp 0x5af140
movzx r9d, byte [rsp + rsi + 0x1f]
sub r9d, edx
lea edx, [r9 + 0x4a]
mov byte [rsp + rdi + 0x1f], dl
lea edx, [r8 + 0x4a]
mov byte [rsp + rsi + 0x1f], dl
add rax, 2
cmp rax, 0x24
jge 0x5af16d
movzx edx, byte [rsp + rax + 0x3c]
movzx esi, byte [rsp + rax + 0x3d]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x1d
jae 0x5af194
movzx r8d, byte [rsp + rdi + 0x1f]
sub r8d, edx
cmp rsi, 0x1d
jb 0x5af123
jmp 0x5af188
xor eax, eax
lea rbx, [rsp + 0x1f]
mov ecx, 0x1d
call fcn.0044a140
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov eax, esi
mov ecx, 0x1d
call fcn.0045f500
mov eax, edi
mov ecx, 0x1d
nop dword [rax + rax]
call fcn.0045f500
nop
call fcn.0045cea0
jmp fcn.005af080
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
vpsubsw ymm12, ymm11, ymmword fs:[rbp - 0x66]
mov ch, 0x2d
sub eax, ecx
retf
Function at 0x7ff62735ace0
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
sub rsp, 0x468
mov rax, qword [0x7ff6274be240]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleFileNameW]
test eax, eax
je 0x7ff62735addd
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [sym.imp.kernel32.dll_GetShortPathNameW]
test eax, eax
je 0x7ff62735addd
lea rdx, [0x7ff627494178]
lea rcx, [rsp + 0x240]
call qword [sym.imp.kernel32.dll_lstrcpyW]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x240]
call qword [sym.imp.kernel32.dll_lstrcatW]
lea rdx, [0x7ff627494188]
lea rcx, [rsp + 0x240]
call qword [sym.imp.kernel32.dll_lstrcatW]
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, [0x7ff627494198]
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x7ff62735addd
mov qword [rsp + 0x460], rbx
lea r9, [rsp + 0x240]
xor ebx, ebx
lea r8, [rsp + 0x30]
mov dword [rsp + 0x28], ebx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.shell32.dll_ShellExecuteW]
cmp eax, 0x20
setg bl
mov eax, ebx
mov rbx, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.7ff6274574f0
add rsp, 0x468
ret
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.7ff6274574f0
add rsp, 0x468
ret
Function at 0x7ff6273926f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x7ff6274be240]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x7ff6273927c3
cmp byte [rcx + 0x71], 0
je 0x7ff6273927c3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x7ff6273927bf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x7ff627392784
sub eax, 1
je 0x7ff627392788
cmp eax, 2
jne 0x7ff6273927bf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff6274574f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x7ff6273927b6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x7ff6273927bf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x7ff62739276c
xor al, al
jmp 0x7ff62739276c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff6274574f0
add rsp, 0x60
pop rbx
ret

Function at 0x7ff627394580
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x7ff6274be240]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.7ff627457510
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x7ff62739f010]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x7ff6273945f9
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.7ff6274574f0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x7ff6273ae850
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x7ff6274be240]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rdx
mov qword [rsp + 0x28], rcx
mov rbx, rcx
mov r15d, 1
mov r8d, r15d
xor edx, edx
xor ecx, ecx
xor r14d, r14d
xor dil, dil
call qword [sym.imp.advapi32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
je 0x7ff6273ae8f0
lea r8d, [r14 + 4]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.advapi32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x7ff6273ae8db
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.advapi32.dll_QueryServiceStatus]
test eax, eax
je 0x7ff6273ae8d2
cmp dword [rsp + 0x34], 4
movzx edi, dil
cmove edi, r15d
mov rcx, rsi
call qword [sym.imp.advapi32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.advapi32.dll_CloseServiceHandle]
lea rdx, [0x7ff6274a3b28]
test dil, dil
jne 0x7ff6273ae8f7
lea rdx, [0x7ff627494398]
xorps xmm0, xmm0
mov r8d, 7
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov rcx, rbx
mov qword [rbx + 0x18], r14
call fcn.7ff627395700
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.7ff6274574f0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ff6273aeee0
Capabilities:
Manipulate console buffer

Disassembly:
push rdi
sub rsp, 0x60
mov rax, qword [0x7ff6274be240]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 0xfffffff5
call qword [sym.imp.kernel32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x38]
mov rdi, rax
call qword [sym.imp.kernel32.dll_GetConsoleScreenBufferInfo]
movsx ecx, word [rsp + 0x38]
xor eax, eax
movsx r8d, word [rsp + 0x3a]
mov dword [rsp + 0x30], eax
mov r9d, dword [rsp + 0x30]
imul r8d, ecx
lea edx, [rax + 0x20]
lea rax, [rsp + 0x34]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.kernel32.dll_FillConsoleOutputCharacterW]
mov edx, dword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_SetConsoleCursorPosition]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.7ff6274574f0
add rsp, 0x60
pop rdi
ret

Function at 0x7ff6273af1e0
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x7ff6274be240]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x40]
mov rbx, rcx
mov dword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x48]
call qword [sym.imp.kernel32.dll_GetComputerNameA]
test eax, eax
je 0x7ff6273af26d
xorps xmm0, xmm0
lea rax, [rsp + 0x48]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ff6273af240
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.7ff627395700
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff6274574f0
add rsp, 0x60
pop rbx
ret
lea rdx, [0x7ff6274a3b48]
lea rcx, [rsp + 0x28]
call fcn.7ff627357eb0
lea rdx, [0x7ff6274b9238]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x7ff6273b05b0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x7ff6274be240]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rax + 2]
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x7ff6273b068c
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.kernel32.dll_Process32FirstW]
test eax, eax
je 0x7ff6273b0682
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x7ff6273b063d
mov rdx, qword [rdi]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
jne 0x7ff6273b0670
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x7ff6273b0663
mov eax, dword [rsp + 0x38]
mov dword [rdx], eax
add qword [rbx + 8], 4
jmp 0x7ff6273b0670
lea r8, [rsp + 0x38]
mov rcx, rbx
call fcn.7ff6273d22f0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_Process32NextW]
test eax, eax
jne 0x7ff6273b0630
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
nop
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.7ff6274574f0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x7ff6273db190
Capabilities:
Delete file

Disassembly:
sub rsp, 0x58
lea rcx, [0x7ff6273db170]
call qword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
call fcn.7ff6273db5f0
mov qword [0x7ff6274c2e08], rax
cmp rax, 0xffffffffffffffff
jne 0x7ff6273db1bd
mov eax, 0xfffffffd
add rsp, 0x58
ret
mov rdx, qword [0x7ff6274c3378]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x48], rcx
mov rcx, rax
mov dword [rsp + 0x60], 0
call fcn.7ff6273ddff0
mov rcx, qword [0x7ff6274c2e08]
test rax, rax
jne 0x7ff6273db1f6
call fcn.7ff6273db9c0
xor eax, eax
add rsp, 0x58
ret
add rsp, 0x58
jmp fcn.7ff6273db9c0
Function at 0x7ff6273db3c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x7ff6274be240]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x30]
call fcn.7ff62745d7a0
lea rdx, [rbp - 0x30]
mov ecx, 0x105
call qword [sym.imp.kernel32.dll_GetTempPathW]
dec eax
lea rbx, [r14 - 1]
cmp eax, 0x104
ja 0x7ff6273db483
lea rcx, [rbp - 0x30]
mov rax, rbx
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], r14w
jne 0x7ff6273db430
cmp word [rbp + rax*2 - 0x32], 0x5c
jne 0x7ff6273db45d
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x7ff6273db5e1
mov word [rbp + rax - 0x30], r14w
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rbp - 0x30]
mov r8, rbx
inc r8
cmp word [rax + r8*2], r14w
jne 0x7ff6273db473
lea rdx, [rbp - 0x30]
jmp 0x7ff6273db49c
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
xor r8d, r8d
lea rdx, [0x7ff627493b68]
lea rcx, [rbp - 0x70]
call fcn.7ff627357620
nop
mov rsi, qword [rbp - 0x60]
xorps xmm0, xmm0
test rsi, rsi
jne 0x7ff6273db4d4
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
xor r8d, r8d
lea rdx, [0x7ff627493b68]
mov rcx, rdi
call fcn.7ff627357620
jmp 0x7ff6273db5a8
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rdx, [0x7ff6274c2e30]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x7ff6273db4e7
mov r8, rbx
lea rcx, [rbp - 0x50]
call fcn.7ff627395700
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
add r8, rdx
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.7ff6273943a0
nop
lea rcx, [rbp - 0x50]
call fcn.7ff627392b40
nop
movabs rax, 0x7ffffffffffffffe
sub rax, rsi
cmp rax, 1
jb 0x7ff6273db5db
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], 1
lea rax, [0x7ff6274a40cc]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x50]
call fcn.7ff6273ddeb0
nop
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.7ff6273ddc90
nop
lea rcx, [rsp + 0x50]
call fcn.7ff627357a90
nop
lea rcx, [rsp + 0x70]
call fcn.7ff627357a90
nop
lea rcx, [rbp - 0x70]
call fcn.7ff627357a90
mov rax, rdi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.7ff6274574f0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.7ff6273574a0
nop
call fcn.7ff6274580e8
int3
Function at 0x7ff6273dd550
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r12
push r13
mov eax, 0x1070
call fcn.7ff627457f90
sub rsp, rax
mov rax, qword [0x7ff6274be240]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, qword [rsp + 0x10b0]
xor ebp, ebp
mov qword [rsp + 0x38], r9
mov r12, r8
mov qword [rsp + 0x30], rdx
mov r13, rcx
test r8, r8
jne 0x7ff6273dd59c
mov rdx, rbp
jmp 0x7ff6273dd6b0
mov r9d, 0x1000
lea rdx, [rsp + 0x40]
call fcn.7ff6273dbc30
test al, al
je 0x7ff6273dd594
mov qword [rsp + 0x1068], rsi
lea rdx, [0x7ff6274a41f0]
mov qword [rsp + 0x1060], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1058], r14
mov qword [rsp + 0x1050], r15
nop
inc rdi
cmp byte [rdx + rdi], bpl
jne 0x7ff6273dd5e0
movsxd rax, dword [rsp + 0x7c]
lea rcx, [rsp + 0x40]
add rcx, rax
mov qword [rsp + 0x1098], rbx
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r15, [rcx + 0x18]
movzx r14d, word [rcx + 6]
add r15, rax
test r14d, r14d
je 0x7ff6273dd685
nop word [rax + rax]
mov eax, esi
mov r8, rdi
lea rcx, [rax + rax*4]
lea rbx, [r15 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x7ff6273dd64e
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x7ff6273dd640
cmp rdi, rax
je 0x7ff6273dd65e
inc esi
cmp esi, r14d
jae 0x7ff6273dd685
lea rdx, [0x7ff6274a41f0]
jmp 0x7ff6273dd620
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x7ff6273dd685
mov ecx, dword [rbx + 8]
lea rdx, [rsp + 0x40]
add rdx, rax
je 0x7ff6273dd685
test ecx, ecx
je 0x7ff6273dd685
lea rax, [rsp + 0x40]
mov ebp, ecx
sub rdx, rax
add rdx, r12
jmp 0x7ff6273dd688
mov rdx, rbp
mov rbx, qword [rsp + 0x1098]
mov rdi, qword [rsp + 0x1060]
mov rsi, qword [rsp + 0x1068]
mov r14, qword [rsp + 0x1058]
mov r15, qword [rsp + 0x1050]
mov rax, qword [rsp + 0x30]
mov rcx, r13
mov r9, qword [rsp + 0x38]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.7ff6273dd440
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.7ff6274574f0
add rsp, 0x1070
pop r13
pop r12
pop rbp
ret
Function at 0x7ff6273de9f0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x7ff6274be240]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea r9, [rsp + 0x20]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov edi, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x7ff6273dea7e
test rdi, rdi
je 0x7ff6273dea46
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.kernel32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.kernel32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x7ff6273dea30
test eax, eax
jns 0x7ff6273dea9f
test rdi, rdi
je 0x7ff6273deaa4
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.kernel32.dll_VirtualFree]
xor eax, eax
jmp 0x7ff6273deb6f
test rdi, rdi
jne 0x7ff6273deaab
xor eax, eax
jmp 0x7ff6273deb6f
mov qword [rsp + 0x78], rbx
mov ebx, r14d
mov qword [rsp + 0x80], rbp
cmp dword [rdi], ebx
jbe 0x7ff6273deb4f
mov eax, ebx
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rdi + 0x2e]
lea rbp, [rcx + rdi]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rdi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x7ff6273deb00
lea rcx, [rsp + 0x28]
call fcn.7ff627395700
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x7ff6273deb20
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.ucrtbase.dll__stricmp]
test eax, eax
je 0x7ff6273deb85
lea rcx, [rsp + 0x28]
call fcn.7ff627392b40
inc ebx
cmp ebx, dword [rdi]
jb 0x7ff6273deac3
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.kernel32.dll_VirtualFree]
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff6274574f0
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov rbx, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.kernel32.dll_VirtualFree]
lea rcx, [rsp + 0x28]
call fcn.7ff627392b40
mov rax, rbx
jmp 0x7ff6273deb62
Function at 0x7ff6273deec0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x7ff6274be240]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rcx
lea rcx, [0x7ff6274a4288]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x7ff6273df05c
mov rcx, qword [rbx + 0x10]
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
sub rax, rcx
cmp rax, 0x34
jb 0x7ff6273df087
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x7ff6273def2b
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, [0x7ff6274a43e0]
lea rcx, [rsp + 0x68]
call fcn.7ff6273ddeb0
nop
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 7
cmova rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbx + 0x10]
sub rdi, rax
cmp rdi, 0x22
jb 0x7ff6273df081
cmp qword [rbx + 0x18], 7
jbe 0x7ff6273def8d
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0x22
lea r9, [0x7ff6274a4330]
lea rcx, [rsp + 0x48]
call fcn.7ff6273ddeb0
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
lea r8, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyW]
test eax, eax
je 0x7ff6273defe1
cmp eax, 2
sete bl
jmp 0x7ff6273df044
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rdx, [0x7ff6274a4450]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rcx, [rsp + 0x88]
call rax
lea rdx, [rsp + 0x48]
mov rcx, 0xffffffff80000002
test eax, eax
je 0x7ff6273df02c
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
call qword [sym.imp.advapi32.dll_RegDeleteTreeW]
xor bl, bl
jmp 0x7ff6273df044
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
call qword [sym.imp.advapi32.dll_RegDeleteTreeW]
test eax, eax
jne 0x7ff6273df028
mov bl, 1
lea rcx, [rsp + 0x48]
call fcn.7ff627357a90
nop
lea rcx, [rsp + 0x68]
call fcn.7ff627357a90
movzx eax, bl
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.7ff6274574f0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.7ff6273574a0
nop
call fcn.7ff6273574a0
int3
Function at 0x7ff6273e00c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x7ff6273e00f4
mov eax, esi
lea ecx, [rax - 0x65]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x7ff6273e00e0
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.7ff62739aac0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x7ff6273e0119
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.7ff6273d16d0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x7ff6273e0193
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6273e018e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6273e018e
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627457864
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x7ff6273e01a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x7ff6273e01d4
mov eax, esi
lea ecx, [rax - 0x65]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x7ff6273e01c0
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.7ff62739aac0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x7ff6273e01f9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.7ff6273d16d0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x7ff6273e0273
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6273e026e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6273e026e
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627457864
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret