Function at 0x40d460
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x304
push ebx
push esi
push edi
call fcn.004318b0
test eax, eax
je 0x40d503
push 0
lea eax, [esp + 0x10]
push str.CUninstall_::_CloseControlPanel_n
push eax
call fcn.0044cb10
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x10c]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
push str.SHELL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x40d561
lea ecx, [esp + 0x20c]
push 0x104
push ecx
push 0x1041
push ebx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x40d558
mov edi, str.Control_Panel
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40d58a
mov edi, str.Control_Panel
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004318b0
test eax, eax
je 0x40d5be
lea ecx, [esp + 0x20c]
lea edx, [esp + 0xc]
push ecx
push str.Control_Panel_Title___s_n
push edx
call fcn.0044cb10
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
lea ecx, [esp + 0x20c]
push ecx
push 0x40d3c0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004318b0
test eax, eax
je 0x40d676
push 0
lea edx, [esp + 0x10]
push str.CUninstall_::_CloseControlPanel_n
push edx
call fcn.0044cb10
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
pop edi
pop esi
pop ebx
add esp, 0x304
ret