Function at 0x57c1c4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
call sym.demo.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_
mov ecx, eax
call fcn.0057c10f
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
push 2
pop ebx
sub eax, ebx
je 0x57c367
dec eax
je 0x57c310
sub eax, ebx
je 0x57c2ac
sub eax, 0xa
je 0x57c28f
sub eax, 9
je 0x57c24a
sub eax, 0x6a
je 0x57c235
sub eax, 0x1b0
jne 0x57c370
test byte [esi + 0x10], bl
je 0x57c370
push dword [ebp + 8]
mov ecx, esi
call sym.demo.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x57c370
lea eax, [ebp + 8]
push eax
call sym.demo.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_
mov ecx, eax
call fcn.0057bf57
jmp 0x57c370
mov al, byte [esi + 0x10]
test al, 1
je 0x57c370
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x57c26f
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x57c370
test al, 4
jne 0x57c370
push 8
push dword [esi + 8]
mov byte [esi + 0x1c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x57c370
xor ebx, ebx
cmp byte [esi + 0x1c], bl
je 0x57c370
push dword [ebp + 8]
mov ecx, esi
call sym.demo.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x1c], bl
jmp 0x57c370
mov al, byte [esi + 0x10]
test al, 1
je 0x57c370
cmp dword [ebp + 0x10], ebx
je 0x57c2fc
cmp dword [ebp + 0x10], 1
je 0x57c2fc
test al, 4
je 0x57c30b
cmp di, word [esi + 0x18]
ja 0x57c2e3
mov eax, edi
shr eax, 0x10
cmp ax, word [esi + 0x1a]
ja 0x57c2e3
push dword [ebp + 8]
mov ecx, esi
call sym.demo.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x57c2e7
mov byte [esi + 0x1c], 1
test byte [esi + 0x10], bl
jne 0x57c30b
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], bl
jmp 0x57c30b
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x18], edi
jmp 0x57c370
test byte [esi + 0x10], bl
je 0x57c370
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
xor ebx, ebx
push 0x11
push ebx
push ebx
cmp byte [esi + 0x11], bl
je 0x57c343
mov eax, dword [ebp - 0xc]
sub eax, dword [esi + 0xac]
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xa8]
push eax
jmp 0x57c35b
movsx eax, byte [esi + 0x15]
movsx ecx, byte [esi + 0x17]
sub ecx, eax
add ecx, dword [ebp - 0xc]
push ecx
movsx ecx, byte [esi + 0x16]
sub ecx, eax
add ecx, dword [ebp - 0x10]
push ecx
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x57c370
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [esi + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0x10