Function at 0x10008fa8
Capabilities:
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x94
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov esi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cmp eax, 0x10
je 0x10008f18
ja 0x10008ed8
cmp eax, 2
je 0x10008f50
cmp eax, 5
jne 0x10008f78
mov eax, edx
call sym._Help_OnSize
mov ebx, eax
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp eax, 0x111
jne 0x10008f78
mov eax, esi
xor ebx, ebx
shr eax, 0x10
jne case.default.0x10008f0d
mov dword [esp + 4], 0
sub esi, 0xc8
mov dword [esp], edx
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov edi, eax
cmp esi, 9
ja case.default.0x10008f0d
jmp dword [esi*4 + 0x10015784]
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov dword [esp], eax
call sym._ReleaseHelpViewer
lea esp, [ebp - 0x10]
xor ebx, ebx
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov ebx, dword [section..bss]
test ebx, ebx
je case.default.0x10008f0d
mov dword [esp], 0
xor ebx, ebx
call dword [sym.imp.user32.dll_PostQuitMessage]
sub esp, 4
jmp case.default.0x10008f0d
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.user32.dll_DefWindowProcW]
sub esp, 0x10
lea esp, [ebp - 0x10]
mov ebx, eax
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov edx, dword [edi + 0x78]
xor eax, eax
test edx, edx
sete al
mov dword [edi + 0x78], eax
lea eax, [ebp - 0x68]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x38]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowRect]
lea edx, [ebp - 0x48]
mov eax, edi
sub esp, 8
call sym._NP_GetNavigationRect
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x10009294
mov dword [esp + 4], 0
mov eax, dword [edi + 0x48]
mov ebx, dword [sym.imp.user32.dll_ShowWindow]
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 4], 0
mov eax, dword [edi + 0x158]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x68], eax
sub esp, 8
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc8
mov dword [esp + 4], 0x404
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0xc9
mov dword [esp + 4], 0x404
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
xor ebx, ebx
sub esp, 0x10
mov edx, dword [ebp - 0x68]
sub eax, ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 8], ecx
sub eax, edx
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x38]
mov dword [esp], eax
call dword [sym.imp.user32.dll_MoveWindow]
sub esp, 0x18
jmp case.default.0x10008f0d
mov dword [esp + 4], 1
mov eax, dword [eax]
xor ebx, ebx
mov dword [esp], eax
call sym._DoPageAction
jmp case.default.0x10008f0d
mov eax, dword [eax + 0x70]
xor ebx, ebx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x128]
mov eax, dword [eax + 8]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._NavigateToChm
jmp case.default.0x10008f0d
mov dword [esp + 4], 0
mov eax, dword [eax]
xor ebx, ebx
mov dword [esp], eax
call sym._DoPageAction
jmp case.default.0x10008f0d
mov dword [esp + 4], 4
mov eax, dword [eax]
xor ebx, ebx
mov dword [esp], eax
call sym._DoPageAction
jmp case.default.0x10008f0d
mov dword [esp + 4], 5
mov eax, dword [eax]
xor ebx, ebx
mov dword [esp], eax
call sym._DoPageAction
jmp case.default.0x10008f0d
mov dword [esp + 4], 6
mov eax, dword [eax]
xor ebx, ebx
mov dword [esp], eax
call sym._DoPageAction
jmp case.default.0x10008f0d
call sym._DoSync
xor ebx, ebx
jmp case.default.0x10008f0d
mov eax, dword [0x100230c4]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadMenuW]
sub esp, 8
test eax, eax
je 0x10008f34
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetSubMenu]
movdqu xmm0, xmmword [0x10016150]
mov ebx, eax
sub esp, 8
movups xmmword [ebp - 0x48], xmm0
mov eax, dword [edi + 0x78]
test eax, eax
je 0x100092ff
mov eax, 6
call sym._HH_LoadString
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x48]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xc8
mov dword [esp], ebx
call dword [sym.imp.user32.dll_SetMenuItemInfoW]
mov eax, dword [ebp - 0x24]
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0x20
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x64], 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xd0
mov dword [esp + 4], 0x43f
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call esi
sub esp, 0x10
cmp eax, 0xffffffff
je 0x10008f34
lea edx, [ebp - 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x41d
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x78]
sub esp, 0x10
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call dword [sym.imp.user32.dll_ClientToScreen]
sub esp, 8
mov dword [esp + 0x18], 0
mov eax, dword [edi + 0x38]
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x80]
mov dword [esp + 4], 0x4000
mov dword [esp + 8], eax
call dword [sym.imp.user32.dll_TrackPopupMenu]
sub esp, 0x1c
jmp case.default.0x10008f0d
mov dword [esp + 4], 5
mov eax, dword [edi + 0x48]
mov ebx, dword [sym.imp.user32.dll_ShowWindow]
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 4], 5
mov eax, dword [edi + 0x158]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x40]
sub dword [ebp - 0x68], eax
sub esp, 8
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0xc8
mov dword [esp + 4], 0x404
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], 0
jmp 0x10009046
mov eax, 5
call sym._HH_LoadString
mov dword [ebp - 0x24], eax
jmp 0x100091a6