joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038718
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rdi, rcx
mov ecx, 0xfffe
call fcn.14005a624
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp qword [rdi + 0x18], 8
jb 0x14003874d
mov rcx, qword [rdi]
jmp 0x140038750
mov rcx, rdi
mov r8d, 0x7fff
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rbx
call fcn.1401be2f4
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.1401f2254
nop
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.14005a61c

Function at 0x140038788
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rdi, r8
mov rbx, rdx
mov r13, rcx
mov esi, 0x800
mov ecx, esi
call fcn.14005a624
mov qword [rbp - 0x10], rax
xor ecx, ecx
mov byte [rbp + 0x38], cl
mov r8b, cl
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.140027f98
nop
mov dword [rbp + 0x48], esi
cmp qword [rbx + 0x18], 8
jb 0x1400387e7
mov rdx, qword [rbx]
jmp 0x1400387ea
mov rdx, rbx
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
mov rsi, qword [rbp - 0x10]
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r12d, eax
or r14, 0xffffffffffffffff
cmp eax, 0xea
jne 0x140038872
mov ecx, dword [rbp + 0x48]
inc ecx
lea eax, [r14 + 3]
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.14005a624
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.14002a9f8
cmp qword [rbx + 0x18], 8
jb 0x140038849
mov rbx, qword [rbx]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
mov rsi, qword [rbp - 0x10]
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r12d, eax
xor ebx, ebx
test r12d, r12d
jne 0x1400388d6
mov r8d, dword [rbp + 0x48]
shr r8, 1
cmp dword [rbp - 0x20], 1
je 0x140038894
cmp dword [rbp - 0x20], 2
je 0x140038894
mov r12d, 0x3bc6
jmp 0x1400388d6
cmp word [rsi + r8*2 - 2], bx
jne 0x1400388b4
mov rcx, rsi
call fcn.1401be2f4
mov r8, rax
mov rdx, rsi
mov rcx, rdi
call fcn.1401f2254
jmp 0x1400388d6
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x1400388c4
mov rax, qword [rdi]
jmp 0x1400388c7
mov rax, rdi
mov word [rax], bx
mov rdx, rsi
mov rcx, rdi
call fcn.1400312e0
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140038910
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x140038910
mov rbx, qword [rbp - 8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140038910
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, r12d
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x14003d050
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1402ee230]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, r8
lea rcx, [rsp + 0x20]
lea r8, reloc.OLEAUT32.dll_VariantCopyInd
call fcn.14003be88
cmp qword [rax + 0x18], 8
jb 0x14003d081
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp qword [rsp + 0x38], 8
jb 0x14003d09c
mov rcx, qword [rsp + 0x20]
call fcn.14005a61c
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401be9b0
add rsp, 0x58
ret

