Function at 0x4810e5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x53f1e4]
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.0048104c
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
push 2
pop ebx
sub eax, ebx
je 0x481291
dec eax
je 0x48123c
sub eax, ebx
je 0x4811d6
sub eax, 0xa
je 0x4811bb
sub eax, 9
je 0x481176
sub eax, 0x6a
je 0x481161
sub eax, 0x1b0
jne 0x48129a
test byte [esi + 0x10], bl
je 0x48129a
push edi
mov ecx, esi
call sym.WEMediaSetup.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x48129a
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.00480fc0
jmp 0x48129a
mov al, byte [esi + 0x10]
test al, 1
je 0x48129a
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x48119b
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x48129a
test al, 4
jne 0x48129a
push 8
push dword [esi + 8]
mov byte [esi + 0x1c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x48129a
xor ebx, ebx
cmp byte [esi + 0x1c], bl
je 0x48129a
push edi
mov ecx, esi
call sym.WEMediaSetup.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x1c], bl
jmp 0x48129a
mov al, byte [esi + 0x10]
test al, 1
je 0x48129a
cmp dword [ebp + 0x10], ebx
je 0x481225
cmp dword [ebp + 0x10], 1
je 0x481225
test al, 4
je 0x481234
mov eax, dword [ebp + 0x14]
cmp ax, word [esi + 0x18]
ja 0x48120c
shr eax, 0x10
cmp ax, word [esi + 0x1a]
ja 0x48120c
push edi
mov ecx, esi
call sym.WEMediaSetup.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x481210
mov byte [esi + 0x1c], 1
test byte [esi + 0x10], bl
jne 0x481234
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], bl
jmp 0x481234
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 0x48129a
test byte [esi + 0x10], bl
je 0x48129a
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 0x48126d
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 0x481285
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 0x48129a
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.004b1c2d
leave
ret 0x10