Function at 0x4893e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x4fa2a0]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
push eax
call sym.Setup.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.0048b0e0
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xb0], edx
cmp dword [ebp - 0xb0], 0xf
ja 0x48944f
cmp dword [ebp - 0xb0], 0xf
je 0x4895ff
cmp dword [ebp - 0xb0], 2
je 0x4896a6
cmp dword [ebp - 0xb0], 3
je 0x489481
cmp dword [ebp - 0xb0], 5
je 0x48951d
jmp 0x4896c5
cmp dword [ebp - 0xb0], 0x18
je 0x48963f
cmp dword [ebp - 0xb0], 0x82
je 0x4896b5
cmp dword [ebp - 0xb0], 0x232
je 0x489622
jmp 0x4896c5
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x10]
and ecx, 2
je 0x489518
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x11]
test edx, edx
je 0x4894db
push 0x11
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax + 0xac]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
sub eax, dword [edx + 0xa8]
push eax
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x489518
push 0x11
push 0
push 0
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 0x17]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
movsx eax, byte [edx + 0x15]
sub ecx, eax
push ecx
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x16]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 0x15]
sub edx, ecx
push edx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4896c5
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 1
je 0x4895fa
cmp dword [ebp + 0x10], 2
je 0x489539
cmp dword [ebp + 0x10], 1
jne 0x48955d
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 0xfffffffd
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x10], al
jmp 0x4895f1
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 4
je 0x4895f1
mov ecx, dword [ebp + 0x14]
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
and ecx, 0xffff
movzx eax, cx
cmp edx, eax
jg 0x4895b1
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
shr ecx, 0x10
and ecx, 0xffff
movzx eax, cx
cmp edx, eax
jle 0x4895ba
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 1
jmp 0x4895c6
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call sym.Setup.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x10]
and ecx, 2
jne 0x4895f1
push 8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
or edx, 2
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], dl
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x18], edx
jmp 0x4896c5
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x48961d
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call sym.Setup.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c], 0
jmp 0x4896c5
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 2
je 0x48963a
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call sym.Setup.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x4896c5
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 1
je 0x4896a4
cmp dword [ebp + 0x10], 0
jne 0x489672
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 0xfffffff9
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x10], al
jmp 0x4896a4
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 4
jne 0x4896a4
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 1
push 8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
or edx, 6
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], dl
jmp 0x4896c5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4896c5
lea eax, [ebp + 8]
push eax
call sym.Setup.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.0048b230
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042cf67
mov esp, ebp
pop ebp
ret 0x10