joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b5c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14002d140]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000b5ed
xor eax, eax
jmp 0x14000b759
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000b627
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000b627
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000b759
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000b74c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000b66a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000b695
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000b751
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000b704
sub eax, 1
je 0x14000b704
cmp eax, 2
jne 0x14000b74c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000b751
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000b732
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000b74c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000b751
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001f5d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000cec0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14002d140]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000cf93
cmp byte [rcx + 0x71], 0
je 0x14000cf93
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000cf8f
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 0x14000cf54
sub eax, 1
je 0x14000cf58
cmp eax, 2
jne 0x14000cf8f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001f5d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000cf86
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000cf8f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000cf3c
xor al, al
jmp 0x14000cf3c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001f5d0
add rsp, 0x60
pop rbx
ret

Function at 0x140010850
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14002d140]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, rcx
mov ebx, edx
mov ecx, edx
mov rbp, r8
call fcn.14001fb00
mov r8d, ebx
mov edx, 0x90
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x30]
mov r9d, 0x40
mov r8d, ebx
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov r8d, ebx
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, rdi
call fcn.14001f98c
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001f5d0
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010910
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14002d140]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140010951
xor eax, eax
jmp 0x1400109a5
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14001099a
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140010996
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140010970
jmp 0x14001099a
mov esi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14001f5d0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400109d0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14002d140]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov edx, ecx
xor edi, edi
lea ecx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140010a09
xor eax, eax
jmp 0x140010a5e
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140010a52
lea rdx, str.conhost_v2.dll
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140010a4d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140010a23
jmp 0x140010a52
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001f5d0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret

Function at 0x1400203a8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400203f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400203f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400203f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400203f2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400203f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400203f4
xor al, al
add rsp, 0x28
ret
Function at 0x1400019e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x14007f180]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, str.Bsod_Functions
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
movdqa xmm0, xmmword [0x14006ab60]
xor ebx, ebx
movdqu xmmword [rbp + 0x17], xmm0
mov ecx, ebx
mov dword [rbp + 0x27], 0x100b2b1
nop word [rax + rax]
lea eax, [rcx - 0x3a]
xor byte [rbp + rcx + 0x17], al
inc rcx
cmp rcx, 0x12
jb 0x140001a30
mov byte [rbp + 0x2a], bl
mov rcx, rbx
mov dword [rbp - 9], 0xa5acb3a8
mov dword [rbp - 5], 0xa1a8e5a6
mov word [rbp - 1], 0xa2
mov byte [rbp + 1], 1
nop
lea eax, [rcx - 0x3a]
xor byte [rbp + rcx - 9], al
inc rcx
cmp rcx, 9
jb 0x140001a60
lea rcx, [rbp - 9]
mov byte [rbp + 1], bl
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movdqa xmm0, xmmword [0x14006ab10]
mov rdx, rbx
movdqu xmmword [rbp + 0x2f], xmm0
mov rdi, rax
mov word [rbp + 0x3f], 0x100
nop dword [rax]
nop word [rax + rax]
lea ecx, [rdx - 0x3a]
xor byte [rbp + rdx + 0x2f], cl
inc rdx
cmp rdx, 0x10
jb 0x140001ab0
mov byte [rbp + 0x40], bl
mov dword [rbp + 7], 0xa5acb3a8
mov dword [rbp + 0xb], 0xa1a8e5a6
mov word [rbp + 0xf], 0xa2
mov byte [rbp + 0x11], 1
nop dword [rax + rax]
lea eax, [rbx - 0x3a]
xor byte [rbp + rbx + 7], al
inc rbx
cmp rbx, 9
jb 0x140001ae0
lea rcx, [rbp + 7]
mov byte [rbp + 0x11], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
lea r9, [rbp + 0x47]
mov dl, 1
mov rbx, rax
lea ecx, [r8 + 0x13]
call rdi
lea rax, [rbp + 0x4b]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 6
mov ecx, 0xc00002b4
call rbx
call qword [sym.imp.VMProtectSDK64.dll_VMProtectEnd]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14005c2e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140001b70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x11], 0
je 0x140001b93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x3a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x10
jb 0x140001b80
mov byte [rcx + 0x11], 0
mov rax, rcx
ret
Function at 0x140001e60
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14007f180]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, rcx
mov edi, 2
mov ecx, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
mov dword [rsp + 0x20], 0x130
mov r8d, 0x12c
lea rcx, [rsp + 0x24]
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x20]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rdi, 1
jne 0x140001ec0
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx + 0x20]
mov rcx, rbx
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx + 0x20], xmm0
lea rdx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140001f6a
nop
lea rdx, [rsp + 0x17c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov rcx, rbx
test eax, eax
je 0x140001f9a
lea rdx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001f40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14005c2e0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x158]
jmp 0x140001f75
Function at 0x1400021d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2a], 0
je 0x1400021f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x3a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x29
jb 0x1400021e0
mov byte [rcx + 0x2a], 0
mov rax, rcx
ret

Function at 0x140002200
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x14], 0
je 0x140002223
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x3a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x13
jb 0x140002210
mov byte [rcx + 0x14], 0
mov rax, rcx
ret
Function at 0x1400041d0
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
lea rcx, str.KillDBG
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
movdqa xmm0, xmmword [0x14006aab0]
xor ebx, ebx
movdqa xmm1, xmmword [0x14006aaa0]
mov ecx, ebx
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x14006ac60]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x20], 0xadd7d7b0
mov dword [rbp - 0x1c], 0x8892c5da
mov dword [rbp - 0x18], 0x3f32df92
mov dword [rbp - 0x14], 0x1003224
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x3a]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x3e
jb 0x140004240
lea rcx, [rbp - 0x50]
mov byte [rbp - 0x11], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x14006aab0]
mov rcx, rbx
movdqa xmm1, xmmword [0x14006aa60]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x14006ac40]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm1, xmmword [0x14006a980]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x10], 1
nop dword [rax + rax]
lea eax, [rcx - 0x3a]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x3f
jb 0x1400042a0
lea rcx, [rbp - 0x50]
mov byte [rbp - 0x10], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x14006aab0]
movdqa xmm1, xmmword [0x14006aa50]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x14006ac70]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm1, xmmword [0x14006aa00]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x10], 0x100
nop word [rax + rax]
lea eax, [rbx - 0x3a]
xor byte [rbp + rbx - 0x50], al
inc rbx
cmp rbx, 0x40
jb 0x140004300
lea rcx, [rbp - 0x50]
mov byte [rbp - 0xf], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
jmp qword [sym.imp.VMProtectSDK64.dll_VMProtectEnd]
Function at 0x140004340
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
lea rcx, str.Loop_KillDBG
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x10], 0x3c
call fcn.14000db20
movdqa xmm0, xmmword [0x14006aab0]
xor ebx, ebx
movdqa xmm1, xmmword [0x14006aaa0]
mov ecx, ebx
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x14006ac60]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x20], 0xadd7d7b0
mov dword [rbp - 0x1c], 0x8892c5da
mov dword [rbp - 0x18], 0x3f32df92
mov dword [rbp - 0x14], 0x1003224
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x3a]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x3e
jb 0x1400043c0
lea rcx, [rbp - 0x50]
mov byte [rbp - 0x11], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x14006aab0]
mov rcx, rbx
movdqa xmm1, xmmword [0x14006aa60]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x14006ac40]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm1, xmmword [0x14006a980]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x10], 1
nop dword [rax + rax]
lea eax, [rcx - 0x3a]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x3f
jb 0x140004420
lea rcx, [rbp - 0x50]
mov byte [rbp - 0x10], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x14006aab0]
movdqa xmm1, xmmword [0x14006aa50]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x14006ac70]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm1, xmmword [0x14006aa00]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x10], 0x100
nop word [rax + rax]
lea eax, [rbx - 0x3a]
xor byte [rbp + rbx - 0x50], al
inc rbx
cmp rbx, 0x40
jb 0x140004480
lea rcx, [rbp - 0x50]
mov byte [rbp - 0xf], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
jmp qword [sym.imp.VMProtectSDK64.dll_VMProtectEnd]
Function at 0x1400044f0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14007f180]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
movdqa xmm0, xmmword [0x14006abc0]
mov r8, rax
movdqu xmmword [rsp + 0x20], xmm0
xor eax, eax
mov dword [rsp + 0x30], 0xb8b5a5b9
mov dword [rsp + 0x34], 0xb3b3b2ae
mov word [rsp + 0x38], 0x100
lea ecx, [rax - 0x3a]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0x18
jb 0x140004540
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x39], 0
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
lea rdx, [rsp + 0x48]
lea r8d, [r9 + 2]
lea ecx, [r9 + 0x23]
call rax
test eax, eax
jne 0x1400045d7
cmp byte [rsp + 0x48], al
je 0x1400045d7
cmp byte [rsp + 0x49], al
je 0x140004597
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14005c2e0
add rsp, 0x68
ret
xorps xmm0, xmm0
mov qword [rsp + 0x30], 0
mov r8d, 0x1f
mov qword [rsp + 0x38], 0
lea rdx, str.SystemKernelDebuggerInformation
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call fcn.14000e3f0
lea rcx, [rsp + 0x20]
call fcn.140001fb0
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14005c2e0
add rsp, 0x68
ret
Function at 0x140005760
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14007f180]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x38], eax
lea r9, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x28], rax
lea rcx, [0x140069aec]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x140005815
mov r8d, dword [rsp + 0x48]
lea r10, [rsp + 0x65]
nop word [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x1400057c0
lea r9, [rsp + 0x40]
mov rdx, r10
lea r8, [rsp + 0x65]
mov rcx, rbx
call fcn.14000e130
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14005c2e0
add rsp, 0x70
pop rbx
ret
lea rdx, str.failed_to_get_hwid
lea rcx, [rsp + 0x50]
call fcn.140001630
lea rdx, [0x14007bb98]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400064b0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x14007f180]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000657b
lea rdx, str.Tool_helper_cannot_be_created
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000d8f0
mov rcx, rax
lea rdx, [0x14000dac0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000654c
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140006547
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006650
mov rcx, r8
call fcn.14005c69c
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005c2e0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1400065a0
lea rdx, str.Tool_helper_cannot_retrieve_the_first_entry_of_process_list
jmp 0x1400064f5
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbp + rax + 0x2c], 0
jne 0x1400065b0
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400065c7
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, rax
jne 0x1400065dd
lea rdx, [rbp + 0x2c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140006604
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400065a0
test rsi, rsi
je 0x140006512
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140006512
test rsi, rsi
je 0x140006613
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140006649
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140006644
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006650
mov rcx, r8
call fcn.14005c69c
mov al, 1
jmp 0x14000654e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140009b80
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14007f180]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rcx, str.Main_Function
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
call fcn.140004890
mov dword [0x140086758], 0x3e8
mov byte [0x14008675d], 1
mov byte [0x140086755], 1
mov byte [0x14008675c], 1
mov byte [0x140086754], bl
mov byte [0x140086757], bl
mov byte [0x140086756], 1
lea ecx, [rbx + 8]
call fcn.14005c420
lea rcx, [0x1400045f0]
mov qword [rax], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400104c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140009d4f
cmp dword [rsp + 0x38], ebx
je 0x140009d43
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140009d43
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea ecx, [rbx + 8]
call fcn.14005c420
lea rcx, [0x1400044c0]
mov qword [rax], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400104c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140009d33
cmp dword [rsp + 0x38], ebx
je 0x140009d27
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140009d27
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140009cf4
lea rdx, [0x140069900]
lea rcx, [rsp + 0x30]
call fcn.14000b430
mov rcx, rax
call fcn.140001fb0
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140002230
call fcn.140009420
mov edx, 1
lea ecx, [rdx + 9]
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.VMProtectSDK64.dll_VMProtectEnd]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005c2e0
add rsp, 0x70
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3