Function at 0x4ae1c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0b4b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4f92a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], ecx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
lea edx, [ebp - 0xbc]
push edx
mov ecx, dword [ebp - 0xc0]
call fcn.004ae540
mov dword [ebp - 0xa8], 0x40000080
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x10]
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CEditUI::IsPasswordMode_void_const
movzx ecx, al
test ecx, ecx
je 0x4ae23d
mov edx, dword [ebp - 0xa8]
or edx, 0x20
mov dword [ebp - 0xa8], edx
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0xbc]
mov dword [eax], ecx
mov edx, dword [ebp - 0xb8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xb4]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xb0]
mov dword [eax + 0xc], edx
push 0
mov eax, dword [ebp - 0xa8]
push eax
push 0
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x10]
mov edx, dword [edx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov ecx, dword [ebp - 0xc0]
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov dword [ebp - 0xac], 0
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx + 0x10]
call sym.Setup.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xffffffff
je 0x4ae2f4
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x10]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call sym.Setup.exe_public:_struct_HFONT______thiscall_DuiLib::CPaintManagerUI::GetFont_int_
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x4ae325
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x10]
mov edx, dword [edx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call sym.Setup.exe_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetDefaultFontInfo_void_
mov ecx, dword [eax]
mov dword [ebp - 0xac], ecx
push 1
mov edx, dword [ebp - 0xac]
push edx
push 0x30
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx + 0x10]
call sym.Setup.exe_public:_unsigned_long_int___thiscall_DuiLib::CButtonUI::GetHotBkColor_void_const
push eax
push 0xc5
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx + 0x10]
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CEditUI::IsPasswordMode_void_const
movzx eax, al
test eax, eax
je 0x4ae3a4
push 0
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx + 0x10]
call sym.Setup.exe_public:_wchar_t___thiscall_DuiLib::CEditUI::GetPasswordChar_void_const
movzx edx, ax
push edx
push 0xcc
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x10]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc8]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
push 0
push 0
push 0xb9
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 3
push 0xd3
mov ecx, dword [ebp - 0xc0]
call sym.Setup.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x10]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0xd4]
call eax
movzx ecx, al
sub ecx, 1
neg ecx
sbb ecx, ecx
add ecx, 1
push ecx
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx + 0x10]
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CEditUI::IsReadOnly_void_const
movzx edx, al
sub edx, 1
neg edx
sbb edx, edx
add edx, 1
push edx
push 0xcf
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xfffffffffffffff0
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp + 8]
call sym.Setup.exe_public:_int___thiscall_DuiLib::CEditUI::GetWindowStyls_void_const
or eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
push ecx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0xc0]
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e257
mov esp, ebp
pop ebp
ret 4