Function at 0x140041aec
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1402ee230]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xor esi, esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x28], rsi
mov dword [rcx + 0x30], esi
mov qword [rcx + 0x38], rsi
lea rax, vtable.Nvidia::Logging::XMLLogPrinter.0
mov qword [rcx], rax
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
lea rcx, str.MaxPrintingDepth
call fcn.1401be2f4
mov r8, rax
lea rdx, str.MaxPrintingDepth
lea rcx, [rbp - 0x30]
call fcn.1401f2254
nop
mov dword [rbp - 0x48], 4
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x4c]
xor r8d, r8d
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140041bba
mov ecx, 0x3bc6
cmp dword [rbp - 0x4c], 4
cmovne eax, ecx
lea rdx, str.RegQueryValueEx
mov ecx, eax
call fcn.1400419c4
lea rax, vtable.Nvidia::Logging::XMLContentsPrinter.0
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x50], rsi
mov qword [rdi + 0x58], rsi
mov ecx, dword [rbp - 0x50]
mov dword [rdi + 0x68], ecx
cmp qword [rbp - 0x18], 8
jb 0x140041bf6
mov rcx, qword [rbp - 0x30]
call fcn.14005a61c
nop
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401be9b0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140042a10
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rsi, rdx
mov r13, rcx
xor edi, edi
cmp qword [rcx], 0xffffffffffffffff
je 0x140042b0e
mov r12d, edi
mov r14, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x140042a55
mov r8, qword [rdx]
jmp 0x140042a58
mov r8, rdx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, r14d
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
mov rbx, rdi
mov qword [rsp + 0x90], rbx
test eax, eax
jle 0x140042ad2
mov rcx, rbp
call fcn.14005a624
mov r12, rax
mov rbx, rax
xor ecx, ecx
call fcn.14005a61c
cmp qword [rsi + 0x18], 8
jb 0x140042aac
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r12
mov r9d, r14d
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x80], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x80]
mov r8d, ebp
mov rdx, r12
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140042b06
cmp dword [rsp + 0x80], ebp
jne 0x140042b06
mov dil, 1
mov rcx, rbx
call fcn.14005a61c
mov al, dil
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140050e68
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1402ee230]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, rcx
lea r8, [rcx + 0x20]
mov rcx, qword [rcx + 0x10]
mov edx, 0x5ab
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rdi + 0x10]
lea r8, [rdi + 0x228]
mov edx, 0x5ad
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rdi + 0x10]
xor ebx, ebx
cmp dword [rdi + 0x430], ebx
mov edx, 0xa7f9
setne bl
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x5ab
lea r8d, [r9 + 0x31]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea r8, [rsp + 0x50]
mov edx, 0x5c
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.14005a118
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rcx, qword [rdi + 0x10]
mov edx, 0x5ae
mov qword [rdi + 0x18], rax
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rdi + 0x10]
lea r8, [rsp + 0x40]
mov r9d, 2
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [rsp + 0x48]
mov rcx, qword [rdi + 0x10]
sub ebx, dword [rsp + 0x40]
mov edx, 0x5b0
call qword [sym.imp.USER32.dll_GetDlgItem]
mov dword [rsp + 0x30], 6
xor r9d, r9d
mov rcx, rax
mov eax, dword [rsp + 0x44]
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov al, 1
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401be9b0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
Function at 0x1400549d8
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
cmp qword [0x1402f1c80], rdi
jne 0x140054c1b
lea rcx, str.UxTheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1402f1c80], rax
test rax, rax
je 0x140054c1b
lea rdx, str.OpenThemeData
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f1c80]
lea rdx, str.CloseThemeData
mov qword [0x1402f1c08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f1c80]
lea rdx, str.GetThemeBackgroundContentRect
mov qword [0x1402f1c10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f1c80]
lea rdx, str.DrawThemeParentBackground
mov qword [0x1402f1c18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f1c80]
lea rdx, str.DrawThemeBackground
mov qword [0x1402f1c20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f1c80]
lea rdx, str.DrawThemeText
mov qword [0x1402f1c28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f1c80]
lea rdx, str.IsThemeActive
mov qword [0x1402f1c30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f1c80]
lea rdx, str.GetThemeColor
mov qword [0x1402f1c38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f1c80]
lea rdx, str.GetThemeSysColor
mov qword [0x1402f1c40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f1c80]
lea rdx, str.IsThemePartDefined
mov qword [0x1402f1c48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f1c80]
lea rdx, str.IsThemeBackgroundPartiallyTransparent
mov qword [0x1402f1c50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f1c80]
lea rdx, str.IsThemeDialogTextureEnabled
mov qword [0x1402f1c58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f1c80]
lea rdx, str.GetThemeTextMetrics
mov qword [0x1402f1c60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f1c80]
lea rdx, str.GetThemeFont
mov qword [0x1402f1c68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1402f1c08], rdi
mov qword [0x1402f1c70], rax
je 0x140054c0d
cmp qword [0x1402f1c10], rdi
je 0x140054c0d
cmp qword [0x1402f1c18], rdi
je 0x140054c0d
cmp qword [0x1402f1c20], rdi
je 0x140054c0d
cmp qword [0x1402f1c28], rdi
je 0x140054c0d
cmp qword [0x1402f1c30], rdi
je 0x140054c0d
cmp qword [0x1402f1c38], rdi
je 0x140054c0d
cmp qword [0x1402f1c40], rdi
je 0x140054c0d
cmp qword [0x1402f1c48], rdi
je 0x140054c0d
cmp qword [0x1402f1c50], rdi
je 0x140054c0d
cmp qword [0x1402f1c58], rdi
je 0x140054c0d
cmp qword [0x1402f1c60], rdi
je 0x140054c0d
cmp qword [0x1402f1c68], rdi
je 0x140054c0d
test rax, rax
je 0x140054c0d
mov dword [0x1402f1c78], 1
jmp 0x140054c1b
mov rcx, rbx
call fcn.140054928
mov dword [0x1402f1c78], edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140055ec4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
and dword [rbp + 0x20], 0
lea rax, [rbp + 0x18]
lea r9, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
lea r8, str.ContextUIPolicy
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalNvCplApiPolicies
mov rcx, 0xffffffff80000001
mov dword [rbp + 0x10], 4
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x18], 4
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x140055f49
lea rax, [rbp + 0x18]
lea r9, [rbp + 0x10]
lea r8, str.ContextUIPolicy
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalNvCplApiPolicies
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x140055f65
cmp dword [rbp + 0x10], 4
jne 0x140055f65
cmp dword [rbp + 0x18], 4
jne 0x140055f65
mov eax, dword [rbp + 0x20]
and al, 3
cmp al, 2
jne 0x140055f65
mov eax, 1
jmp 0x140055f67
xor eax, eax
add rsp, 0x30
pop rbp
ret

Function at 0x140056088
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1402ee230]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor ebx, ebx
mov dword [rsp + 0x20], VarUI4FromDisp
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x1400560d1
cmp dword [rsp + 0x24], 6
jb 0x1400560d1
cmp dword [rsp + 0x28], 2
lea eax, [rbx + 1]
cmovae ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401be9b0
add rsp, 0x150
pop rbx
ret

Function at 0x1400562fc
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov rax, rdx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea rdx, str.SOFTWARENVIDIA_CorporationNVControlPanel2Client
mov r9d, 0xf003f
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140056359
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x140056353
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14005635b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140056364
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rax, r8
lea rcx, [rsp + 0x38]
mov rbx, rdx
mov qword [rsp + 0x20], rcx
lea rdx, str.SOFTWARENVIDIA_CorporationNVControlPanel2Client
mov rcx, rax
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400563ec
mov eax, 4
lea rcx, [rsp + 0x68]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
jne 0x1400563e6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x1400563ee
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400563fc
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x10], edx
mov r11, rsp
push rbx
sub rsp, 0x50
and qword [r11 - 0x18], 0
mov rbx, rcx
lea rcx, [r11 + 0x20]
mov qword [r11 - 0x20], rcx
and qword [r11 - 0x28], 0
mov rax, r8
lea rdx, str.SOFTWARENVIDIA_CorporationNVControlPanel2Client
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 3
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140056487
mov rcx, qword [rsp + 0x78]
lea r9d, [rax + 4]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
test eax, eax
jne 0x140056481
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140056489
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x50
pop rbx
ret

Function at 0x140056490
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
and qword [r11 - 0x18], 0
and qword [r11 + 0x10], 0
lea rax, [r11 + 0x10]
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
mov rbx, rcx
lea rdx, str.SOFTWARENVIDIA_CorporationNVControlPanel2Client
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 3
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14005651f
mov rcx, qword [rsp + 0x68]
lea r9d, [rax + 3]
lea rdx, str.WindowPlacement
xor r8d, r8d
mov dword [rsp + 0x28], 0x2c
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
test eax, eax
jne 0x140056519
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140056521
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x50
pop rbx
ret

Function at 0x140056528
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
and qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov rbx, rcx
lea rdx, str.SOFTWARENVIDIA_CorporationNVControlPanel2Client
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400565c3
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.WindowPlacement
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x48], 0x2c
mov dword [rsp + 0x50], 3
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400565b8
cmp dword [rsp + 0x48], 0x2c
jne 0x1400565b8
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x1400565c5
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x1400565cc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x14005664c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x30
and dword [rsp + 0x40], 0
lea rax, [r11 + 0x18]
mov edi, 4
mov qword [r11 - 0x10], rax
lea rax, [r11 + 8]
lea r9, [r11 + 0x10]
lea r8, str.ShowContextMenu
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalCoProcManager
mov rcx, 0xffffffff80000001
mov qword [r11 - 0x18], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x50], edi
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1400566d2
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
lea r8, str.ShowContextMenu
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalCoProcManager
mov r9d, edi
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [rsp + 0x40], 0
setne al
add rsp, 0x30
pop rdi
ret

Function at 0x14005677c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x30
xor ebx, ebx
lea r9, [r11 + 0x18]
lea r8, str.ShowContextMenu
lea eax, [rbx + 4]
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalRunOpenGLOn
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], eax
lea rax, [r11 + 0x10]
mov qword [r11 - 0x10], rax
lea rax, [r11 + 8]
mov dword [rsp + 0x40], ebx
mov qword [r11 - 0x18], rax
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1400567cf
cmp dword [rsp + 0x40], ebx
setne bl
mov al, bl
add rsp, 0x30
pop rbx
ret

Function at 0x140056824
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x30
and dword [rsp + 0x40], 0
lea rax, [r11 + 0x18]
mov edi, 4
mov qword [r11 - 0x10], rax
lea rax, [r11 + 8]
lea r9, [r11 + 0x10]
lea r8, str.ShowTrayIcon
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalCoProcManager
mov rcx, 0xffffffff80000001
mov qword [r11 - 0x18], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x50], edi
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1400568aa
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
lea r8, str.ShowTrayIcon
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalCoProcManager
mov r9d, edi
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [rsp + 0x40], 0
setne al
add rsp, 0x30
pop rdi
ret

Function at 0x1400568b8
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
call fcn.140056824
xor ecx, ecx
mov r9d, 4
test al, al
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
sete cl
lea r8, str.ShowTrayIcon
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalCoProcManager
mov dword [rsp + 0x40], ecx
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
add rsp, 0x38
ret
Function at 0x140056904
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
movzx eax, cl
mov r9d, 4
lea r8, str.StartOnLogin
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
lea rdx, str.SOFTWARENVIDIA_CorporationNvTray
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
add rsp, 0x38
ret

Function at 0x1400569cc
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x30
xor ebx, ebx
lea r9, [r11 + 0x18]
lea r8, str.VideoEditingMode
lea eax, [rbx + 4]
lea rdx, str.SOFTWARENVIDIA_CorporationGlobal
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], eax
lea rax, [r11 + 0x10]
mov qword [r11 - 0x10], rax
lea rax, [r11 + 8]
mov dword [rsp + 0x40], ebx
mov qword [r11 - 0x18], rax
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
js 0x140056a20
cmp dword [rsp + 0x40], 1
sete bl
mov al, bl
add rsp, 0x30
pop rbx
ret

Function at 0x140056b38
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1402ee230]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
lea rcx, [rsp + 0x24]
xor edi, edi
xor edx, edx
mov r8d, 0x204
mov dword [rsp + 0x20], edi
call fcn.1401bf0f0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x140223c10]
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.1401c00ac
lea rcx, [rsp + 0x20]
mov r8, rbx
mov edx, 0x104
call fcn.1401c00ac
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne dil
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1401be9b0
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x140056be0
Capabilities:
Query or enumerate registry value

Disassembly:
test r9, r9
je 0x140056d41
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1402ee230]
xor rax, rsp
mov qword [rbp + 0x380], rax
movsxd rbx, dword [r9]
mov r14, rcx
mov r10, r8
mov rax, rdx
lea rcx, [rsp + 0x48]
mov r13, r9
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rax
mov r9d, 1
mov rdx, r10
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x44], 0x208
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140056d12
mov rdi, rbx
xor r12d, r12d
shl rdi, 4
add rdi, r14
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
lea r8, [rbp + 0x170]
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov edx, r12d
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140056d01
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140056290
test eax, eax
je 0x140056cef
xor esi, esi
test ebx, ebx
je 0x140056ce0
mov ecx, esi
lea rdx, [rsp + 0x50]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
shl rcx, 4
add rcx, r14
call fcn.1401bf360
test eax, eax
je 0x140056cef
inc esi
cmp esi, ebx
jb 0x140056cbd
movups xmm0, xmmword [rsp + 0x50]
inc ebx
movdqu xmmword [rdi], xmm0
add rdi, 0x10
mov eax, 0x208
inc r12d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
jmp 0x140056d08
cmp eax, 0x103
je 0x140056d12
cmp r12d, 0xc
jl 0x140056c66
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [r13], ebx
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1401be9b0
add rsp, 0x490
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret