Function at 0x1011fa10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x1023c014]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov ebx, ecx
push edi
mov dword [esp + 0x10], edi
call sym.HncOfficeFramework.dll_struct_HWND______cdecl_GetPopupWnd_struct_HWND____
add esp, 4
mov dword [esp + 0x18], eax
cmp dword [ebx + 4], 0
jne 0x1011faa5
mov eax, dword [ebx + 0x24]
xorps xmm0, xmm0
movups xmmword [esp + 0x1c], xmm0
test eax, eax
jne 0x1011fb2a
call fcn.10021c90
cmp dword [eax + 0x30], 0
jne 0x1011fa6d
call fcn.10021c90
mov dword [eax + 0x30], 0
call fcn.10021c90
push dword [esp + 0xc]
lea ecx, [ebx + 0x20]
push ecx
push eax
call fcn.1002bc20
add esp, 8
movzx eax, ax
mov ecx, ebx
push eax
push 0
push 0x80
push SysReAllocString
push str.HncPopupMenuWindow
lea eax, [esp + 0x34]
push eax
push edi
call fcn.1002bb30
mov eax, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x1011fae0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1011fae0
mov ecx, dword [ebx + 0x28]
mov eax, dword [ecx + 0x3c]
test al, 2
je 0x1011fae0
push 0
push dword [ecx + 4]
and eax, 0xfffffffd
mov dword [ecx + 0x3c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp + 0x14]
lea eax, [esp + 0x10]
mov edi, dword [ebp + 0x18]
mov ecx, ebx
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
call fcn.1011fcf0
mov eax, dword [esp + 0x10]
add eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
add eax, edi
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x1011fbff
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
sub ecx, dword [eax + 4]
sub edx, dword [eax + 8]
jmp 0x1011fc03
cmp eax, 1
jne 0x1011faa5
call fcn.10021c90
mov ecx, eax
cmp dword [ecx + 0x30], 0
jne 0x1011fb47
mov dword [ecx + 0x30], 0
push dword [esp + 0xc]
lea eax, [ebx + 0x20]
mov dword [ecx + 8], 0x10029f10
push eax
push ecx
call fcn.1002bc20
movzx eax, ax
add esp, 0xc
mov dword [esp + 0x10], eax
test ax, ax
je 0x1011faa5
lea esi, [ebx + 8]
test esi, esi
je 0x1011fc81
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x1023f0a4
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1023f0bc]
mov dword [esi + 8], eax
push 0x1023f0a4
mov dword [0x1023f0bc], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.HncFoundation.dll__HncLayoutIsR2L_0]
mov edx, dword [esp + 0x20]
test eax, eax
mov eax, dword [esp + 0x28]
mov ecx, 0x400080
push 0
push dword [0x1023f63c]
mov esi, 0x80
push 0
push edi
cmovne esi, ecx
mov ecx, dword [esp + 0x2c]
sub eax, edx
push eax
mov eax, dword [esp + 0x38]
sub eax, ecx
push eax
mov eax, dword [esp + 0x28]
push edx
push ecx
push SysReAllocString
push str.HncPopupMenuWindow
movzx eax, ax
push eax
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x1011faa5
xor ecx, ecx
xor edx, edx
push edx
push ecx
lea eax, [esp + 0x24]
push eax
push eax
push dword [ebp + 0x10]
call sym.HncOfficeFramework.dll_void___cdecl_MakeRectInScreenUseFlag_unsigned_int__struct_tagRECT___struct_tagRECT_const___int__int_
add esp, 0x14
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
call dword [sym.imp.HncFoundation.dll__HncLayoutIsR2L_0]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
sub eax, edx
push 0x40
push eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
push eax
push edx
push ecx
push 0xffffffffffffffff
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
or dword [ebx + 0x3c], 2
mov eax, dword [esp + 0x18]
test eax, eax
push 0
cmove eax, dword [esp + 0x10]
push 1
push 0x86
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 0x1c
push 1
push 0xc0000005
call fcn.10002790
int3