Function at 0x421770
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x20]
lea ebp, [esi + 0x140]
push ebp
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esi + 0xc8], 1
jne 0x4217a5
mov ecx, esi
call fcn.004237c0
neg eax
push eax
push eax
push ebp
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, esi
call fcn.004230e0
mov ebx, dword [sym.imp.USER32.dll_SetRectEmpty]
cmp eax, 1
jne 0x4218e4
mov ecx, esi
call fcn.00422f90
cmp al, 1
jne 0x4218ec
mov eax, dword [esi + 0x198]
mov edi, dword [eax]
lea ecx, [edi + 0x20]
push ecx
call ebx
mov dword [edi + 0x30], 0
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x42180b
cmp eax, edi
je 0x42180b
mov edx, dword [eax]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42180b
mov eax, dword [esi + 0xfc]
push 0
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, byte [edi + 0x10]
neg al
sbb eax, eax
not eax
and eax, edi
mov dword [esi + 0xfc], eax
je 0x421e1c
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x44]
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x24], edx
call fcn.00423830
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CRect::DeflateRect
mov ecx, dword [esi + 0xfc]
lea edx, [esp + 0x34]
push edx
mov edi, dword [ecx]
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x34]
push 2
push eax
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x4218bd
mov dl, byte [esp + 0x58]
mov ecx, dword [esp + 0x20]
cmp dl, 1
mov edx, dword [esp + 0x1c]
sete al
push eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0xfc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x421e34
mov edx, dword [esi + 0xfc]
push 8
mov eax, dword [edx]
push eax
jmp 0x421e2e
test eax, eax
jle 0x421e34
mov ecx, ebp
lea eax, [esi + 0x120]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x50]
test eax, eax
mov ecx, esi
jne 0x421942
call fcn.004223c0
mov edx, dword [esi + 0x124]
lea eax, [eax + edx + 7]
mov dword [esi + 0x12c], eax
mov dword [esi + 0x144], eax
mov ecx, dword [esi + 0x14c]
cmp ecx, eax
jle 0x42193a
mov eax, ecx
mov dword [esi + 0x14c], eax
jmp 0x42196d
call fcn.004223c0
mov ecx, dword [esi + 0x12c]
sub ecx, eax
mov dword [esi + 0x124], ecx
mov dword [esi + 0x14c], ecx
mov eax, dword [esi + 0x144]
cmp eax, ecx
jge 0x421967
mov ecx, eax
mov dword [esi + 0x144], ecx
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x42198d
push eax
mov ecx, esi
call fcn.004233a0
test al, al
jne 0x42198d
mov dword [esi + 0xfc], 0
mov ebx, dword [esi + 0xfc]
test ebx, ebx
jne 0x4219a0
mov ecx, esi
call fcn.00423110
jmp 0x4219c0
cmp byte [ebx + 0x10], 1
jne 0x4219c6
push ebx
mov ecx, esi
call fcn.00423180
test eax, eax
jne 0x4219c0
mov eax, dword [esi + 0xfc]
mov ecx, esi
push eax
call fcn.00423140
mov dword [esi + 0xfc], eax
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x421a95
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x34]
mov dword [esp + 0x20], ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00423830
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CRect::DeflateRect
mov eax, dword [esi + 0xfc]
lea ecx, [esp + 0x34]
push ecx
mov edi, dword [eax]
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x34]
push 2
push edx
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x421a71
mov cl, byte [esp + 0x58]
mov eax, dword [esp + 0x18]
xor edx, edx
cmp cl, 1
mov ecx, dword [esp + 0x20]
sete dl
sub ecx, eax
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0xfc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x421a95
mov edx, dword [esi + 0xfc]
push 8
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp ebx, dword [esi + 0xfc]
je 0x421aac
test ebx, ebx
je 0x421aac
mov ecx, dword [ebx]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [esp + 0x34]
mov ecx, esi
push edx
call fcn.004237e0
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
lea ecx, [esi + 0x130]
mov edx, dword [eax + 0xc]
lea eax, [esi + 0x120]
mov dword [esp + 0x30], edx
mov edx, ecx
mov edi, dword [eax]
mov dword [edx], edi
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
mov edi, dword [eax + 8]
mov dword [edx + 8], edi
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
lea edx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CRect::DeflateRect
mov ecx, esi
call fcn.00421ea0
cmp byte [esi + 0xcc], 1
jne 0x421b35
mov eax, dword [esi + 0x88]
test eax, eax
je 0x421b35
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x421b35
mov ecx, dword [esi + 0xe4]
push esi
mov eax, dword [ecx]
call dword [eax]
cmp al, 1
jne 0x421b35
mov bl, al
jmp 0x421b37
xor bl, bl
cmp byte [esi + 0xcd], 1
jne 0x421b66
mov eax, dword [esi + 0x88]
test eax, eax
je 0x421b66
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x421b66
mov ecx, dword [esi + 0xe4]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
cmp al, 1
mov byte [esp + 0x58], 1
je 0x421b6b
mov byte [esp + 0x58], 0
cmp dword [esi + 0x54], 1
jne 0x421ba0
cmp byte [esi + 0xce], 1
jne 0x421ba0
mov eax, dword [esi + 0x88]
test eax, eax
je 0x421ba0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x421ba0
mov ecx, dword [esi + 0xe4]
push esi
mov eax, dword [ecx]
call dword [eax + 8]
cmp al, 1
mov byte [esp + 0x13], 1
je 0x421ba5
mov byte [esp + 0x13], 0
mov eax, dword [esi + 0x13c]
mov ecx, dword [esi + 0x134]
mov ebp, dword [esi + 0x90]
add eax, ecx
sub eax, ebp
cdq
sub eax, edx
mov edi, eax
sar edi, 1
cmp bl, 1
mov ebx, dword [sym.imp.USER32.dll_SetRectEmpty]
jne 0x421bef
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00423980
mov edx, dword [esi + 0x90]
mov dword [esi + 0x154], edi
add edx, edi
mov dword [esi + 0x15c], edx
jmp 0x421bf8
lea eax, [esi + 0x150]
push eax
call ebx
cmp byte [esp + 0x58], 1
jne 0x421c62
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.004239d0
lea ebp, [esi + 0x160]
lea eax, [esi + 0x130]
mov edx, ebp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, esi
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
call fcn.00421f60
add eax, 0x16
mov ecx, esi
mov dword [esi + 0x168], eax
call fcn.00421f60
mov ecx, dword [esi + 0x90]
add eax, 8
add ecx, edi
mov dword [ebp], eax
mov dword [esi + 0x164], edi
mov dword [esi + 0x16c], ecx
jmp 0x421c6b
lea edx, [esi + 0x160]
push edx
call ebx
cmp byte [esp + 0x13], 1
jne 0x421d48
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00423a20
mov ebp, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x44]
mov edx, dword [eax + 8]
push ecx
mov ecx, esi
mov dword [esp + 0x40], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x44], eax
call fcn.00423a70
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x180]
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov edx, ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x174], edi
mov dword [esp + 0x20], eax
lea eax, [esi + 0x130]
mov ebx, dword [esi + 0x130]
mov dword [edx], ebx
mov ebx, dword [eax + 4]
mov dword [edx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x3c]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x188]
mov dword [esi + 0x184], edi
sub eax, edx
mov edx, dword [esi + 0x8c]
mov dword [esi + 0x188], eax
sub eax, edx
mov dword [ecx], eax
mov ecx, dword [esp + 0x14]
sub eax, ebx
sub eax, ecx
mov dword [esi + 0x178], eax
sub eax, edx
mov dword [esi + 0x170], eax
sub eax, ebp
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x90]
add eax, edi
mov dword [esi + 0x18c], eax
mov dword [esi + 0x17c], eax
jmp 0x421d5a
lea ecx, [esi + 0x170]
push ecx
call ebx
lea edx, [esi + 0x180]
push edx
call ebx
mov eax, dword [esi + 0x138]
mov edx, dword [esi + 0x130]
sub eax, edx
dec eax
jns 0x421d6f
xor edi, edi
jmp 0x421d7e
mov edi, dword [esi + 0x138]
mov ecx, dword [esi + 0x130]
sub edi, ecx
dec edi
mov ecx, esi
call fcn.00421f60
mov ecx, eax
mov edx, 0
sub ecx, edi
sets dl
dec edx
and ecx, edx
mov edx, dword [esi + 0x108]
test edx, edx
mov dword [esi + 0x10c], ecx
jge 0x421dae
mov dword [esi + 0x108], 0
cmp dword [esi + 0x108], ecx
jle 0x421dbc
mov dword [esi + 0x108], ecx
test ecx, ecx
setg dl
cmp dl, 1
mov byte [esi + 0x110], dl
jne 0x421ddd
mov ebx, dword [esi + 0x108]
test ebx, ebx
jle 0x421ddd
mov ebx, 1
jmp 0x421ddf
xor ebx, ebx
cmp dl, 1
mov byte [esi + 0x111], bl
jne 0x421df9
cmp dword [esi + 0x108], ecx
jge 0x421df9
mov ecx, 1
jmp 0x421dfb
xor ecx, ecx
mov byte [esi + 0x112], cl
mov ecx, dword [esi + 0x54]
test ecx, ecx
jne 0x421e13
push eax
push edi
mov ecx, esi
call fcn.00421fe0
jmp 0x421e6a
mov ecx, esi
call fcn.00422300
jmp 0x421e6a
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x421e34
mov edx, dword [edi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0x120]
push eax
call ebx
lea eax, [esi + 0x130]
push eax
call ebx
lea ecx, [esi + 0x150]
push ecx
call ebx
lea edx, [esi + 0x160]
push edx
call ebx
lea eax, [esi + 0x170]
push eax
call ebx
lea ecx, [esi + 0x180]
push ecx
call ebx
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x421e8a
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x421e8a
lea eax, [esi + 0x120]
push eax
push 1
push esi
call sub.MFC42.DLL_CToolTipCtrl::SetToolRect
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4