joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f120
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x40f298
push ebx
push edi
push esi
call fcn.0040deb0
add esp, 4
test eax, eax
jge 0x40f17d
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0xb4e
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0xb5c
push esi
call edi
push eax
call ebx
push 0
push 0xb4f
push esi
call edi
push eax
call ebx
pop edi
pop ebx
pop esi
add esp, 8
ret
mov edi, dword [esp + 0x1c]
imul eax, eax, 0x2a4
lea eax, [eax + esi + 0x6d4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jle 0x40f23f
xor esi, esi
mov ebx, 0xb50
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x40f1c0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x284]
cmp dword [edx + esi + 4], 0
jne 0x40f1e0
push 0
push ebx
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebp
jmp 0x40f22c
push 5
push ebx
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x284]
xor edx, edx
cmp dword [ecx + esi + 4], 0xffffffff
sete dl
add edx, 0x92a
mov esi, edx
push esi
push 2
push 0x43bf98
call fcn.00416860
push eax
mov eax, dword [0x4464d0]
push esi
push ebx
push edi
push eax
call fcn.00415890
mov esi, dword [esp + 0x30]
add esp, 0x20
add esi, 8
inc ebx
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], esi
jne 0x40f1c0
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp eax, ebx
mov esi, eax
jge 0x40f268
lea esp, [esp]
push 0
lea ecx, [esi + 0xb50]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebp
inc esi
cmp esi, ebx
jl 0x40f250
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0xb4e
push edi
call esi
push eax
call ebp
push 5
push 0xb5c
push edi
call esi
push eax
call ebp
push 5
push 0xb4f
push edi
call esi
push eax
call ebp
pop ebp
pop edi
pop ebx
pop esi
add esp, 8
ret
Function at 0x40f2a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x40f3de
push ebx
push edi
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x40f2d1
push esi
call fcn.0040deb0
add esp, 4
test eax, eax
jl 0x40f2ff
imul eax, eax, 0x2a4
lea edi, [eax + esi + 0x6d4]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
lea edx, [eax + ecx]
jl 0x40f2e7
mov edx, 0xb4d
mov eax, dword [esp + 0x28]
cmp eax, edx
je 0x40f2ff
sub eax, ecx
mov ecx, dword [edi + 0x284]
mov eax, dword [ecx + eax*8 + 4]
test eax, eax
jne 0x40f33a
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0xb4e
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0xb5c
push esi
call edi
push eax
call ebx
push 0
push 0xb4f
push esi
call edi
push eax
call ebx
pop edi
pop ebx
pop esi
ret
push ebp
cmp eax, 1
jne 0x40f34f
mov dword [esp + 0x14], 0xa7d
mov ebp, 0x92a
jmp 0x40f370
cmp eax, 3
jne 0x40f363
mov dword [esp + 0x14], 0xa7e
mov ebp, 0x92a
jmp 0x40f370
mov dword [esp + 0x14], 0xa7f
mov ebp, 0x92b
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0xb4e
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 5
push 0xb5c
push esi
call edi
push eax
call ebx
push 5
push 0xb4f
push esi
call edi
push eax
call ebx
push ebp
push 2
push 0x43bf98
call fcn.00416860
mov edx, dword [0x4464d0]
push eax
push ebp
push 0xb5c
push esi
push edx
call fcn.00415890
mov eax, dword [esp + 0x34]
push eax
push 0xb4f
push esi
call fcn.00415920
add esp, 0x2c
pop ebp
pop edi
pop ebx
pop esi
ret

Function at 0x411520
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x4115f0
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [edi + 0x12b14]
push 0xa7a
push 0xb4c
add edi, 0x12b04
push ebx
call fcn.00415920
add esp, 0xc
cmp esi, 1
je 0x41158d
xor esi, esi
cmp dword [edi], esi
jle 0x4115ed
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x411570
push 0
lea eax, [esi + 0xb41]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebp
inc esi
cmp esi, dword [edi]
jl 0x411570
pop esi
pop ebp
pop ebx
pop edi
ret
push 5
push 0xb41
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
cmp dword [edi], esi
jle 0x4115cd
lea ebp, [edi + 8]
jmp 0x4115b0
mov ecx, dword [ebp]
add ecx, 0x68
push ecx
lea edx, [esi + 0xb41]
push edx
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
inc esi
add ebp, 0x78
cmp esi, dword [edi]
jl 0x4115b0
push edi
call fcn.0040bbb0
add esp, 4
test eax, eax
je 0x4115ed
push 0xa79
push 0xb4c
push ebx
call fcn.00415920
add esp, 0xc
pop esi
pop ebp
pop ebx
pop edi
ret
Function at 0x4125f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, dword [esp + 8]
test ebp, ebp
je 0x4126ec
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4126eb
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4126ea
push ebx
call fcn.00417b90
mov ebx, eax
call fcn.00402360
test eax, eax
je 0x412669
test bl, 0x40
je 0x412669
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0xb3d
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0xb4a
push esi
call edi
push eax
call ebx
push 0
push 0xb4b
push esi
call edi
push eax
call ebx
pop ebx
pop esi
pop edi
pop ebp
ret
push esi
push ebp
call fcn.004117b0
add esp, 8
test eax, eax
je 0x412695
mov eax, dword [esp + 0x18]
push 0
push 0xb3d
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x18]
xor esi, esi
cmp dword [edi + 4], esi
mov dword [esp + 0x14], esi
jle 0x4126d4
mov ebp, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
lea ebx, [ebx]
mov ecx, dword [edi + 8]
mov edx, dword [ecx + esi*8]
push edx
push ebx
call ebp
cmp eax, 1
jne 0x4126c3
inc dword [esp + 0x14]
inc esi
cmp esi, dword [edi + 4]
jl 0x4126b0
cmp dword [esp + 0x14], 2
jne 0x4126d4
push 1
jmp 0x4126d6
push 0
push 0xb3d
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x416bd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x43c730]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
mov esi, dword [esp + 0x128]
test esi, esi
jne 0x416c08
xor eax, eax
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00422272
add esp, 0x120
ret
mov eax, dword [0x4463f4]
test eax, eax
jne 0x416c83
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x14], 2
jne 0x416c7e
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x416c46
xor ecx, ecx
cmp ecx, dword [esp + 0xc]
sbb eax, eax
neg eax
inc eax
mov dword [0x4463f4], eax
jmp 0x416c83
cmp eax, 6
jne 0x416c70
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x416c5f
mov eax, 4
mov dword [0x4463f4], eax
jmp 0x416c83
cmp eax, 1
jne 0x416c70
mov eax, 8
mov dword [0x4463f4], eax
jmp 0x416c83
jbe 0x416c7e
mov eax, 0x80
mov dword [0x4463f4], eax
jmp 0x416c83
mov eax, dword [0x4463f4]
mov ecx, dword [esp + 0x120]
xor edx, edx
test eax, eax
setne dl
mov dword [esi], eax
pop esi
xor ecx, esp
mov eax, edx
call fcn.00422272
add esp, 0x120
ret
Function at 0x416cb0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
push 0x24
xor eax, eax
push 0xa07
push 0xa06
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call fcn.00415a20
add esp, 0x10
cmp eax, 7
jne 0x416cf1
xor eax, eax
add esp, 0x14
ret
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, 1
add esp, 0x14
ret

Function at 0x416d50
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
xor esi, esi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareNVIDIA_CorporationGlobal_nViewInstalled
push 0x80000001
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x416dbe
mov ecx, dword [esp + 4]
push 4
xor edx, edx
cmp dword [esp + 0x18], esi
lea eax, [esp + 0x10]
push eax
push 4
setne dl
push esi
push str.nViewModeSet
push ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x416db3
lea esi, [eax + 1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x417220
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push 0x20006
call fcn.00416dd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x417238
pop esi
pop ecx
ret
mov eax, dword [esp + 0xc]
push edi
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push str.ViewType
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
pop ecx
ret
Function at 0x417270
Capabilities:
Set registry value

Disassembly:
sub esp, 0x204
mov eax, dword [0x43c730]
xor eax, esp
mov dword [esp + 0x200], eax
push edi
mov edi, dword [esp + 0x20c]
test edi, edi
jne 0x4172a8
xor eax, eax
pop edi
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00422272
add esp, 0x204
ret
push esi
push 0x20006
call fcn.00416dd0
mov esi, eax
add esp, 4
xor eax, eax
test esi, esi
je 0x41731d
push 0x1fe
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00422290
add esp, 0xc
push 0x100
lea edx, [esp + 0xc]
push edx
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x214]
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0xc]
push edx
push 1
push 0
push str.ViewSetDtcfgCmd
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
mov ecx, dword [esp + 0x208]
pop esi
pop edi
xor ecx, esp
call fcn.00422272
add esp, 0x204
ret
Function at 0x4175d0
Capabilities:
Set registry value

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x417708
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x417708
mov eax, dword [esp + 0xc]
push esi
test eax, eax
jne 0x4175ff
push 0x20006
call fcn.00416fe0
jmp 0x41760e
cmp eax, 1
jne 0x417617
push 0x20006
call fcn.00417100
mov esi, eax
add esp, 4
test esi, esi
jne 0x41761d
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push 0
push str.MSDispNum
push esi
mov dword [esp + 0x34], eax
call edi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push ebp
push 1
push 0
push str.MSDevName
push esi
call edi
mov edx, dword [ebx]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.left
push esi
mov dword [esp + 0x34], edx
call edi
mov ecx, dword [ebx + 4]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push 0
push 0x435260
push esi
mov dword [esp + 0x34], ecx
call edi
mov eax, dword [ebx + 8]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push 0
push str.right
push esi
mov dword [esp + 0x34], eax
call edi
mov edx, dword [ebx + 0xc]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.bottom
push esi
mov dword [esp + 0x34], edx
call edi
mov ecx, dword [esp + 0x24]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push 0
push 0x43523c
push esi
mov dword [esp + 0x34], ecx
call edi
mov eax, dword [esp + 0x28]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push 0
push 0x435234
mov dword [esp + 0x30], eax
push esi
call edi
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
pop esi
pop ebp
sete al
pop ebx
ret
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x417710
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x417723
xor eax, eax
pop edi
add esp, 8
ret
push esi
push 0x20019
call fcn.00416dd0
mov esi, eax
add esp, 4
test esi, esi
je 0x41778b
mov eax, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.ViewType
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
test eax, eax
jne 0x417785
mov eax, dword [esp + 0x18]
mov dword [edi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop edi
add esp, 8
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop edi
add esp, 8
ret
Function at 0x4177a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
cmp dword [esp + 0x14], 0
push ebp
je 0x4178b8
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x4178b8
push esi
push 0x20019
push 0x80000002
mov dword [esp + 0x10], 0
call fcn.00416ed0
mov esi, eax
add esp, 8
test esi, esi
je 0x417819
mov eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
push eax
push 1
push 0
push str.DefaultSettings
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417812
mov eax, dword [esp + 8]
test eax, eax
jne 0x417821
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
push ecx
push 0
push str.Width
push eax
call edi
test eax, eax
je 0x417862
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x417856
push eax
call edi
push esi
call edi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
mov dx, word [esp + 0x10]
mov eax, dword [esp + 0x20]
mov word [eax], dx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.Height
push ecx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov eax, dword [esp + 0xc]
je 0x41789d
test eax, eax
jmp 0x417851
mov dx, word [esp + 0x10]
push eax
mov word [ebp], dx
call edi
push esi
call edi
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10
ret
xor eax, eax
pop ebp
add esp, 0x10
ret

Function at 0x417920
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [0x43c730]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
mov edi, dword [esp + 0x214]
test edi, edi
jne 0x417958
xor eax, eax
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00422272
add esp, 0x20c
ret
push esi
push 0x20019
mov byte [edi], 0
call fcn.00416dd0
mov esi, eax
add esp, 4
xor eax, eax
test esi, esi
je 0x4179e6
push ebx
push 0x1fe
push eax
lea ecx, [esp + 0x1e]
push ecx
mov dword [esp + 0x18], 1
mov word [esp + 0x20], ax
call fcn.00422290
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push str.ViewSetDtcfgCmd
push esi
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x220]
push 0
push 0
push edx
push edi
push 0xffffffffffffffff
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test ebx, ebx
sete al
pop ebx
mov ecx, dword [esp + 0x210]
pop esi
pop edi
xor ecx, esp
call fcn.00422272
add esp, 0x20c
ret
Function at 0x417a00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x417a13
xor eax, eax
pop edi
add esp, 8
ret
push esi
push 0x20019
call fcn.00416dd0
mov esi, eax
add esp, 4
test esi, esi
je 0x417a7e
mov eax, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.LaunchDMCPL
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
test eax, eax
jne 0x417a78
cmp dword [esp + 0x18], eax
setne al
mov dword [edi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop edi
add esp, 8
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop edi
add esp, 8
ret

Function at 0x417a90
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push 0x20006
call fcn.00416dd0
mov esi, eax
add esp, 4
xor eax, eax
test esi, esi
je 0x417adb
cmp dword [esp + 0xc], eax
push edi
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
setne al
push 0
push str.LaunchDMCPL
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
pop edi
pop esi
pop ecx
ret

Function at 0x417ae0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
push edi
xor edi, edi
xor esi, esi
cmp dword [esp + 0x1c], 1
je 0x417af8
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push str.SOFTWARENVIDIA_CorporationGlobalNVTweak
push 0x80000002
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x417b6f
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edi
push str.NvCplExposeWin2kDualView
push edx
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x417b64
cmp dword [esp + 8], edi
jne 0x417b64
lea esi, [eax + 1]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 8], edi
jne 0x417b7a
mov esi, 1
pop edi
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x417c60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x417cda
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417cda
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], 4
test eax, eax
je 0x417cda
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
lea edx, [esp + 0x10]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x417ccb
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x417cda
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x417e10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x14]
push edi
test ebp, ebp
je 0x417e91
mov edi, dword [esp + 0x14]
test edi, edi
je 0x417e91
push esi
push 0x20019
call fcn.00417cf0
mov esi, eax
add esp, 4
test esi, esi
je 0x417e88
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push edi
push esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x417e88
mov eax, dword [esp + 0x1c]
mov dword [ebp], eax
pop esi
lea eax, [edi + 1]
pop edi
pop ebp
add esp, 8
ret
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 8
ret
pop edi
xor eax, eax
pop ebp
add esp, 8
ret

Function at 0x417ea0
Capabilities:
Set registry value

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
jne 0x417ead
xor eax, eax
pop edi
ret
push esi
push 0x20006
call fcn.00417cf0
mov esi, eax
add esp, 4
test esi, esi
jne 0x417ec4
pop esi
pop edi
ret
mov eax, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
push edi
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop esi
sete al
pop edi
ret
Function at 0x4187a0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 8], 0
je 0x4187f4
push esi
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x4187f3
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*8]
cmp eax, 0xffffffff
je 0x4187d8
push 0
push eax
push edi
call ebp
push eax
call ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + esi*8 + 4]
push 0
push edx
push edi
call ebp
push eax
call ebx
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x4187c3
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0x418be0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareNVIDIA_CorporationGlobal_nView
push 0x80000002
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418c4c
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push eax
push eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push str.TabviewUI
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 4], 0
je 0x418c4c
mov eax, 1
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret

Function at 0x418c60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push edi
xor eax, eax
xor edi, edi
push 0x40
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push edi
push eax
mov dword [esp + 0x14], edi
call fcn.00422290
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
push edi
push 0x8000000
push 1
xor ecx, ecx
push edi
mov word [esp + 0x64], cx
mov ecx, dword [esp + 0x7c]
push edi
push ecx
push edi
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x418d1b
push esi
mov dword [esp + 8], edi
cmp dword [esp + 0x68], edi
jne 0x418d06
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea esp, [esp]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
call ebx
test eax, eax
je 0x418d05
cmp dword [esp + 0xc], 0x103
jne 0x418d00
push 0x64
call esi
jmp 0x418ce0
mov edi, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
pop esi
mov eax, edi
pop edi
add esp, 0x58
ret