Function at 0x40a7d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x5e5620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
inc ebx
mov dword [ebp - 0x424], esi
mov edi, ecx
mov dword [ebp - 0x430], ebx
push ebx
mov dword [ebp - 0x434], edi
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [edi + 4], eax
xor ecx, ecx
xor eax, eax
mov dword [edi + 0x10], ebx
xor ebx, ebx
mov word [edi + 0x18], cx
xor esi, esi
mov dword [edi + 8], 0x3fe
inc eax
mov word [edi + 0x230], si
push dword [edi + 0x654]
mov dword [edi + 0xc], 0x45c
mov dword [edi + 0x14], 0x7bc0
mov dword [edi + 0x220], ebx
mov dword [edi + 0x224], eax
mov dword [edi + 0x22c], ebx
mov dword [edi + 0x438], ebx
mov dword [edi + 0x228], ebx
mov dword [edi + 0x648], eax
mov dword [edi + 0x64c], ebx
mov dword [edi + 0x650], ebx
mov dword [edi + 0x644], ebx
call fcn.00560aa1
mov dword [esp], str._Temp_BGInfo.bmp
lea eax, [edi + 0x43c]
push 0x104
push eax
mov dword [edi + 0x654], ebx
mov dword [edi + 0x658], ebx
call fcn.00552893
mov esi, dword [ebp - 0x424]
add esp, 0xc
test esi, esi
je 0x40a8b9
cmp word [esi], bx
je 0x40acb1
mov ecx, edi
call fcn.0040ad0a
mov ecx, dword [ebp - 0x424]
mov esi, eax
mov dword [ebp - 0x420], esi
test ecx, ecx
je 0x40a8ee
xor eax, eax
inc eax
push eax
push ecx
push esi
call fcn.0040a662
add esp, 0xc
mov dword [ebp - 0x430], eax
test al, al
je 0x40acb1
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [edi + 4]
push eax
push ebx
push ebx
push 0x58b82c
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [edi + 8]
push eax
push ebx
push ebx
push str.Position
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [edi + 0xc]
push eax
push ebx
push ebx
push str.Monitor
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [edi + 0x10]
push eax
push ebx
push ebx
push str.TaskbarAdjust
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [edi + 0x14]
push eax
push ebx
push ebx
push str.TextWidth2
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x208
push eax
lea eax, [edi + 0x18]
push eax
push ebx
push ebx
push str.Wallpaper
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [edi + 0x220]
push eax
push ebx
push ebx
push str.WallpaperPos
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [edi + 0x224]
push eax
push ebx
push ebx
push str.WallpaperUser
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x208
push eax
lea eax, [edi + 0x43c]
push eax
push ebx
push ebx
push str.OutputFile
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x208
push eax
lea eax, [edi + 0x230]
push eax
push ebx
push ebx
push str.Database
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [edi + 0x438]
push eax
push ebx
push ebx
push str.DatabaseMRU
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [edi + 0x228]
push eax
push ebx
push ebx
push str.MaxColorBits
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [edi + 0x644]
push eax
push ebx
push ebx
push str.ErrorNotify
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [edi + 0x64c]
push eax
push ebx
push ebx
push str.LogonScreen
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [edi + 0x648]
push eax
push ebx
push ebx
push str.UserScreen
push dword [ebp - 0x420]
call esi
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 4
push eax
lea eax, [edi + 0x650]
push eax
push ebx
push ebx
push str.TerminalScreen
push dword [ebp - 0x420]
call esi
mov dword [ebp - 0x41c], 4
lea eax, [ebp - 0x41c]
push eax
lea eax, [edi + 0x22c]
push eax
push ebx
push ebx
push str.OpaqueTextBox
push dword [ebp - 0x420]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [edi + 0x658]
push ecx
push ebx
push ebx
push ebx
push 0x58c23c
push dword [ebp - 0x420]
call esi
push dword [edi + 0x654]
call fcn.00560aa1
push dword [edi + 0x658]
call fcn.00560bfe
pop ecx
pop ecx
lea ecx, [edi + 0x658]
mov dword [edi + 0x654], eax
push ecx
push eax
push ebx
push ebx
push 0x58c23c
push dword [ebp - 0x420]
call esi
mov esi, dword [ebp - 0x420]
lea eax, [ebp - 0x428]
push eax
push 0x20019
push ebx
push 0x58c240
push esi
mov dword [ebp - 0x428], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x424], 0x104
push eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x42c], 0x105
push eax
push ebx
push ebx
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x40ac9d
lea eax, [edi + 0x65c]
mov esi, ebx
mov edi, eax
lea eax, [ebp - 0x418]
mov ecx, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040a3ce
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x424], 0x104
push eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x42c], 0x105
push eax
push ebx
push ebx
lea eax, [ebp - 0x424]
inc esi
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x40ac38
mov edi, dword [ebp - 0x434]
mov esi, dword [ebp - 0x420]
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
mov ecx, edi
call fcn.0040a441
push 0x25a4
call fcn.0041913d
mov dword [ebp - 0x434], eax
pop ecx
test eax, eax
je 0x40acd0
push edi
mov ecx, eax
call fcn.0040a150
mov ebx, eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], ebx
push eax
lea ecx, [edi + 0x25a0]
call fcn.0040a1e4
lea ecx, [ebp - 0x424]
call fcn.0040a46b
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x430]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0054d24a
leave
ret 4