Function at 0x40b090
Capabilities:
Enumerate gui resources
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x427ac9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x448
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x460], ebx
call sub.MFC42.DLL_CString::CString_1
push 0x104
push 0x104
lea ecx, [esp + 0x18]
mov byte [esp + 0x468], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
or edi, 0xffffffff
lea ecx, [esp + 0x10]
push edi
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.Downloaded_Program_Files
lea ecx, [esp + 0x14]
call fcn.00426a0a
lea eax, [esp + 0x10]
push 0x432a78
lea ecx, [esp + 0x30]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x464], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x460], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x40b247
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x40b240
call eax
test eax, eax
jl 0x40b240
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::CFileFind
push 0x104
push 0x104
lea ecx, [esp + 0x18]
mov byte [esp + 0x468], 3
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea eax, [esp + 0x10]
push 0x43286c
lea ecx, [esp + 0x30]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x464], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x460], 3
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
push ebx
push edx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x40b22f
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x30]
mov byte [esp + 0x460], 1
call fcn.00426a64
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x460], edi
call sub.MFC42.DLL_CString::CString
mov eax, edi
jmp 0x40b42f
lea ecx, [esp + 0x30]
mov byte [esp + 0x460], 1
call fcn.00426a64
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, 0x42acb8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x18]
mov byte [esp + 0x460], 5
push eax
push 0x40aef0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x20], ebx
jne 0x40b2bf
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x460], 6
cmp eax, ebx
je 0x40b29b
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0x42ac90
mov byte [esp + 0x460], bl
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x460], edi
jmp 0x40b421
push ebx
lea ecx, [esp + 0x50]
call fcn.00417520
lea ecx, [esp + 0x4c]
mov byte [esp + 0x460], 7
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 7
jne 0x40b33f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x460], 5
call fcn.00417650
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x460], 8
cmp eax, ebx
je 0x40b30d
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0x42ac90
mov byte [esp + 0x460], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x460], edi
call sub.MFC42.DLL_CString::CString
mov eax, 2
jmp 0x40b42f
cmp eax, 2
jne 0x40b3a1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x460], 5
call fcn.00417650
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x460], 9
cmp eax, ebx
je 0x40b372
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0x42ac90
mov byte [esp + 0x460], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x460], edi
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40b42f
mov edi, dword [esp + 0x20]
xor esi, esi
cmp edi, ebx
jle 0x40b3d0
mov ebp, dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x1c]
push ebx
push 0xf060
push 0x112
mov eax, dword [ecx + esi*4]
push eax
call ebp
inc esi
cmp esi, edi
jl 0x40b3b1
mov ebp, 0x42acb8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x460], 5
call fcn.00417650
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x460], 0xa
cmp eax, ebx
je 0x40b3fe
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0x42ac90
mov byte [esp + 0x460], bl
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x460], 0xffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x458]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x454
ret