Function at 0x1008b4a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c2200
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 0x18]
lea ecx, [ebp - 0x60]
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
mov dword [ebp - 0x64], esi
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x1008b75f
call fcn.10135660
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
cmp ecx, 0x101ddc74
jne 0x1008b781
mov eax, dword [eax + 8]
mov eax, dword [eax]
push 2
push eax
lea ecx, [ebp - 0x54]
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHTWindowMetrics::constructor_class_CHDSSkinManager_const___int_
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x6c]
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
movups xmmword [ebp - 0x34], xmm0
call esi
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x64]
call esi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x64]
call esi
mov esi, dword [ebp - 0x64]
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x1008b57d
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], eax
jmp 0x1008b583
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
cmp ecx, eax
jle 0x1008b58d
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x44]
add dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x40]
add dword [ebp - 0x5c], eax
push 0x88
call fcn.100854b0
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.1008c370
sub esp, 8
mov dword [edi + 0xc], eax
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
mov dword [eax + 0x80], edi
mov eax, esp
push 0x88
push SysReAllocString
sub esp, 8
mov dword [eax], 0
mov eax, esp
push esi
mov dword [eax], ecx
mov ecx, dword [edi + 0xc]
call fcn.10027a40
mov eax, dword [edi + 0xc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1008b75f
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x68]
add eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
add eax, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
call dword [sym.imp.HncFoundation.dll__HncLayoutIsR2L_0]
test eax, eax
je 0x1008b659
mov edx, dword [ebp - 0x6c]
mov eax, edx
sub eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x5c]
add eax, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 8]
and eax, 0x8001
neg eax
sbb eax, eax
neg eax
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
push eax
call sym.HncOfficeFramework.dll_unsigned_int___cdecl_MakeRectInScreenEx_struct_tagRECT___struct_tagRECT_const___struct_tagRECT_const___int_
mov edx, dword [ebp - 0x20]
add esp, 0x10
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x18]
push 0x244
sub eax, edx
push eax
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
mov eax, dword [edi + 0xc]
push edx
push ecx
push 0xffffffffffffffff
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 0xc]
push esi
or dword [eax + 0x84], 2
call sym.HncOfficeFramework.dll_struct_HWND______cdecl_GetPopupWnd_struct_HWND____
add esp, 4
push 0
push 1
push 0x86
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xc]
mov dword [edi + 0x14], 1
test eax, eax
je 0x1008b730
test byte [eax + 0x84], 2
je 0x1008b730
push 0
push 0
push 0
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1008b730
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [edi + 0x14], 0
jne 0x1008b729
mov esi, dword [edi + 0xc]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esi + 0x84], 0xfffffffd
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x1008b6d4
mov eax, dword [edi + 0xc]
mov dword [edi + 0x14], 0
test eax, eax
je 0x1008b75f
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
cmp eax, 1
jne 0x1008b75f
mov eax, dword [edi + 0xc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 0xc], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
mov ecx, eax
call edx
jmp 0x1008b51c