Function at 0x1013ec10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101ebab0
push 0x10085dde
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x1023c014]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x240], esi
mov eax, dword [esi + 0x2c]
mov edi, dword [eax + 0x24]
test edi, edi
je 0x1013f0f1
call fcn.10135660
mov ecx, eax
mov eax, dword [ecx]
cmp eax, 0x101ddc74
jne 0x1013f115
call fcn.10135660
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 8]
cmp eax, 0x101ddc74
jne 0x1013f11d
mov eax, dword [ecx + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x1013f110
lea eax, [ebp - 0x234]
push eax
push edi
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
je 0x1013f110
mov dword [ebp - 0x244], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x24]
mov ebx, dword [ecx + 8]
and ebx, 0x2000
mov dword [ebp - 0x238], ebx
xor edi, edi
mov dword [ebp - 0x23c], edi
call fcn.1013d7f0
test eax, eax
je 0x1013ed0b
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax + 8]
mov eax, ecx
and eax, 0xcf0080
or ebx, eax
mov dword [ebp - 0x238], ebx
test cl, 0x80
mov eax, 1
cmovne edi, eax
mov dword [ebp - 0x23c], edi
cmp dword [esi + 4], 0
jne 0x1013edf4
mov ebx, dword [esi + 0x30]
test ebx, ebx
jne 0x1013ed23
call sym.HncOfficeFramework.dll_struct_HWND______cdecl_GetProcessActiveWindow_void_
mov ebx, eax
push 0x208
push 0
lea eax, [ebp - 0x224]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.HncFrameSlidingToolBox
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1013ed7d
test dx, dx
je 0x1013ed79
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1013ed7d
add eax, 4
add ecx, 4
test dx, dx
jne 0x1013ed57
xor eax, eax
jmp 0x1013ed82
sbb eax, eax
or eax, 1
mov edi, dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x1013ed94
push ebx
call edi
test eax, eax
cmovne ebx, eax
push str.SlidingToolboxWnd
push str.HncFrameSlidingToolBox
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x1013edb1
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 4]
and eax, 0x500400
or eax, dword [ebp - 0x23c]
push eax
mov eax, dword [ebp - 0x238]
or eax, 0x82000000
push eax
sub esp, 8
mov eax, esp
lea ecx, [ebp - 0x234]
mov dword [eax], ecx
push ebx
mov ecx, esi
call fcn.100282f0
jmp 0x1013edfa
mov edi, dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
call edi
mov ebx, eax
mov dword [ebp - 0x238], ebx
test ebx, ebx
je 0x1013ee45
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
je 0x1013ee1c
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
test ebx, ebx
je 0x1013ee45
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x1013ee45
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1013ee45
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, 1
jmp 0x1013ee47
xor eax, eax
mov dword [ebp - 0x23c], eax
test ebx, ebx
je 0x1013ee95
mov edi, ebx
push ebx
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x1013ee73
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push eax
call esi
test eax, eax
jne 0x1013ee64
mov esi, dword [ebp - 0x248]
test edi, edi
je 0x1013ee95
cmp edi, ebx
je 0x1013ee95
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1013ee95
mov dword [ebp - 0x244], edi
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
je 0x1013eeac
push 0
push 0
push 0x1f
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
je 0x1013f0a8
push dword [esi + 4]
call sym.HncOfficeFramework.dll_void___cdecl_CenterWindowEx_struct_HWND____
add esp, 4
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x28]
test eax, eax
je 0x1013ef66
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x4c]
push 0
push 0
mov ecx, dword [eax + 4]
call fcn.10139c00
mov ecx, eax
test ecx, ecx
je 0x1013ef66
mov eax, dword [ecx + 0x58]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1013ef05
mov eax, dword [eax + 8]
and eax, 0x10010000
cmp eax, 0x10010000
jne 0x1013ef30
test ecx, ecx
je 0x1013ef1a
mov eax, dword [ecx + 0x58]
jmp 0x1013ef1c
xor eax, eax
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x1013ef29
mov eax, dword [eax + 8]
test eax, 0x8000000
je 0x1013ef59
test ecx, ecx
je 0x1013ef51
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x1013ef51
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x1013ef51
push 2
push ecx
mov ecx, dword [eax + 4]
call fcn.10139c00
mov ecx, eax
jmp 0x1013ef53
xor ecx, ecx
test ecx, ecx
jne 0x1013eef5
jmp 0x1013ef66
test ecx, ecx
je 0x1013ef66
push ecx
mov ecx, dword [esi + 0x2c]
call fcn.1013be10
push dword [esi + 4]
call edi
test eax, eax
je 0x1013f0f1
push dword [esi + 4]
call edi
test eax, eax
je 0x1013efa2
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x205
mov ecx, esi
call fcn.1013d9d0
push dword [esi + 4]
call edi
test eax, eax
je 0x1013f0a8
or dword [esi + 0xd0], 2
mov dword [ebp - 4], 0
call dword [sym.imp.HncFoundation.dll__HncGetRecoveryName_0]
mov dword [ebp - 0x24c], eax
push str.Dialog_modal_loop
call dword [sym.imp.HncFoundation.dll__HncSetRecoveryName_4]
mov dword [ebp - 4], 1
nop
test byte [esi + 0xd0], 2
je 0x1013f015
push dword [esi + 4]
call edi
test eax, eax
je 0x1013f015
push 0
push 0
push 0
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1013f015
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1013efd0
cmp dword [esi + 4], 0
je 0x1013f027
push 0x200
mov ecx, esi
call fcn.1013d9d0
mov dword [ebp - 4], 0
call fcn.1013f04e
mov dword [ebp - 4], 0xfffffffe
jmp 0x1013f0a8
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x1013f0bb
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x23c], 0
je 0x1013f0cd
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x1013f0df
push ebx
call edi
test eax, eax
je 0x1013f0df
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [esi + 4]
call edi
test eax, eax
je 0x1013f0f1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x38]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
jmp 0x1013f0f4
call dword [eax + 4]
jmp 0x1013ec79
call edx
mov ecx, eax
jmp 0x1013ec95