Function at 0x7c485804
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
test byte [ecx + 0x44], 0x20
jne 0x7c485927
push 0x3020
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x14]
push ecx
xor ebx, ebx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [ebp - 0xc]
push ecx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push ecx
mov dword [ebp - 0x20], ebx
push dword [esi + 0x20]
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.USER32.dll_MapDialogRect]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x18], ecx
jge 0x7c485927
mov eax, ecx
push 0x16
push dword [ebp - 0x18]
sub eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, 0x7c503658
push dword [edi]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x7c4858f0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x14]
push ecx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [ebp - 0xc]
push ecx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x15
mov eax, dword [ebp - 0x10]
push ebx
sub eax, dword [ebp - 0x28]
push ebx
push eax
push dword [ebp - 0x14]
push ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
add edi, 4
cmp edi, sym.MFC40.DLL_Ordinal_1662
jb 0x7c48589f
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x16
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov ecx, esi
push eax
xor eax, eax
push eax
push eax
push eax
call sym.MFC40.DLL_Ordinal_5490
mov ecx, esi
xor edi, edi
call sym.MFC40.DLL_Ordinal_2081
mov dword [ebp - 4], eax
cmp dword [esi + 0x84], edi
jne 0x7c48595c
push edi
push edi
push 0x474
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x7c48595c
push edi
push edi
push 0x200
push eax
call sym.MFC40.DLL_Ordinal_3772
cmp dword [esi + 0x88], 0
je 0x7c4859de
test byte [esi + 0x44], 0x20
jne 0x7c4859de
lea eax, [ebp - 0x34]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x16
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov ecx, esi
push eax
mov edi, 0x7c503658
push 0
push 0
push 0
call sym.MFC40.DLL_Ordinal_5490
push dword [edi]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x7c4859d3
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
add edi, 4
cmp edi, sym.MFC40.DLL_Ordinal_1662
jb 0x7c4859b0
mov ecx, esi
call sym.MFC40.DLL_Ordinal_3313
test eax, 0x40000000
jne 0x7c4859f5
push 0
mov ecx, esi
call sym.MFC40.DLL_Ordinal_1532
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret