Function at 0x4025a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x518
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x120]
xor esi, esi
push str.SOFTWARENVIDIA_CorporationGlobal
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x120]
push 0x4211a8
push ecx
call edi
lea edx, [esp + 0x120]
push str.NVTweak
push edx
call edi
lea eax, [esp + 0x28]
lea ecx, [esp + 0x120]
push eax
push GetAce
push esi
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402644
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x20]
lea eax, [esp + 0x24]
push edx
push eax
push esi
push esi
push str.NvCplDualviewMoveDesktopIcons
push ecx
mov dword [esp + 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x402639
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x24], 1
jne 0x402824
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x322]
mov word [esp + 0x320], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x36
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x320]
push eax
call fcn.00401c40
add esp, 4
lea ecx, [esp + 0x44]
lea edx, [esp + 0x320]
push ecx
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
xor eax, eax
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf4]
mov ebx, dword [sym.imp.USER32.dll_IsRectEmpty]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x20], edx
call ebx
test eax, eax
jne 0x402700
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00402370
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], edx
push esi
push str.Progman
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], edx
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
push esi
push str.SHELLDLL_DefView
push esi
push eax
call edi
push esi
push str.SysListView32
push esi
push eax
call edi
mov edi, eax
lea eax, [esp + 0x10]
push esi
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp edi, esi
je 0x402824
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
jne 0x402824
push esi
push esi
push 0x1004
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x26
mov ebp, eax
call ebx
push 0x27
mov dword [esp + 0x24], eax
call ebx
mov ebx, eax
mov ecx, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
sar edx, 1
sub eax, edx
sub eax, ecx
cdq
idiv ebx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp ebp, esi
jle 0x402824
mov eax, 0x55555556
imul dword [esp + 0x20]
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x2c], edx
mov eax, esi
mov ecx, dword [esp + 0x34]
cdq
idiv dword [esp + 0x30]
imul eax, dword [esp + 0x20]
imul edx, ebx
sub eax, ecx
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esp + 0x38]
sub edx, ecx
mov ecx, dword [esp + 0x14]
add edx, ecx
and eax, 0xffff
and edx, 0xffff
shl edx, 0x10
or edx, eax
push edx
push esi
push 0x100f
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
inc esi
cmp esi, ebp
jl 0x4027d4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x518
ret