joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002f5c
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x40], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov rdi, r9
mov rsi, r8
movups xmmword [rbp - 0x20], xmm0
mov r14, rdx
movsxd rbx, ecx
movups xmmword [rbp - 0x10], xmm0
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rcx, rbx
lea rdx, [rbp - 0x40]
mov r15, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140002fbb
mov eax, 0xc0000225
jmp 0x140003026
and qword [rbp - 0x38], 0
mov rax, qword [0x1400070b8]
test rax, rax
je 0x140002fdb
mov rcx, qword [rbp - 0x40]
lea r8, [rbp - 0x30]
mov edx, 1
call rax
mov r8, qword [rbp - 0x40]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x30], rax
mov r9, r14
mov byte [rsp + 0x28], 1
mov rdx, rsi
mov rcx, r15
mov qword [rsp + 0x20], rdi
call fcn.1400022d4
mov r8, qword [0x1400070c0]
mov ebx, eax
test r8, r8
je 0x14000301a
mov edx, 1
lea rcx, [rbp - 0x30]
call r8
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140003044
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x80
mov rsi, r9
mov r15, r8
mov rbx, rdx
and qword [rax - 0x50], 0
movsxd rcx, ecx
lea rdx, [rax - 0x50]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140003089
mov eax, 0xc0000225
jmp 0x140003188
mov rax, qword [0x1400070b8]
test rax, rax
je 0x1400030a6
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call rax
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov rbx, rax
mov qword [rsp + 0x40], rax
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov dword [rsp + 0x28], 0x20
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov r14, rax
mov edx, 4
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmProtectMdlSystemAddress]
mov edi, eax
mov dword [rsp + 0x30], eax
mov rax, qword [0x1400070c0]
test rax, rax
je 0x140003121
mov edx, 1
lea rcx, [rsp + 0x48]
call rax
mov r8, rsi
mov rdx, r15
mov rcx, r14
call fcn.140004800
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
jmp 0x14000317b
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x1400031a8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x80
and qword [rax - 0x58], 0
mov esi, edx
lea rdx, [rax - 0x58]
mov rdi, r9
mov rbx, r8
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x1400031dd
mov eax, 0xc0000225
jmp 0x140003258
and qword [rsp + 0x38], 0
mov rax, qword [0x1400070b8]
mov qword [rsp + 0x40], rbx
test rax, rax
je 0x140003205
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x48]
mov edx, 1
call rax
mov dword [rsp + 0x28], esi
lea r9, [rsp + 0x40]
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x38]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov r8, qword [0x1400070c0]
mov ebx, eax
test r8, r8
je 0x140003243
mov edx, 1
lea rcx, [rsp + 0x48]
call r8
mov rcx, qword [rsp + 0x38]
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000333c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, rdx
mov dword [rax + 8], 0x2000
mov rsi, rcx
call fcn.140003ed0
mov edx, dword [rsp + 0x40]
mov r8d, eax
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x140003388
xorps xmm0, xmm0
movdqu xmmword [rsi], xmm0
jmp 0x140003445
mov rdx, rax
jmp 0x1400033bd
call fcn.140003ed0
mov edx, dword [rsp + 0x40]
mov r8d, eax
mov ecx, 1
mov rdi, rbx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
xor edx, edx
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
test rbx, rbx
je 0x14000337c
mov rdx, rbx
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov ecx, 0xb
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14000338d
test eax, eax
jns 0x1400033eb
xorps xmm0, xmm0
movdqu xmmword [rsi], xmm0
test rbx, rbx
je 0x140003445
jmp 0x14000343a
mov r10d, dword [rbx]
xor r8d, r8d
test r10d, r10d
je 0x140003433
lea rcx, [rbx + 8]
movzx eax, word [rcx + 0x26]
lea rdx, [rcx + 0x28]
add rdx, rax
mov r11, rbp
sub r11, rdx
movzx eax, byte [rdx]
movzx r9d, byte [rdx + r11]
sub eax, r9d
jne 0x140003420
inc rdx
test r9d, r9d
jne 0x14000340b
test eax, eax
je 0x14000345d
inc r8d
add rcx, 0x128
cmp r8d, r10d
jb 0x1400033fa
xorps xmm0, xmm0
movdqu xmmword [rsi], xmm0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rbx, qword [rsp + 0x48]
mov rax, rsi
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x28], eax
movups xmm0, xmmword [rsp + 0x20]
jmp 0x140003436
Function at 0x140003474
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x60
and qword [rax + 0x18], 0
mov rbx, rdx
lea rdx, [rax + 0x18]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140003499
mov eax, 0xc0000225
jmp 0x14000350f
and qword [rsp + 0x88], 0
mov rax, qword [0x1400070b8]
mov qword [rsp + 0x20], rbx
test rax, rax
je 0x1400034c7
mov rcx, qword [rsp + 0x80]
lea r8, [rsp + 0x28]
mov edx, 1
call rax
mov r9d, 0x8000
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x20]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
mov r8, qword [0x1400070c0]
mov ebx, eax
test r8, r8
je 0x1400034ff
mov edx, 1
lea rcx, [rsp + 0x28]
call r8
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
add rsp, 0x60
pop rbx
ret

Function at 0x140003518
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x78]
sub rsp, 0x170
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x100
call fcn.140004ac0
mov r8, rbx
lea rcx, [rsp + 0x70]
mov edx, 0x80
call sub.ntoskrnl.exe_wcscpy_s
and qword [rbp + 0x90], 0
lea rdx, [rbp + 0x90]
mov rcx, rdi
xor esi, esi
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140003625
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
mov rdi, rax
test rax, rax
je 0x140003625
mov rax, qword [0x1400070b8]
test rax, rax
je 0x1400035b5
mov rcx, qword [rbp + 0x90]
lea r8, [rsp + 0x40]
lea edx, [rsi + 1]
call rax
mov eax, dword [rdi + 0xc]
add rax, 0xc
mov ebx, dword [rax]
cmp rbx, rax
je 0x140003607
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140002928
mov edx, dword [rbx + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140002928
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
test eax, eax
jne 0x1400035f9
mov esi, dword [rbx + 0x18]
mov ecx, dword [rdi + 0xc]
mov ebx, dword [rbx]
add rcx, 0xc
cmp rbx, rcx
jne 0x1400035c3
mov r8, qword [0x1400070c0]
test r8, r8
je 0x140003620
mov edx, 1
lea rcx, [rsp + 0x40]
call r8
mov rax, rsi
jmp 0x140003627
xor eax, eax
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140003640
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x100
call fcn.140004ac0
mov r8, rbx
lea rcx, [rsp + 0x60]
mov edx, 0x80
call sub.ntoskrnl.exe_wcscpy_s
and qword [rsp + 0x180], 0
lea rdx, [rsp + 0x180]
mov rcx, rdi
xor esi, esi
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140003744
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov rdi, rax
test rax, rax
je 0x140003744
mov rax, qword [0x1400070b8]
test rax, rax
je 0x1400036d8
mov rcx, qword [rsp + 0x180]
lea r8, [rsp + 0x30]
lea edx, [rsi + 1]
call rax
mov rax, qword [rdi + 0x18]
add rax, 0x10
mov rbx, qword [rax]
cmp rbx, rax
je 0x140003726
test rbx, rbx
je 0x140003716
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140002928
lea rcx, [rbx + 0x58]
mov r8b, 1
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
test eax, eax
jne 0x140003716
mov rsi, qword [rbx + 0x30]
mov rcx, qword [rdi + 0x18]
mov rbx, qword [rbx]
add rcx, 0x10
cmp rbx, rcx
jne 0x1400036e8
mov r8, qword [0x1400070c0]
test r8, r8
je 0x14000373f
mov edx, 1
lea rcx, [rsp + 0x30]
call r8
mov rax, rsi
jmp 0x140003746
xor eax, eax
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000375c
Capabilities:
Find process by pid

Disassembly:
sub rsp, 0x28
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x14000378a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
test rax, rax
je 0x14000378a
lfence
jmp 0x14000378c
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400038e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
movups xmm0, xmmword [str.OPT_b]
mov eax, dword [0x1400054b8]
lea r9, [rbp - 0x28]
mov dword [rbp - 0x10], eax
mov edi, edx
movzx eax, word [0x1400054bc]
mov rbx, rcx
movups xmmword [rbp - 0x28], xmm0
xor r8d, r8d
mov word [rbp - 0xc], ax
movsd xmm0, qword [0x1400054b0]
movsd qword [rbp - 0x18], xmm0
mov eax, 0x8d3dcb09
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x38
xor word [r9], ax
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x14000392a
lea rcx, [rbp - 0x28]
call fcn.140003794
mov r10, rax
test rax, rax
je 0x140003a57
test rbx, rbx
je 0x140003a57
cmp byte [0x1400054db], 0
movsd xmm0, qword [0x1400054d0]
mov ecx, dword [0x1400054d8]
movsd qword [rbp - 0x40], xmm0
mov dword [rbp - 0x38], ecx
je 0x1400039c2
xor r8d, r8d
lea r9, [rbp - 0x40]
mov eax, 0x8d3dcb09
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
mov al, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9], al
inc r9
cmp r8d, 0xc
jl 0x14000399b
cmp byte [0x1400054cb], 0
movsd xmm0, qword [0x1400054c0]
mov eax, dword [0x1400054c8]
movsd qword [rbp - 0x34], xmm0
mov dword [rbp - 0x2c], eax
je 0x140003a0f
xor r8d, r8d
lea r9, [rbp - 0x34]
mov eax, 0x8d3dcb09
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
mov al, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9], al
inc r9
cmp r8d, 0xc
jl 0x1400039e8
lea r8, [rbp - 0x40]
mov rcx, r10
lea rdx, [rbp - 0x34]
call fcn.1400021c0
test rax, rax
je 0x140003a50
mov ecx, dword [rax + 1]
add ecx, 5
movsxd rcx, ecx
add rax, rcx
je 0x140003a50
mov r9b, dil
mov r8d, 1
mov rdx, rbx
xor ecx, ecx
call rax
neg rax
sbb eax, eax
not eax
and eax, 0xc0000001
jmp 0x140003a5c
mov eax, 0xc0000141
jmp 0x140003a5c
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
Function at 0x140003d0c
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x48], 0
mov rbx, rdx
lea rdx, [rbp - 0x48]
mov edi, r8d
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140003d41
mov eax, 0xc0000225
jmp 0x140003daf
mov rax, qword [rbp + 0x30]
and dword [rbp - 0x50], 0
mov qword [rbp - 0x40], rax
mov rax, qword [0x1400070b8]
mov qword [rbp - 0x38], rbx
test rax, rax
je 0x140003d6c
mov rcx, qword [rbp - 0x48]
lea r8, [rbp - 0x30]
mov edx, 1
call rax
lea rax, [rbp - 0x50]
mov r9d, edi
lea r8, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x38]
or rcx, 0xffffffffffffffff
call sub.ntoskrnl.exe_ZwProtectVirtualMemory
mov r8, qword [0x1400070c0]
mov ebx, eax
test r8, r8
je 0x140003da3
mov edx, 1
lea rcx, [rbp - 0x30]
call r8
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140003dc4
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
and qword [rbp + 0x7f], 0
mov rdi, rdx
lea rdx, [rbp + 0x7f]
mov rbx, r8
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140003dfe
mov eax, 0xc0000225
jmp 0x140003e88
mov rax, qword [0x1400070b8]
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
test rax, rax
je 0x140003e28
mov rcx, qword [rbp + 0x7f]
lea r8, [rbp + 0x27]
mov edx, 1
call rax
and qword [rsp + 0x28], 0
lea r9, [rbp - 9]
xor r8d, r8d
mov qword [rsp + 0x20], 0x30
mov rdx, rdi
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwQueryVirtualMemory]
mov r8, qword [0x1400070c0]
mov edi, eax
test r8, r8
je 0x140003e65
mov edx, 1
lea rcx, [rbp + 0x27]
call r8
movups xmm0, xmmword [rbp - 9]
mov rcx, qword [rbp + 0x7f]
movups xmm1, xmmword [rbp + 7]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx + 0x20], xmm0
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140003f88
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov r8, qword [rcx + 0x18]
lea rdx, [rsp + 0x60]
mov edi, 2
mov ecx, edi
movups xmm1, xmmword [r8 + 0x30]
lea esi, [rdi + 0x7e]
psrldq xmm1, 0xc
movd eax, xmm1
cdqe
add rax, r8
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, rsi
movups xmmword [rdx + 0x60], xmm0
add rdx, rsi
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x140003fc2
mov rax, qword [rax]
mov rcx, r8
mov qword [rdx], rax
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
test rax, rax
je 0x1400040f9
mov r8d, 0x108
lea rdx, [rbp + 0x98]
mov rcx, rax
call fcn.140003c94
mov rbx, rax
test rax, rax
je 0x1400040f9
movabs rcx, 0xfffff78000000014
lea rdx, [rbp + 0x90]
mov rcx, qword [rcx]
mov qword [rbp + 0xa0], rcx
lea rcx, [rbp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlTimeToSecondsSince1970]
mov ecx, dword [rbp + 0x90]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x68], ecx
mov rcx, qword [rbp + 0x98]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, rsi
movups xmmword [rcx + 0x60], xmm0
add rcx, rsi
movups xmmword [rcx - 0x10], xmm1
sub rdi, 1
jne 0x140004083
mov rax, qword [rax]
mov rdx, rbx
mov qword [rcx], rax
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
xor eax, eax
jmp 0x1400040fe
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004114
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
and qword [rax - 0x58], 0
lea r9, [rbp + 0x17]
and qword [rbp + 0x2f], 0
lea r8, [rbp + 0x27]
mov dword [rax - 0x60], 0x100
xorps xmm0, xmm0
and qword [rax - 0x68], 0
mov ebx, 0x110000
and dword [rax - 0x70], 0
mov edx, ebx
and dword [rax - 0x78], 0
and qword [rax - 0x80], 0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 4
mov qword [rbp + 0x37], rcx
lea rcx, [rbp + 0x67]
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], 0
mov dword [rbp + 0x27], 0x30
mov dword [rbp + 0x3f], 0x240
movdqu xmmword [rbp + 0x47], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileEx]
test eax, eax
js 0x14000423a
call fcn.140003ed0
mov rcx, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
xor r9d, r9d
and qword [rsp + 0x30], 0
mov edx, ebx
mov r8, qword [rcx]
lea rcx, [rbp + 0x6f]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 0x67]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandleWithTag]
xor edx, edx
mov edi, eax
test eax, eax
jns 0x1400041f9
lfence
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
mov eax, edi
jmp 0x14000423d
mov rax, qword [rbp + 0x6f]
mov rcx, qword [rax + 0x28]
and qword [rcx + 0x10], 0
call qword [sym.imp.ntoskrnl.exe_MmFlushImageSection]
mov rcx, qword [rbp + 0x6f]
mov bl, al
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp + 0x67]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
test bl, bl
je 0x140004238
lea rcx, [rbp + 0x27]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov edi, eax
test eax, eax
jns 0x14000423a
mov eax, edi
lfence
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140004254
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [rcx + 0x28]
mov rbx, rcx
mov qword [0x1400070d0], rax
test rax, rax
je 0x140004401
call fcn.140004480
mov qword [0x1400070d8], rax
test rax, rax
je 0x140004401
mov rcx, qword [rbx + 0x28]
xor edx, edx
call rax
mov rcx, qword [0x1400070d0]
add rcx, 0x48
call fcn.140004114
mov rcx, rbx
test eax, eax
jns 0x1400042c3
mov edx, 0xc0000001
call fcn.1400046f4
jmp 0x140004406
mov rax, qword [0x1400070d0]
lea rdx, [rbp - 0x30]
movups xmm0, xmmword [rax + 0x58]
movdqu xmmword [rbp - 0x30], xmm0
call fcn.14000157c
test eax, eax
jns 0x1400042e8
lfence
mov rcx, rbx
jmp 0x1400042b4
mov rax, qword [0x1400070d0]
lea rcx, [rbp - 0x30]
movups xmm0, xmmword [rax + 0x58]
movdqu xmmword [rbp - 0x30], xmm0
call fcn.140001a54
test eax, eax
js 0x1400042e0
call fcn.140001cc8
test eax, eax
js 0x1400042e0
mov rax, qword [0x1400070d0]
lea rcx, [rbp - 0x30]
movups xmm0, xmmword [rax + 0x58]
movdqu xmmword [rbp - 0x30], xmm0
call fcn.140001f0c
lfence
mov rcx, rbx
test eax, eax
js 0x1400042b4
call fcn.140003f88
test eax, eax
js 0x1400042e0
call fcn.1400029a4
lfence
test eax, eax
js 0x1400042e3
lea rdx, str.DosDevicesKmXmEsWb
lea rcx, [rbp - 0x30]
call fcn.140003f4c
lea rdx, str.DeviceKmXmEsWb
lea rcx, [rbp - 0x10]
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x20], xmm0
call fcn.140003f4c
mov r9d, 0x22
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, rbx
movups xmm0, xmmword [rax]
lea rax, [0x1400070e8]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x100
movdqu xmmword [rbp - 0x40], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x140004401
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
test eax, eax
js 0x140004401
lea rax, [0x140004738]
mov ecx, 0x1b
lea rdi, [rbx + 0x70]
rep stosq qword [rdi], rax
lea rax, section..text
mov qword [rbx + 0xe0], rax
lea rax, [0x14000441c]
mov qword [rbx + 0x68], rax
mov rax, qword [0x1400070e8]
or dword [rax + 0x30], 0x10
mov rax, qword [0x1400070e8]
btr dword [rax + 0x30], 7
xor eax, eax
jmp 0x140004406
mov eax, 0xc0000001
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140004480
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xa8]
sub rsp, 0x1a0
movups xmm0, xmmword [str.VMUHWOPSn_:D]
movzx eax, word [0x140006070]
lea r9, [rsp + 0x5c]
xor ebx, ebx
mov word [rsp + 0x74], ax
movups xmmword [rsp + 0x5c], xmm0
mov r8d, ebx
mov esi, 0x5397829d
movsd xmm0, qword [0x140006068]
movsd qword [rsp + 0x6c], xmm0
mov eax, esi
mul r8d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x38
xor word [r9], ax
lea r9, [r9 + 2]
cmp r8d, 0xd
jl 0x1400044d3
lea rcx, [rsp + 0x5c]
call fcn.140003794
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x114
mov rdi, rax
call fcn.140004ac0
lea rcx, [rbp - 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
mov ecx, dword [rbp - 0x74]
cmp ecx, 0x42ee
jb 0x1400045f0
cmp ecx, 0x47bb
ja 0x1400045f0
movups xmm0, xmmword [str._ABC]
mov al, byte [0x1400060b0]
lea r9, [rsp + 0x20]
mov byte [rsp + 0x38], al
mov r8d, ebx
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x1400060a8]
movsd qword [rsp + 0x30], xmm0
mov eax, esi
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
mov al, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9], al
inc r9
cmp r8d, 0x19
jl 0x14000456c
movups xmm0, xmmword [0x140006078]
mov al, byte [0x140006090]
lea r8, [rsp + 0x3e]
mov byte [rsp + 0x56], al
movups xmmword [rsp + 0x3e], xmm0
movsd xmm0, qword [0x140006088]
movsd qword [rsp + 0x4e], xmm0
mov eax, esi
mul ebx
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
mov al, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r8], al
inc r8
cmp ebx, 0x19
jl 0x1400045b9
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x3e]
mov rcx, rdi
call fcn.1400021c0
jmp 0x1400046da
cmp ecx, 0x4a61
jb 0x1400046d8
cmp ecx, 0x585d
ja 0x1400046d8
cmp byte [0x1400060f5], bl
movups xmm0, xmmword [str._ABCDEFG89:____01234567_nmlkU]
mov eax, dword [0x1400060f0]
mov dword [rsp + 0x56], eax
movzx eax, word [0x1400060f4]
movups xmmword [rsp + 0x3e], xmm0
mov word [rsp + 0x5a], ax
movsd xmm0, qword [0x1400060e8]
movsd qword [rsp + 0x4e], xmm0
je 0x14000466c
mov r8d, ebx
lea r9, [rsp + 0x3e]
mov eax, esi
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
mov al, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9], al
inc r9
cmp r8d, 0x1e
jl 0x140004648
cmp byte [0x1400060d5], bl
movups xmm0, xmmword [0x1400060b8]
mov eax, dword [0x1400060d0]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1400060d4]
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x3c], ax
movsd xmm0, qword [0x1400060c8]
movsd qword [rsp + 0x30], xmm0
je 0x1400046c9
lea r8, [rsp + 0x20]
mov eax, esi
mul ebx
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
mov al, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r8], al
inc r8
cmp ebx, 0x1e
jl 0x1400046a9
lea r8, [rsp + 0x3e]
lea rdx, [rsp + 0x20]
jmp 0x1400045e3
xor eax, eax
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret