joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7d27f490
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x7d27f490
sub rsp, 0x28
mov rdx, qword [sym.imp.ntdll.dll_NtOpenProcess]
lea r8, [0x7d280100]
lea rcx, str.NtOpenProcess
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2ad5e0], rax
test rax, rax
jne 0x7d27f4c1
xor al, al
add rsp, 0x28
ret
mov rdx, qword [sym.imp.ntdll.dll_NtOpenThread]
lea r8, [0x7d280200]
lea rcx, str.NtOpenThread
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2ad5e8], rax
test rax, rax
je 0x7d27f4ba
mov rdx, qword [sym.imp.ntdll.dll_NtDuplicateObject]
lea r8, [0x7d27ff20]
lea rcx, str.NtDuplicateObject
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2ad5f0], rax
test rax, rax
je 0x7d27f4ba
mov rdx, qword [sym.imp.ntdll.dll_NtQuerySecurityObject]
lea r8, [0x7d280380]
lea rcx, str.NtQuerySecurityObject
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2ad5f8], rax
test rax, rax
je 0x7d27f4ba
mov rdx, qword [sym.imp.ntdll.dll_NtSetSecurityObject]
lea r8, [0x7d280510]
lea rcx, str.NtSetSecurityObject
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2ad600], rax
test rax, rax
je 0x7d27f4ba
mov rdx, qword [sym.imp.ntdll.dll_NtSetInformationToken]
lea r8, [0x7d2804e0]
lea rcx, str.NtSetInformationToken
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2ad610], rax
test rax, rax
je 0x7d27f4ba
mov rdx, qword [sym.imp.ntdll.dll_NtAdjustPrivilegesToken]
lea r8, [0x7d27fee0]
lea rcx, str.NtAdjustPrivilegesToken
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2ad618], rax
test rax, rax
je 0x7d27f4ba
cmp dword [0x7d2abfb8], 0xa
jae 0x7d27f5e4
mov rdx, qword [sym.imp.ntdll.dll_NtQueryInformationToken]
lea r8, [0x7d280290]
lea rcx, str.NtQueryInformationToken
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2ad608], rax
test rax, rax
je 0x7d27f4ba
cmp dword [0x7d2abfb0], 0xa
mov qword [rsp + 0x20], rbx
jne 0x7d27f63b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
test rax, rax
je 0x7d27f63b
lea rdx, str.SCODEF:
mov rcx, rax
call sub.ntdll.dll_wcsstr
test rax, rax
je 0x7d27f63b
lea rdx, str.CREDAT:
mov rcx, rbx
call sub.ntdll.dll_wcsstr
movzx ecx, byte [0x7d2ad628]
test rax, rax
mov edx, 1
cmovne ecx, edx
mov byte [0x7d2ad628], cl
mov rcx, qword [0x7d2abf38]
lea rdx, str.RtlQueryElevationFlags
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x7d27f6fa
mov ecx, dword [0x7d2abfb0]
cmp ecx, 0xa
ja 0x7d27f670
mov eax, 0x442
bt eax, ecx
jb 0x7d27f69e
mov rcx, qword [0x7d2abf60]
lea rdx, str.SynTPEnh.exe
call sub.ntdll.dll__wcsicmp
test eax, eax
je 0x7d27f69e
mov rcx, qword [0x7d2abf60]
lea rdx, str.SynTPHelper.exe
call sub.ntdll.dll__wcsicmp
test eax, eax
jne 0x7d27f6fa
lea r8, [0x7d2806d0]
mov rdx, rbx
lea rcx, str.RtlQueryElevationFlags
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2ad620], rax
test rax, rax
jne 0x7d27f6ca
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
cmp dword [0x7d2abfb0], 0xa
jne 0x7d27f6fa
cmp byte [0x7d2ad628], 0
jne 0x7d27f6f3
call fcn.7d2215eb
cmp eax, 0xa
jae 0x7d27f6f3
test qword [0x7d2abfa0], 0x100
je 0x7d27f6fa
mov byte [0x7d2ad629], 1
mov al, 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x7d281a00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov rsi, rdx
mov rdi, rcx
lea r8, [0x7d2998a8]
mov rcx, qword [0x7d2aa1a8]
lea rdx, str.ILIsParent
xor bl, bl
call fcn.7d221280
mov rcx, qword [0x7d2aa1a8]
lea r8, [0x7d296d88]
lea rdx, str.ILCombine
mov r12, rax
call fcn.7d221280
mov rcx, qword [0x7d2aa1a8]
lea r8, [0x7d296de0]
lea rdx, str.SHFree
mov r14, rax
call fcn.7d221280
mov rbp, rax
test r12, r12
je 0x7d281aea
test r14, r14
je 0x7d281aea
test rax, rax
je 0x7d281aea
test rdi, rdi
je 0x7d281aad
test rsi, rsi
je 0x7d281aad
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call r12
xor ecx, ecx
test eax, eax
cmovne rdi, rcx
mov rdx, rsi
mov rcx, rdi
call r14
mov rdi, rax
test rax, rax
je 0x7d281aea
mov rdx, r15
mov rcx, rax
call qword [0x7d2ad6d0]
test eax, eax
je 0x7d281ae5
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
movzx ebx, bl
mov ecx, 1
cmp eax, 0xffffffff
cmovne ebx, ecx
mov rcx, rdi
call rbp
mov rbp, qword [rsp + 0x48]
movzx eax, bl
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x7d281e40
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x7d281e40
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
cmp dword [0x7d2abfb0], 0xa
je 0x7d281e62
xor eax, eax
add rsp, 0x170
pop rbp
ret
lea rdx, str.REGISTRYMACHINESOFTWAREMicrosoftInternet_Explorer
mov qword [rsp + 0x190], rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x40], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x40]
mov qword [rsp + 0x48], 0
mov edx, 0x20019
mov dword [rsp + 0x58], 0x40
lea rcx, [rbp + 0x88]
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
js 0x7d281fd2
lea rdx, str.svcVersion
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x100
call sub.ntdll.dll_memset
mov rcx, qword [rbp + 0x88]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
mov r8d, 2
mov dword [rsp + 0x20], 0xfc
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
jns 0x7d281f79
lea rdx, [0x7d28ee28]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x100
call sub.ntdll.dll_memset
mov rcx, qword [rbp + 0x88]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
mov r8d, 2
mov dword [rsp + 0x20], 0xfc
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
js 0x7d281fac
cmp dword [rsp + 0x74], 1
jne 0x7d281fac
lea rcx, [rsp + 0x7c]
call sub.ntdll.dll__wtoi
mov rcx, qword [rbp + 0x88]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rbp
ret
mov rcx, qword [rbp + 0x88]
mov ebx, dword [rbp + 0x80]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rbp
ret
mov ebx, dword [rbp + 0x80]
mov eax, ebx
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rbp
ret
Function at 0x7d282060
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x4e0
xor esi, esi
movzx edi, dx
mov rbx, rcx
mov qword [r8], rsi
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rsi + 0x68]
call sub.ntdll.dll_memset
mov eax, 0x22
mov dword [rsp + 0x70], 0x68
mov edx, 0x104
mov word [rsp + 0xe0], ax
lea rcx, [rsp + 0xe2]
mov dword [rsp + 0xac], 0x80
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
lea rax, [rsp + 0xe0]
sub rax, 2
nop dword [rax]
cmp word [rax + 2], si
lea rax, [rax + 2]
jne 0x7d2820d0
movups xmm0, xmmword [str.explorer.exe_]
movups xmm1, xmmword [0x7d299838]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
cmp di, 0x65
jne 0x7d282119
lea rax, [rsp + 0xe0]
sub rax, 2
cmp word [rax + 2], si
lea rax, [rax + 2]
jne 0x7d282101
movsd xmm0, qword [0x7d299850]
movsd qword [rax], xmm0
jmp 0x7d282151
cmp di, 0x73
jne 0x7d282151
lea rax, [rsp + 0xe0]
sub rax, 2
nop dword [rax + rax]
cmp word [rax + 2], si
lea rax, [rax + 2]
jne 0x7d282130
movups xmm0, xmmword [str._n__select_]
movsd xmm1, qword [0x7d299870]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm1
lea rcx, [rsp + 0xe0]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], si
lea rcx, [rcx + 2]
jne 0x7d282160
mov eax, dword [0x7d297028]
lea rdx, [rsp + 0xe0]
sub rdx, 2
mov dword [rcx], eax
nop
cmp word [rdx + 2], si
lea rdx, [rdx + 2]
jne 0x7d282180
xor r8d, r8d
nop dword [rax]
movzx ecx, word [rbx + r8*2]
mov word [rdx + r8*2], cx
lea r8, [r8 + 1]
test cx, cx
jne 0x7d282190
lea rdx, [rsp + 0xe0]
or rcx, 0xffffffffffffffff
nop
cmp word [rdx + rcx*2 + 2], si
lea rcx, [rcx + 1]
jne 0x7d2821b0
cmp word [rsp + rcx*2 + 0xde], 0x5c
jne 0x7d2821ce
mov word [rsp + rcx*2 + 0xde], si
lea rcx, [rsp + 0xe0]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], si
lea rcx, [rcx + 2]
jne 0x7d2821e0
mov dword [rcx], eax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x7d28224d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rbx
lea rdx, str._S___d_
mov r9d, eax
mov ecx, 0x8a2
call sym.imfsbDll.dll_SbieApi_Log
xor eax, eax
jmp 0x7d282268
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x7d282570
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
jmp 0x7d282570
push rbx
sub rsp, 0x20
lea rdx, str.open
mov rbx, rcx
call fcn.7d2825c0
test rax, rax
jne 0x7d28259e
lea rdx, str.cplopen
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.7d2825c0
add rsp, 0x20
pop rbx
ret
Function at 0x7d2838c0
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x7d2838c0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rdi, rdx
mov dword [rsp + 0x48], 0x30
mov rdx, qword [str._registrymachine_systemcurrentcontrolset_servicesimfsbSvc]
lea rax, [rsp + 0x38]
mov rsi, rcx
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x60], 0x40
movdqu xmmword [rsp + 0x68], xmm0
mov ebx, r8d
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea r8, [rsp + 0x48]
mov edx, 0x20019
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jns 0x7d283936
xor al, al
jmp 0x7d283980
mov rdx, rsi
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x38]
mov r9, rdi
mov dword [rsp + 0x20], ebx
mov r8d, 2
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
setns al
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x7d2839e0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
jmp 0x7d2839e0
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
cmp byte [0x7d2ad724], 0
jne 0x7d283c64
mov qword [rsp + 0x1b8], rbx
lea rcx, [rbp - 0x70]
xor ebx, ebx
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xe8], rbx
mov dword [rbp - 0x70], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x7d283a39
cmp dword [rbp - 0x6c], 5
je 0x7d283c24
lea r8, [rbp + 0xe0]
mov edx, 8
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
test eax, eax
js 0x7d283c24
mov rcx, qword [rbp + 0xe0]
lea rax, [rbp + 0xd0]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xd8]
lea edx, [r9 + 0xe]
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x7d283c24
mov ecx, dword [rbp + 0xd8]
lea eax, [rcx - 2]
cmp eax, 1
jbe 0x7d283c1e
cmp ecx, 1
jne 0x7d283c24
mov ecx, 0x2000
call fcn.7d2212da
mov rcx, qword [rbp + 0xe0]
mov rbx, rax
lea rax, [rbp + 0xd0]
mov r8, rbx
mov r9d, 0x2000
mov qword [rsp + 0x20], rax
mov edx, 2
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x7d283b31
xor ecx, ecx
mov dword [rbp + 0xd0], ecx
cmp dword [rbx], ecx
jbe 0x7d283b31
mov r8d, dword [0x7d2ab9b0]
mov r9, qword [0x7d2ab9a8]
nop word [rax + rax]
mov edx, ecx
add rdx, rdx
mov rax, qword [rbx + rdx*8 + 8]
cmp qword [rax], r9
jne 0x7d283b25
cmp dword [rax + 8], r8d
jne 0x7d283b25
cmp dword [rax + 0xc], 0x220
jne 0x7d283b25
test byte [rbx + rdx*8 + 0x10], 4
jne 0x7d283b49
inc ecx
mov dword [rbp + 0xd0], ecx
cmp ecx, dword [rbx]
jb 0x7d283b00
cmp dword [rbp + 0xd8], 2
jne 0x7d283b62
mov dword [0x7d2ab9b4], 2
jmp 0x7d283c24
mov dword [rbp + 0xd8], 2
mov dword [0x7d2ab9b4], 2
jmp 0x7d283c24
lea rax, [rsp + 0x30]
mov dword [rsp + 0x40], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
lea rdx, str._registrymachine_softwaremicrosoftwindowscurrentversionpolicies_system
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x58], 0x40
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea r8, [rsp + 0x40]
mov edx, 0x20019
lea rcx, [rbp + 0xe8]
call qword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
js 0x7d283c24
lea rdx, str.EnableLUA
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rbp + 0xe8]
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
mov r8d, 2
mov dword [rsp + 0x20], 0x20
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
js 0x7d283c24
cmp dword [rsp + 0x78], 4
jne 0x7d283c24
cmp dword [rsp + 0x7c], 0
je 0x7d283c24
mov eax, dword [rbp + 0xd8]
mov dword [0x7d2ab9b4], eax
jmp 0x7d283c24
mov dword [0x7d2ab9b4], ecx
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x7d283c36
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x7d283c43
mov rcx, rbx
call fcn.7d221938
mov rcx, qword [rbp + 0xe0]
mov rbx, qword [rsp + 0x1b8]
test rcx, rcx
je 0x7d283c5d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x7d2ad724], 1
mov eax, dword [0x7d2ab9b4]
add rsp, 0x1c0
pop rbp
ret
Function at 0x7d284a00
Capabilities:
Query environment variable

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 rsi, rdx
mov ecx, 0x800
xor bl, bl
call fcn.7d2212da
mov rdi, rax
lea rcx, str.__COMPAT_LAYER
xor eax, eax
mov r8d, 0x3fc
mov rdx, rdi
mov word [rdi], ax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp word [rdi], 0
je 0x7d284a5d
mov rdx, rsi
mov rcx, rdi
call fcn.7d284db0
test al, al
je 0x7d284a5d
mov bl, 1
jmp 0x7d284ab2
mov r9d, 0x3fc
mov r8, rdi
mov dl, 1
mov rcx, rbp
call fcn.7d284b10
test al, al
je 0x7d284a83
mov rdx, rsi
mov rcx, rdi
call fcn.7d284db0
test al, al
jne 0x7d284a59
mov r9d, 0x3fc
mov r8, rdi
xor edx, edx
mov rcx, rbp
call fcn.7d284b10
test al, al
je 0x7d284ab2
mov rdx, rsi
mov rcx, rdi
call fcn.7d284db0
test al, al
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov rcx, rdi
call fcn.7d221938
mov rbp, qword [rsp + 0x38]
movzx eax, bl
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x7d284b10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
sub rsp, 0x70
mov r9, qword [str._R_]
mov rbx, r8
mov rsi, rcx
xor dil, dil
mov r10, r8
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r9]
lea r9, [r9 + 2]
mov word [r10], ax
lea r10, [r10 + 2]
test ax, ax
jne 0x7d284b40
test dl, dl
je 0x7d284b94
lea rax, [r8 - 2]
nop dword [rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x7d284b60
mov r8, qword [str.usercurrent]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [r8 + rdx*2]
mov word [rax + rdx*2], cx
lea rdx, [rdx + 1]
test cx, cx
jne 0x7d284b80
jmp 0x7d284bc0
lea rcx, [r8 - 2]
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x7d284ba0
movups xmm0, xmmword [str.machine]
movups xmmword [rcx], xmm0
movzx eax, word [0x7d295890]
mov word [rcx + 0x10], ax
lea rax, [rbx - 2]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x7d284bc4
movups xmm0, xmmword [str._softwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers]
mov rdx, rbx
lea rcx, [rsp + 0x30]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x7d29a520]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x7d29a530]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [0x7d29a540]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [0x7d29a550]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [0x7d29a560]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [0x7d29a570]
movups xmmword [rax + 0x60], xmm0
movups xmm1, xmmword [0x7d29a580]
movups xmmword [rax + 0x70], xmm1
movsd xmm0, qword [0x7d29a590]
movsd qword [rax + 0x80], xmm0
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x40], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
xor ebp, ebp
mov dword [rsp + 0x58], 0x40
lea r8, [rsp + 0x40]
mov qword [rsp + 0x48], rbp
mov edx, 0x20019
lea rcx, [rsp + 0xa0]
movdqu xmmword [rsp + 0x60], xmm0
call qword [0x7d2acd90]
test eax, eax
jne 0x7d284d15
mov rdx, rsi
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov eax, dword [rsp + 0xa8]
lea rcx, [rsp + 0xa8]
add eax, eax
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0xa0]
lea r8d, [rbp + 2]
mov r9, rbx
mov dword [rsp + 0xa8], eax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
jne 0x7d284d07
mov eax, dword [rbx + 8]
lea rdx, [rbx + 0xc]
shr eax, 1
mov rcx, rbx
mov r8d, eax
add r8, r8
mov dword [rsp + 0xa8], eax
call sub.ntdll.dll_memmove
mov eax, dword [rsp + 0xa8]
mov dil, 1
mov word [rbx + rax*2], bp
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntdll.dll_NtClose]
movzx eax, dil
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x7d285780
Capabilities:
Get file attributes

Disassembly:
jmp 0x7d285780
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rdi, rcx
mov r15, rdx
xor ecx, ecx
call fcn.7d221744
mov r14, rax
mov rcx, qword [rax + 0x138]
test rcx, rcx
je 0x7d285939
mov esi, 0x5c
mov edx, esi
call sub.ntdll.dll_wcsrchr
mov edx, esi
mov rcx, rdi
mov rbx, rax
call sub.ntdll.dll_wcsrchr
mov rdi, rax
test rbx, rbx
je 0x7d285939
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x7d2857e4
test ecx, ecx
je 0x7d285939
test rdi, rdi
je 0x7d285939
mov ebp, ecx
mov rdx, rdi
mov r8d, ecx
mov rcx, rbx
call sub.ntdll.dll__wcsnicmp
test eax, eax
jne 0x7d285939
mov rdx, qword [str..manifest]
lea rbx, [rdi + rbp*2]
mov rcx, rbx
call sub.ntdll.dll__wcsicmp
test eax, eax
jne 0x7d28583c
lea rbx, str.Manifest1.txt
mov esi, 0x16c
jmp 0x7d28585a
mov rdx, qword [str..config]
mov rcx, rbx
call sub.ntdll.dll__wcsicmp
test eax, eax
jne 0x7d285939
lea rbx, str.Manifest2.txt
cmp byte [r14 + 0x136], 0
jne 0x7d285870
lea rbx, str.Manifest0.txt
mov esi, 2
mov ecx, 0x410
call fcn.7d2212da
mov r9d, 0x104
mov r8, rax
xor edx, edx
xor ecx, ecx
mov rbp, rax
call sym.imfsbDll.dll_SbieApi_GetHomePath
lea rcx, [rbp - 2]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x7d285893
xor edx, edx
movzx eax, word [rbx + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x7d2858a0
xor eax, eax
mov edx, 1
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], eax
mov r8d, edx
mov rcx, rbp
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rbp
mov rdi, rax
call fcn.7d221938
lea rcx, [rdi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x7d28592b
mov r9d, 0x38
mov dword [rsp + 0x20], 0x22
lea r8, [rsp + 0x50]
mov rcx, rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x7d285922
mov eax, esi
cmp qword [rsp + 0x78], rax
jne 0x7d285922
mov qword [r15], rdi
mov al, 1
jmp 0x7d28593b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 2]
mov ecx, 0x89d
call sym.imfsbDll.dll_SbieApi_Log
xor al, al
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x7d286bc0
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x7d286bc0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rbx, rcx
mov rdi, rdx
xor ecx, ecx
call fcn.7d221744
cmp qword [rax + 0x138], 0
je 0x7d286d49
mov r8d, 0x12
lea rdx, str.RegistryMachine_
mov rcx, rbx
call sub.ntdll.dll__wcsnicmp
test eax, eax
jne 0x7d286d49
lea r8d, [rax + 0xa]
lea rdx, str.Components
lea rcx, [rbx + 0x24]
call sub.ntdll.dll__wcsnicmp
test eax, eax
je 0x7d286c71
mov r8d, 9
lea rdx, str.Software_
lea rcx, [rbx + 0x24]
call sub.ntdll.dll__wcsnicmp
test eax, eax
jne 0x7d286d49
add rbx, 0x36
lea r8d, [rax + 0xc]
mov rcx, rbx
lea rdx, str.Wow6432Node_
call sub.ntdll.dll__wcsnicmp
test eax, eax
jne 0x7d286c5a
add rbx, 0x18
lea rdx, str.MicrosoftWindowsCurrentVersionSideBySide
mov rcx, rbx
call sub.ntdll.dll__wcsicmp
test eax, eax
jne 0x7d286d49
mov rdx, qword [str._registrymachine_systemcurrentcontrolset_servicesimfsbSvc]
lea rax, [rsp + 0x30]
xorps xmm0, xmm0
mov qword [rsp + 0x68], rax
xor ebx, ebx
mov dword [rsp + 0x58], 0x30
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x60], rbx
movdqu xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x70], 0x40
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea r8, [rsp + 0x58]
mov edx, 0x20019
lea rcx, [rsp + 0xb8]
call qword [0x7d2acd90]
test eax, eax
je 0x7d286cd3
mov qword [rsp + 0xb8], rbx
jmp 0x7d286d38
cmp qword [rsp + 0xb8], rbx
je 0x7d286d38
lea rdx, str.PreferExternalManifest
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rsp + 0xb8]
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
mov r8d, 2
mov dword [rsp + 0x20], 0x18
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
test eax, eax
je 0x7d286d5c
mov dword [rsp + 0x44], ebx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.PreferExternalManifest
mov ecx, 0x89d
call sym.imfsbDll.dll_SbieApi_Log
xor al, al
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
cmp dword [rsp + 0x44], 4
jne 0x7d286d2a
cmp dword [rsp + 0x48], 4
jne 0x7d286d2a
cmp dword [rsp + 0x4c], ebx
je 0x7d286d2a
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xa0]
mov qword [rdi], rax
mov al, 1
add rsp, 0x90
pop rdi
ret