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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rsi, [rcx + 0xe4]
mov dword [rsp + 0x40], 0x208
mov r10, r8
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea r8, str.RootCertThumbPrint
mov rax, rdx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov rdx, r10
lea edi, [rbx + 2]
mov r9d, edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x140242f51
lea r8, [0x1402ff860]
jmp 0x140242f5b
lea r8, [rsp + 0x50]
mov edi, 0x208
mov r9, rdi
mov edx, 0x208
mov rcx, rsi
call fcn.140243494
test eax, eax
mov ecx, 0x8007007a
cmovne ebx, ecx
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret

Function at 0x140242f9c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor edi, edi
lea rax, [r11 + 0x20]
mov r14, r8
mov qword [r11 - 0x28], rax
mov r15, rdx
mov qword [r11 - 0x30], rdi
mov rbp, rcx
mov dword [rsp + 0x78], edi
lea r9d, [rdi + 2]
mov qword [r11 - 0x38], rdi
lea r8, [0x140332e28]
mov rdx, r14
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp eax, 2
jne 0x140242ffc
xor eax, eax
jmp 0x1402430cb
test eax, eax
je 0x140243011
jg 0x140243009
mov edi, eax
jmp 0x1402430c9
movzx edi, ax
jmp 0x1402430c3
mov ebx, dword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x140243047
mov edi, 0x8007000e
jmp 0x1402430c9
lea rax, [rsp + 0x78]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea r8, [0x140332e28]
mov qword [rsp + 0x28], rsi
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov r14, qword [rbp + 0x708]
mov ebx, eax
mov qword [rbp + 0x708], rdi
test r14, r14
je 0x1402430af
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov qword [rbp + 0x708], rsi
test ebx, ebx
je 0x1402430c9
jg 0x1402430c0
mov edi, ebx
jmp 0x1402430c9
movzx edi, bx
or edi, 0x80070000
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1402430ec
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor edi, edi
lea rax, [r11 + 0x20]
mov rbp, r8
mov qword [r11 - 0x28], rax
mov r14, rdx
mov qword [r11 - 0x30], rdi
mov rsi, rcx
mov dword [rsp + 0x78], edi
lea r9d, [rdi + 2]
mov qword [r11 - 0x38], rdi
lea r8, str.SSPHyperLink
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp eax, 2
jne 0x14024314e
mov qword [rsi + 0x728], rdi
xor eax, eax
jmp 0x1402431d1
test eax, eax
jne 0x1402431c0
mov ebx, dword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov qword [rsi + 0x728], rax
test rax, rax
jne 0x140243189
mov edi, 0x8007000e
jmp 0x1402431cf
lea rcx, [rsp + 0x78]
mov r9d, 2
mov qword [rsp + 0x30], rcx
lea r8, str.SSPHyperLink
mov qword [rsp + 0x28], rax
mov rcx, r14
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x1402431cf
jg 0x1402431c6
mov edi, eax
jmp 0x1402431cf
movzx edi, ax
or edi, 0x80070000
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1402431ec
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor edi, edi
lea rax, [r11 + 0x20]
mov r14, r8
mov qword [r11 - 0x28], rax
mov r15, rdx
mov qword [r11 - 0x30], rdi
mov rbp, rcx
mov dword [rsp + 0x78], edi
lea r9d, [rdi + 2]
mov qword [r11 - 0x38], rdi
lea r8, str.AADTenantID
mov rdx, r14
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp eax, 2
jne 0x14024324c
xor eax, eax
jmp 0x14024331b
test eax, eax
je 0x140243261
jg 0x140243259
mov edi, eax
jmp 0x140243319
movzx edi, ax
jmp 0x140243313
mov ebx, dword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x140243297
mov edi, 0x8007000e
jmp 0x140243319
lea rax, [rsp + 0x78]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea r8, str.AADTenantID
mov qword [rsp + 0x28], rsi
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov r14, qword [rbp + 0x720]
mov ebx, eax
mov qword [rbp + 0x720], rdi
test r14, r14
je 0x1402432ff
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov qword [rbp + 0x720], rsi
test ebx, ebx
je 0x140243319
jg 0x140243310
mov edi, ebx
jmp 0x140243319
movzx edi, bx
or edi, 0x80070000
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14024333c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor edi, edi
lea rax, [r11 + 0x20]
mov r14, r8
mov qword [r11 - 0x28], rax
mov r15, rdx
mov qword [r11 - 0x30], rdi
mov rsi, rcx
mov dword [rsp + 0x78], edi
lea r9d, [rdi + 2]
mov qword [r11 - 0x38], rdi
lea r8, [0x140332d40]
mov rdx, r14
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp eax, 2
jne 0x1402433a3
mov qword [rsi + 0x728], rdi
xor eax, eax
jmp 0x140243472
test eax, eax
je 0x1402433b8
jg 0x1402433b0
mov edi, eax
jmp 0x140243470
movzx edi, ax
jmp 0x14024346a
mov ebx, dword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
jne 0x1402433ee
mov edi, 0x8007000e
jmp 0x140243470
lea rax, [rsp + 0x78]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea r8, [0x140332d40]
mov qword [rsp + 0x28], rbp
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov r14, qword [rsi + 0x710]
mov ebx, eax
mov qword [rsi + 0x710], rdi
test r14, r14
je 0x140243456
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov qword [rsi + 0x710], rbp
test ebx, ebx
je 0x140243470
jg 0x140243467
mov edi, ebx
jmp 0x140243470
movzx edi, bx
or edi, 0x80070000
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1402447d4
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, dword [0x14037e514]
test eax, eax
jne 0x1402448d8
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
nop dword [rax + rax]
test eax, eax
jne 0x140244843
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x30]
xor eax, eax
mov edx, dword [rsp + 0x24]
mov dword [0x14037e514], eax
sub ecx, 1
je 0x1402448b4
cmp ecx, 1
jne 0x1402448d8
cmp edx, 5
jne 0x1402448a2
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14024489b
sub eax, ecx
je 0x140244881
cmp eax, ecx
je 0x140244877
lea eax, [rdx + 0xf]
jmp 0x1402448f6
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea ecx, [rdx - 0xf]
jmp 0x140244889
mov edx, 8
lea ecx, [rdx - 6]
xor eax, eax
cmp word [rsp + 0x134], cx
cmovae eax, edx
or eax, 4
jmp 0x1402448f6
mov eax, 4
jmp 0x1402448f6
cmp edx, 4
ja 0x1402448f1
mov ecx, 2
mov eax, ecx
mov dword [0x14037e514], ecx
cmp edx, 4
jne 0x1402448d8
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x1402448cb
cmp ecx, 0xa
je 0x1402448cb
cmp ecx, 0x5a
jne 0x1402448d8
mov ecx, 1
mov eax, ecx
mov dword [0x14037e514], ecx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0x158
ret
mov eax, 0x20
mov dword [0x14037e514], eax
jmp 0x1402448d8

Function at 0x140244c04
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x20
xor r9d, r9d
lea rdx, [0x14030e160]
mov rbx, rcx
lea r8d, [r9 + 1]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
nop dword [rax + rax]
test rax, rax
jne 0x140244c33
add rsp, 0x20
pop rbx
ret
mov rdx, rax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
Function at 0x14024d864
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x14024da08
cmp ecx, 0x7c
je 0x14024da11
cmp ecx, 0x29
jne 0x14024d8a3
cmp dword [rbx + 0x1c], 0
jne 0x14024da11
test dword [rbx + 0x80], 0x10000000
je 0x14024d976
cmp ecx, 0x2e
jne 0x14024d8c3
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1402500f4
mov rcx, rbx
call fcn.14025014c
jmp 0x14024d9fb
cmp ecx, 0x5c
jne 0x14024d927
mov rcx, rbx
call fcn.14025014c
test byte [rbx + 0x80], 0x80
je 0x14024d91a
cmp word [rbx + 0x78], 0x62
jne 0x14024d8fb
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.1402500f4
mov rcx, rbx
call fcn.14025014c
jmp 0x14024da03
cmp word [rbx + 0x78], 0x42
jne 0x14024d91a
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1402500f4
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14024d8ee
mov rcx, rbx
call fcn.14024da48
jmp 0x14024d9fb
cmp ecx, 0x5b
jne 0x14024d958
mov rcx, rbx
call fcn.14025014c
mov rcx, rbx
call fcn.14024e190
cmp dword [rbx + 0x7c], 0x5d
je 0x14024d8b6
mov ecx, 4
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
cmp ecx, 0x28
jne 0x14024d988
mov rcx, rbx
call fcn.14025014c
mov rcx, rbx
call fcn.140250610
cmp dword [rbx + 0x7c], 0x29
mov dil, al
je 0x14024d9ee
mov ecx, 5
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
cmp ecx, 0x5e
jne 0x14024d995
lea edx, [rcx - 0x5c]
jmp 0x14024d8e5
cmp ecx, 0x24
jne 0x14024d9a2
lea edx, [rcx - 0x21]
jmp 0x14024d8e5
cmp ecx, 0x3f
je 0x14024da2f
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14024da2f
cmp ecx, 0x7b
je 0x14024da2f
cmp ecx, 0x7d
jne 0x14024d9c9
test dword [rbx + 0x80], 0x10000000
je 0x14024da1d
cmp ecx, 0x5d
jne 0x14024d9de
test dword [rbx + 0x80], 0x10000000
je 0x14024d946
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14024cfd4
mov dil, 1
mov rcx, rbx
call fcn.14025014c
test dil, dil
je 0x14024da03
mov rcx, rbx
call fcn.14025018c
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x14024d87b
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 6
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
mov ecx, 0xa
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
Function at 0x140251ed0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x460], rax
cmp byte [0x14037e538], 0
jne 0x140251fa4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0x104
mov rcx, rax
lea r8, [rsp + 0x250]
xor edx, edx
mov rbx, rax
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_QueryFullProcessImageNameW]
nop dword [rax + rax]
test eax, eax
jne 0x140251f3a
call fcn.14002154c
test eax, eax
js 0x140251f9d
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, str._SystemRoot_System32RuntimeBroker.exe
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
je 0x140251f9d
or edx, 0xffffffff
mov dword [rsp + 0x20], 1
mov r9d, edx
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringOrdinal]
nop dword [rax + rax]
cmp eax, 2
jne 0x140251f9d
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetProcessId]
nop dword [rax + rax]
mov dword [0x14037ab60], eax
mov byte [0x14037e538], 1
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0x470
pop rbx
ret

Function at 0x14025231c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r9
mov rsi, rcx
xor r9d, r9d
lea edx, [r9 + 6]
lea r8d, [r9 + 0x36]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
nop dword [rax + rax]
xor ebx, ebx
test rax, rax
je 0x1402523d6
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
nop dword [rax + rax]
test rax, rax
je 0x1402523d6
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
nop dword [rax + rax]
mov rdx, rax
test rax, rax
je 0x1402523cf
lea eax, [rbx + 9]
movzx ecx, word [rdx]
lea rdx, [rdx + rcx*2]
add rdx, 2
sub rax, 1
jne 0x140252384
test rdi, rdi
je 0x1402523bd
movzx r8d, word [rdx]
add rdx, 2
movzx eax, r8w
neg ax
mov rax, qword [rsp + 0x50]
sbb rcx, rcx
and rcx, rdx
mov qword [rdi], rcx
mov word [rax], r8w
jmp 0x1402523dd
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1402523dd
movzx eax, word [rdx]
mov word [rcx], ax
jmp 0x1402523dd
mov ebx, 0x80004005
jmp 0x1402523dd
call fcn.1401f62d8
mov ebx, eax
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140253908
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [0x140306ae0]
xor edx, edx
mov rbx, rcx
movdqu xmmword [rcx], xmm0
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x4e]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], OpenRegStream
mov qword [rsp + 0x30], rax
lea r8, str.DefaultProviderGUID
lea rax, [rsp + 0x50]
mov r9d, 0xffff
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionSettingSync
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x140253998
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x1402539ae
mov rdx, rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a2260
add rsp, 0xb0
pop rbx
ret

Function at 0x140254e74
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rax, [r11 - 0x28]
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [r11 - 0x38], rax
mov rdi, rdx
lea rax, [r11 - 0x20]
mov r8, rcx
mov qword [r11 - 0x40], rax
lea rdx, str.SoftwarePoliciesMicrosoftWindowsPersonalization
and qword [r11 - 0x48], 0
mov r9d, 2
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140254ee1
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x140254f2d
cmp word [rsp + 0x48], 0x23
jne 0x140254f28
xor edx, edx
lea rcx, [rsp + 0x4a]
lea r8d, [rdx + 0x10]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_wcstol]
nop dword [rax + rax]
mov ecx, eax
sar eax, 8
movzx edx, al
movzx eax, cl
or eax, 0xffffff00
shl edx, 8
shl eax, 0x10
sar ecx, 0x10
or edx, eax
movzx eax, cl
or edx, eax
mov dword [rdi], edx
jmp 0x140254f2d
mov ebx, 0x80070057
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a2260
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140254f54
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
movzx eax, cl
lea rsi, str.SystemUsesLightTheme
xor edi, edi
mov dword [rbp + 0x20], eax
test cl, cl
mov dword [rbp + 0x28], 4
lea rbx, str.AppsUseLightTheme
mov edx, 0x20019
lea rcx, [rbp - 0x10]
cmove rbx, rsi
call fcn.14007ba80
mov rax, qword [0x14037e558]
lea r9d, [rdi + 0x10]
mov rcx, qword [rbp - 0x10]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
test rax, rax
mov r8, rbx
cmovne rcx, rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x140255042
xor r8d, r8d
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlGetDeviceFamilyInfoEnum]
nop dword [rax + rax]
mov eax, dword [rbp + 0x30]
add eax, 0xfffffff2
test eax, 0xfffffffd
jne 0x140255042
lea rax, [rbp + 0x28]
mov r8, rsi
mov qword [rsp + 0x30], rax
lea r9d, [rdi + 0x10]
lea rax, [rbp + 0x20]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ecx, dword [rbp + 0x20]
test eax, eax
cmovne ecx, edi
mov dword [rbp + 0x20], ecx
jmp 0x140255045
mov ecx, dword [rbp + 0x20]
cmp ecx, 1
mov rcx, qword [rbp - 0x10]
sete bl
test rcx, rcx
je 0x140255060
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov al, bl
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x14025507c
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140379a08]
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], SafeArrayUnaccessData
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 0x1402550ce
cmp dword [rbp - 0x20], 0
jne 0x1402550d0
xor bl, bl
mov al, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a2260
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x1402556f4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
xor ebx, ebx
mov rdi, rcx
cmp dword [0x14037d280], ebx
jne 0x14025582a
mov edx, 0x2001f
lea rcx, [rsp + 0x50]
call fcn.14007ba80
mov rax, qword [0x14037e558]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAccent
mov rcx, qword [rsp + 0x50]
test rax, rax
cmovne rcx, rax
and qword [rsp + 0x40], rbx
lea rax, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
and qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 2
and dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140255779
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x140255814
mov rcx, qword [rsp + 0x78]
lea rdx, str.StartColorMenu
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1402557be
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x140255803
mov rcx, qword [rsp + 0x78]
lea rax, [rdi + 4]
mov dword [rsp + 0x28], 4
lea rdx, str.AccentColorMenu
mov r9d, 4
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]
mov ebx, eax
test eax, eax
jle 0x140255803
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14025582a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140257008
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov dil, r8b
mov rsi, rdx
call fcn.140256cc4
mov ebx, eax
test eax, eax
jns 0x140257046
mov rcx, qword [rsp + 0x58]
lea r8, [0x14030e608]
mov r9d, eax
mov edx, Ordinal_635
call fcn.14001eb0c
jmp 0x14025713c
and qword [rsp + 0x78], 0
lea rcx, [rsp + 0x78]
xor edx, edx
call fcn.14006ee3c
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAccent
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 2
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1402570d6
mov rcx, qword [rsp + 0x78]
lea rax, [0x14037c340]
mov dword [rsp + 0x28], 0x20
lea r9d, [rbx + 3]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AccentPalette
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1402570fc
test dil, dil
je 0x1402570fc
test ebx, ebx
je 0x1402570fc
mov rcx, qword [rsp + 0x58]
lea r8, [0x14030e608]
mov r9d, ebx
mov edx, 0x28c
call fcn.1401a6570
mov ebx, eax
jmp 0x140257126
mov ecx, dword [0x14037c34c]
call fcn.140257158
test ebx, ebx
je 0x140257124
mov rcx, qword [rsp + 0x58]
lea r8, [0x14030e608]
mov r9d, ebx
mov edx, 0x295
call fcn.140188f6c
xor ebx, ebx
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14025713c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret