Function at 0x404920
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432475
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x3a28
call fcn.0042cd30
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], esi
call sub.MFC42.DLL_CWinApp::Enable3dControls
mov dword [ebp - 4], 0
call fcn.0041c8f0
mov edi, eax
mov dword [ebp - 0x1c], edi
call fcn.0041bf90
mov dword [ebp - 0x18], eax
call fcn.0042aa90
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040cea0
add esp, 4
mov eax, dword [eax]
mov byte [ebp - 4], 1
push eax
call fcn.0040e550
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
push ecx
call fcn.0040cdc0
add esp, 4
mov edx, dword [edi]
push 0x447288
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call dword [edx + 8]
lea ecx, [ebp - 0x14]
mov ebx, eax
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x43956c]
mov edx, dword [0x439568]
mov ecx, dword [0x439564]
or eax, edx
or eax, ecx
mov ecx, eax
and ecx, ebx
cmp ecx, eax
je 0x404a72
mov edi, 0x446fe0
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
mov dl, byte [ebp - 0x21]
mov dword [ebp - 0x40], esi
not ecx
dec ecx
mov byte [ebp - 0x44], dl
push ecx
push 0x446fe0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [ebp - 0x14]
mov bl, 3
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
mov dword [ebp - 0x14], 0x446fe0
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
mov cl, byte [ebp - 0x44]
push esi
mov byte [ebp - 0x54], cl
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [ebp - 0x44]
mov eax, dword [edx]
push eax
push esi
push ecx
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea edx, [ebp - 0x60]
push 0x43bd40
push edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x60], vtable.SystemError.0
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x14]
push eax
call fcn.0040ce30
add esp, 4
mov edx, dword [edi]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call dword [edx + 0x10]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x14]
push eax
call fcn.0040cea0
add esp, 4
mov edx, dword [edi]
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call dword [edx + 0xc]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x14]
push eax
call fcn.0040cdc0
add esp, 4
mov ecx, dword [0x447284]
mov eax, dword [eax]
mov edi, dword [ebp - 0x18]
push ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0041c0c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x18]
push edx
call fcn.0040cea0
add esp, 4
mov eax, dword [eax]
mov ecx, edi
push eax
mov byte [ebp - 4], 8
call fcn.0041c280
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
push 0x4470d4
lea eax, [ebp - 0x28]
push str.Alert.
push eax
call sub.MFC42.DLL_operator_3
mov edi, dword [eax]
mov byte [ebp - 4], 9
call fcn.0041bf90
lea ecx, [ebp - 0x30]
push edi
push ecx
mov ecx, eax
call fcn.0041c360
mov ebx, dword [eax]
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 0xa
call fcn.0040c880
add esp, 4
mov edi, dword [eax]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push eax
call fcn.0040cea0
add esp, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
push ebx
push edi
push eax
mov byte [ebp - 4], 0xc
call fcn.0042aaf0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x7c]
or edi, 0xffffffff
push ecx
mov dword [ebp - 4], edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [ebp - 0x14]
push str.PnlFileManager
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0x1c]
push 0
lea eax, [ebp - 0x14]
push 7
mov edx, dword [ecx]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xe
push eax
call dword [edx + 0x20]
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [esi + 0x7c], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x404ccb
mov edi, dword [esi]
push 0
push 0
call fcn.004054b0
push eax
mov ecx, esi
call dword [edi + 0xa4]
lea eax, [esi + 0xcc]
lea ebx, [esi + 0xc8]
lea edi, [esi + 0xc4]
push eax
push ebx
push edi
mov ecx, esi
mov dword [ebp - 4], 0xf
call fcn.00404fb0
cmp dword [edi], 0
je 0x404e08
cmp dword [ebx], 0
je 0x404e08
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x404e08
or edi, 0xffffffff
mov dword [ebp - 4], edi
call fcn.0040c7a0
mov ecx, eax
mov dword [ebp - 4], 0x11
call fcn.0040dca0
jmp 0x404c8b
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [ebp - 4], edi
call ebx
cmp eax, dword [0x438514]
jl 0x404de7
push 1
call ebx
cmp eax, dword [0x438518]
jl 0x404de7
push 0x7d1
push 0
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
test eax, eax
mov dword [esi + 0xd0], eax
jne 0x404cef
push 0x4470e8
call fcn.0040be40
mov ecx, eax
call fcn.0040bea0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040ca50
mov eax, dword [eax]
lea edx, [ebp - 0x20]
push eax
push edx
mov dword [ebp - 4], 0x13
call fcn.0041bc60
add esp, 0xc
mov bl, 0x15
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x20]
push 0x44725c
lea ecx, [ebp - 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator_1
push eax
mov ecx, 0x44769c
mov byte [ebp - 4], 0x16
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x20]
push 0x447258
lea eax, [ebp - 0x1c]
push edx
push eax
call sub.MFC42.DLL_operator_1
push eax
mov ecx, 0x447694
mov byte [ebp - 4], 0x17
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
call fcn.00429f90
mov ecx, eax
call fcn.0042a020
test al, al
jne 0x404d96
push 0x4470e8
call fcn.0040be40
mov ecx, eax
call fcn.0040bea0
jmp 0x404dc9
push 0
lea ecx, [ebp - 0x3a38]
call fcn.00405aa0
lea ecx, [ebp - 0x3a38]
mov byte [ebp - 4], 0x18
mov dword [esi + 0x20], ecx
lea ecx, [ebp - 0x3a38]
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [ebp - 0x3a38]
mov byte [ebp - 4], bl
call fcn.00405f10
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4470ec
jmp 0x404cd0
push esi
push 0x404660
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret