joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7901b8458
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rdi
sub rsp, 0x38
xor ebx, ebx
lea rax, [r11 + 0x20]
xor r8d, r8d
mov qword [r11 + 0x20], rbx
lea rdx, str.SYSTEMSetup
mov qword [r11 - 0x28], rax
mov rcx, 0xffffffff80000002
lea edi, [rbx + 1]
mov r9d, edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x7ff7901b84fb
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Upgrade
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x60], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x7ff7901b8505
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
cmp dword [rsp + 0x60], 4
cmove ebx, edi
jmp 0x7ff7901b84ea

Function at 0x7ff7901b8518
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
mov r11, rsp
sub rsp, 0x58
and qword [r11 - 0x18], 0
lea rax, [r11 + 0x10]
mov rcx, qword [0x7ff7904d87d0]
lea rdx, str.Shutdown
mov qword [r11 - 0x20], rax
xor r9d, r9d
and qword [r11 - 0x28], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jg 0x7ff79022f084
js 0x7ff7901b85ad
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov r9d, 4
lea rdx, str.CleanShutdown
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
add rsp, 0x58
ret
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x7ff7901b856a

Function at 0x7ff7901b8830
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x40
lea rax, [r11 + 8]
mov dword [rsp + 0x50], 4
mov qword [r11 - 0x18], rax
lea r8, str.OOBEColorSet
lea rax, [r11 + 0x10]
mov r9d, 0x10
mov qword [r11 - 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAccent
and qword [r11 - 0x28], 0
mov rcx, 0xffffffff80000002
xor dil, dil
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x7ff7901b8891
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x7ff79022f36a
mov rbx, qword [rsp + 0x60]
mov al, dil
add rsp, 0x40
pop rdi
ret
mov ebx, dword [rsp + 0x58]
lea rcx, [rsp + 0x50]
and qword [rsp + 0x50], 0
mov dil, 1
call fcn.7ff7901b21ec
cmp ebx, 0x32
jae 0x7ff79022f393
lea rcx, [0x7ff7904743b0]
mov rax, qword [rcx + rbx*8]
jmp 0x7ff79022f398
mov rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.7ff7903c56c4
nop
jmp 0x7ff7901b8897
Function at 0x7ff7901b8a4c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
nop dword [rax + rax]
mov rcx, rax
mov edx, 0x5a
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov rdx, rbx
xor ecx, ecx
mov edi, eax
call qword [sym.imp.USER32.dll_ReleaseDC]
nop dword [rax + rax]
lea rax, [rsp + 0x48]
mov ebx, 4
mov qword [rsp + 0x28], rax
lea r8, str.AppliedDPI
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], ebx
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea rdx, str.Control_PanelDesktopWindowMetrics
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x7ff79022f3d4
mov ecx, dword [rsp + 0x40]
cmp edi, ecx
jne 0x7ff79022f422
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x28], rax
lea r8, str.OriginalDPI
lea rax, [rsp + 0x40]
xor r9d, r9d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_Panel
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, edi
mov dword [rsp + 0x40], ecx
jmp 0x7ff7901b8adb
lea rcx, str.desk.cpl
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x7ff7901b8ae3
lea rdx, str.UpdateUIfontsDueToDPIchange
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x7ff79022f472
movabs r10, 0xba9c975e30579170
mov ecx, dword [rsp + 0x40]
mov edx, edi
call qword [0x7ff79045bf28]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop dword [rax + rax]
nop
jmp 0x7ff7901b8ae3

Function at 0x7ff7901b9804
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
push r14
mov rbp, rsp
sub rsp, 0x38
lea rax, [rbp + 0x30]
mov r14, 0xffffffff80000001
mov qword [rsp + 0x28], rax
lea r8, str.ServerAdminUI
lea rax, [rbp + 0x28]
mov ebx, 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
mov dword [rbp + 0x30], ebx
mov rcx, r14
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
add eax, 0xfffffffe
lea edi, [rbx - 3]
cmp eax, edi
jbe 0x7ff79023b630
add rsp, 0x38
pop r14
pop rdi
pop rbx
pop rbp
ret
Function at 0x7ff7901b98f4
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x30
lea rax, [r11 + 0x10]
mov dword [rsp + 0x48], 2
mov qword [r11 - 0x10], rax
lea r8, str.SchemeLangID
lea rax, [r11 + 8]
xor r9d, r9d
lea rdx, str.Control_PanelAppearance
mov qword [r11 - 0x18], rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x7ff79023b770
call qword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
cmp word [rsp + 0x40], ax
jne 0x7ff79023b770
add rsp, 0x30
pop rbx
ret

Function at 0x7ff7901b9a94
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x38
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
nop dword [rax + rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathGetArgsW]
nop dword [rax + rax]
or edx, 0xffffffff
mov dword [rsp + 0x20], 1
mov r9d, edx
lea r8, str._LOADSAVEDWINDOWS
mov rcx, rax
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringOrdinal]
nop dword [rax + rax]
cmp eax, 2
sete al
add rsp, 0x38
ret

Function at 0x7ff7901b9b34
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x248
mov rax, qword [0x7ff7904d6b68]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r9d, 1
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0xf]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetSpecialFolderPathW]
nop dword [rax + rax]
mov r9d, 1
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 1]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetSpecialFolderPathW]
nop dword [rax + rax]
mov r9d, 1
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0xa]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetSpecialFolderPathW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.7ff7901bf100
add rsp, 0x248
ret

Function at 0x7ff7901baa6c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x58
lea rax, [r11 - 0x18]
mov dword [rsp + 0x40], 4
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], r9
mov r9d, 0x10
and qword [r11 - 0x38], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x7ff7901baaaa
movzx eax, ax
or eax, 0x80070000
add rsp, 0x58
ret
Function at 0x7ff7901da2dc
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x50
and qword [rbp + 0x30], 0
mov rdi, rcx
lea rcx, [rbp + 0x30]
xor edx, edx
call fcn.7ff7901b0870
lea rdx, [rbp + 0x30]
mov ecx, 3
call qword [sym.imp.SHELL32.dll_Ordinal_723]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x7ff7901da332
mov rcx, qword [rbp + 0x18]
lea r8, str.shellliblogontaskslogontasks.cpp
mov r9d, eax
mov edx, 0x198e
call fcn.7ff7901f01e6
jmp 0x7ff7901da415
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x28]
and qword [rbp + 0x38], 0
lea r8, str.LastLogonTime
mov qword [rsp + 0x30], rax
mov ebx, 8
lea rax, [rbp + 0x38]
mov dword [rbp + 0x28], ebx
mov qword [rsp + 0x28], rax
mov r9d, ebx
and qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x7ff7901da37c
cmp dword [rbp + 0x28], ebx
je 0x7ff7901da381
and qword [rbp + 0x38], 0
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov r8, qword [rbp - 0x10]
movabs rax, 0xffffffff00000000
and r8, rax
mov eax, dword [rbp - 0x10]
add r8, rax
mov qword [rbp - 8], r8
sub r8, qword [rbp + 0x38]
cmp r8, 0x47868c00
jge 0x7ff7901da3c6
mov rax, qword [rdi]
mov rcx, qword [rax]
mov qword [rcx], 4
mov rcx, qword [rbp + 0x30]
lea rax, [rbp - 8]
mov dword [rsp + 0x28], ebx
lea rdx, str.LastLogonTime
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x7ff7901da413
mov rcx, qword [rbp + 0x18]
lea r8, str.shellliblogontaskslogontasks.cpp
mov r9d, eax
mov edx, 0x19a1
call 0x7ff790263bac
mov ebx, eax
jmp 0x7ff7901da415
xor ebx, ebx
lea rcx, [rbp + 0x30]
call fcn.7ff7901b084c
mov eax, ebx
add rsp, 0x50
pop rdi
pop rbx
pop rbp
ret

Function at 0x7ff7901f0578
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
mov ebx, dword [rsp + 0x78]
xor esi, esi
mov rdi, qword [rsp + 0x70]
cmp ebx, 0x7fffffff
ja 0x7ff7901f05c8
lea eax, [rbx + rbx]
mov dword [rsp + 0x78], eax
lea rax, [r11 + 0x30]
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x7ff7901f05dc
test ebx, ebx
je 0x7ff7901f05d0
jmp 0x7ff7901f05cd
mov eax, 0x216
mov word [rdi], si
test eax, eax
jle 0x7ff7901f05dc
movzx eax, ax
or eax, 0x80070000
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x7ff7902091f8
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x7ff7904d6b68]
xor rax, rsp
mov qword [rbp - 8], rax
lea r8, [rbp - 0x20]
mov dword [rbp - 0x18], 0x101
lea rdx, [rbp - 0x18]
mov dword [rbp - 0x14], 0x5000000
xor ecx, ecx
mov dword [rbp - 0x10], 0x12
mov bl, 1
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
nop dword [rax + rax]
test eax, eax
je 0x7ff79020924a
cmp dword [rbp - 0x20], 0
jne 0x7ff79020924c
xor bl, bl
mov al, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.7ff7901bf100
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x7ff79026bc10
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [0x7ff7904d6c50]
xor ebx, ebx
cmp eax, 0xffffffff
jne 0x7ff79026bc5e
mov edi, ebx
call qword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
mov word [0x7ff7904d810c], ax
test ax, ax
je 0x7ff79026bc4b
movzx ecx, ax
call fcn.7ff7901b7f34
mov edi, eax
mov ecx, ebx
test edi, edi
setne cl
xchg dword [0x7ff7904d6c50], ecx
mov eax, dword [0x7ff7904d6c50]
cmp eax, 1
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x7ff7903021b8
Capabilities:
Persist via winlogon helper dll registry key
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x38
mov r14, qword [rbp + 0x88]
lea rax, [rbp + 0x38]
mov edi, 0x20019
mov qword [r11 - 0x48], rax
mov rsi, 0xffffffff80000002
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
mov r9d, edi
xor r8d, r8d
and dword [r14], 0
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x7ff790302314
lea rax, [rbp + 0x40]
mov r9d, edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogonAlternateShells
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x7ff790302304
mov rax, qword [rbp + 0x80]
lea rdx, str.Shell
mov rdi, qword [rbp + 0x68]
xor r8d, r8d
mov r15, qword [rbp + 0x70]
mov r9, rdi
mov ecx, dword [rax]
lea rax, [rbp + 0x48]
mov dword [rbp + 0x48], ecx
mov dword [rbp + 0x60], ecx
mov rcx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x7ff7903022f4
mov rsi, qword [rbp + 0x78]
lea rax, [rbp + 0x60]
mov rcx, qword [rbp + 0x40]
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.DefaultShell
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x7ff7903022f4
mov eax, dword [rbp + 0x50]
cmp dword [rdi], eax
jne 0x7ff7903022f4
mov eax, dword [rbp + 0x48]
cmp eax, dword [rbp + 0x60]
jne 0x7ff7903022f4
mov r8d, eax
mov rdx, rsi
mov rcx, r15
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x7ff7903022f4
mov dword [r14], 1
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x7ff79030232c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x7ff7904d6b68]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebx, ebx
mov r12, r9
mov esi, ebx
mov edi, ebx
mov r15, r8
mov r14, rdx
mov rbp, rcx
mov rcx, qword [rbp + 8]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rbx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov edx, edi
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 7
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
jne 0x7ff7903023f2
lea rcx, [rsp + 0x48]
call sub.api_ms_win_crt_private_l1_1_0.dll__o__wtoi
cmp eax, esi
jle 0x7ff790302400
mov esi, eax
lea r8, [rsp + 0x48]
lea rax, [rsp + 0x58]
mov edx, 7
sub r8, rax
lea rcx, [rsp + 0x58]
movzx eax, word [r8 + rcx]
test ax, ax
je 0x7ff7903023db
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x7ff7903023c4
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], bx
jne 0x7ff790302400
mov ebx, 0x10a
jmp 0x7ff79030243f
cmp eax, 0x103
je 0x7ff79030240d
cmp eax, 0xea
jne 0x7ff790302436
inc edi
cmp edi, 0xffffffff
jb 0x7ff79030235c
jmp 0x7ff79030243f
test esi, esi
je 0x7ff79030243a
mov rcx, qword [rbp + 8]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x28], r12
mov r9, r14
xor r8d, r8d
mov qword [rsp + 0x20], r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
jmp 0x7ff79030243f
mov ebx, 0x103
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.7ff7901bf100
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x7ff7903b8894
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0x48
lea rax, [r11 + 8]
mov dword [rsp + 0x50], 8
mov qword [r11 - 0x18], rax
lea r8, [0x7ff790496a18]
lea rax, [r11 + 0x10]
mov r9d, 8
mov qword [r11 - 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWatermark
and qword [r11 - 0x28], 0
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x7ff7903b8922
cmp dword [rsp + 0x50], 8
jne 0x7ff7903b8922
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov rax, qword [rsp + 0x60]
cmp rax, qword [rsp + 0x58]
jbe 0x7ff7903b8922
sub rax, qword [rsp + 0x58]
movabs rcx, 0xc92a69c000
cmp rax, rcx
setae al
jmp 0x7ff7903b8924
mov al, 1
add rsp, 0x48
ret
Function at 0x7ff7903b8930
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
xor esi, esi
mov rbx, rcx
mov edi, esi
lea eax, [rsi + 0x64]
cmp ax, dx
jne 0x7ff7903b8ae0
shr rdx, 0x10
cmp si, dx
jne 0x7ff7903b8ae0
mov rcx, qword [rcx + 0x120]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
cmp dword [0x7ff7904d55f8], 5
jbe 0x7ff7903b89dd
movabs rdx, 0x200000000000
lea rcx, [0x7ff7904d55f8]
call fcn.7ff79018992c
test al, al
je 0x7ff7903b89dd
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
nop dword [rax + rax]
sub eax, dword [rbx + 0x138]
xor r8d, r8d
mov dword [rbp + 0x6f], eax
lea rdx, [0x7ff790480002]
mov eax, dword [rbx + 0x74]
lea rcx, [0x7ff7904d55f8]
mov dword [rbp + 0x77], eax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
call 0x7ff790264800
cmp byte [rbx + 0x100], sil
je 0x7ff7903b8ae0
mov rcx, qword [rbx + 0x28]
xor r9d, r9d
mov dword [rsp + 0x30], 0x90
xor r8d, r8d
mov dword [rsp + 0x28], esi
xor edx, edx
mov dword [rsp + 0x20], esi
call qword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SetWindowPos]
nop dword [rax + rax]
test eax, eax
je 0x7ff7903b8ae0
mov rcx, rbx
mov byte [rbx + 0x101], sil
call fcn.7ff7903b86dc
lea rax, [rbp + 0x6f]
mov byte [rbx + 0x100], sil
lea r9, [0x7ff7904686d0]
mov qword [rsp + 0x20], rax
lea r8, str.windows.immersivecontrolpanel_cw5n1h2txyewy_microsoft.windows.immersivecontrolpanel
mov qword [rbp + 0x6f], rsi
xor edx, edx
lea rcx, [0x7ff790466710]
call qword [sym.imp.SHELL32.dll_SHCreateItemInKnownFolder]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x7ff7903b8ad7
mov rcx, qword [rbp + 0x6f]
lea rdx, [rbp + 0x77]
call qword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_SHGetIDListFromObject]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x7ff7903b8ad7
mov ebx, 0x70
lea rcx, [rbp - 0x29]
mov r8d, ebx
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbp + 0x77]
lea rcx, [rbp - 0x29]
mov qword [rbp + 0x17], rax
lea rax, str.pageSettingsPageActivate
mov qword [rbp - 9], rax
mov dword [rbp - 0x29], ebx
mov dword [rbp - 0x25], 0xc
mov dword [rbp + 7], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_ILFree]
nop dword [rax + rax]
lea rcx, [rbp + 0x6f]
call fcn.7ff790166710
mov rbx, qword [rsp + 0xd0]
mov eax, edi
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ff7903bce70
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x98
mov rax, qword [0x7ff7904d6b68]
xor rax, rsp
mov qword [rsp + 0x80], rax
and qword [r11 - 0x58], 0
lea rax, [r11 - 0x48]
and qword [r11 - 0x48], 0
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWatermark
mov qword [r11 - 0x60], rax
xor r9d, r9d
and qword [r11 - 0x68], 0
xor r8d, r8d
mov dword [rsp + 0x28], 6
mov rcx, 0xffffffff80000001
and dword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x7ff7903bcf66
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 8
lea r8, [0x7ff790496a18]
mov r9d, 3
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
jne 0x7ff7903bcf66
cmp dword [0x7ff7904d55f8], 5
jbe 0x7ff7903bcf66
movabs rdx, 0x200000000000
lea rcx, [0x7ff7904d55f8]
call fcn.7ff79018992c
test al, al
je 0x7ff7903bcf66
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x7ff79047ff9a]
xor r8d, r8d
mov dword [rsp + 0x20], 2
call fcn.7ff790189890
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x50], 0
test rcx, rcx
je 0x7ff7903bcf82
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.7ff7901bf100
add rsp, 0x98
ret
Function at 0x7ff7903c341c
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov esi, edx
mov rbx, rcx
xor edi, edi
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
nop dword [rax + rax]
mov qword [rbx + 0x138], rax
mov eax, esi
and eax, 0xf
cmp eax, dword [rbx + 0x74]
jne 0x7ff7903c3458
cmp byte [rbx + 0x102], dil
jne 0x7ff7903c3476
mov dword [rbx + 0x74], eax
mov dword [rbx + 0x78], esi
cmp qword [rbx + 0x28], rdi
je 0x7ff7903c3476
mov rcx, rbx
call fcn.7ff7903c3564
mov edi, eax
test eax, eax
js 0x7ff7903c3548
mov ecx, dword [rbx + 0x74]
sub ecx, 2
cmp ecx, 1
jbe 0x7ff7903c34c1
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov byte [rbx + 0x100], 0
call qword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_ShowWindow]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x28]
mov edx, 1
call qword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_ShowWindow]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SetFocus]
nop dword [rax + rax]
jmp 0x7ff7903c34c9
mov rcx, rbx
call fcn.7ff7903c1ee4
mov byte [rbx + 0x101], 1
cmp dword [0x7ff7904d55f8], 5
jbe 0x7ff7903c353a
movabs rdx, 0x200000000000
lea rcx, [0x7ff7904d55f8]
call fcn.7ff79018992c
test al, al
je 0x7ff7903c353a
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
nop dword [rax + rax]
sub eax, dword [rbx + 0x138]
xor r8d, r8d
mov dword [rsp + 0x48], eax
lea rdx, [0x7ff79047ffc6]
mov eax, dword [rbx + 0x74]
lea rcx, [0x7ff7904d55f8]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call 0x7ff790264800
call fcn.7ff7903b8894
test al, al
je 0x7ff7903c3548
call fcn.7ff7903bce70
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret