joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7fff25dbac3c
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edx, edx
mov rcx, qword [rcx]
mov qword [0x7fff25fd2328], rdx
cmp qword [rcx + 8], rbx
jne 0x7fff25dbacc5
mov rax, qword [rbx + 8]
cmp qword [rax], rbx
jne 0x7fff25dbacc5
mov ecx, 3
int 0x29
int3

Function at 0x7fff25dbad40
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x7fff25fcfe70]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov r14, r8
mov rsi, rdx
mov rdi, rcx
lea rdx, [rsp + 0x20]
lea r8d, [r9 + 0xc]
lea ecx, [r9 + 0x1c]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
js 0x7fff25dbadbe
mov eax, dword [rsp + 0x20]
mov ebx, 1
mov dword [rdi], eax
mov eax, dword [rsp + 0x24]
mov dword [rsi], eax
movzx eax, byte [rsp + 0x28]
mov dword [r14], eax
mov eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.7fff25dce640
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov ecx, eax
call fcn.7fff25d6b370
jmp 0x7fff25dbada0

Function at 0x7fff25dbb1a0
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
xor r15d, r15d
mov r14, rcx
mov rcx, qword [rdx + 8]
mov rbp, rdx
mov esi, r15d
test rcx, rcx
je 0x7fff25dbb1d6
call fcn.7fff25d8185c
mov qword [rbp + 8], r15
cmp qword [rbp + 0x38], r15
je 0x7fff25dbb257
lea rbx, [rbp + 0x48]
mov rcx, r14
mov qword [rbx], r15
call fcn.7fff25dbb28c
test eax, eax
jne 0x7fff25dbb243
mov rcx, qword [rbp + 0x38]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x48], 2
xor r9d, r9d
mov dword [rsp + 0x40], r15d
mov r8, rbx
mov dword [rsp + 0x38], 2
mov rdx, r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x78], r15
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
nop dword [rax + rax]
mov esi, eax
cmp eax, 0xc0000022
je 0x7fff25dbb27e
test esi, esi
js 0x7fff25dbb257
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov qword [rbp + 0x38], r15
cmp qword [rbp + 0x20], r15
jne 0x7fff25dfc2b8
lea r11, [rsp + 0x50]
mov eax, esi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov esi, r15d
mov qword [rbx], r15
jmp 0x7fff25dbb23f
call sym.KERNELBASE.dll_GetCurrentProcess
mov rbx, rax
call sym.KERNELBASE.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
lea r9, [rbp + 0x28]
mov rcx, rax
mov dword [rsp + 0x28], r15d
mov r8, rbx
mov dword [rsp + 0x20], r15d
mov rdx, r14
call sym.KERNELBASE.dll_DuplicateHandle
test eax, eax
jne 0x7fff25dfc30d
call sym.KERNELBASE.dll_GetLastError
test eax, eax
jg 0x7fff25dfc2ff
call sym.KERNELBASE.dll_GetLastError
mov esi, eax
jmp 0x7fff25dfc30d
call sym.KERNELBASE.dll_GetLastError
movzx esi, ax
or esi, 0xc0070000
mov rcx, qword [rbp + 0x20]
call sym.KERNELBASE.dll_SetEvent
nop
jmp 0x7fff25dbb261
Function at 0x7fff25dbc340
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, rcx
mov rdi, rdx
mov rcx, qword gs:[0x60]
xor edx, edx
mov rsi, r8
mov rcx, qword [rcx + 0x30]
lea r8d, [rdx + 0x18]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x7fff25dbc3f7
and dword [rsp + 0x38], 0
lea r9, [0x7fff25e04cb0]
and dword [rsp + 0x30], 0
lea rcx, [rsp + 0x68]
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rax], rbp
mov qword [rax + 8], rdi
mov rdx, qword [0x7fff25f0a2e8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_RtlSubscribeWnfStateChangeNotification]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x7fff25dbc3d6
mov rcx, qword [rsp + 0x68]
mov qword [rbx + 0x10], rcx
mov qword [rsi], rbx
xor ebx, ebx
test rbx, rbx
jne 0x7fff25dfcb32
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov edi, 0xc000009a
jmp 0x7fff25dbc3df
mov rcx, qword gs:[0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
nop
jmp 0x7fff25dbc3df

Function at 0x7fff25dbc410
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, rcx
mov rdi, rdx
mov rcx, qword gs:[0x60]
xor edx, edx
mov rsi, r8
mov rcx, qword [rcx + 0x30]
lea r8d, [rdx + 0x18]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x7fff25dbc4c7
and dword [rsp + 0x38], 0
lea r9, [0x7fff25e04cb0]
and dword [rsp + 0x30], 0
lea rcx, [rsp + 0x68]
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rax], rbp
mov qword [rax + 8], rdi
mov rdx, qword [0x7fff25f0a268]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_RtlSubscribeWnfStateChangeNotification]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x7fff25dbc4a6
mov rcx, qword [rsp + 0x68]
mov qword [rbx + 0x10], rcx
mov qword [rsi], rbx
xor ebx, ebx
test rbx, rbx
jne 0x7fff25dfcb56
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov edi, 0xc000009a
jmp 0x7fff25dbc4af
mov rcx, qword gs:[0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
nop
jmp 0x7fff25dbc4af
Function at 0x7fff25dbc640
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x7fff25fcfe70]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
lea r9, [rbp - 0x31]
lea rdx, [rbp - 0x41]
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlDosPathNameToRelativeNtPathName_U]
nop dword [rax + rax]
xor r14d, r14d
test al, al
je 0x7fff25dfcbb4
mov rsi, qword [rbp - 0x39]
cmp word [rbp - 0x31], r14w
jne 0x7fff25dfcbd6
mov eax, r14d
mov qword [rbp - 0x21], rax
mov qword [rbp + 7], rax
lea r9, [rbp - 0x11]
lea rax, [rbp - 0x41]
mov dword [rsp + 0x28], 0x4000
xorps xmm0, xmm0
mov qword [rbp + 0xf], rax
lea r8, [rbp - 1]
mov dword [rbp - 1], 0x30
mov edx, 0x80
mov dword [rbp + 0x17], 0x40
lea rcx, [rbp - 0x49]
mov dword [rsp + 0x20], 7
movdqu xmmword [rbp + 0x1f], xmm0
call qword [sym.imp.ntdll.dll_NtOpenFile]
nop dword [rax + rax]
lea rcx, [rbp - 0x31]
mov edi, eax
call qword [sym.imp.ntdll.dll_RtlReleaseRelativeName]
nop dword [rax + rax]
mov rcx, qword gs:[0x60]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
test edi, edi
js 0x7fff25dfcbc7
mov rcx, qword [rbp - 0x49]
lea r8, [rbp + 0x2f]
mov r9d, 0x10
mov dword [rsp + 0x20], 0x1c
lea rdx, [rbp - 0x11]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x49]
test eax, eax
js 0x7fff25dfcbe8
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
test rbx, rbx
je 0x7fff25dbc772
mov eax, dword [rbp + 0x33]
mov dword [rbx], eax
mov eax, dword [rbp + 0x2f]
cmp eax, 0xffffffff
je 0x7fff25dfcc09
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.7fff25dce640
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 3
call qword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
nop dword [rax + rax]
jmp 0x7fff25dfcbce
mov ecx, edi
call fcn.7fff25d6b370
or eax, 0xffffffff
jmp 0x7fff25dbc77e
movups xmm0, xmmword [rbp - 0x31]
mov rax, qword [rbp - 0x21]
movdqu xmmword [rbp - 0x41], xmm0
jmp 0x7fff25dbc6a3
mov rdx, rbx
call sym.KERNELBASE.dll_GetFileSize
mov rcx, qword [rbp - 0x49]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov eax, ebx
jmp 0x7fff25dbc77e
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
nop dword [rax + rax]
mov eax, dword [rbp + 0x2f]
jmp 0x7fff25dbc77e
Function at 0x7fff25dbc7b0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x7fff25dfcc20
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_RtlGetCurrentProcessorNumberEx]
nop dword [rax + rax]
mov eax, dword [rbx]
lea rdx, [rsp + 0x48]
mov r8d, 2
mov qword [rsp + 0x28], rbx
mov r9, rdi
mov dword [rsp + 0x20], eax
lea ecx, [r8 + 0x47]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
nop dword [rax + rax]
cmp eax, 0xc0000004
mov ecx, 0xc0000023
cmove eax, ecx
test eax, eax
jns 0x7fff25dbc829
mov ecx, eax
call fcn.7fff25d6b370
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov eax, 1
jmp 0x7fff25dbc81d
mov ecx, 0x57
call qword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
nop dword [rax + rax]
nop
jmp 0x7fff25dbc81b

Function at 0x7fff25dbca40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x7fff25fcfe70]
xor rax, rsp
mov qword [rbp + 0x47], rax
and qword [rbp + 0xf], 0
lea rax, str.RegistryMACHINESystemCurrentControlSetControlSafeBootOption
mov qword [rbp - 0x11], rax
lea r8, [rbp + 7]
lea rax, str.OptionValue
mov dword [rbp - 0x19], 0x860084
mov qword [rbp - 1], rax
mov rdi, rcx
lea rax, [rbp - 0x19]
mov dword [rbp - 9], 0x180016
xorps xmm0, xmm0
mov qword [rbp + 0x17], rax
mov edx, 1
mov dword [rbp + 7], 0x30
lea rcx, [rbp - 0x29]
mov dword [rbp + 0x1f], 0x40
movdqu xmmword [rbp + 0x27], xmm0
call qword [sym.imp.ntdll.dll_NtOpenKey]
nop dword [rax + rax]
test eax, eax
jns 0x7fff25dfccca
cmp eax, 0xc0000034
jne 0x7fff25dbcb01
and dword [rdi], 0
mov eax, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.7fff25dce640
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, eax
jmp 0x7fff25dfccbe
mov ecx, ebx
call fcn.7fff25d6b370
xor eax, eax
jmp 0x7fff25dbcadf
mov rcx, qword [rbp - 0x29]
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x37]
mov r8d, 2
mov dword [rsp + 0x20], 0x10
lea rdx, [rbp - 9]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x29]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
test ebx, ebx
jns 0x7fff25dfcd1d
cmp ebx, 0xc0000034
je 0x7fff25dbcad7
jmp 0x7fff25dfccbc
cmp dword [rbp + 0x3b], 4
jne 0x7fff25dbcad7
cmp dword [rbp + 0x3f], 4
jne 0x7fff25dbcad7
mov eax, dword [rbp + 0x43]
mov dword [rdi], eax
jmp 0x7fff25dbcada
Function at 0x7fff25dbcd50
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
test rcx, rcx
je 0x7fff25dfcd4a
call qword [sym.imp.ntdll.dll_RtlReportSilentProcessExit]
nop dword [rax + rax]
mov edx, edi
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
nop dword [rax + rax]
test eax, eax
jns 0x7fff25dbcd9e
mov ecx, eax
call fcn.7fff25d6b370
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, 1
jmp 0x7fff25dbcd92
mov ecx, 6
call qword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
nop dword [rax + rax]
nop
jmp 0x7fff25dbcd90

Function at 0x7fff25dbcf10
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x20
mov r8d, 8
lea r9, [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x40]
lea ecx, [r8 + 0x2f]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
test eax, eax
js 0x7fff25dfcddc
cmp dword [rsp + 0x38], 4
jb 0x7fff25dfcde5
mov eax, dword [rsp + 0x40]
mov dword [rbx], eax
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov ecx, eax
call fcn.7fff25d6b370
jmp 0x7fff25dfcdf6
mov ecx, 0x57
call qword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
nop dword [rax + rax]
xor eax, eax
jmp 0x7fff25dbcf57
Function at 0x7fff25dbd070
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x7fff25fcfe70]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov eax, 0xfffd
mov r14d, ecx
cmp ecx, eax
mov r15, rdx
xorps xmm0, xmm0
lea rdx, [rsp + 0x50]
mov edi, 0x100
cmova r14d, eax
mov ecx, edi
movups xmmword [rsp + 0x28], xmm0
call qword [sym.imp.ntdll.dll_RtlGetCurrentDirectory_U]
nop dword [rax + rax]
xor ebx, ebx
mov dword [rsp + 0x20], eax
test eax, eax
je 0x7fff25dfce1c
lea esi, [rax + 2]
cmp eax, edi
ja 0x7fff25dfce61
lea rdi, [rsp + 0x50]
movzx r8d, ax
lea rcx, [rsp + 0x20]
mov rdx, rdi
mov word [rsp + 0x28], ax
mov word [rsp + 0x2a], si
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ntdll.dll_RtlUnicodeToMultiByteSize]
nop dword [rax + rax]
test eax, eax
js 0x7fff25dbd185
mov eax, dword [rsp + 0x20]
cmp r14d, eax
ja 0x7fff25dbd150
lea ebx, [rax + 1]
lea rax, [rsp + 0x50]
cmp rdi, rax
jne 0x7fff25dfceb9
mov eax, ebx
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.7fff25dce640
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [0x7fff25fcfd98]
lea rdx, [rsp + 0x28]
xor r8d, r8d
mov word [rsp + 0x38], bx
lea rcx, [rsp + 0x38]
mov word [rsp + 0x3a], r14w
mov qword [rsp + 0x40], r15
call qword [case.0x7fff25dc97c1.0]
test eax, eax
js 0x7fff25dbd185
movzx ebx, word [rsp + 0x38]
jmp 0x7fff25dbd11c
mov ecx, eax
call fcn.7fff25d6b370
jmp 0x7fff25dbd11c
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov ecx, 0xc0000001
jmp 0x7fff25dfce28
mov ecx, 0xc0000017
call fcn.7fff25d6b370
xor eax, eax
jmp 0x7fff25dbd12c
cmp eax, esi
jb 0x7fff25dbd0e5
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov esi, dword [rsp + 0x20]
add esi, 2
lea eax, [rsi - 2]
cmp eax, 0xfffc
ja 0x7fff25dfceaf
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, esi
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x7fff25dfce23
mov rdx, rax
mov ecx, esi
call qword [sym.imp.ntdll.dll_RtlGetCurrentDirectory_U]
nop dword [rax + rax]
mov dword [rsp + 0x20], eax
test eax, eax
jne 0x7fff25dfce34
jmp 0x7fff25dfcdfe
mov ecx, 0xc0000106
jmp 0x7fff25dfce28
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
nop
jmp 0x7fff25dbd12a

Function at 0x7fff25dbd840
Capabilities:
Suspend thread

Disassembly:
sub rsp, 0x28
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtSuspendThread]
nop dword [rax + rax]
test eax, eax
js 0x7fff25dbd863
mov eax, dword [rsp + 0x38]
add rsp, 0x28
ret
mov ecx, eax
call fcn.7fff25d6b370
or eax, 0xffffffff
jmp 0x7fff25dbd85d
Function at 0x7fff25dbefb0
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x78
mov rax, qword [0x7fff25fcfe70]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
test rdx, rdx
jne 0x7fff25dbf039
test r8, r8
jne 0x7fff25dbf048
test r9, r9
je 0x7fff25dbeff5
mov eax, dword [r9]
mov dword [rsp + 0x50], eax
mov eax, dword [r9 + 4]
mov dword [rsp + 0x54], eax
mov r9d, 0x28
mov dword [rsp + 0x20], 4
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
test eax, eax
js 0x7fff25dfd9d2
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.7fff25dce640
add rsp, 0x78
ret
mov eax, dword [rdx]
mov dword [rsp + 0x40], eax
mov eax, dword [rdx + 4]
mov dword [rsp + 0x44], eax
jmp 0x7fff25dbefdc
mov eax, dword [r8]
mov dword [rsp + 0x48], eax
mov eax, dword [r8 + 4]
mov dword [rsp + 0x4c], eax
jmp 0x7fff25dbefe1

Function at 0x7fff25dbf2c0
Capabilities:
Get system information on windows

Disassembly:
mov word [rsp + 8], cx
sub rsp, 0x38
test r8, r8
je 0x7fff25dfda34
mov eax, dword [r8]
mov r9, rdx
mov qword [rsp + 0x28], r8
lea rdx, [rsp + 0x40]
mov r8d, 2
mov dword [rsp + 0x20], eax
lea ecx, [r8 + 0x6a]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
nop dword [rax + rax]
test eax, eax
js 0x7fff25dfda47
mov eax, 1
add rsp, 0x38
ret

Function at 0x7fff25dbf760
Capabilities:
Check processdebugport

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rdx
test rcx, rcx
je 0x7fff25dfdc33
test rdx, rdx
je 0x7fff25dfdc33
lea r9d, [rbx + 8]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x40]
lea edx, [rbx + 7]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
nop dword [rax + rax]
test eax, eax
js 0x7fff25dfdc2a
cmp qword [rsp + 0x40], rbx
mov eax, 1
setne bl
mov dword [rdi], ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x7fff25dc03d0
Capabilities:
Set file attributes

Disassembly:
mov rax, rsp
sub rsp, 0x48
mov qword [rax + 0x10], rdx
lea r8, [rax + 0x10]
lea rdx, [rax - 0x18]
mov dword [rax - 0x28], 0x27
mov r9d, 8
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
test eax, eax
jns 0x7fff25dc040f
mov ecx, eax
call fcn.7fff25d6b370
xor eax, eax
add rsp, 0x48
ret
mov eax, 1
jmp 0x7fff25dc0409

Function at 0x7fff25dc0afc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
mov ebx, r9d
lea rcx, [rsp + 0x30]
mov rdi, r8
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop dword [rax + rax]
mov r9d, 1
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtSetValueKey]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x7fff25dc7704
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov ebx, dword [rsp + 0x60]
mov rdi, r8
mov qword [rax - 0x10], r8
mov rsi, r9
mov r8d, 2
mov dword [rax - 0x18], ebx
mov rbp, rdx
mov r14, rcx
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
mov r10d, eax
test eax, eax
je 0x7fff25e00b8e
cmp eax, 0xc0000034
jne 0x7fff25e00bf5
cmp dword [rsp + 0x78], 0
je 0x7fff25dc7793
mov rsi, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x70]
mov dword [rsp + 0x28], ebx
mov r9d, 7
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtSetValueKey]
nop dword [rax + rax]
mov r10d, eax
mov rbx, qword [rsp + 0x40]
mov eax, r10d
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
add byte [rax], al
add byte [rcx], dl
invalid
Function at 0x7fff25dcae4c
Capabilities:
Get file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0xc0
mov rsi, r8
or qword [r11 + 0x20], 0xffffffffffffffff
mov ebx, 0x200
mov dword [rsp + 0x60], ebx
lea rax, [r11 + 0x10]
mov qword [r11 - 0x58], rax
mov dword [rsp + 0x68], 0x80008
mov dword [r11 - 0x40], 0x30
mov qword [r11 - 0x38], rcx
mov dword [r11 - 0x28], 0x40
lea rax, [r11 - 0x60]
mov qword [r11 - 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [r11 - 0x20], xmm0
and dword [rsp + 0x50], 0
and qword [r11 - 0x80], 0
mov dword [rsp + 0x40], 0x2020
mov dword [rsp + 0x38], 1
and dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], 0
lea r9, [r11 - 0x50]
lea r8, [r11 - 0x40]
mov edx, 0x100080
lea rcx, [r11 + 0x20]
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x7fff25dcaf90
mov r8, qword [rsi]
test r8, r8
jne 0x7fff25dcaf67
mov r8d, ebx
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rsi], rax
test rax, rax
je 0x7fff25dcaf8b
mov dword [rsp + 0x20], 9
mov ebx, dword [rsp + 0x60]
mov r9d, ebx
mov r8, rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
mov edi, eax
add ebx, ebx
mov dword [rsp + 0x60], ebx
cmp eax, 0x80000005
je 0x7fff25dcaefd
jmp 0x7fff25dcaf90
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov ebx, dword [rsp + 0x60]
jmp 0x7fff25dcaf05
mov edi, 0xc000009a
mov rcx, qword [rsp + 0xe8]
cmp rcx, 0xffffffffffffffff
je 0x7fff25dcafaa
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov eax, edi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x7fff25dcafc8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov esi, edx
mov rcx, qword gs:[0x60]
mov edi, r8d
mov edx, dword [0x7fff25fd0c80]
mov r8d, 0x50
add edx, 0xc0000
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x7fff25dcb04a
and qword [rax + 8], 0
lea rcx, [rax + 0x28]
and qword [rax + 0x10], 0
and dword [rax + 0x18], 0
and dword [rax + 0x1c], 0
mov qword [rax], rbp
mov dword [rax + 0x20], esi
mov dword [rax + 0x24], edi
call qword [sym.imp.ntdll.dll_RtlInitializeCriticalSection]
nop dword [rax + rax]
test eax, eax
js 0x7fff25e0168a
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
push 0x67bca7c0
invalid
Function at 0x7fff25dcb720
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
lea eax, [rcx + 1]
mov ebx, ecx
add ax, ax
mov rsi, rdx
movzx r8d, ax
mov word [rbp - 0x1e], r8w
mov rcx, qword gs:[0x60]
mov edx, dword [0x7fff25fd0c80]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rbp - 0x18], rax
test rax, rax
je 0x7fff25e01996
movzx ecx, word [rbp - 0x1e]
mov edi, 2
sub ecx, edi
mov rdx, rax
shr ecx, 1
call sym.KERNELBASE.dll_GetTempPathW
movzx ecx, word [rbp - 0x1e]
add ax, ax
sub cx, di
mov word [rbp - 0x20], ax
cmp ax, cx
ja 0x7fff25e018ba
mov rax, qword [0x7fff25fcfd98]
lea rdx, [rbp - 0x20]
inc bx
mov qword [rbp - 8], rsi
xor r8d, r8d
mov word [rbp - 0xe], bx
lea rcx, [rbp - 0x10]
call qword [case.0x7fff25dc97c1.0]
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x18]
mov ebx, eax
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
test ebx, ebx
js 0x7fff25dcb805
movzx eax, word [rbp - 0x10]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
mov ecx, ebx
jmp 0x7fff25e0199b
add ah, al
mov ebp, 0x855159f6
mov ebp, 0xd3431420
mov r13b, 2
hlt
invalid
xchg ecx, eax
adc cl, bh
invalid