Function at 0x439638
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5073a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call sym.BearSCInstall.exe_protected:_static_class_CWndShadow____cdecl_CWndShadow::FindShadowWindow_struct_HWND____
mov ebx, dword [ebp + 0x14]
mov esi, eax
mov eax, dword [ebp + 0xc]
dec eax
pop ecx
sub eax, 1
je 0x4397e8
sub eax, 1
je 0x439799
dec eax
sub eax, 1
je 0x439730
sub eax, 0xa
je 0x439715
sub eax, 9
je 0x4396d0
sub eax, 0x6a
je 0x4396af
sub eax, 0x1b0
jne 0x4397f1
test byte [esi + 0xc], 2
je 0x4397f1
push edi
mov ecx, esi
call sym.BearSCInstall.exe_protected:_void___thiscall_CWndShadow::Update_struct_HWND____
jmp 0x4397f1
push edi
call sym.BearSCInstall.exe_protected:_static_int___cdecl_CWndShadow::GetShadowWindowIndex_struct_HWND____
pop ecx
test eax, eax
js 0x4397f1
push 1
push eax
mov ecx, sym.BearSCInstall.exe_class_DuiLib::CDuiValArray_CWndShadow::s_ShadowArray
call sym.BearSCInstall.exe_public:_bool___thiscall_DuiLib::CDuiValArray::Remove_int__int_
jmp 0x4397f1
mov al, byte [esi + 0xc]
test al, 1
je 0x4397f1
cmp dword [ebp + 0x10], 0
jne 0x4396f5
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0xc], 0xf9
jmp 0x4397f1
test al, 4
jne 0x4397f1
push 8
push dword [esi + 4]
mov byte [esi + 0x18], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0xc], 6
jmp 0x4397f1
cmp byte [esi + 0x18], 0
je 0x4397f1
push edi
mov ecx, esi
call sym.BearSCInstall.exe_protected:_void___thiscall_CWndShadow::Update_struct_HWND____
mov byte [esi + 0x18], 0
jmp 0x4397f1
mov cl, byte [esi + 0xc]
test cl, 1
je 0x4397f1
cmp dword [ebp + 0x10], 2
je 0x439785
cmp dword [ebp + 0x10], 1
je 0x439785
test cl, 4
je 0x439794
cmp bx, word [esi + 0x14]
ja 0x43976b
mov eax, ebx
shr eax, 0x10
cmp ax, word [esi + 0x16]
ja 0x43976b
push edi
mov ecx, esi
call sym.BearSCInstall.exe_protected:_void___thiscall_CWndShadow::Update_struct_HWND____
mov cl, byte [esi + 0xc]
jmp 0x43976f
mov byte [esi + 0x18], 1
test cl, 2
jne 0x439794
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0xc], 2
jmp 0x439794
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0xc], 0xfd
mov dword [esi + 0x14], ebx
jmp 0x4397f1
test byte [esi + 0xc], 2
je 0x4397f1
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
xor edx, edx
push 0x15
push edx
push edx
cmp dword [esi + 0x20], edx
je 0x4397c4
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0x28]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [esi + 0x24]
jmp 0x4397db
movsx ecx, byte [esi + 0xf]
movsx eax, byte [esi + 0x11]
sub eax, ecx
add eax, dword [ebp - 0x10]
push eax
movsx eax, byte [esi + 0x10]
sub eax, ecx
add eax, dword [ebp - 0x14]
push eax
push edx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4397f1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [esi + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047012d
leave
ret 0x10