joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400521b0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x140062030]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [0x140064af4]
mov ecx, dword [0x1400624b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140052253
mov r14, qword [rsi + 0x10]
test r14, r14
je 0x14005222f
mov r15, qword [rsi + 8]
shl r14, 4
add r14, r15
mov edi, dword [0x140064af0]
lea rbx, [rsp + 0x20]
mov r12, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [r15]
mov rcx, qword [r15 + 8]
mov rdx, rdi
mov r9, rbx
call r12
add r15, 0x10
cmp r15, r14
jne 0x140052216
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002fba0
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x140064af4]
call fcn.14002ea70
cmp dword [0x140064af4], 0xffffffff
jne 0x1400521f0
lea rdi, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov dword [0x140064af0], eax
lea rcx, [0x140064af4]
call fcn.14002ea10
jmp 0x1400521f0

Function at 0x140052290
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov r14, qword [rcx + 8]
lea rbx, [r14 + 2]
call fcn.140027120
mov r8d, eax
mov rax, r14
xor edx, edx
div r8
mov rcx, rax
mov rax, rbx
xor edx, edx
div r8
cmp rcx, rax
je 0x1400522d3
mov rcx, rbx
call fcn.140051b80
test al, al
je 0x140052326
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
add r8, 2
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [rsi + 0x10], 8
xor eax, eax
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x30], 0x20
lea rax, [rsi + 0x38]
mov qword [rsi + 0x20], rax
mov byte [rsi + 0x58], 1
add rsi, 0x60
mov r9d, 8
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400071c0
mov rax, qword [rdi]
mov qword [rsi], rax
xor ecx, ecx
mov qword [rsi + 0x28], rcx
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], rcx
mov qword [rsi + 0x30], 0x20
lea rdx, [rsi + 0x38]
mov qword [rsi + 0x20], rdx
mov byte [rsi + 0x58], 0
mov qword [rsi + 0x60], rax
mov qword [rsi + 0x70], rcx
mov qword [rsi + 0x78], 2
lea rax, [rsi + 0x80]
mov qword [rsi + 0x68], rax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x7ff6cc701c40
Capabilities:
Lock the desktop

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.USER32.dll_LockWorkStation]
test eax, eax
je 0x7ff6cc701c5b
mov al, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x7ff6cc701c73
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x7ff6cc701c7a
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
lea r9, str.Unable_to_lock_the_computer
mov rbx, rax
mov edx, 0x10
mov rcx, rdi
test rax, rax
jne 0x7ff6cc701caa
lea r8, [0x7ff6cc8339b8]
call sym.ProcessHacker.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
mov rax, qword [rbx + 8]
lea r8, str._s:__s
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhShowMessage
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x7ff6cc701cd5
call fcn.7ff6cc7ae900
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x7ff6cc701cf0
Capabilities:
Shutdown system

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x7ff6cc701d0f
mov al, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x7ff6cc701d27
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x7ff6cc701d2e
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
lea r9, str.Unable_to_log_off_the_computer
mov rbx, rax
mov edx, 0x10
mov rcx, rdi
test rax, rax
jne 0x7ff6cc701d5e
lea r8, [0x7ff6cc8339b8]
call sym.ProcessHacker.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
mov rax, qword [rbx + 8]
lea r8, str._s:__s
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhShowMessage
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x7ff6cc701d89
call fcn.7ff6cc7ae900
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x7ff6cc701e40
Capabilities:
Shutdown system

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ebx, edx
lea rcx, str.EnableWarnings
call sym.ProcessHacker.exe_PhGetIntegerSetting
test eax, eax
je 0x7ff6cc701e85
xor r9d, r9d
mov byte [rsp + 0x20], 0
lea r8, str.the_computer
mov rcx, rdi
lea rdx, str.restart
call sym.ProcessHacker.exe_PhShowConfirmMessage
test al, al
je 0x7ff6cc701f18
or ebx, 2
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x7ff6cc701ea3
mov al, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x7ff6cc701eb6
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x7ff6cc701ebd
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
lea r9, str.Unable_to_restart_the_computer
mov rbx, rax
mov edx, 0x10
mov rcx, rdi
test rax, rax
jne 0x7ff6cc701eed
lea r8, [0x7ff6cc8339b8]
call sym.ProcessHacker.exe_PhShowMessage
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rbx + 8]
lea r8, str._s:__s
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhShowMessage
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x7ff6cc701f18
call fcn.7ff6cc7ae900
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x7ff6cc701f30
Capabilities:
Shutdown system

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ebx, edx
lea rcx, str.EnableWarnings
call sym.ProcessHacker.exe_PhGetIntegerSetting
test eax, eax
je 0x7ff6cc701f75
xor r9d, r9d
mov byte [rsp + 0x20], 0
lea r8, str.the_computer
mov rcx, rdi
lea rdx, str.shut_down
call sym.ProcessHacker.exe_PhShowConfirmMessage
test al, al
je 0x7ff6cc702019
mov ecx, ebx
xor edx, edx
or ecx, 8
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x7ff6cc701f93
mov al, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
or ebx, 1
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x7ff6cc701f86
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x7ff6cc701fb7
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x7ff6cc701fbe
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
lea r9, str.Unable_to_shut_down_the_computer
mov rbx, rax
mov edx, 0x10
mov rcx, rdi
test rax, rax
jne 0x7ff6cc701fee
lea r8, [0x7ff6cc8339b8]
call sym.ProcessHacker.exe_PhShowMessage
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rbx + 8]
lea r8, str._s:__s
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhShowMessage
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x7ff6cc702019
call fcn.7ff6cc7ae900
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x7ff6cc702bd0
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [rdx + 0x20]
lea r8, [r11 - 0x60]
mov dword [rsp + 0x38], 0x30
mov rsi, r9
mov qword [r11 - 0x70], rax
lea r9, [r11 - 0x70]
xor eax, eax
mov rbp, rdx
mov qword [r11 - 0x58], rax
mov rdi, rcx
mov dword [rsp + 0x50], eax
lea rcx, [r11 - 0x78]
xorps xmm0, xmm0
mov qword [r11 - 0x50], rax
lea edx, [rax + 1]
mov qword [r11 - 0x68], rax
movdqu xmmword [rsp + 0x58], xmm0
call qword [sym.imp.ntdll.dll_NtOpenProcess]
mov ebx, eax
cmp eax, 0xc0000022
jne 0x7ff6cc702c58
cmp byte [0x7ff6cc85e000], 0
je 0x7ff6cc702c58
lea r8, [rsp + 0x28]
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.7ff6cc7c02c0
mov ebx, eax
test ebx, ebx
js 0x7ff6cc702ca7
cmp byte [0x7ff6cc85e000], 0
mov rdi, qword [rsp + 0x20]
je 0x7ff6cc702c80
mov edx, 1
mov rcx, rdi
call fcn.7ff6cc7c0500
mov ebx, eax
cmp eax, 0xc00000bb
jne 0x7ff6cc702c90
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
mov ebx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x7ff6cc702cf8
mov rdi, qword [rsp + 0xa0]
cmp qword [rbp + 0x20], 0
lea rdx, str.terminate
mov r8, qword [rbp + 0x30]
mov byte [rsi], 0
mov r8, qword [r8 + 8]
jl 0x7ff6cc702cd2
mov r9d, dword [rbp + 0x20]
lea rcx, str.Unable_to__s__s__PID__u_
call fcn.7ff6cc7015b0
jmp 0x7ff6cc702cde
lea rcx, str.Unable_to__s__s
call fcn.7ff6cc7015b0
mov rdx, qword [rax + 8]
xor r9d, r9d
mov r8d, ebx
mov rcx, rdi
call sym.ProcessHacker.exe_PhShowContinueStatus
test al, al
je 0x7ff6cc702d8f
mov rbx, qword [rsp + 0xb0]
or esi, 0xffffffff
mov rcx, qword [rbx + 0x50]
mov rax, qword [rbp + 0x20]
cmp rcx, rax
je 0x7ff6cc702d66
cmp qword [rbx + 0x58], rax
jne 0x7ff6cc702d66
call sym.ProcessHacker.exe_PhReferenceProcessItem
mov rdi, rax
test rax, rax
je 0x7ff6cc702d66
mov rcx, qword [rbp + 0x40]
cmp qword [rax + 0x40], rcx
jl 0x7ff6cc702d51
mov r9, qword [rsp + 0xb8]
mov rdx, rax
mov r8, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
call fcn.7ff6cc702bd0
test al, al
je 0x7ff6cc702d7c
lea rcx, [rdi - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff6cc702d66
call fcn.7ff6cc7ae900
mov eax, dword [rbx]
test eax, eax
je 0x7ff6cc702d71
add rbx, rax
jne 0x7ff6cc702d03
mov al, 1
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, [rdi - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x7ff6cc702d8f
call fcn.7ff6cc7ae900
xor al, al
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x7ff6cc70b760
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xe0
mov r14, rcx
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff6cc70b8cd
lea rdx, str.DebugSetProcessKillOnExit
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x7ff6cc70b8cd
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff6cc70b8cd
lea rdx, str.DebugActiveProcessStop
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x7ff6cc70b8cd
mov rcx, qword gs:[0x30]
mov qword [rsp + 0xf0], rbp
mov qword [rsp + 0xf8], rsi
xor sil, sil
mov rdx, qword [rcx + 0x60]
mov rcx, qword gs:[0x30]
movzx ebp, byte [rdx + 1]
mov rdx, qword [rcx + 0x60]
lea rcx, [rsp + 0x70]
mov byte [rdx + 1], sil
xor edx, edx
lea r8d, [rdx + 0x68]
call fcn.7ff6cc7e43c0
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
xor edx, edx
lea rax, [rsp + 0x50]
mov rcx, r14
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x7ff6cc70b886
xor ecx, ecx
call rdi
mov ecx, dword [rsp + 0x60]
call rbx
mov sil, 1
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x7ff6cc70b896
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x7ff6cc70b8a6
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword gs:[0x30]
movzx eax, sil
mov rsi, qword [rsp + 0xf8]
mov rdx, qword [rcx + 0x60]
mov byte [rdx + 1], bpl
mov rbp, qword [rsp + 0xf0]
jmp 0x7ff6cc70b8cf
xor al, al
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x7ff6cc722010
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
xor edx, edx
lea rcx, str.ProcessHacker
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x7ff6cc72207c
mov r8d, dword [0x7ff6cc85f328]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x1388
mov edx, 0x8063
mov rcx, rbx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp qword [rsp + 0x50], 0x1119
jne 0x7ff6cc72207c
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x40
pop rbx
ret

Function at 0x7ff6cc722260
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push r14
sub rsp, 0x60
mov r14, rdx
xor ebx, ebx
mov qword [rax - 0x30], rbx
mov rdx, rcx
mov dword [rax - 0x38], 0x60
lea rcx, [rax + 0x18]
mov dword [rax - 0x40], 1
mov r9d, 0x80
mov r8d, 0x120089
mov dword [rax - 0x48], 1
call sym.ProcessHacker.exe_PhCreateFileWin32Ex
test eax, eax
jns 0x7ff6cc7222b5
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop r14
ret
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov edx, 4
mov r8d, 0x400
mov qword [rsp + 0x70], rsi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [rsp + 0x80]
xor r9d, r9d
mov qword [rsp + 0x40], rbx
mov rsi, rax
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov dword [rsp + 0x30], 0x400
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
mov rcx, qword [rsp + 0x80]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x7ff6cc72233b
mov eax, dword [rsp + 0x58]
mov dword [r14], eax
mov rax, rsi
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop r14
ret
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rsi, qword [rsp + 0x70]
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop r14
ret
Function at 0x7ff6cc73ed40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x7ff6cc76c5d0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
lea rdx, [0x7ff6cc85ef60]
mov r8d, 0x158
lea ecx, [r9 + 2]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov rcx, qword [0x7ff6cc85ef68]
mov rax, rcx
sub rax, qword [0x7ff6cc85f0c0]
mov qword [0x7ff6cc85f0c8], rax
mov qword [0x7ff6cc85f0c0], rcx
mov rcx, qword [0x7ff6cc85ef70]
mov rax, rcx
sub rax, qword [0x7ff6cc85ef40]
mov qword [0x7ff6cc85ef48], rax
mov qword [0x7ff6cc85ef40], rcx
mov rcx, qword [0x7ff6cc85ef78]
mov rax, rcx
sub rax, qword [0x7ff6cc85ef30]
mov qword [0x7ff6cc85ef38], rax
mov qword [0x7ff6cc85ef30], rcx
add rsp, 0x28
ret
Function at 0x7ff6cc76c940
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x20
movsx r8d, byte [0x7ff6cc85deb8]
xor r9d, r9d
mov rdx, qword [0x7ff6cc85ec48]
mov r15, rcx
shl r8d, 3
lea ecx, [r9 + 0x53]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
movsx edi, byte [0x7ff6cc85deb8]
xor ebx, ebx
mov r14, qword [0x7ff6cc85ec48]
mov r11d, ebx
mov edx, ebx
lea esi, [rbx + 2]
cmp edi, 4
jb 0x7ff6cc76ca07
mov eax, edi
mov r9d, edi
and eax, 3
xorps xmm2, xmm2
sub r9d, eax
movdqa xmm1, xmm2
mov r8d, esi
nop
mov eax, edx
add edx, 4
movq xmm0, qword [r14 + rax*8]
lea eax, [r8 - 1]
movhpd xmm0, qword [r14 + rax*8]
mov eax, r8d
paddq xmm0, xmm2
movdqa xmm2, xmm0
movq xmm0, qword [r14 + rax*8]
lea eax, [r8 + 1]
movhpd xmm0, qword [r14 + rax*8]
add r8d, 4
paddq xmm0, xmm1
movdqa xmm1, xmm0
cmp edx, r9d
jb 0x7ff6cc76c9b0
paddq xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
paddq xmm1, xmm0
movq r11, xmm1
mov r8, rbx
mov r9, rbx
cmp edx, edi
jae 0x7ff6cc76ca52
mov eax, edi
sub eax, edx
cmp eax, esi
jb 0x7ff6cc76ca41
mov eax, edx
lea rcx, [r14 + rax*8]
mov eax, edi
sub eax, edx
sub eax, esi
shr eax, 1
inc eax
mov r10d, eax
lea edx, [rdx + rax*2]
nop
add r8, qword [rcx]
add r9, qword [rcx + 8]
lea rcx, [rcx + 0x10]
sub r10, 1
jne 0x7ff6cc76ca30
cmp edx, edi
jae 0x7ff6cc76ca4b
mov eax, edx
add r11, qword [r14 + rax*8]
lea rax, [r9 + r8]
add r11, rax
mov rdx, qword [0x7ff6cc85ec18]
lea r8d, [rdi*8]
xor r9d, r9d
mov rax, r11
sub rax, qword [0x7ff6cc85ebf0]
mov qword [0x7ff6cc85ebf8], rax
mov qword [0x7ff6cc85ebf0], r11
lea ecx, [r9 + 0x6c]
mov qword [r15], rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
movsx r11d, byte [0x7ff6cc85deb8]
mov r10, rbx
mov rdi, qword [0x7ff6cc85ec18]
mov edx, ebx
cmp r11d, 4
jb 0x7ff6cc76cb0f
mov eax, r11d
mov r8d, r11d
and eax, 3
xorps xmm2, xmm2
sub r8d, eax
movdqa xmm1, xmm2
nop word [rax + rax]
mov eax, edx
add edx, 4
movq xmm0, qword [rdi + rax*8]
lea eax, [rsi - 1]
movhpd xmm0, qword [rdi + rax*8]
mov eax, esi
paddq xmm0, xmm2
movdqa xmm2, xmm0
movq xmm0, qword [rdi + rax*8]
lea eax, [rsi + 1]
movhpd xmm0, qword [rdi + rax*8]
add esi, 4
paddq xmm0, xmm1
movdqa xmm1, xmm0
cmp edx, r8d
jb 0x7ff6cc76cac0
paddq xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
paddq xmm1, xmm0
movq r10, xmm1
mov r8, rbx
cmp edx, r11d
jae 0x7ff6cc76cb63
mov eax, r11d
sub eax, edx
cmp eax, 2
jb 0x7ff6cc76cb51
mov eax, edx
lea rcx, [rdi + rax*8]
mov eax, r11d
sub eax, edx
sub eax, 2
shr eax, 1
inc eax
mov r9d, eax
lea edx, [rdx + rax*2]
nop dword [rax]
add rbx, qword [rcx]
add r8, qword [rcx + 8]
lea rcx, [rcx + 0x10]
sub r9, 1
jne 0x7ff6cc76cb40
cmp edx, r11d
jae 0x7ff6cc76cb5c
mov eax, edx
add r10, qword [rdi + rax*8]
lea rax, [r8 + rbx]
add r10, rax
mov rbx, qword [rsp + 0x30]
mov rax, r10
sub rax, qword [0x7ff6cc85ec00]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov qword [0x7ff6cc85ec08], rax
mov qword [0x7ff6cc85ec00], r10
add rsp, 0x20
pop r15
ret
Function at 0x7ff6cc7a3570
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x2088
call fcn.7ff6cc7ffb20
sub rsp, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
lea rax, [rsp + 0x2078]
xor r9d, r9d
mov qword [rsp + 0x70], rax
lea rax, [0x7ff6cc855600]
mov qword [rsp + 0x28], rax
lea rax, [0x7ff6cc7a3bc0]
mov qword [rsp + 0x20], rax
call fcn.7ff6cc7a5ed0
test eax, eax
jns 0x7ff6cc7a35cd
or eax, 0xffffffff
add rsp, 0x2088
ret
mov rax, qword [rsp + 0x68]
jle 0x7ff6cc7a35fe
cmp rax, qword [rsp + 0x70]
jb 0x7ff6cc7a35ee
lea rcx, [rsp + 0x60]
call fcn.7ff6cc7a3ca0
test eax, eax
js 0x7ff6cc7a35c2
mov rax, qword [rsp + 0x68]
mov byte [rax], 0xa
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x2080], rbx
lea rcx, [rsp + 0x78]
xor ebx, ebx
lea rdx, [rsp + 0x60]
cmp rax, rcx
je 0x7ff6cc7a3658
mov rcx, qword [rsp + 0x60]
sub eax, edx
sub eax, 0x18
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov dword [rsp + 0x30], eax
xor r8d, r8d
lea rax, [rsp + 0x78]
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
setns bl
dec ebx
mov eax, ebx
mov rbx, qword [rsp + 0x2080]
add rsp, 0x2088
ret

Function at 0x7ff6cc7a3c10
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
test rcx, rcx
jne 0x7ff6cc7a3c27
or eax, 0xffffffff
add rsp, 0x60
pop rbx
ret
xor eax, eax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x40], rax
lea rdi, [rcx + 0x18]
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], 0x2000
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
test eax, eax
js 0x7ff6cc7a3c72
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x7ff6cc7a3c80
or eax, 0xffffffff
mov rdi, qword [rsp + 0x70]
add rsp, 0x60
pop rbx
ret
add rax, 0x18
mov qword [rbx + 8], rdi
mov rdi, qword [rsp + 0x70]
add rax, rbx
mov qword [rbx + 0x10], rax
xor eax, eax
add rsp, 0x60
pop rbx
ret

Function at 0x7ff6cc7a3ca0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
test rcx, rcx
jne 0x7ff6cc7a3cb7
lea eax, [rcx + 1]
add rsp, 0x60
pop rbx
ret
mov qword [rsp + 0x70], rdi
lea rdi, [rcx + 0x18]
cmp qword [rcx + 8], rdi
je 0x7ff6cc7a3d14
mov eax, dword [rcx + 8]
xor r9d, r9d
sub eax, ecx
xor r8d, r8d
xor ecx, ecx
sub eax, 0x18
mov qword [rsp + 0x40], rcx
xor edx, edx
mov qword [rsp + 0x38], rcx
mov rcx, qword [rbx]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
jns 0x7ff6cc7a3d10
or eax, 0xffffffff
mov rdi, qword [rsp + 0x70]
add rsp, 0x60
pop rbx
ret
mov qword [rbx + 8], rdi
xor eax, eax
mov rdi, qword [rsp + 0x70]
add rsp, 0x60
pop rbx
ret
Function at 0x7ff6cc7a7a80
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov eax, ecx
mov edi, ecx
and eax, 0xfff0000
cmp eax, 0x70000
je 0x7ff6cc7a7ac5
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea rcx, [0x7ff6cc826110]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, edi
mov r8d, ebx
mov rcx, rax
mov edx, 0xb
call sym.ProcessHacker.exe_PhGetMessage
jmp 0x7ff6cc7a7acd
movzx ecx, cx
call sym.ProcessHacker.exe_PhGetWin32Message
mov rbx, rax
test rax, rax
je 0x7ff6cc7a7ba6
cmp qword [rax], 0
je 0x7ff6cc7a7ba6
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhCountStringZ
or edi, 0xffffffff
lea rdx, [rax + rax]
mov qword [rbx], rdx
cmp rdx, 4
jb 0x7ff6cc7a7b3f
mov rcx, qword [rbx + 8]
mov rax, rdx
shr rax, 1
cmp word [rcx + rax*2 - 4], 0xd
jne 0x7ff6cc7a7b3f
cmp word [rcx + rax*2 - 2], 0xa
jne 0x7ff6cc7a7b3f
add rdx, 0xfffffffffffffffc
call sym.ProcessHacker.exe_PhCreateStringEx
mov rcx, rbx
mov rbx, rax
test rcx, rcx
je 0x7ff6cc7a7b3f
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff6cc7a7b3f
call fcn.7ff6cc7ae900
mov rax, qword [rbx + 8]
cmp word [rax], 0x7b
jne 0x7ff6cc7a7ba6
movups xmm0, xmmword [rbx]
mov edx, 0xa
xor r8d, r8d
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
call sym.ProcessHacker.exe_PhFindCharInStringRef
cmp rax, 0xffffffffffffffff
je 0x7ff6cc7a7ba6
mov rcx, qword [rsp + 0x28]
lea r8, [rax + rax]
mov rdx, qword [rsp + 0x20]
add rcx, 2
sub rdx, r8
add rcx, r8
sub rdx, 2
call sym.ProcessHacker.exe_PhCreateStringEx
mov rcx, rbx
mov rbx, rax
test rcx, rcx
je 0x7ff6cc7a7ba6
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x7ff6cc7a7ba6
call fcn.7ff6cc7ae900
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x7ff6cc7a7bc0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea rcx, str.kernel32.dll
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, edi
mov r8d, ebx
mov rcx, rax
mov edx, 0xb
call sym.ProcessHacker.exe_PhGetMessage
mov rbx, rax
test rax, rax
je 0x7ff6cc7a7c65
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhCountStringZ
lea rdx, [rax + rax]
mov qword [rbx], rdx
cmp rdx, 4
jb 0x7ff6cc7a7c62
mov rcx, qword [rbx + 8]
mov rax, rdx
shr rax, 1
cmp word [rcx + rax*2 - 4], 0xd
jne 0x7ff6cc7a7c62
cmp word [rcx + rax*2 - 2], 0xa
jne 0x7ff6cc7a7c62
add rdx, 0xfffffffffffffffc
call sym.ProcessHacker.exe_PhCreateStringEx
mov rdi, rax
test rbx, rbx
je 0x7ff6cc7a7c65
lea rcx, [rbx - 0x10]
or edx, 0xffffffff
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x7ff6cc7a7c65
call fcn.7ff6cc7ae900
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret