Function at 0x47bb00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55699c
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5c403c]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.libUI.module_public_virtual:_int___thiscall_CUIDialog::OnInitDialog_void_]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
push str.wtwMainWindow
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], 0x24
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], 0x47cb60
call dword [0x55a504]
mov dword [esp + 0xb8], 0
push str.Contact_list
push 0x3fc
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x5c6f7c]
call fcn.00504820
or esi, 0xffffffff
mov dword [esp + 0x44], eax
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0
lea ecx, [esp + 0x34]
push ecx
push str.WTW_PanelAdd
push 0
mov dword [esp + 0x48], str.Image_User
mov dword [esp + 0x50], str.WTW_PanelMain
call fcn.004b3e40
mov edx, dword [edi + 0x20]
push str.globals
push edx
mov ecx, 0x5c71c0
call dword [sym.imp.libUI.module_public:_void____thiscall_CUxThemeAeroImpl::OpenThemeData_struct_HWND_____wchar_t_const__]
mov dword [edi + 0xa0], eax
lea eax, [edi + 0x810]
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.00412290
mov ebx, str.VIRTUAL::MAIN
push ebx
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov dword [esp + 0xb8], 1
mov ecx, dword [0x5c6f2c]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
xor ecx, ecx
call fcn.004c5920
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x34
lea edx, [esp + 0x68]
push 0
push edx
call sub.MSVCR90.dll_memset
mov ecx, dword [0x5c6f2c]
add esp, 0xc
lea eax, [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x6c], 0x34
mov dword [esp + 0x94], 0x80057
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], str.VK_CLOSE
call fcn.004c7260
push str.VK_CLOSE
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov dword [esp + 0xb8], 2
push ebx
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov byte [esp + 0xb8], 3
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.004c6b40
mov dword [edi + 0x94], eax
mov byte [esp + 0xb8], 2
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [0x5c6f2c]
lea ecx, [esp + 0x64]
push ecx
push edx
mov dword [esp + 0x94], 0x80009
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], str.VK_TAB_FORWARD
call fcn.004c7260
push str.VK_TAB_FORWARD
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov dword [esp + 0xb8], 4
push ebx
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov byte [esp + 0xb8], 5
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.004c6b40
mov dword [edi + 0x98], eax
mov byte [esp + 0xb8], 4
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [0x5c6f2c]
lea edx, [esp + 0x64]
push edx
push eax
mov dword [esp + 0x94], 0xc0009
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], str.VK_TAB_BACKWARD
call fcn.004c7260
push str.VK_TAB_BACKWARD
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov dword [esp + 0xb8], 6
push ebx
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov byte [esp + 0xb8], 7
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.004c6b40
mov dword [edi + 0x9c], eax
mov byte [esp + 0xb8], 6
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ebx, dword [sym.imp.libUI.module_public:_int___thiscall_CUIDialog::ChangeWindowMessageFilterEx_unsigned_int__int_]
push 1
push 0x8003
mov ecx, edi
call ebx
push 1
push 0x8014
mov ecx, edi
call ebx
push 1
push 0x8011
mov ecx, edi
call ebx
mov ebx, dword [sym.imp.libUI.module_public:_static_int___cdecl_CUIDialog::ChangeWindowMessageFilter_unsigned_int__int_]
push 1
push 0x8003
call ebx
push 1
push 0x8014
call ebx
push 1
push 0x8011
call ebx
add esp, 0x18
push str.WTW_Menu_Main_Opt
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov dword [esp + 0xb8], 8
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x10]
push eax
call fcn.004c6ef0
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.WTW_Menu_Main_View
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov dword [esp + 0xb8], 9
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edi + 0x20]
call fcn.004c6ef0
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.WTW_Menu_MContact
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov dword [esp + 0xb8], 0xa
mov ecx, dword [edi + 0x20]
lea edx, [esp + 0x10]
push edx
call fcn.004c6ef0
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.WTW_Menu_Contact
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov dword [esp + 0xb8], 0xb
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x10]
push eax
call fcn.004c6ef0
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.VIRTUAL::MAIN
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov dword [esp + 0xb8], 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edi + 0x20]
call fcn.004c6ef0
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [edi + 0x20]
push 0
push edx
mov dword [edi + 0x220], edi
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call sub.mfc90u.dll_CMenu::FromHandle
mov ebx, eax
test ebx, ebx
je 0x47c008
lea ecx, [esp + 0x14]
call dword [0x55a6c4]
mov dword [esp + 0xb8], 0xd
push 0x3ea
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::LoadStringW]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x47bff7
mov ecx, dword [ebx + 4]
push 0
push 0
push 0x800
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
push edx
push 0x4700
push 0
push eax
call dword [sym.imp.USER32.dll_AppendMenuW]
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea esi, [edi + 0xbb8]
push esi
mov dword [esp + 0x30], esi
call fcn.004287f0
push 0x55b448
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov dword [esp + 0xb8], 0xe
lea ebx, [esp + 0x10]
call fcn.00426e90
or ebx, 0xffffffff
mov dword [esp + 0xb8], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0
mov eax, esi
call fcn.00428210
call fcn.00428300
push str.Image_IconMain32
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov dword [esp + 0xb8], 0xf
lea eax, [esp + 0x10]
call fcn.004b9cb0
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push ecx
call esi
mov dword [esp + 0xb8], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.Image_IconMain16
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov dword [esp + 0xb8], 0x10
lea eax, [esp + 0x10]
call fcn.004b9cb0
mov edx, dword [edi + 0x20]
push eax
push 0
push 0x80
push edx
call esi
mov dword [esp + 0xb8], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
cmp dword [0x5c6fcc], eax
je 0x47c0f4
lea eax, [ebx + 9]
mov ecx, dword [0x5c6fc8]
test ecx, ecx
je 0x47c101
or eax, 1
cmp ecx, 2
jne 0x47c10a
or eax, ecx
jmp 0x47c114
cmp ecx, 3
jne 0x47c114
or eax, 0x800
cmp dword [0x5c6fdc], 0
je 0x47c120
or eax, 4
cmp dword [0x5c6fd0], 0
je 0x47c12e
or eax, 0x80
cmp dword [0x5c6fd4], 0
je 0x47c13c
or eax, 0x1000
cmp dword [0x5c6fd8], 0
je 0x47c14a
or eax, 0x100
cmp dword [0x5c6fe0], 0
je 0x47c158
or eax, 0x200
mov ecx, dword [0x5c6fe4]
test ecx, ecx
je 0x47c167
or eax, 0x400
mov dword [edi + 0xb80], eax
mov eax, dword [esp + 0x20]
push eax
mov dword [edi + 0x91c], ecx
call fcn.004153a0
cmp dword [0x5c6fe8], 0
jne 0x47c193
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
push 0
mov ecx, edi
call eax
jmp 0x47c1e2
push str.WTW_Menu_Main
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov dword [esp + 0xb8], 0x11
mov esi, dword [edi]
mov edi, dword [0x5c6f2c]
lea ecx, [esp + 0x10]
push ecx
call fcn.004c6a90
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x78]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_DrawMenuBar]
mov ebx, dword [0x5c7008]
lea ecx, [esp + 0x14]
push ecx
push 1
push str.SYS_GlobalHK_WinW
call fcn.00514350
cmp dword [esp + 0x14], 0
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
je 0x47c257
push str.WTW_HK_Recall
call esi
mov word [edi + 0x78], ax
test ax, ax
je 0x47c257
push str.WTW_HK_Recall2
call esi
mov word [edi + 0x7e], ax
test ax, ax
je 0x47c257
movzx edx, word [edi + 0x78]
mov eax, dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_RegisterHotKey]
push 0x57
push 8
push edx
push eax
call ebx
movzx ecx, word [edi + 0x7e]
mov edx, dword [edi + 0x20]
push 0xc0
push 8
push ecx
push edx
call ebx
mov ebx, dword [0x5c7008]
lea eax, [esp + 0x14]
push eax
push 1
push str.SYS_GlobalHK_WinQ
call fcn.00514350
cmp dword [esp + 0x14], 0
je 0x47c2bf
push str.WTW_HK_Silent
call esi
mov word [edi + 0x7a], ax
test ax, ax
je 0x47c2bf
push str.WTW_HK_Silent2
call esi
mov word [edi + 0x80], ax
test ax, ax
je 0x47c2bf
movzx ecx, word [edi + 0x7a]
mov edx, dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_RegisterHotKey]
push 0x51
push 8
push ecx
push edx
call ebx
movzx eax, word [edi + 0x80]
mov ecx, dword [edi + 0x20]
push 0x41
push 8
push eax
push ecx
call ebx
mov ebx, dword [0x5c7008]
lea edx, [esp + 0x14]
push edx
push 1
push str.SYS_GlobalHK_WinS
call fcn.00514350
cmp dword [esp + 0x14], 0
je 0x47c2ff
push str.WTW_HK_Status
call esi
mov word [edi + 0x7c], ax
test ax, ax
je 0x47c2ff
mov ecx, dword [edi + 0x20]
push 0x53
movzx eax, ax
push 8
push eax
push ecx
call dword [sym.imp.USER32.dll_RegisterHotKey]
mov ebx, dword [0x5c7008]
lea edx, [esp + 0x14]
push edx
push 0
push str.IF_BV_NoTaskbar
call fcn.00514350
cmp dword [esp + 0x14], 0
je 0x47c330
push 0
push 0x80
push 0x40000
mov ecx, edi
call sub.mfc90u.dll_CWnd::ModifyStyleEx
push 0x33
push 0
push 0
push 0
push 0
push 0
mov ecx, edi
call sub.mfc90u.dll_CWnd::SetWindowPos
mov ebx, dword [0x5c7008]
lea eax, [esp + 0x28]
push eax
push 0x32
push 0x575940
call fcn.00514350
mov ebx, dword [0x5c7008]
lea ecx, [esp + 0x18]
push ecx
push 0x32
push str.MW_Pos_Y
call fcn.00514350
mov ebx, dword [0x5c7008]
lea edx, [esp + 0x1c]
push edx
push 0x12c
push str.MW_Pos_W
call fcn.00514350
mov ebx, dword [0x5c7008]
lea eax, [esp + 0x10]
push eax
push 0x1f4
push str.MW_Pos_H
call fcn.00514350
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x1c]
push 1
add ecx, esi
sub eax, edx
push eax
sub ecx, esi
push ecx
push edx
push esi
mov ecx, edi
call sub.mfc90u.dll_CWnd::MoveWindow
mov ecx, edi
call dword [sym.imp.libUI.module_public:_void___thiscall_CUIDialog::fixMultiMonitorPos_void_]
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x54]
push ecx
push edx
push 0
mov ecx, edi
call fcn.00478620
push 0x55ffc8
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov dword [esp + 0xb8], 0x12
lea eax, [esp + 0x18]
push eax
call fcn.004b9ae0
or esi, 0xffffffff
mov dword [edi + 0xb88], eax
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.Image_Background
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov dword [esp + 0xb8], 0x13
lea ecx, [esp + 0x18]
push ecx
call fcn.004b9ae0
mov ecx, eax
mov eax, dword [esp + 0x20]
call fcn.004123f0
mov dword [esp + 0xb8], esi
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0
lea esi, [edi + 0x224]
push edi
mov ecx, esi
call dword [sym.imp.libUI.module_public:_int___thiscall_CPPToolTip::Create_class_CWnd___int_]
push 1
mov ecx, esi
call dword [sym.imp.libUI.module_public:_void___thiscall_CPPToolTip::SetNotify_int_]
push 1
mov ecx, esi
call dword [sym.imp.libUI.module_public:_void___thiscall_CPPToolTip::SetBehaviour_unsigned_long_int_]
mov eax, 0x11
call fcn.00500480
mov edx, dword [esp + 0x20]
mov ebx, dword [sym.imp.libUI.module_public:_void___thiscall_CPPToolTip::AddTool_class_CWnd___wchar_t_const___struct_tagRECT_const___unsigned_long_int_]
push 0x423
push 0
push 0x55ae9c
push edx
mov ecx, esi
call ebx
mov eax, dword [esp + 0x2c]
push 0x1001
push 0
push 0x55ae9c
push eax
mov ecx, esi
call ebx
lea ecx, [esp + 0x24]
call dword [0x55a6c4]
mov dword [esp + 0xb8], 0x14
mov ebx, dword [0x5c7008]
lea ecx, [esp + 0x24]
push ecx
push str._name____WTW
push str.IF_MainWindowTitle
call fcn.00513fa0
lea esi, [esp + 0x24]
call fcn.005237e0
mov edx, dword [esp + 0x24]
push edx
mov ecx, edi
call sub.mfc90u.dll_CWnd::SetWindowTextW
push 0x40
lea eax, [esp + 0x68]
push 0
push eax
mov dword [edi + 0x220], edi
call sub.MSVCR90.dll_memset
mov ebx, dword [0x5c7008]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0
push str.IF_HideTray
mov dword [esp + 0x70], 0x40
mov dword [esp + 0x74], 0x450000f0
mov dword [esp + 0x7c], 0x561ae8
mov dword [esp + 0x8c], str.WTW_Icon_unavailable
mov dword [esp + 0x78], str.WTW_Tray
mov dword [esp + 0x9c], edi
mov dword [esp + 0x90], 0x47cf00
call fcn.00514350
cmp dword [esp + 0x10], 0
jne 0x47c59f
lea ecx, [edi + 0x1f8]
lea edx, [esp + 0x64]
call fcn.00506cc0
mov ebx, dword [0x5c7008]
lea edx, [esp + 0x10]
push edx
push 0
push str.UI_Trans_EnableOnMain
call fcn.00514350
cmp dword [esp + 0x10], 0
je 0x47c5db
mov eax, dword [edi + 0x20]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [edi + 0x20]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ebx, dword [0x5c7008]
lea edx, [esp + 0x14]
push edx
push 0
push str.IF_BV_AlwaysOnTop
call fcn.00514350
cmp dword [esp + 0x14], 0
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
je 0x47c611
mov eax, dword [edi + 0x20]
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call esi
mov ebx, dword [0x5c7008]
lea ecx, [esp + 0x14]
push ecx
push 0
push str.UI_BottomMode
call fcn.00514350
cmp dword [esp + 0x14], 0
je 0x47c6cc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edx, dword [edi + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_SetParent]
push 0
push 0x50000000
push 0xfffffff
mov ecx, edi
call sub.mfc90u.dll_CWnd::ModifyStyle
push 0
push 0x90080
push 0xfffffff
mov ecx, edi
call sub.mfc90u.dll_CWnd::ModifyStyleEx
mov eax, dword [edi + 0x20]
push 0x33
push 0
push 0
push 0
push 0
push 1
push eax
call esi
mov ebx, dword [0x5c7008]
lea ecx, [esp + 0x1c]
push ecx
push 0xc8
push str.UI_Transparency
call fcn.00514350
mov ebx, dword [0x5c7008]
lea edx, [esp + 0x28]
push edx
push 0
push str.UI_ColorKey
call fcn.00514350
mov ecx, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
je 0x47c6bc
mov eax, 2
mov edx, dword [esp + 0x28]
test edx, edx
je 0x47c6c7
or eax, 1
push eax
push ecx
push edx
jmp 0x47c6ef
mov ebx, dword [0x5c7008]
lea ecx, [esp + 0x1c]
push ecx
push 0xff
push str.UI_Trans_Main
call fcn.00514350
mov edx, dword [esp + 0x1c]
push 2
push edx
push 0
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov esi, dword [esp + 0x20]
push esi
call fcn.00420d90
mov ecx, dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x2ee
push 0x1e
push ecx
mov dword [edi + 0x84], 0
call ebx
mov edx, dword [edi + 0x20]
push 0
push 0xea60
push 0x1f
push edx
call ebx
push esi
lea ecx, [edi + 0x8cc]
call sub.mfc90u.dll_COleDropTarget::Register
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47c75d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [edi + 0x20]
jne 0x47c75d
mov ecx, esi
call sub.mfc90u.dll_CWnd::SetFocus
mov dword [esp + 0xb8], 0xffffffff
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00532776
mov esp, ebp
pop ebp
ret