Function at 0x47fe80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52d2ee
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x588790]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x588790]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
test byte [0x58fee0], 1
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
jne 0x47fef7
or dword [0x58fee0], 1
mov dword [esp + 0x48], 0
call fcn.004813c0
push 0x52e180
call fcn.00504727
add esp, 4
mov dword [esp + 0x48], 0xffffffff
lea edx, [esp + 0x14]
mov eax, 0x58fea4
call fcn.00481440
mov esi, dword [eax]
cmp byte [esi + 0x13], 0
je 0x47ff21
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
push ebx
push eax
push ecx
push edi
call edx
jmp 0x48019b
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x1c
ja 0x48008e
je 0x48015e
lea eax, [ebx - 2]
cmp eax, 0x16
ja case.0x47ff46.4
movzx eax, byte [eax + 0x4801d4]
jmp dword [eax*4 + 0x4801bc]
test byte [esi + 0x10], 2
je case.0x47ff46.4
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [esi + 0x11], 0
movsx eax, byte [esi + 0x16]
push 0x11
push 0
push 0
je 0x47ff91
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub ecx, eax
push ecx
push edi
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x47ff46.4
movsx ecx, byte [esi + 0x18]
movsx edx, byte [esi + 0x17]
sub ecx, eax
add ecx, dword [esp + 0x28]
sub edx, eax
add edx, dword [esp + 0x24]
mov eax, dword [esi + 8]
push ecx
push edx
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x47ff46.4
mov al, byte [esi + 0x10]
test al, 1
je case.0x47ff46.4
mov ecx, dword [ebp + 0x10]
mov ebx, 2
cmp ecx, ebx
je 0x48001b
cmp ecx, 1
je 0x48001b
test al, 4
je 0x48002b
mov eax, dword [esp + 0x10]
cmp ax, word [esi + 0x1c]
ja 0x47fff4
shr eax, 0x10
cmp ax, word [esi + 0x1e]
ja 0x47fff4
push edi
mov ecx, esi
call sym.zSignInstall.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x47fff8
mov byte [esi + 0x20], 1
test byte [esi + 0x10], bl
jne 0x48002b
mov ecx, dword [esi + 8]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x10]
or byte [esi + 0x10], bl
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
jmp case.0x47ff46.4
mov edx, dword [esi + 8]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov eax, dword [esp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
jmp case.0x47ff46.4
cmp byte [esi + 0x20], 0
je case.0x47ff46.4
push edi
mov ecx, esi
call sym.zSignInstall.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x20], 0
jmp case.0x47ff46.4
mov al, byte [esi + 0x10]
test al, 1
je case.0x47ff46.4
cmp dword [ebp + 0x10], 0
jne 0x480128
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp case.0x47ff46.4
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x47ff46.4
cmp ebx, 0x86
ja 0x480175
je 0x48015e
mov eax, ebx
sub eax, 0x47
je 0x4800c4
sub eax, 0x3b
jne case.0x47ff46.4
call sym.zSignInstall.exe_protected:_static_class_std::map_struct_HWND_____class_DuiLib::CShadowUI___struct_std::less_struct_HWND______class_std::allocator_struct_std::pair_struct_HWND____const__class_DuiLib::CShadowUI________cdecl_DuiLib::CShadowUI::GetShadowMap_void_
push eax
lea eax, [esp + 0x18]
call fcn.004814c0
jmp case.0x47ff46.4
lea ecx, [esp + 0x28]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [esi + 0x11], 0
movsx eax, byte [esi + 0x16]
push 0x11
push 0
push 0
je 0x4800f5
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub ecx, eax
push ecx
push edi
push edx
jmp 0x480110
movsx ecx, byte [esi + 0x18]
movsx edx, byte [esi + 0x17]
sub ecx, eax
add ecx, dword [esp + 0x38]
sub edx, eax
add edx, dword [esp + 0x34]
mov eax, dword [esi + 8]
push ecx
push edx
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x18]
test al, 0x40
je 0x480142
mov al, byte [esi + 0x10]
test al, 1
je case.0x47ff46.4
test al, 4
jne case.0x47ff46.4
mov edx, dword [esi + 8]
push 4
push edx
mov byte [esi + 0x20], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp case.0x47ff46.4
test al, al
jns case.0x47ff46.4
test byte [esi + 0x10], 1
je case.0x47ff46.4
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp case.0x47ff46.4
mov ecx, dword [esi + 8]
push 0x1b
push 0
push 0
push 0
push 0
push edi
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x47ff46.4
cmp ebx, 0x232
jne case.0x47ff46.4
test byte [esi + 0x10], 2
je case.0x47ff46.4
push edi
mov ecx, esi
call sym.zSignInstall.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
push edx
push eax
push ebx
push edi
call ecx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00503edf
mov esp, ebp
pop ebp
ret 0x10