Function at 0x474f77
Capabilities:
Hide graphical window

Disassembly:
push 0xb8
mov eax, 0x4e3cff
call fcn.004be65b
mov esi, ecx
mov dword [ebp - 0xc0], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc4], eax
mov dword [esi + 0x10], eax
lea eax, [ebp - 0xbc]
push eax
call fcn.004746f1
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.360huabaosetup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::IsLayered_void_
test al, al
je 0x47501d
mov ecx, dword [esi + 0x10]
lea edi, [ebp - 0x20]
xor eax, eax
mov edx, 0x90000080
stosd dword es:[edi], eax
mov dword [ebp - 0xac], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.360huabaosetup.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
mov edi, 0x90000080
add dword [ebp - 0xbc], eax
add dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb8]
dec eax
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb0]
dec eax
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb0], eax
jmp 0x475028
mov edi, 0x40000080
mov dword [ebp - 0xac], edi
mov ecx, dword [esi + 0x10]
call sym.360huabaosetup.exe_public:_int___thiscall_DuiLib::CScrollBarUI::GetLineSize_void_const
xor ecx, ecx
inc ecx
test cl, al
je 0x47503b
or edi, ecx
jmp 0x475042
test al, 2
je 0x475048
or edi, 2
mov dword [ebp - 0xac], edi
mov esi, dword [esi + 0x10]
mov ecx, esi
call sym.360huabaosetup.exe_public:_bool___thiscall_DuiLib::CEditUI::IsPasswordMode_void_const
mov edx, dword [esi]
mov ecx, esi
mov byte [ebp - 0xa5], al
call dword [edx + 0x1c]
mov ecx, eax
call sym.360huabaosetup.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push 0
sub esp, 0x10
lea esi, [ebp - 0xbc]
mov edi, esp
mov ecx, eax
mov eax, dword [ebp - 0xac]
or eax, 0x20
cmp byte [ebp - 0xa5], 0
push 0
cmove eax, dword [ebp - 0xac]
movsd dword es:[edi], dword [esi]
push eax
push 0
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc0]
mov ecx, edi
call sym.360huabaosetup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov ecx, dword [edi + 0x10]
call sym.360huabaosetup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
mov esi, eax
cmp esi, 0xffffffff
je 0x4750c6
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x1c]
push esi
mov ecx, eax
call sym.360huabaosetup.exe_public:_struct_HFONT______thiscall_DuiLib::CPaintManagerUI::GetFont_int_
test eax, eax
jne 0x4750d7
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.360huabaosetup.exe_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetDefaultFontInfo_void_
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
call sym.360huabaosetup.exe_public:_int___thiscall_DuiLib::CColorPaletteUI::GetBarHeight_void_const
push 0
push eax
push 0xc5
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
call sym.360huabaosetup.exe_public:_bool___thiscall_DuiLib::CEditUI::IsPasswordMode_void_const
mov ecx, dword [edi + 0x10]
test al, al
je 0x475123
call sym.360huabaosetup.exe_public:_wchar_t___thiscall_DuiLib::CEditUI::GetPasswordChar_void_const
push 0
movzx eax, ax
push eax
push 0xcc
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [eax + 0x28]
call eax
and dword [ebp - 4], 0
mov ecx, eax
call sym.360huabaosetup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
push 0
push 0
push 0xb9
push dword [edi + 4]
call esi
push 0
push 3
push 0xd3
mov ecx, edi
call sym.360huabaosetup.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x118]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [edi + 0x10]
call sym.360huabaosetup.exe_public:_bool___thiscall_DuiLib::CEditUI::IsReadOnly_void_const
push 0
movzx eax, al
push eax
push 0xcf
push dword [edi + 4]
call esi
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp - 0xc4]
mov esi, eax
call sym.360huabaosetup.exe_public:_int___thiscall_DuiLib::CEditUI::GetWindowStyls_void_const
or esi, eax
mov ecx, edi
push esi
push 0xfffffffffffffff0
call sym.360huabaosetup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [edi + 0x10]
call sym.360huabaosetup.exe_public:_bool___thiscall_DuiLib::CEditUI::IsAutoSelAll_void_
push dword [edi + 4]
test al, al
je 0x475208
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push 1
pop ecx
test eax, eax
cmove eax, ecx
push eax
push 0
jmp 0x475210
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
inc eax
mov byte [edi + 0x18], al
call fcn.004be616
ret 4