Function at 0x10018d90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bf608
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
jne 0x10018e25
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
cmp esi, 0x84
jne 0x10018e45
push ebx
push eax
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.HncFoundation.dll_class_CHncGestureEngine____cdecl_GetGestureEngine_void_]
mov ecx, eax
call dword [sym.imp.HncFoundation.dll_public:_long_int___thiscall_CHncGestureEngine::OnNcHitTest_struct_HWND_____unsigned_int__long_int__long_int__]
mov eax, dword [ebp + 0x14]
push 0x20ff
push eax
push dword [ebp + 0x10]
lea ecx, [edi + 0x28]
push esi
call sym.HncOfficeFramework.dll_public:_long_int___thiscall_CHDlgCtrlGrp::RelayMsgToHDlgCtrl_int__unsigned_int__long_int__unsigned_int_
test eax, eax
jne 0x10018e65
cmp esi, 1
jne 0x10018efd
push dword [edi + 4]
call dword [sym.imp.HncIMM.dll__HimSysIMEDestroy_4]
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 4]
mov dword [eax + 0x2c], ecx
mov dword [ebx], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x11a
jne 0x10018e6c
push ebx
push eax
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.HncFoundation.dll_class_CHncGestureEngine____cdecl_GetGestureEngine_void_]
mov ecx, eax
call dword [sym.imp.HncFoundation.dll_public:_long_int___thiscall_CHncGestureEngine::OnGestureNotify_struct_HWND_____unsigned_int__long_int__long_int__]
test eax, eax
je 0x10018deb
mov eax, 1
jmp 0x10018e27
cmp esi, 0x119
jne 0x10018e97
push ebx
push eax
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.HncFoundation.dll_class_CHncGestureEngine____cdecl_GetGestureEngine_void_]
mov ecx, eax
call dword [sym.imp.HncFoundation.dll_public:_long_int___thiscall_CHncGestureEngine::OnGesture_struct_HWND_____unsigned_int__long_int__long_int__]
test eax, eax
je 0x10018deb
mov eax, 1
jmp 0x10018e27
cmp esi, 2
jne 0x10018eb5
push ebx
push eax
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.HncFoundation.dll_class_CHncGestureEngine____cdecl_GetGestureEngine_void_]
mov ecx, eax
call dword [sym.imp.HncFoundation.dll_public:_long_int___thiscall_CHncGestureEngine::OnDestroy_struct_HWND_____unsigned_int__long_int__long_int__]
jmp 0x10018deb
cmp esi, 0x2a3
jne 0x10018ee8
lea ecx, [ebp - 0x7c]
push ecx
push eax
push ecx
push esi
mov ecx, edi
mov dword [ebp - 0x7c], 1
call fcn.10189c20
cmp dword [ebp - 0x7c], 0
mov dword [ebx], eax
je 0x10018deb
mov eax, 1
jmp 0x10018e27
cmp esi, 0x200
jne 0x10018dee
lea ecx, [ebp - 0x7c]
push ecx
push eax
push ecx
push esi
jmp 0x10018ec4
cmp esi, 0x14
jne 0x10018f10
mov dword [ebx], 1
lea eax, [esi - 0x13]
jmp 0x10018e27
cmp esi, 0xf
jne 0x10018f5e
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x70]
push ecx
push eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0
push ecx
push eax
mov ecx, edi
call fcn.10189f80
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebx], 0
lea eax, [esi - 0xe]
jmp 0x10018e27
lea eax, [esi - 0x200]
cmp eax, 0xe
ja 0x10018f8c
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 1
push eax
push dword [ebp + 0x14]
push ecx
push esi
mov ecx, edi
call fcn.10189c90
cmp dword [ebp - 0x7c], 0
mov dword [ebx], eax
jne 0x10018e65
cmp esi, 0x2a3
jne 0x10018fc1
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 1
push eax
push dword [ebp + 0x14]
push ecx
push esi
mov ecx, edi
call fcn.10189c90
cmp dword [ebp - 0x7c], 0
mov dword [ebx], eax
je 0x10018e25
mov eax, 1
jmp 0x10018e27
cmp esi, 0x100
jne 0x10018ff9
mov eax, dword [ebp + 0x10]
movzx eax, ax
add eax, 0xfffffffd
cmp eax, 0x28
ja case.0x10018fe2.4
movzx eax, byte [eax + 0x100191f4]
jmp dword [eax*4 + 0x100191e8]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x10018fe2.4
cmp esi, 0x86
jne 0x10019026
mov esi, dword [ebp + 0x10]
test esi, esi
je case.0x10018fe2.3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebp + 0x14]
push esi
push 0x86
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x10018fe2.4
cmp esi, 0x18
jne 0x100190f7
cmp dword [ebp + 0x10], 0
je 0x1001907d
mov esi, dword [edi + 0x38]
test esi, esi
je 0x1001905c
lea edx, [edi + 0x44]
mov ecx, esi
call fcn.1001bb30
test eax, eax
je 0x1001905c
mov eax, dword [esi + 0x5c]
lea ecx, [edi + 0x44]
push ecx
push dword [eax + 8]
call sym.HncOfficeFramework.dll_void___cdecl_ClientToScreen_struct_HWND_____struct_tagRECT__
add esp, 8
push 0
push 0x1f4
push 0x6f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x20], 0
jmp case.0x10018fe2.4
cmp dword [edi + 0x40], 0
je 0x10019090
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi + 0x40], 0
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x100190b8
mov esi, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
and dword [eax + 4], 0xfffeffff
mov ecx, dword [ecx + 0x10]
call fcn.1001bbc0
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x30]
push dword [0x10240904]
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
push 0
mov dword [0x1025b634], 0
mov dword [0x1025b638], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [0x10240904], 0
jmp case.0x10018fe2.4
cmp esi, 0x113
jne 0x1001918c
cmp dword [ebp + 0x10], 0x6f
jne 0x1001917c
mov esi, dword [edi + 0x38]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
test esi, esi
je 0x10019137
lea edx, [ebp - 0x20]
mov ecx, esi
call fcn.1001bb30
test eax, eax
je 0x10019137
mov eax, dword [esi + 0x5c]
lea ecx, [ebp - 0x20]
push ecx
push dword [eax + 8]
call sym.HncOfficeFramework.dll_void___cdecl_ClientToScreen_struct_HWND_____struct_tagRECT__
add esp, 8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1001917c
lea ecx, [edi + 0x44]
mov esi, 0xc
lea edx, [ebp - 0x20]
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10019171
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10019150
mov dword [ebx], 0
mov eax, 1
jmp 0x10018e27
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx], 0
mov eax, 1
jmp 0x10018e27
cmp esi, 0x318
jne 0x100191c5
test byte [ebp + 0x14], 0x36
je 0x1001917c
lea eax, [ebp - 0x30]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
push dword [ebp + 0x10]
call fcn.10189f80
mov dword [ebx], 0
mov eax, 1
jmp 0x10018e27
cmp esi, 0x3d
jne 0x10018e25
push dword [ebp + 0x14]
lea ecx, [edi + 0x30]
push dword [ebp + 0x10]
call sym.HncOfficeFramework.dll_public:_long_int___thiscall_CHncAAObject::GetObjectFromMessage_unsigned_int__long_int_
mov dword [ebx], eax
lea eax, [esi - 0x3c]
jmp 0x10018e27