joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7d227280
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x7d227280
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
lea rdx, str.CoGetClassObject
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CoCreateInstance
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CoCreateInstanceEx
mov rcx, rbx
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CoUnmarshalInterface
mov rcx, rbx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CoMarshalInterface
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CoTaskMemAlloc
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x7d28ea58]
mov rcx, rbx
mov qword [0x7d2abcb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7d2abcc0], rax
call sym.imfsbDll.dll_SbieDll_IsOpenCOM
test al, al
jne 0x7d22741b
lea r8, [0x7d2248d0]
mov rdx, rsi
lea rcx, str.CoGetClassObject
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2abc48], rax
test rax, rax
je 0x7d2273c0
lea rcx, str.cocreate
call fcn.7d2215e6
test al, al
jne 0x7d2273a8
lea r8, [0x7d2244d0]
mov rdx, r15
lea rcx, str.CoCreateInstance
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2abc58], rax
test rax, rax
je 0x7d2273c0
lea r8, [0x7d224670]
mov rdx, r14
lea rcx, str.CoCreateInstanceEx
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2abc60], rax
test rax, rax
je 0x7d2273c0
cmp dword [0x7d2abfb4], 0x20d0
jb 0x7d2273c4
mov rcx, rdi
call fcn.7d225ca0
test al, al
jne 0x7d2273e6
xor al, al
jmp 0x7d22741d
lea r8, [0x7d224cd0]
mov rdx, rdi
lea rcx, str.CoUnmarshalInterface
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2abc68], rax
test rax, rax
je 0x7d22741d
lea r8, [0x7d224b30]
mov rdx, rbp
lea rcx, str.CoMarshalInterface
call sym.imfsbDll.dll_SbieDll_Hook
mov qword [0x7d2abc88], rax
test rax, rax
je 0x7d2273c0
xor r8d, r8d
lea rcx, [0x7d29aeb8]
lea edx, [r8 + 4]
call sym.imfsbDll.dll_SbieDll_IsOpenClsid
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x7d227960
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x28
cmp byte [0x7d2abcd0], 0
mov r15d, r9d
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
je 0x7d227a98
mov qword [rsp + 0x50], rdi
mov ecx, 0x800
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x20], r14
call fcn.7d2244c0
mov r9d, dword [rsp + 0x70]
lea rdx, str.SBIE__s___08X_
mov r8, rbx
mov rcx, rax
mov r14, rax
call sym.imfsbDll.dll_Sbie_swprintf
movsxd rcx, eax
or rdi, 0xffffffffffffffff
lea rbx, [r14 + rcx*2]
test rsi, rsi
je 0x7d2279f0
lea r8, str.CLSID
mov rdx, rsi
mov rcx, rbx
call fcn.7d221159
mov rax, rdi
nop dword [rax + rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x7d2279e0
lea rbx, [rbx + rax*2]
mov r13d, 0xa
test rbp, rbp
je 0x7d227a75
mov qword [rsp + 0x58], r12
lea r12d, [r13 + 0x16]
test rsi, rsi
je 0x7d227a11
mov word [rbx], r12w
add rbx, 2
lea r8, str.Interface
mov rdx, rbp
mov rcx, rbx
call fcn.7d221159
mov rax, rdi
nop word [rax + rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x7d227a30
lea rbx, [rbx + rax*2]
test rsi, rsi
jne 0x7d227a70
mov word [rbx], r12w
mov r8d, r13d
add rbx, 2
mov ecx, r15d
mov rdx, rbx
call sub.ntdll.dll__itow
nop dword [rax + rax]
cmp word [rbx + rdi*2 + 2], 0
lea rdi, [rdi + 1]
jne 0x7d227a60
lea rbx, [rbx + rdi*2]
mov r12, qword [rsp + 0x58]
mov rcx, r14
mov dword [rbx], r13d
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, r14
call fcn.7d225c90
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x50]
add rsp, 0x28
pop r15
pop rsi
pop rbp
pop rbx
ret
Function at 0x7d227b00
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x7d227b00
push rbx
push rbp
push rsi
sub rsp, 0x50
cmp qword [0x7d2abc98], 0
mov rbx, r8
mov rbp, rdx
mov rsi, rcx
jne 0x7d227b56
mov rcx, qword [0x7d2aa180]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.StringFromGUID2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7d2abc98], rax
test rax, rax
jne 0x7d227b56
movups xmm0, xmmword [str.unknown]
movups xmmword [rsi], xmm0
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret
mov rcx, rsi
mov qword [rsp + 0x70], rdi
sub rcx, rbx
mov qword [rsp + 0x78], r14
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x7d227b70
or rdi, 0xffffffffffffffff
mov rax, rdi
nop word [rax + rax]
cmp word [rsi + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x7d227b90
lea rbx, [rsi + rax*2]
mov rcx, rbp
mov eax, 0x5c
lea rdx, [rbx + 2]
mov word [rbx], ax
lea r8d, [rax - 0x2c]
call qword [0x7d2abc98]
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, 0xffffffff80000000
call qword [0x7d2abb88]
mov r8d, 0x60
lea rdx, [rbx + 2]
mov rcx, rsi
mov ebp, eax
call sub.ntdll.dll_memmove
cmp word [rsi + rdi*2 + 2], 0
lea rdi, [rdi + 1]
jne 0x7d227bf0
lea rbx, [rsi + rdi*2]
mov eax, 0x20
mov word [rbx], ax
xor r14d, r14d
add rbx, 2
test ebp, ebp
jne 0x7d227ca6
mov rdi, rbx
test bl, 3
je 0x7d227c27
lea rdi, [rbx + 3]
and rdi, 0xfffffffffffffffc
lea rdx, [0x7d28ed18]
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x38]
mov r9, rdi
mov dword [rsp + 0x20], 0x80
mov r8d, 2
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov esi, eax
test eax, eax
jne 0x7d227c97
mov ecx, dword [rdi + 8]
lea rdx, [rdi + 0xc]
shr ecx, 1
mov r8d, ecx
mov dword [rsp + 0x88], ecx
add r8, r8
mov rcx, rbx
call sub.ntdll.dll_memmove
mov ecx, dword [rsp + 0x88]
mov word [rbx + rcx*2], r14w
mov rcx, qword [rsp + 0x30]
call qword [0x7d2abb90]
test esi, esi
je 0x7d227cac
mov dword [rbx], 0x3f
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret
Function at 0x7d22adf0
Capabilities:
Query environment variable
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0x78
cmp byte [0x7d2abfad], 0
je 0x7d22b022
mov ecx, 0x2000
mov qword [rsp + 0x88], rbx
call fcn.7d2212da
mov rcx, qword [0x7d2abf58]
mov r9, rax
or r8d, 0xffffffff
xor edx, edx
mov rbx, rax
call sym.imfsbDll.dll_SbieApi_EnumProcessEx
test eax, eax
je 0x7d22ae6b
mov r9d, eax
lea rdx, str._d___08X_
or r8d, 0xffffffff
lea rcx, [rsp + 0x50]
call sym.imfsbDll.dll_Sbie_swprintf
lea rdx, [rsp + 0x50]
mov ecx, 0x89e
call sym.imfsbDll.dll_SbieApi_Log
mov rcx, rbx
call fcn.7d221938
mov rbx, qword [rsp + 0x88]
add rsp, 0x78
ret
mov qword [rsp + 0x90], rbp
xor edx, edx
mov qword [rsp + 0x98], rsi
mov r8d, 0x2000
mov rcx, rbx
mov qword [rsp + 0x70], rdi
call sub.ntdll.dll_memset
mov ecx, 0x2000
call fcn.7d2212da
xor edx, edx
mov r8d, 0x2000
mov rcx, rax
mov rdi, rax
call sub.ntdll.dll_memset
xor ebp, ebp
mov dword [rsp + 0x20], 0x1ff0
mov r9, rbx
lea rdx, str.AutoExec
mov r8d, 0x20000000
xor ecx, ecx
mov esi, ebp
call sym.imfsbDll.dll_SbieApi_QueryConf
test eax, eax
jne 0x7d22aff5
nop dword [rax + rax]
mov r8d, 0xff0
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, eax
dec rcx
mov dword [rsp + 0x80], eax
cmp rcx, 0xfef
jbe 0x7d22af20
mov rdx, rdi
mov rax, rbx
sub rdx, rbx
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x7d22af10
mov rdx, rdi
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [0x7d2abdc8]
test rcx, rcx
je 0x7d22afc2
lea rax, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
cmp eax, 0xc0000034
jne 0x7d22afca
mov rcx, qword [0x7d2abdc8]
test rcx, rcx
je 0x7d22afc2
mov dword [rsp + 0x28], ebp
lea rdx, [rsp + 0x30]
mov r9d, 1
mov qword [rsp + 0x20], rbp
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtSetValueKey]
test eax, eax
jns 0x7d22afc2
mov r9d, eax
lea rdx, str._d___08X_
mov r8d, esi
lea rcx, [rsp + 0x50]
call sym.imfsbDll.dll_Sbie_swprintf
lea rdx, [rsp + 0x50]
mov ecx, 0x89e
call sym.imfsbDll.dll_SbieApi_Log
jmp 0x7d22afca
mov rcx, rdi
call sym.imfsbDll.dll_SbieDll_ExpandAndRunProgram
inc esi
mov dword [rsp + 0x20], 0x1ff0
mov r8d, esi
lea rdx, str.AutoExec
bts r8d, 0x1d
mov r9, rbx
xor ecx, ecx
call sym.imfsbDll.dll_SbieApi_QueryConf
test eax, eax
je 0x7d22aee0
mov rcx, rbx
call fcn.7d221938
mov rcx, rdi
call fcn.7d221938
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
add rsp, 0x78
ret
Function at 0x7d22b1f0
Capabilities:
Accept command line arguments
Set environment variable
Terminate process

Disassembly:
jmp 0x7d22b1f0
sub rsp, 0x2d8
mov rax, qword [0x7d2abfa0]
and eax, 0x48000042
cmp rax, 0x40000002
jne 0x7d22b329
mov eax, dword [0x7d2abfb0]
cmp eax, 0xa
je 0x7d22b226
add eax, 0xfffffff4
cmp eax, 2
ja 0x7d22b329
mov qword [rsp + 0x2d0], rbx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
test rax, rax
je 0x7d22b321
lea rdx, [0x7d290250]
mov rcx, rax
call sub.ntdll.dll_wcsstr
test rax, rax
jne 0x7d22b26c
lea rdx, str._Embedding
mov rcx, rbx
call sub.ntdll.dll_wcsstr
test rax, rax
je 0x7d22b321
mov r8d, 0x104
lea rdx, [rsp + 0xc0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0xc0]
lea rcx, str.00000000_SBIE_COMSRV_EXE
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rbx
lea rcx, str.00000000_SBIE_COMSRV_CMD
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x68]
call sub.ntdll.dll_memset
mov cl, 1
mov dword [rsp + 0x50], 0x68
mov dword [rsp + 0x8c], 0x80
call fcn.7d221235
test eax, eax
je 0x7d22b318
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x7d28ed18]
lea rax, [rsp + 0x50]
lea rdx, str.COMSRV
mov qword [rsp + 0x20], rax
lea rcx, str.THREAD
call sym.imfsbDll.dll_SbieDll_RunSandboxed
test eax, eax
je 0x7d22b318
mov rcx, qword [rsp + 0x30]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2d8
ret
Function at 0x7d22bbc0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
lea r8, [rsp + 0x50]
mov qword [rsp + 0x58], rsi
lea rdx, str.BrowseNewProcess
mov dword [rsp + 0x50], 0
mov rcx, 0xffffffff80000001
call fcn.7d22d350
mov rsi, rax
test rax, rax
jne 0x7d22bbfe
mov edi, 0xc0000001
jmp 0x7d22bc60
cmp rsi, 0xffffffffffffffff
je 0x7d22bc5c
lea rdx, str.BrowseNewProcess
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [0x7d28f5f8]
mov dword [rsp + 0x28], 8
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov ebx, dword [rsp + 0x50]
mov rcx, rsi
mov edi, eax
mov eax, 0x22
test edi, edi
cmovs ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x7d22bc64
mov edi, dword [rsp + 0x50]
mov ebx, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
test ebx, ebx
je 0x7d22bc91
mov r9d, edi
lea rdx, str.__02X____08X_
mov r8d, ebx
mov ecx, 0x908
call sym.imfsbDll.dll_SbieApi_Log
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov al, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x7d22c920
Capabilities:
Set registry value

Disassembly:
sub rsp, 0xf8
lea rax, [rsp + 0x30]
mov dword [rsp + 0x40], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
lea rdx, str._registrymachine_softwaremicrosoftole
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, 0xf013f
lea rcx, [rsp + 0x100]
call fcn.7d221834
test eax, eax
jns 0x7d22c9c3
cmp eax, 0xc000000a
je 0x7d22ca3a
cmp eax, 0xc0000034
je 0x7d22ca3a
mov r8d, eax
lea rdx, str._21____08X_
lea rcx, [rsp + 0x70]
call sym.imfsbDll.dll_Sbie_swprintf
lea rdx, [rsp + 0x70]
mov ecx, 0x905
call sym.imfsbDll.dll_SbieApi_Log
mov al, 1
add rsp, 0xf8
ret
lea rdx, str.EnableDCOM
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x100]
lea rax, [0x7d2aa0d8]
mov dword [rsp + 0x28], 4
lea rdx, [rsp + 0x30]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtSetValueKey]
test eax, eax
jns 0x7d22ca2c
mov r8d, eax
lea rdx, str._22____08X_
lea rcx, [rsp + 0x70]
call sym.imfsbDll.dll_Sbie_swprintf
lea rdx, [rsp + 0x70]
mov ecx, 0x905
call sym.imfsbDll.dll_SbieApi_Log
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
add rsp, 0xf8
ret
Function at 0x7d22ca90
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x98]
sub rsp, 0x198
mov dword [rbp + 0xb0], 1
lea r8, [rbp + 0xb8]
mov rcx, 0xffffffff80000001
lea rdx, str.BitBucket
call fcn.7d22d350
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x7d22cc5c
mov qword [rsp + 0x48], rax
lea rdx, str.Volume
lea rax, [rsp + 0x30]
mov dword [rsp + 0x40], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
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, 0xf013f
lea rcx, [rbp + 0xc0]
call fcn.7d221834
test eax, eax
js 0x7d22cc53
mov rcx, qword [rbp + 0xc0]
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x190], rbx
lea r9, [rbp - 0x80]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x188], rsi
xor edx, edx
xor esi, esi
mov qword [rsp + 0x48], rcx
mov ebx, esi
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.ntdll.dll_NtEnumerateKey]
test eax, eax
js 0x7d22cc36
nop word [rax + rax]
mov eax, dword [rbp - 0x74]
lea rdx, [rbp - 0x70]
shr rax, 1
lea rcx, [rsp + 0x30]
mov word [rbp + rax*2 - 0x70], si
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea r8, [rsp + 0x40]
mov edx, 0xf013f
lea rcx, [rbp + 0xc8]
call fcn.7d221834
test eax, eax
js 0x7d22cc02
lea rdx, str.NukeOnDelete
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rbp + 0xc8]
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x28], 4
lea rdx, [rsp + 0x70]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0xc0]
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x80]
inc ebx
mov dword [rsp + 0x20], 0x100
mov edx, ebx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtEnumerateKey]
test eax, eax
jns 0x7d22cb80
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.ntdll.dll_NtClose]
mov rsi, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x190]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
add rsp, 0x198
pop rdi
pop rbp
ret
Function at 0x7d22cce0
Capabilities:
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rdx, qword [str.RegistryMachine]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rbp - 0x48]
mov dword [rbp - 0x38], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x28], rax
lea r8, [rbp - 0x38]
mov qword [rbp - 0x30], 0
mov edx, 0x20019
mov dword [rbp - 0x20], 0x40
lea rcx, [rbp + 0x28]
movdqu xmmword [rbp - 0x18], xmm0
call qword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jne 0x7d22ce95
lea rdx, str.softwaremicrosoftWindows
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbp + 0x28]
lea r8, [rbp - 0x38]
mov qword [rbp - 0x30], rax
lea rcx, [rbp + 0x20]
lea rax, [rbp - 0x48]
mov dword [rbp - 0x38], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x28], rax
mov edx, 0xf003f
mov dword [rbp - 0x20], 0x40
movdqu xmmword [rbp - 0x18], xmm0
call fcn.7d2218e3
test eax, eax
jne 0x7d22ce8b
lea rdx, str.Windows_Error_Reporting
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbp + 0x20]
lea r8, [rbp - 0x38]
mov qword [rbp - 0x30], rax
lea rcx, [rbp + 0x18]
lea rax, [rbp - 0x48]
mov dword [rbp - 0x38], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x28], rax
mov edx, 0xf003f
mov dword [rbp - 0x20], 0x40
movdqu xmmword [rbp - 0x18], xmm0
call fcn.7d2218e3
test eax, eax
jne 0x7d22ce81
lea rdx, str.LocalDumps
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbp + 0x18]
lea r8, [rbp - 0x38]
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x50]
lea rax, [rbp - 0x48]
mov dword [rbp - 0x38], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x28], rax
mov edx, 0xf003f
mov dword [rbp - 0x20], 0x40
movdqu xmmword [rbp - 0x18], xmm0
call fcn.7d2218e3
test eax, eax
jne 0x7d22ce77
lea rdx, str.DontShowUI
mov dword [rbp + 0x10], 1
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rbp + 0x18]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, [rbp - 0x48]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
add rsp, 0x80
pop rbp
ret
Function at 0x7d22cf10
Capabilities:
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rdx, qword [str.RegistryMachine]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rbp - 0x40]
mov dword [rbp - 0x30], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x30]
mov qword [rbp - 0x28], 0
mov edx, 0x20019
mov dword [rbp - 0x18], 0x40
lea rcx, [rbp + 0x28]
movdqu xmmword [rbp - 0x10], xmm0
call qword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jne 0x7d22d063
lea rdx, str.softwarepoliciesmicrosoftwindowsWinRM
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbp + 0x28]
lea r8, [rbp - 0x30]
mov qword [rbp - 0x28], rax
lea rcx, [rbp + 0x20]
lea rax, [rbp - 0x40]
mov dword [rbp - 0x30], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x20], rax
mov edx, 0xf003f
mov dword [rbp - 0x18], 0x40
movdqu xmmword [rbp - 0x10], xmm0
call fcn.7d2218e3
test eax, eax
jne 0x7d22d059
lea rdx, str.Client
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbp + 0x20]
lea r8, [rbp - 0x30]
mov qword [rbp - 0x28], rax
lea rcx, [rbp + 0x18]
lea rax, [rbp - 0x40]
mov dword [rbp - 0x30], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x20], rax
mov edx, 0xf003f
mov dword [rbp - 0x18], 0x40
movdqu xmmword [rbp - 0x10], xmm0
call fcn.7d2218e3
test eax, eax
jne 0x7d22d04f
lea rdx, str.AllowNegotiate
mov dword [rbp + 0x10], eax
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [rbp + 0x18]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 4
lea rdx, [rbp - 0x40]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
add rsp, 0x70
pop rbp
ret
Function at 0x7d22d0d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
test cl, cl
jne 0x7d22d24a
movups xmm0, xmmword [str._registryuser_]
lea rcx, [rbp - 0x80]
movups xmm1, xmmword [0x7d28f680]
sub rcx, 2
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
nop word [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x7d22d110
mov r8, qword [0x7d2abf68]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x7d22d130
lea rcx, [rbp - 0x80]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x7d22d150
movups xmm0, xmmword [str._softwareSandboxAutoExec]
mov eax, dword [0x7d28f6c8]
lea rdx, [rbp - 0x80]
movups xmm1, xmmword [0x7d28f6a8]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [0x7d28f6b8]
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx + 0x20], xmm0
mov dword [rcx + 0x30], eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x50], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x50]
mov qword [rsp + 0x58], 0
mov edx, 0xf013f
mov dword [rsp + 0x68], 0x40
lea rcx, [0x7d2abdc8]
movdqu xmmword [rsp + 0x70], xmm0
call fcn.7d2218e3
cmp eax, 0xc000000a
jne 0x7d22d1e7
xor al, al
add rsp, 0x280
pop rbp
ret
test eax, eax
js 0x7d22d23d
lea rdx, [0x7d28ed18]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [0x7d2abdc8]
lea rax, [rbp + 0x190]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
mov r8d, 2
mov dword [rsp + 0x20], 0x10
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
cmp eax, 0xc0000034
je 0x7d22d1dc
test eax, eax
jns 0x7d22d2c2
mov byte [rsp + 0x3c], 0
mov r8d, 0xfffffffe
jmp 0x7d22d2a1
cmp qword [0x7d2abdc8], 0
je 0x7d22d2c2
mov byte [rsp + 0x3c], cl
lea rdx, [0x7d28ed18]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rcx, qword [0x7d2abdc8]
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x28], 1
lea rdx, [rsp + 0x40]
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtSetValueKey]
test eax, eax
jns 0x7d22d2c2
mov r8d, 0xfffffffd
mov r9d, eax
lea rdx, str._d___08X_
lea rcx, [rbp - 0x80]
call sym.imfsbDll.dll_Sbie_swprintf
lea rdx, [rbp - 0x80]
mov ecx, 0x89e
call sym.imfsbDll.dll_SbieApi_Log
movzx eax, byte [rsp + 0x3c]
add rsp, 0x280
pop rbp
ret
Function at 0x7d22d570
Capabilities:
Create process on windows
Query environment variable

Disassembly:
jmp 0x7d22d570
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xe0
xor r8d, r8d
xor edx, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
test eax, eax
jne 0x7d22d5a2
mov rsi, qword [rsp + 0xf8]
add rsp, 0xe0
pop rdi
ret
lea ecx, [rdi*2 + 0x10]
mov qword [rsp + 0xf0], rbx
call fcn.7d2212da
mov r8d, edi
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rdi
xor edx, edx
xor edi, edi
mov word [rbx + rcx*2], di
lea rcx, [rsp + 0x70]
lea r8d, [rdi + 0x68]
call sub.ntdll.dll_memset
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
mov rdx, rbx
lea rax, [rsp + 0x50]
mov dword [rsp + 0xac], 0x81
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov word [rsp + 0xb0], di
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, rbx
mov esi, eax
call fcn.7d221938
mov rbx, qword [rsp + 0xf0]
test esi, esi
je 0x7d22d682
mov rcx, qword [rsp + 0x50]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
setne al
mov rsi, qword [rsp + 0xf8]
add rsp, 0xe0
pop rdi
ret