Function at 0x4a2379
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x28], eax
call sym.360huabaosetup.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_
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.004a17ed
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x14]
cmp byte [esi + 0x13], 0
je 0x4a23c6
push dword [ebp + 0x14]
mov eax, dword [esi + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x28]
call eax
jmp 0x4a25d0
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x1c
ja 0x4a2532
je 0x4a255c
lea eax, [edi - 1]
sub eax, 1
je 0x4a2524
sub eax, 1
je 0x4a24d6
dec eax
sub eax, 1
je 0x4a2468
sub eax, 0xa
je 0x4a244b
sub eax, 9
jne 0x4a25c1
mov al, byte [esi + 0x10]
test al, 1
je 0x4a25c1
cmp dword [ebp + 0x10], 0
jne 0x4a242b
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x4a25c1
test al, 4
jne 0x4a25c1
push 4
push dword [esi + 8]
mov byte [esi + 0x20], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x4a25c1
cmp byte [esi + 0x20], 0
je 0x4a25c1
push dword [ebp - 0x28]
mov ecx, esi
call sym.360huabaosetup.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x20], 0
jmp 0x4a25c1
mov cl, byte [esi + 0x10]
test cl, 1
je 0x4a25c1
cmp dword [ebp + 0x10], 2
je 0x4a24bf
cmp dword [ebp + 0x10], 1
je 0x4a24bf
test cl, 4
je 0x4a24ce
cmp bx, word [esi + 0x1c]
ja 0x4a24a5
mov eax, ebx
shr eax, 0x10
cmp ax, word [esi + 0x1e]
ja 0x4a24a5
push dword [ebp - 0x28]
mov ecx, esi
call sym.360huabaosetup.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov cl, byte [esi + 0x10]
jmp 0x4a24a9
mov byte [esi + 0x20], 1
test cl, 2
jne 0x4a24ce
push 4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 2
jmp 0x4a24ce
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x1c], ebx
jmp 0x4a25c1
test byte [esi + 0x10], 2
je 0x4a25c1
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetWindowRect]
movsx ecx, byte [esi + 0x16]
xor eax, eax
push 0x11
push eax
push eax
cmp byte [esi + 0x11], al
je 0x4a250c
mov eax, dword [ebp - 0x10]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
jmp 0x4a25b4
movsx eax, byte [esi + 0x18]
sub eax, ecx
add eax, dword [ebp - 0x10]
push eax
movsx eax, byte [esi + 0x17]
sub eax, ecx
add eax, dword [ebp - 0x14]
jmp 0x4a25b4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4a25c1
mov eax, edi
sub eax, 0x47
je 0x4a2577
sub eax, 0x3b
je 0x4a2565
sub eax, 4
je 0x4a255c
sub eax, 0x1ac
jne 0x4a25c1
test byte [esi + 0x10], 2
je 0x4a25c1
push dword [ebp - 0x28]
mov ecx, esi
call sym.360huabaosetup.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x4a25c1
push 0x1b
xor eax, eax
push eax
push eax
push eax
jmp 0x4a25b4
call sym.360huabaosetup.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_
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.004a2ba8
jmp 0x4a25c1
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetWindowRect]
movsx ecx, byte [esi + 0x16]
xor eax, eax
push 0x11
push eax
push eax
cmp byte [esi + 0x11], al
je 0x4a25a1
mov eax, dword [ebp - 0x20]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x24]
jmp 0x4a2505
movsx eax, byte [esi + 0x18]
sub eax, ecx
add eax, dword [ebp - 0x20]
push eax
movsx eax, byte [esi + 0x17]
sub eax, ecx
add eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0xc]
push ebx
push dword [ebp + 0x10]
push edi
push dword [ebp - 0x28]
call eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004bdaf8
leave
ret 0x10