joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140043098
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 0x140043196
mov r12d, edi
mov r14, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x1400430dd
mov r8, qword [rdx]
jmp 0x1400430e0
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 0x14004315a
mov rcx, rbp
call fcn.14005ce84
mov r12, rax
mov rbx, rax
xor ecx, ecx
call fcn.14005ce7c
cmp qword [rsi + 0x18], 8
jb 0x140043134
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 0x14004318e
cmp dword [rsp + 0x80], ebp
jne 0x14004318e
mov dil, 1
mov rcx, rbx
call fcn.14005ce7c
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 0x14005173c
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1402f2208]
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.14005b474
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.1401c0410
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
Function at 0x1400552fc
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 [0x1402f5cc0], rdi
jne 0x14005553f
lea rcx, str.UxTheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1402f5cc0], rax
test rax, rax
je 0x14005553f
lea rdx, str.OpenThemeData
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f5cc0]
lea rdx, str.CloseThemeData
mov qword [0x1402f5c48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f5cc0]
lea rdx, str.GetThemeBackgroundContentRect
mov qword [0x1402f5c50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f5cc0]
lea rdx, str.DrawThemeParentBackground
mov qword [0x1402f5c58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f5cc0]
lea rdx, str.DrawThemeBackground
mov qword [0x1402f5c60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f5cc0]
lea rdx, str.DrawThemeText
mov qword [0x1402f5c68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f5cc0]
lea rdx, str.IsThemeActive
mov qword [0x1402f5c70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f5cc0]
lea rdx, str.GetThemeColor
mov qword [0x1402f5c78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f5cc0]
lea rdx, str.GetThemeSysColor
mov qword [0x1402f5c80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f5cc0]
lea rdx, str.IsThemePartDefined
mov qword [0x1402f5c88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f5cc0]
lea rdx, str.IsThemeBackgroundPartiallyTransparent
mov qword [0x1402f5c90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f5cc0]
lea rdx, str.IsThemeDialogTextureEnabled
mov qword [0x1402f5c98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f5cc0]
lea rdx, str.GetThemeTextMetrics
mov qword [0x1402f5ca0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402f5cc0]
lea rdx, str.GetThemeFont
mov qword [0x1402f5ca8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1402f5c48], rdi
mov qword [0x1402f5cb0], rax
je 0x140055531
cmp qword [0x1402f5c50], rdi
je 0x140055531
cmp qword [0x1402f5c58], rdi
je 0x140055531
cmp qword [0x1402f5c60], rdi
je 0x140055531
cmp qword [0x1402f5c68], rdi
je 0x140055531
cmp qword [0x1402f5c70], rdi
je 0x140055531
cmp qword [0x1402f5c78], rdi
je 0x140055531
cmp qword [0x1402f5c80], rdi
je 0x140055531
cmp qword [0x1402f5c88], rdi
je 0x140055531
cmp qword [0x1402f5c90], rdi
je 0x140055531
cmp qword [0x1402f5c98], rdi
je 0x140055531
cmp qword [0x1402f5ca0], rdi
je 0x140055531
cmp qword [0x1402f5ca8], rdi
je 0x140055531
test rax, rax
je 0x140055531
mov dword [0x1402f5cb8], 1
jmp 0x14005553f
mov rcx, rbx
call fcn.14005524c
mov dword [0x1402f5cb8], edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140056780
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 0x140056805
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 0x140056821
cmp dword [rbp + 0x10], 4
jne 0x140056821
cmp dword [rbp + 0x18], 4
jne 0x140056821
mov eax, dword [rbp + 0x20]
and al, 3
cmp al, 2
jne 0x140056821
mov eax, 1
jmp 0x140056823
xor eax, eax
add rsp, 0x30
pop rbp
ret

Function at 0x140056944
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1402f2208]
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 0x14005698d
cmp dword [rsp + 0x24], 6
jb 0x14005698d
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.1401c0410
add rsp, 0x150
pop rbx
ret

Function at 0x140056bb8
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 0x140056c15
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x140056c0f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140056c17
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140056c20
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 0x140056ca8
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 0x140056ca2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140056caa
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140056cb8
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 0x140056d43
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 0x140056d3d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140056d45
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x50
pop rbx
ret

Function at 0x140056d4c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov dword [r11 + 0x20], r9d
push rdi
sub rsp, 0x50
xor ebx, ebx
mov rdi, r8
mov qword [r11 + 8], rbx
test rcx, rcx
je 0x140056dd4
test rdx, rdx
je 0x140056dd4
test r8, r8
je 0x140056dd4
mov qword [r11 - 0x18], rbx
lea rax, [r11 + 8]
xor r9d, r9d
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140056dd4
mov rcx, qword [rsp + 0x60]
lea r9d, [rbx + 4]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
test eax, eax
sete bl
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140056de4
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 0x140056e73
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 0x140056e6d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140056e75
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x50
pop rbx
ret
Function at 0x140056e7c
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 0x140056f17
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 0x140056f0c
cmp dword [rsp + 0x48], 0x2c
jne 0x140056f0c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140056f19
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140056f20
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 0x140056fa0
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 0x140057026
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 0x1400570d0
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 0x140057123
cmp dword [rsp + 0x40], ebx
setne bl
mov al, bl
add rsp, 0x30
pop rbx
ret
Function at 0x140057178
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 0x1400571fe
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 0x14005720c
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
call fcn.140057178
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 0x140057258
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 0x140057320
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 0x140057374
cmp dword [rsp + 0x40], 1
sete bl
mov al, bl
add rsp, 0x30
pop rbx
ret

Function at 0x14005745c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
sub rsp, 0x40
mov rdx, qword [rdx]
mov eax, 4
mov rbx, r9
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], eax
lea rax, [r11 + 8]
mov dword [r11 + 0x18], r8d
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov qword [r11 - 0x28], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400574cb
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
Function at 0x1400575e8
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 [0x1402f2208]
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.1401c1930
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x140227048]
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.1401c28ec
lea rcx, [rsp + 0x20]
mov r8, rbx
mov edx, 0x104
call fcn.1401c28ec
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.1401c0410
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret

Function at 0x140057690
Capabilities:
Query or enumerate registry value

Disassembly:
test r9, r9
je 0x1400577f1
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1402f2208]
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 0x1400577c2
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 0x1400577b1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140056b4c
test eax, eax
je 0x14005779f
xor esi, esi
test ebx, ebx
je 0x140057790
mov ecx, esi
lea rdx, [rsp + 0x50]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
shl rcx, 4
add rcx, r14
call fcn.1401c1ba0
test eax, eax
je 0x14005779f
inc esi
cmp esi, ebx
jb 0x14005776d
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 0x1400577b8
cmp eax, 0x103
je 0x1400577c2
cmp r12d, 0xc
jl 0x140057716
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.1401c0410
add rsp, 0x490
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140057699
Capabilities:
Query or enumerate registry value

Disassembly:
test r9, r9
je 0x1400577f1
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1402f2208]
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 0x1400577c2
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 0x1400577b1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140056b4c
test eax, eax
je 0x14005779f
xor esi, esi
test ebx, ebx
je 0x140057790
mov ecx, esi
lea rdx, [rsp + 0x50]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
shl rcx, 4
add rcx, r14
call fcn.1401c1ba0
test eax, eax
je 0x14005779f
inc esi
cmp esi, ebx
jb 0x14005776d
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 0x1400577b8
cmp eax, 0x103
je 0x1400577c2
cmp r12d, 0xc
jl 0x140057716
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.1401c0410
add rsp, 0x490
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret