Function at 0x485517
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5441b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], edi
call sym.WEMediaSetup.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.0048547e
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
push 2
pop ebx
sub eax, ebx
je 0x4856c3
dec eax
je 0x48566e
sub eax, ebx
je 0x485608
sub eax, 0xa
je 0x4855ed
sub eax, 9
je 0x4855a8
sub eax, 0x6a
je 0x485593
sub eax, 0x1b0
jne 0x4856cc
test byte [esi + 0x10], bl
je 0x4856cc
push edi
mov ecx, esi
call sym.WEMediaSetup.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x4856cc
lea eax, [ebp - 0x18]
push eax
call sym.WEMediaSetup.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.004853f2
jmp 0x4856cc
mov al, byte [esi + 0x10]
test al, 1
je 0x4856cc
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x4855cd
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x4856cc
test al, 4
jne 0x4856cc
push 8
push dword [esi + 8]
mov byte [esi + 0x1c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x4856cc
xor ebx, ebx
cmp byte [esi + 0x1c], bl
je 0x4856cc
push edi
mov ecx, esi
call sym.WEMediaSetup.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x1c], bl
jmp 0x4856cc
mov al, byte [esi + 0x10]
test al, 1
je 0x4856cc
cmp dword [ebp + 0x10], ebx
je 0x485657
cmp dword [ebp + 0x10], 1
je 0x485657
test al, 4
je 0x485666
mov eax, dword [ebp + 0x14]
cmp ax, word [esi + 0x18]
ja 0x48563e
shr eax, 0x10
cmp ax, word [esi + 0x1a]
ja 0x48563e
push edi
mov ecx, esi
call sym.WEMediaSetup.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x485642
mov byte [esi + 0x1c], 1
test byte [esi + 0x10], bl
jne 0x485666
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], bl
jmp 0x485666
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
jmp 0x4856cc
test byte [esi + 0x10], bl
je 0x4856cc
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
xor ebx, ebx
push 0x11
push ebx
push ebx
cmp byte [esi + 0x11], bl
je 0x48569f
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xac]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [esi + 0xa8]
push eax
jmp 0x4856b7
movsx eax, byte [esi + 0x15]
movsx ecx, byte [esi + 0x17]
sub ecx, eax
add ecx, dword [ebp - 0x10]
push ecx
movsx ecx, byte [esi + 0x16]
sub ecx, eax
add ecx, dword [ebp - 0x14]
push ecx
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4856cc
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [esi + 0xc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b6111
leave
ret 0x10