joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a7b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1400cb4d0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001a83e
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001a83e
call fcn.140017b70
mov ebx, eax
jmp 0x14001a966
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14001a85f
call fcn.140017b70
jmp 0x14001a955
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14001a882
call fcn.140017b70
jmp 0x14001a955
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x14001a8a4
mov ebx, 0x8007000e
jmp 0x14001a957
mov ecx, eax
test eax, eax
je 0x14001a8dc
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14001a8d2
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14001a8dc
lea rcx, [rsp + 0x70]
call fcn.140017a50
jmp 0x14001a8e6
mov ecx, 0x80070216
call fcn.140017d80
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x14001a8f9
cmp qword [rsp + 0x70], 0
jne 0x14001a908
mov ebx, 0x8007000e
jmp 0x14001a957
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14001a932
call fcn.140017b70
jmp 0x14001a955
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14001a5d0
mov ebx, eax
test rdi, rdi
je 0x14001a966
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14001a97d
lea rcx, [rsp + 0x70]
call fcn.140018e30
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140067cd0
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001b400
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x14001b440
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x14001b458
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001b464
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x14001b460
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x140020bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov rbx, rdx
mov r9d, 0x20019
mov dword [rdx], eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareIntelDisplayigfxcui3D
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x60], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140020c35
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea rdx, [0x140082b18]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140020c35
mov eax, dword [rsp + 0x58]
mov dword [rbx], eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140020c45
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x40
pop rbx
ret

Function at 0x140020c50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov rbx, rdx
mov r9d, 0x20019
mov dword [rdx], eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareIntelDisplayigfxcui3D
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x60], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140020cd5
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea rdx, [0x140082a88]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140020cd5
mov eax, dword [rsp + 0x58]
mov dword [rbx], eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140020ce5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x140020cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov rbx, rdx
mov r9d, 0x20019
mov dword [rdx], eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareIntelDisplayigfxcui3D
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x60], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140020d75
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea rdx, str.AntiAliasingCMAA
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140020d75
mov eax, dword [rsp + 0x58]
mov dword [rbx], eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140020d85
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x40
pop rbx
ret

Function at 0x140020d90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400cb4d0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareIntelDisplayigfxcuiigfxsrvcDesktopGammaDefault
xor esi, esi
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov ebx, 0x80004005
mov qword [rsp + 0x38], rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140020e68
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], si
call fcn.140066680
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x30]
lea rdx, str.BrightnessDefault
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x40], 0x208
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140020e5d
lea rdx, [0x140082798]
lea rcx, [rsp + 0x50]
mov r8, rdi
call fcn.1400697f8
mov ebx, esi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140067cd0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140020e90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400cb4d0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareIntelDisplayigfxcuiigfxsrvcDesktopGammaDefault
xor esi, esi
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov ebx, 0x80004005
mov qword [rsp + 0x38], rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140020f68
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], si
call fcn.140066680
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x30]
lea rdx, str.ContrastDefault
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x40], 0x208
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140020f5d
lea rdx, [0x140082798]
lea rcx, [rsp + 0x50]
mov r8, rdi
call fcn.1400697f8
mov ebx, esi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140067cd0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140020f90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1400cb4d0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
lea rax, [rsp + 0x40]
xor ebx, ebx
lea rdx, str.SoftwareIntelDisplayigfxcuiigfxsrvcDesktopGammaDefault
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x34], ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002107d
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], bx
call fcn.140066680
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x38]
lea rdx, str.GammaDefault
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
xor r8d, r8d
mov dword [rsp + 0x48], 0x208
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140021078
lea r8, [rsp + 0x30]
lea rdx, [0x140082d9c]
lea rcx, [rsp + 0x50]
call fcn.1400697f8
movss xmm0, dword [rsp + 0x30]
mulss xmm0, dword [0x140083b50]
cvttss2si rax, xmm0
movss dword [rsp + 0x30], xmm0
mov dword [rdi], eax
jmp 0x14002107d
mov ebx, 0x80004005
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002108d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140067cd0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x1400210b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rdx
lea rax, [rsp + 0x30]
mov dword [rdx], ebx
lea rdx, str.SoftwareIntelDisplayigfxcuiigfxsrvcDesktopGammaDefault
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x60], 4
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140021142
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea rdx, str.HueDefault
add byte [rbp + 0x33], al
ror byte [rax - 0x77], 0x44
and al, 0x20

Function at 0x140021160
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor edi, edi
mov rbx, rdx
lea rax, [rsp + 0x30]
mov dword [rdx], edi
lea rdx, str.SoftwareIntelDisplayigfxcuiigfxsrvcDesktopGammaDefault
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400211e5
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rdx, str.SaturationDefault
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400211e5
mov dword [rbx], edi
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400211f5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140021210
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov rbx, rdx
mov r9d, 0x20019
mov dword [rdx], eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareIntelDisplayigfxcui3D
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x60], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140021295
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea rdx, str.AntiAliasingMSAA
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140021295
mov eax, dword [rsp + 0x58]
mov dword [rbx], eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400212a5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x1400212b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov rbx, rdx
mov dword [rdx], 1
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareIntelDisplayigfxcui3D
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x60], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140021339
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea rdx, str.Basic
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140021339
mov eax, dword [rsp + 0x58]
mov dword [rbx], eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140021349
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x40
pop rbx
ret

Function at 0x140021360
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov rbx, rdx
mov r9d, 0x20019
mov dword [rdx], eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareIntelDisplayigfxcui3D
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x60], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400213e5
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea rdx, str.VSync
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400213e5
mov eax, dword [rsp + 0x58]
mov dword [rbx], eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400213f5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x40
pop rbx
ret

Function at 0x140022080
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movsxd rcx, edx
mov rax, r8
lea rdx, [rsp + 0x38]
mov rdi, r9
xor esi, esi
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov rdx, rax
mov r9d, 0x20019
mov ebx, 0x80004005
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x30], esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400220ff
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
cmove ebx, esi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400221e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x68], 0x20
lea r8, [rsp + 0x30]
lea rdx, str.SoftwareIntelDisplayigfxcui3D
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14002225a
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Default
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400222b0
mov rax, qword [rdi]
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x58]
mov rax, qword [rdi]
lea rdx, [rsi + 0xc]
mov rcx, rdi
call qword [rax + 0x60]
mov rax, qword [rdi]
lea rdx, [rsi + 0x10]
mov rcx, rdi
call qword [rax + 0x68]
mov rax, qword [rdi]
lea rdx, [rsi + 0x18]
mov rcx, rdi
call qword [rax + 0x70]
mov rax, qword [rdi]
lea rdx, [rsi + 0x1c]
mov rcx, rdi
call qword [rax + 0x78]
mov rax, qword [rdi]
lea rdx, [rsi + 0x14]
mov rcx, rdi
call qword [rax + 0x80]
mov ebx, eax
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400222c1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, ebx
jmp 0x1400222c9
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400229f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, r8
movsxd rcx, edx
lea r8, [rsp + 0x38]
mov rdx, rax
mov rdi, r9
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x58], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, eax
test eax, eax
js 0x140022a7f
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
xor r8d, r8d
mov rdx, rdi
mov ebx, 0x80004005
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140022a7f
movss xmm0, dword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
xor ebx, ebx
cvtps2pd xmm0, xmm0
movsd qword [rax], xmm0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140022d80
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x60
mov rdi, r8
movsxd rsi, edx
lea rax, [r11 - 0x18]
mov rbp, r9
xor r14d, r14d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
mov r9d, 0x2001f
mov qword [r11 - 0x48], rax
mov ebx, 0x80004005
mov qword [r11 - 0x18], r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140022e06
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140022e38
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x90]
mov r9d, 4
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
cmove ebx, r14d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140022e60
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x14e0
call fcn.140067c70
sub rsp, rax
mov rax, qword [0x1400cb4d0]
xor rax, rsp
mov qword [rsp + 0x14d0], rax
mov rdi, rdx
lea rax, [rsp + 0x50]
xor esi, esi
lea rdx, str.SoftwareIntelDisplayigfxcui3D
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov ebx, 0x80004005
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140022f0f
lea rax, [rsp + 0x58]
lea rdx, str.SoftwareIntelDisplayigfxcui3D
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002305a
mov rcx, qword [rsp + 0x50]
lea rdx, str.Default
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14002305a
lea rcx, [rsp + 0xaa4]
xor edx, edx
mov r8d, 0xa24
mov byte [rsp + 0xaa0], sil
call fcn.140066680
lea r8, str.Default
lea rcx, [rsp + 0xabc]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rsp + 0xab8], 7
mov dword [rsp + 0x14c4], 0x20
call fcn.140067ddc
lea rdx, [rsp + 0x70]
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
lea rax, [rsp + 0xaa0]
mov ecx, reloc.OLEAUT32.dll_SafeArrayLock
movups xmmword [rsp + 0xcc4], xmm0
movups xmmword [rsp + 0xcd4], xmm1
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rdx, [rdx + 0x80]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
dec rcx
jne 0x140022fc0
mov rcx, qword [rax + 0x20]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
mov qword [rdx + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.14003eb70
mov rcx, qword [rax]
test rcx, rcx
je 0x140023091
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + 0x80]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
test rcx, rcx
je 0x14002305a
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002306a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x14d0]
xor rcx, rsp
call fcn.140067cd0
lea r11, [rsp + 0x14e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004003
call fcn.140079150
int3