Function at 0x487bc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x4f2500]
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.004898c0
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 0x487c2f
cmp dword [ebp - 0xb0], 0xf
je 0x487ddf
cmp dword [ebp - 0xb0], 2
je 0x487e86
cmp dword [ebp - 0xb0], 3
je 0x487c61
cmp dword [ebp - 0xb0], 5
je 0x487cfd
jmp 0x487ea5
cmp dword [ebp - 0xb0], 0x18
je 0x487e1f
cmp dword [ebp - 0xb0], 0x82
je 0x487e95
cmp dword [ebp - 0xb0], 0x232
je 0x487e02
jmp 0x487ea5
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x10]
and ecx, 2
je 0x487cf8
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 0x487cbb
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 0x487cf8
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 0x487ea5
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 1
je 0x487dda
cmp dword [ebp + 0x10], 2
je 0x487d19
cmp dword [ebp + 0x10], 1
jne 0x487d3d
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 0x487dd1
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 4
je 0x487dd1
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 0x487d91
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 0x487d9a
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 1
jmp 0x487da6
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 0x487dd1
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 0x487ea5
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x487dfd
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 0x487ea5
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 2
je 0x487e1a
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 0x487ea5
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 1
je 0x487e84
cmp dword [ebp + 0x10], 0
jne 0x487e52
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 0x487e84
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 4
jne 0x487e84
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 0x487ea5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x487ea5
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.00489a10
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.0042292e
mov esp, ebp
pop ebp
ret 0x10