Function at 0x4d7700
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
mov eax, dword [0x7f9c40]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
call sym.ClientofCSP.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_
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.004d68a0
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov esi, dword [eax]
cmp edi, 0xf
ja 0x4d7869
je 0x4d7852
mov eax, edi
sub eax, 2
je 0x4d7844
sub eax, 1
je 0x4d77d0
sub eax, 2
jne 0x4d78d4
mov al, byte [esi + 0x10]
test al, 1
je 0x4d78d4
cmp ebp, 2
je 0x4d77b9
cmp ebp, 1
je 0x4d77b9
test al, 4
je 0x4d77c8
cmp bx, word [esi + 0x18]
ja 0x4d7798
mov eax, ebx
shr eax, 0x10
cmp ax, word [esi + 0x1a]
ja 0x4d7798
push dword [esp + 0x10]
mov ecx, esi
call sym.ClientofCSP.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x4d779c
mov byte [esi + 0x1c], 1
test byte [esi + 0x10], 2
jne 0x4d77c8
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 2
mov dword [esi + 0x18], ebx
jmp 0x4d78d4
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x18], ebx
jmp 0x4d78d4
test byte [esi + 0x10], 2
je 0x4d78d4
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [esi + 0x11], 0
mov edx, dword [esi + 8]
push 0x11
push 0
push 0
je 0x4d781c
mov eax, dword [esp + 0x24]
sub eax, dword [esi + 0xac]
push eax
mov eax, dword [esp + 0x24]
sub eax, dword [esi + 0xa8]
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4d78d4
movsx ecx, byte [esi + 0x15]
movsx eax, byte [esi + 0x17]
sub eax, ecx
add eax, dword [esp + 0x24]
push eax
movsx eax, byte [esi + 0x16]
sub eax, ecx
add eax, dword [esp + 0x24]
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4d78d4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4d78d4
cmp byte [esi + 0x1c], 0
je 0x4d78d4
push dword [esp + 0x10]
mov ecx, esi
call sym.ClientofCSP.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x1c], 0
jmp 0x4d78d4
mov eax, edi
sub eax, 0x18
je 0x4d78a2
sub eax, 0x6a
je 0x4d788f
sub eax, 0x1b0
jne 0x4d78d4
test byte [esi + 0x10], 2
je 0x4d78d4
push dword [esp + 0x10]
mov ecx, esi
call sym.ClientofCSP.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x4d78d4
call sym.ClientofCSP.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_
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.004d7da0
jmp 0x4d78d4
mov al, byte [esi + 0x10]
test al, 1
je 0x4d78d4
test ebp, ebp
jne 0x4d78bd
push ebp
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x4d78d4
test al, 4
jne 0x4d78d4
push 8
push dword [esi + 8]
mov byte [esi + 0x1c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
mov eax, dword [esi + 0xc]
push ebx
push ebp
push edi
push dword [esp + 0x1c]
call eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006def69
add esp, 0x18
ret 0x10