Function at 0x4fd260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63436b
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov dword [edi + 0x10], eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004fc860
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CPaintManagerUI::IsBackgroundTransparent_void_
test al, al
je 0x4fd305
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
mov esi, 0x90000080
push eax
movdqu xmmword [ebp - 0x20], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call sym.WnPicViewer.exe_public:_wchar_t_const____thiscall_UiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0xb4], eax
add dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0xb0], eax
add dword [ebp - 0xa8], eax
jmp 0x4fd30a
mov esi, 0x40000080
mov ecx, dword [edi + 0x10]
call sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CEditUI::IsPasswordMode_void_const
test al, al
je 0x4fd319
or esi, 0x20
movdqu xmm0, xmmword [ebp - 0xb4]
mov ecx, dword [edi + 0x10]
push 0
push 0
sub esp, 0x10
mov eax, esp
push 0
movdqu xmmword [eax], xmm0
mov eax, dword [ecx]
push esi
push 0
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call sym.WnPicViewer.exe_public:_wchar_t_const____thiscall_UiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov ecx, edi
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__bool__struct_HMENU____
mov esi, dword [edi + 0x10]
mov ecx, esi
call sym.WnPicViewer.exe_public:_int___thiscall_UiLib::CLabelUI::GetFont_void_const
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call sym.WnPicViewer.exe_public:_struct_UiLib::tagTFontInfo____thiscall_UiLib::CPaintManagerUI::GetFontInfo_int_
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
push 0
call sym.WnPicViewer.exe_public:_int___thiscall_UiLib::CEditUI::GetMaxChar_void_
push eax
push 0xc5
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
call sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CEditUI::IsPasswordMode_void_const
test al, al
je 0x4fd3b1
mov ecx, dword [edi + 0x10]
push 0
call sym.WnPicViewer.exe_public:_wchar_t___thiscall_UiLib::CEditUI::GetPasswordChar_void_const
movzx eax, ax
push eax
push 0xcc
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call sym.WnPicViewer.exe_public:_wchar_t_const____thiscall_UiLib::CDuiString::operator_wchar_t_const__void_const
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::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.WnPicViewer.exe_public:_long_int___thiscall_UiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd0]
call eax
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]
push 0
call sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CEditUI::IsReadOnly_void_const
xor ecx, ecx
cmp al, 1
sete cl
push ecx
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 - 0xb8]
mov esi, eax
call sym.WnPicViewer.exe_public:_int___thiscall_UiLib::CEditUI::GetWindowStyls_void_const
or esi, eax
mov ecx, edi
push esi
push 0xfffffffffffffff0
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::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 byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 4