Function at 0x5512bc
Capabilities:
Hide graphical window

Disassembly:
push 0xb8
mov eax, 0x5bd47d
call fcn.0056fe77
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.005509e8
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::IsLayered_void_
test al, al
je 0x551362
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.yuntun.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 0x55136d
mov edi, 0x40000080
mov dword [ebp - 0xac], edi
mov ecx, dword [esi + 0x10]
call sym.yuntun.exe_public:_int___thiscall_DuiLib::CScrollBarUI::GetLineSize_void_const
xor ecx, ecx
inc ecx
test cl, al
je 0x551380
or edi, ecx
jmp 0x551387
test al, 2
je 0x55138d
or edi, 2
mov dword [ebp - 0xac], edi
mov esi, dword [esi + 0x10]
mov ecx, esi
call sym.yuntun.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.yuntun.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.yuntun.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.yuntun.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
mov esi, eax
cmp esi, 0xffffffff
je 0x55140b
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x1c]
push esi
mov ecx, eax
call sym.yuntun.exe_public:_struct_HFONT______thiscall_DuiLib::CPaintManagerUI::GetFont_int_
test eax, eax
jne 0x55141c
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.yuntun.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.yuntun.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.yuntun.exe_public:_bool___thiscall_DuiLib::CEditUI::IsPasswordMode_void_const
mov ecx, dword [edi + 0x10]
test al, al
je 0x551468
call sym.yuntun.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.yuntun.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.yuntun.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.yuntun.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.yuntun.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.yuntun.exe_public:_int___thiscall_DuiLib::CEditUI::GetWindowStyls_void_const
or esi, eax
mov ecx, edi
push esi
push 0xfffffffffffffff0
call sym.yuntun.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.yuntun.exe_public:_bool___thiscall_DuiLib::CEditUI::IsAutoSelAll_void_
push dword [edi + 4]
test al, al
je 0x55154d
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push 1
pop ecx
test eax, eax
cmove eax, ecx
push eax
push 0
jmp 0x551555
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.0056fe21
ret 4