Function at 0x4897b7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x54b1b4]
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.Update.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.0048971e
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
push 2
pop ebx
sub eax, ebx
je 0x489963
dec eax
je 0x48990e
sub eax, ebx
je 0x4898a8
sub eax, 0xa
je 0x48988d
sub eax, 9
je 0x489848
sub eax, 0x6a
je 0x489833
sub eax, 0x1b0
jne 0x48996c
test byte [esi + 0x10], bl
je 0x48996c
push edi
mov ecx, esi
call sym.Update.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x48996c
lea eax, [ebp - 0x18]
push eax
call sym.Update.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.00489692
jmp 0x48996c
mov al, byte [esi + 0x10]
test al, 1
je 0x48996c
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x48986d
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x10], 0xf9
jmp 0x48996c
test al, 4
jne 0x48996c
push 8
push dword [esi + 8]
mov byte [esi + 0x1c], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], 6
jmp 0x48996c
xor ebx, ebx
cmp byte [esi + 0x1c], bl
je 0x48996c
push edi
mov ecx, esi
call sym.Update.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
mov byte [esi + 0x1c], bl
jmp 0x48996c
mov al, byte [esi + 0x10]
test al, 1
je 0x48996c
cmp dword [ebp + 0x10], ebx
je 0x4898f7
cmp dword [ebp + 0x10], 1
je 0x4898f7
test al, 4
je 0x489906
mov eax, dword [ebp + 0x14]
cmp ax, word [esi + 0x18]
ja 0x4898de
shr eax, 0x10
cmp ax, word [esi + 0x1a]
ja 0x4898de
push edi
mov ecx, esi
call sym.Update.exe_protected:_void___thiscall_DuiLib::CShadowUI::Update_struct_HWND____
jmp 0x4898e2
mov byte [esi + 0x1c], 1
test byte [esi + 0x10], bl
jne 0x489906
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0x10], bl
jmp 0x489906
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 0x48996c
test byte [esi + 0x10], bl
je 0x48996c
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 0x48993f
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 0x489957
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 0x48996c
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.004ba3af
leave
ret 0x10