Function at 0x4f4f18
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov byte [ebp - 1], dl
mov ebx, eax
cmp dword [ebx + 0x3c], 0
je 0x4f5116
push 0x460
mov eax, dword [ebx + 0x158]
push eax
call sub.user32.dll_GetDlgItem
mov dword [ebp - 8], eax
push 0x461
mov eax, dword [ebx + 0x158]
push eax
call sub.user32.dll_GetDlgItem
mov dword [ebp - 0xc], eax
push 5
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
push 5
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetWindow
mov edi, eax
cmp byte [ebp - 1], 0
je 0x4f50d0
mov eax, dword [ebx + 0x114]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4f4f8e
call fcn.00462d70
mov eax, 0x80
call fcn.0040a094
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4f50b1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x7f
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetClassNameA
mov eax, dword [ebx + 0x114]
push esi
push edi
lea esi, [eax + 0x50]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov edx, 0x4f5120
mov eax, dword [ebp - 0x10]
call fcn.00409f18
test eax, eax
jne 0x4f503d
push 0x82
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov edi, dword [ebp - 0x1c]
push edi
mov ebx, dword [ebp - 0x20]
push ebx
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetWindowPos
push 0x42
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push edi
push ebx
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowPos
push 0x42
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push edi
push ebx
push 0
push esi
call sub.user32.dll_SetWindowPos
push 5
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_ShowWindow
push 5
push esi
call sub.user32.dll_ShowWindow
jmp 0x4f509b
push 0x82
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov esi, dword [ebp - 0x1c]
push esi
mov ebx, dword [ebp - 0x20]
push ebx
push 1
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowPos
push 0x42
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push esi
push ebx
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetWindowPos
push 0x42
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push esi
push ebx
push 0
push edi
call sub.user32.dll_SetWindowPos
push 5
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_ShowWindow
push 5
push edi
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f50b8
mov eax, dword [ebp - 0x10]
call fcn.0040a0e0
ret
push 0x83
push 0
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowPos
push 0x83
push 0
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_EnableWindow
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_EnableWindow
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret