Function at 0x482190
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x4f62a0]
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.00483e90
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 0x4821ff
cmp dword [ebp - 0xb0], 0xf
je 0x4823af
cmp dword [ebp - 0xb0], 2
je 0x482456
cmp dword [ebp - 0xb0], 3
je 0x482231
cmp dword [ebp - 0xb0], 5
je 0x4822cd
jmp 0x482475
cmp dword [ebp - 0xb0], 0x18
je 0x4823ef
cmp dword [ebp - 0xb0], 0x82
je 0x482465
cmp dword [ebp - 0xb0], 0x232
je 0x4823d2
jmp 0x482475
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x10]
and ecx, 2
je 0x4822c8
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 0x48228b
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 0x4822c8
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 0x482475
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 1
je 0x4823aa
cmp dword [ebp + 0x10], 2
je 0x4822e9
cmp dword [ebp + 0x10], 1
jne 0x48230d
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 0x4823a1
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 4
je 0x4823a1
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 0x482361
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 0x48236a
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1c], 1
jmp 0x482376
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 0x4823a1
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 0x482475
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x4823cd
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 0x482475
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 2
je 0x4823ea
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 0x482475
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x10]
and edx, 1
je 0x482454
cmp dword [ebp + 0x10], 0
jne 0x482422
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 0x482454
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x10]
and eax, 4
jne 0x482454
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 0x482475
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x482475
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.00483fe0
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.00425912
mov esp, ebp
pop ebp
ret 0x10