Function at 0x4774c0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
mov eax, dword [0x537700]
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.00476650
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov esi, dword [eax]
cmp edi, 0xf
ja 0x477629
je 0x477612
mov eax, edi
sub eax, 2
je 0x477604
sub eax, 1
je 0x477590
sub eax, 2
jne 0x477694
mov al, byte [esi + 0x10]
test al, 1
je 0x477694
cmp ebp, 2
je 0x477579
cmp ebp, 1
je 0x477579
test al, 4
je 0x477588
cmp bx, word [esi + 0x18]
ja 0x477558
mov eax, ebx
shr eax, 0x10
cmp ax, word [esi + 0x1a]
ja 0x477558
push dword [esp + 0x10]
mov ecx, esi
call sym.ClientofCSP.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x47755c
mov byte [esi + 0x1c], 1
test byte [esi + 0x10], 2
jne 0x477588
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 2
mov dword [esi + 0x18], ebx
jmp 0x477694
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x18], ebx
jmp 0x477694
test byte [esi + 0x10], 2
je 0x477694
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 0x4775dc
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 0x477694
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 0x477694
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x477694
cmp byte [esi + 0x1c], 0
je 0x477694
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 0x477694
mov eax, edi
sub eax, 0x18
je 0x477662
sub eax, 0x6a
je 0x47764f
sub eax, 0x1b0
jne 0x477694
test byte [esi + 0x10], 2
je 0x477694
push dword [esp + 0x10]
mov ecx, esi
call sym.ClientofCSP.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x477694
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.00477b60
jmp 0x477694
mov al, byte [esi + 0x10]
test al, 1
je 0x477694
test ebp, ebp
jne 0x47767d
push ebp
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x477694
test al, 4
jne 0x477694
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.004b847a
add esp, 0x18
ret 0x10