Function at 0x539f5d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6c45ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x28], eax
call sym.360huabao.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.005393cb
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x14]
cmp byte [esi + 0x13], 0
je 0x539faa
push dword [ebp + 0x14]
mov eax, dword [esi + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x28]
call eax
jmp 0x53a1b4
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x1c
ja 0x53a116
je 0x53a140
lea eax, [edi - 1]
sub eax, 1
je 0x53a108
sub eax, 1
je 0x53a0ba
dec eax
sub eax, 1
je 0x53a04c
sub eax, 0xa
je 0x53a02f
sub eax, 9
jne 0x53a1a5
mov al, byte [esi + 0x10]
test al, 1
je 0x53a1a5
cmp dword [ebp + 0x10], 0
jne 0x53a00f
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x53a1a5
test al, 4
jne 0x53a1a5
push 4
push dword [esi + 8]
mov byte [esi + 0x20], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x53a1a5
cmp byte [esi + 0x20], 0
je 0x53a1a5
push dword [ebp - 0x28]
mov ecx, esi
call sym.360huabao.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x20], 0
jmp 0x53a1a5
mov cl, byte [esi + 0x10]
test cl, 1
je 0x53a1a5
cmp dword [ebp + 0x10], 2
je 0x53a0a3
cmp dword [ebp + 0x10], 1
je 0x53a0a3
test cl, 4
je 0x53a0b2
cmp bx, word [esi + 0x1c]
ja 0x53a089
mov eax, ebx
shr eax, 0x10
cmp ax, word [esi + 0x1e]
ja 0x53a089
push dword [ebp - 0x28]
mov ecx, esi
call sym.360huabao.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov cl, byte [esi + 0x10]
jmp 0x53a08d
mov byte [esi + 0x20], 1
test cl, 2
jne 0x53a0b2
push 4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 2
jmp 0x53a0b2
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x1c], ebx
jmp 0x53a1a5
test byte [esi + 0x10], 2
je 0x53a1a5
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 0x53a0f0
mov eax, dword [ebp - 0x10]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
jmp 0x53a198
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 0x53a198
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x53a1a5
mov eax, edi
sub eax, 0x47
je 0x53a15b
sub eax, 0x3b
je 0x53a149
sub eax, 4
je 0x53a140
sub eax, 0x1ac
jne 0x53a1a5
test byte [esi + 0x10], 2
je 0x53a1a5
push dword [ebp - 0x28]
mov ecx, esi
call sym.360huabao.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x53a1a5
push 0x1b
xor eax, eax
push eax
push eax
push eax
jmp 0x53a198
call sym.360huabao.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.0053a64e
jmp 0x53a1a5
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 0x53a185
mov eax, dword [ebp - 0x20]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x24]
jmp 0x53a0e9
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.00590be8
leave
ret 0x10