Function at 0x489340
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.0048b040
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 0x4893af
cmp dword [ebp - 0xb0], 0xf
je 0x48955f
cmp dword [ebp - 0xb0], 2
je 0x489606
cmp dword [ebp - 0xb0], 3
je 0x4893e1
cmp dword [ebp - 0xb0], 5
je 0x48947d
jmp 0x489625
cmp dword [ebp - 0xb0], 0x18
je 0x48959f
cmp dword [ebp - 0xb0], 0x82
je 0x489615
cmp dword [ebp - 0xb0], 0x232
je 0x489582
jmp 0x489625
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x10]
and ecx, 2
je 0x489478
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 0x48943b
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 0x489478
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 0x489625
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 1
je 0x48955a
cmp dword [ebp + 0x10], 2
je 0x489499
cmp dword [ebp + 0x10], 1
jne 0x4894bd
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 0x489551
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 4
je 0x489551
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 0x489511
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 0x48951a
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 1
jmp 0x489526
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 0x489551
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 0x489625
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x48957d
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 0x489625
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 2
je 0x48959a
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 0x489625
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 1
je 0x489604
cmp dword [ebp + 0x10], 0
jne 0x4895d2
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 0x489604
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 4
jne 0x489604
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 0x489625
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x489625
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.0048b190
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.0042cf77
mov esp, ebp
pop ebp
ret 0x10