Function at 0x4efe40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x714]
mov dword [ebp - 0x68], ebx
mov dword [ebx + 0x80c], edi
mov dword [ebx + 0x810], 0
mov eax, dword [ecx]
mov dword [ebp - 0x60], edi
call dword [eax + 4]
mov ecx, dword [ebx + 0x80c]
mov dword [ebx + 0x814], eax
lea eax, [ebp - 0x5c]
push eax
call sym.WnPicViewer.exe_public:_struct_tagSIZE___thiscall_UiLib::CComboUI::GetDropBoxSize_void_
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x58]
movdqu xmm0, xmmword [eax]
mov eax, dword [ebp - 0x5c]
movdqu xmmword [ebp - 0x14], xmm0
mov edx, dword [ebp - 0x14]
movdqu xmmword [ebp - 0x78], xmm0
psrldq xmm0, 0xc
movd esi, xmm0
add ecx, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], ecx
test eax, eax
jle 0x4efecb
add eax, edx
mov dword [ebp - 0xc], eax
jmp 0x4efece
mov eax, dword [ebp - 0xc]
add edi, 0x6e0
sub eax, edx
sub ecx, esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], ecx
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x50], esi
mov eax, dword [edi]
xor ebx, ebx
call dword [eax + 0xc]
test eax, eax
jle 0x4eff37
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax]
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0xc4]
call edx
test al, al
je 0x4eff28
push dword [ebp - 0x64]
mov edx, dword [esi]
lea eax, [ebp - 0x80]
push dword [ebp - 0x54]
mov ecx, esi
push eax
call dword [edx + 0x144]
mov esi, dword [ebp - 0x50]
add esi, dword [ebp - 0x7c]
mov dword [ebp - 0x50], esi
jmp 0x4eff2b
mov esi, dword [ebp - 0x50]
mov eax, dword [edi]
mov ecx, edi
inc ebx
call dword [eax + 0xc]
cmp ebx, eax
jl 0x4efef0
mov ecx, dword [ebp - 0x58]
add esi, 4
mov eax, dword [ebp - 0x10]
cmp esi, ecx
push 2
cmovl ecx, esi
mov esi, dword [ebp - 0x60]
add eax, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 8], eax
mov ecx, esi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi]
push 0
call dword [eax + 0x1c]
mov ecx, eax
call sym.WnPicViewer.exe_public:_wchar_t_const____thiscall_UiLib::CDuiString::operator_wchar_t_const__void_const
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
push eax
call edi
mov ebx, dword [ebp - 0x68]
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
mov ecx, ebx
push eax
movdqu xmmword [ebp - 0x3c], xmm0
push 1
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x3c], 0x28
movq qword [ebp - 0x1c], xmm0
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x4c]
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CDuiRect::constructor_struct_tagRECT_const__
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x40]
jle 0x4efff9
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x4effd2
add eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x74]
mov eax, ecx
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push 2
push eax
mov eax, dword [esi]
mov dword [ebp - 8], ecx
mov ecx, esi
push 0
call dword [eax + 0x1c]
mov ecx, eax
call sym.WnPicViewer.exe_public:_wchar_t_const____thiscall_UiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call edi
movdqu xmm0, xmmword [ebp - 0x14]
push 0
push 0
sub esp, 0x10
mov ecx, esi
mov eax, esp
push 0x80
movdqu xmmword [eax], xmm0
mov eax, dword [esi]
push SysReAllocString
push 0
call dword [eax + 0x1c]
mov ecx, eax
call sym.WnPicViewer.exe_public:_wchar_t_const____thiscall_UiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov ecx, ebx
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 [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x4f004c
lea ecx, [ecx]
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x4f0040
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 4