Function at 0x50e810
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5be9c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push edi
push eax
call sym.xIns.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.0050dae0
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov esi, dword [eax]
cmp edi, 0x1c
ja 0x50e9b9
je 0x50ea1c
lea eax, [edi - 2]
cmp eax, 0x16
ja case.0x50e866.4
movzx eax, byte [eax + 0x50ea84]
jmp dword [eax*4 + 0x50ea6c]
test byte [esi + 0x10], 2
je case.0x50e866.4
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [esi + 0x11], 0
push 0x11
push 0
push 0
je 0x50e8b5
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xac]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [esi + 0xa8]
push eax
push dword [ebp - 0x18]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x50e866.4
movsx ecx, byte [esi + 0x15]
movsx eax, byte [esi + 0x17]
sub eax, ecx
add eax, dword [ebp - 0x10]
push eax
movsx eax, byte [esi + 0x16]
sub eax, ecx
add eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x50e866.4
mov al, byte [esi + 0x10]
test al, 1
je case.0x50e866.4
cmp ecx, 2
je 0x50e935
cmp ecx, 1
je 0x50e935
test al, 4
je 0x50e944
cmp bx, word [esi + 0x18]
ja 0x50e914
mov eax, ebx
shr eax, 0x10
cmp ax, word [esi + 0x1a]
ja 0x50e914
push dword [ebp - 0x18]
mov ecx, esi
call sym.xIns.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x50e918
mov byte [esi + 0x1c], 1
test byte [esi + 0x10], 2
jne 0x50e944
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 2
mov dword [esi + 0x18], ebx
jmp case.0x50e866.4
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x18], ebx
jmp case.0x50e866.4
cmp byte [esi + 0x1c], 0
je case.0x50e866.4
push dword [ebp - 0x18]
mov ecx, esi
call sym.xIns.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x1c], 0
jmp case.0x50e866.4
mov al, byte [esi + 0x10]
test al, 1
je case.0x50e866.4
test ecx, ecx
jne 0x50e98b
push ecx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp case.0x50e866.4
test al, 4
jne case.0x50e866.4
push 8
push dword [esi + 8]
mov byte [esi + 0x1c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp case.0x50e866.4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x50e866.4
cmp edi, 0x86
ja 0x50ea34
je 0x50ea1c
mov eax, edi
sub eax, 0x47
je 0x50e9e1
sub eax, 0x3b
jne case.0x50e866.4
lea eax, [ebp - 0x18]
push eax
call sym.xIns.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.0050f420
jmp case.0x50e866.4
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp byte [esi + 0x11], 0
movsx ecx, byte [esi + 0x15]
push 0x11
push 0
push 0
je 0x50e8b9
mov eax, dword [ebp - 0x10]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push dword [ebp - 0x18]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x50e866.4
push 0x1b
push 0
push 0
push 0
push 0
push dword [ebp - 0x18]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x50e866.4
cmp edi, 0x232
jne case.0x50e866.4
test byte [esi + 0x10], 2
je case.0x50e866.4
push dword [ebp - 0x18]
mov ecx, esi
call sym.xIns.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov eax, dword [esi + 0xc]
push ebx
push dword [ebp + 0x10]
push edi
push dword [ebp - 0x18]
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2ee0
mov esp, ebp
pop ebp
ret 0x10