Function at 0x518c95
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x649ffc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x28], eax
call sym.yuntun.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.0051809e
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x14]
cmp byte [esi + 0x13], 0
je 0x518ce2
push dword [ebp + 0x14]
mov eax, dword [esi + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x28]
call eax
jmp 0x518eec
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x1c
ja 0x518e4e
je 0x518e78
lea eax, [edi - 1]
sub eax, 1
je 0x518e40
sub eax, 1
je 0x518df2
dec eax
sub eax, 1
je 0x518d84
sub eax, 0xa
je 0x518d67
sub eax, 9
jne 0x518edd
mov al, byte [esi + 0x10]
test al, 1
je 0x518edd
cmp dword [ebp + 0x10], 0
jne 0x518d47
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x518edd
test al, 4
jne 0x518edd
push 4
push dword [esi + 8]
mov byte [esi + 0x20], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x518edd
cmp byte [esi + 0x20], 0
je 0x518edd
push dword [ebp - 0x28]
mov ecx, esi
call sym.yuntun.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x20], 0
jmp 0x518edd
mov cl, byte [esi + 0x10]
test cl, 1
je 0x518edd
cmp dword [ebp + 0x10], 2
je 0x518ddb
cmp dword [ebp + 0x10], 1
je 0x518ddb
test cl, 4
je 0x518dea
cmp bx, word [esi + 0x1c]
ja 0x518dc1
mov eax, ebx
shr eax, 0x10
cmp ax, word [esi + 0x1e]
ja 0x518dc1
push dword [ebp - 0x28]
mov ecx, esi
call sym.yuntun.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov cl, byte [esi + 0x10]
jmp 0x518dc5
mov byte [esi + 0x20], 1
test cl, 2
jne 0x518dea
push 4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 2
jmp 0x518dea
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xfd
mov dword [esi + 0x1c], ebx
jmp 0x518edd
test byte [esi + 0x10], 2
je 0x518edd
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 0x518e28
mov eax, dword [ebp - 0x10]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
jmp 0x518ed0
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 0x518ed0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x518edd
mov eax, edi
sub eax, 0x47
je 0x518e93
sub eax, 0x3b
je 0x518e81
sub eax, 4
je 0x518e78
sub eax, 0x1ac
jne 0x518edd
test byte [esi + 0x10], 2
je 0x518edd
push dword [ebp - 0x28]
mov ecx, esi
call sym.yuntun.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x518edd
push 0x1b
xor eax, eax
push eax
push eax
push eax
jmp 0x518ed0
call sym.yuntun.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.00519386
jmp 0x518edd
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 0x518ebd
mov eax, dword [ebp - 0x20]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x24]
jmp 0x518e21
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.0056e987
leave
ret 0x10